-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
introduce pnpm, fix build tooling #3054
Changes from 1 commit
f417211
926f2c2
9f50451
a7dba50
fe5c47f
121fec6
f6c6754
192ec94
685162e
d48208e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -16,9 +16,9 @@ | |||||
"url": "https://github.com/graphql/graphiql/issues?q=issue+label:graphiql" | ||||||
}, | ||||||
"license": "MIT", | ||||||
"types": "esm/index.d.ts", | ||||||
"main": "dist/index.js", | ||||||
"module": "esm/index.js", | ||||||
"types": "dist/index.d.ts", | ||||||
"files": [ | ||||||
"dist", | ||||||
"esm", | ||||||
|
@@ -36,11 +36,10 @@ | |||||
"build-bundles-clean": "rimraf 'graphiql.*{js,css}' *.html", | ||||||
"build-bundles-dev": "cross-env NODE_ENV=development CDN=1 pnpm webpack --mode development --bail", | ||||||
"build-bundles-min": "cross-env ANALYZE=1 NODE_ENV=production CDN=1 pnpm webpack --mode production --bail", | ||||||
"build-clean": "rimraf esm dist webpack *.html", | ||||||
"build-demo": "build-storybook -o ./storybook", | ||||||
"check": "tsc --noEmit", | ||||||
"cypress-open": "pnpm e2e-server 'cypress open'", | ||||||
"dev": "cross-env NODE_ENV=development webpack-dev-server --config resources/webpack.config.js", | ||||||
"dev": "cross-env NODE_ENV=development webpack-cli serve --config resources/webpack.config.js", | ||||||
"e2e": "pnpm e2e-server 'cypress run'", | ||||||
"e2e-server": "start-server-and-test 'cross-env PORT=8080 node test/e2e-server' 'http-get://localhost:8080/graphql?query={test { id }}'", | ||||||
"storybook": "start-storybook", | ||||||
|
@@ -51,6 +50,7 @@ | |||||
"@graphiql/toolkit": "^0.8.0", | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
All monorepo packages/examples should contain the above There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. hmmm ok, and then they are rewritten on publish? i will have to double check how this works with changesets, because currently this is automatically managed by changesets There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
yes |
||||||
"entities": "^2.0.0", | ||||||
"graphql-language-service": "^5.1.1", | ||||||
"graphql-ws": "^5.11.3", | ||||||
"markdown-it": "^12.2.0", | ||||||
"meros": "^1.2.1" | ||||||
}, | ||||||
|
@@ -82,8 +82,8 @@ | |||||
"identity-obj-proxy": "^3.0.0", | ||||||
"mini-css-extract-plugin": "^2.7.2", | ||||||
"postcss": "8.4.21", | ||||||
"postcss-loader": "7.0.2", | ||||||
"postcss-import": "15.1.0", | ||||||
"postcss-loader": "7.0.2", | ||||||
"postcss-preset-env": "^8.0.1", | ||||||
"prop-types": "15.7.2", | ||||||
"react": "^17.0.2", | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you remove also generated files
vite.config.js
,vite.config.d.ts
frompackages/graphiql-react
?