|
33 | 33 | "npm": "please_use_yarn_instead" |
34 | 34 | }, |
35 | 35 | "scripts": { |
36 | | - "build": "yarn build:clean && yarn build:cm6-graphql && yarn build:packages && yarn build:graphiql-react && yarn build:graphiql-plugin-explorer && yarn build:graphiql-plugin-code-exporter && yarn build:graphiql", |
37 | | - "build-bundles": "yarn prebuild-bundles && wsrun -p -m -s build-bundles", |
| 36 | + "build": "yarn build-clean && yarn tsc && yarn build:nontsc", |
| 37 | + "build-bundles": "yarn prebuild-bundles && yarn wsrun:noexamples --stages build-bundles", |
38 | 38 | "build-bundles-clean": "rimraf '{packages,examples,plugins}/**/{bundle,cdn,webpack}' && yarn workspace graphiql build-bundles-clean", |
39 | | - "build-clean": "wsrun -m build-clean", |
| 39 | + "build-clean": "yarn tsc --clean", |
40 | 40 | "build-docs": "rimraf packages/graphiql/typedoc && typedoc packages", |
41 | | - "build:clean": "yarn tsc --clean && yarn tsc --clean resources/tsconfig.graphiql.json", |
42 | | - "build:cm6-graphql": "yarn workspace cm6-graphql build", |
43 | | - "build:graphiql": "yarn tsc resources/tsconfig.graphiql.json", |
44 | | - "build:graphiql-plugin-explorer": "yarn workspace @graphiql/plugin-explorer build", |
45 | | - "build:graphiql-plugin-code-exporter": "yarn workspace @graphiql/plugin-code-exporter build", |
46 | | - "build:graphiql-react": "yarn workspace @graphiql/react build", |
47 | | - "build:packages": "yarn tsc", |
| 41 | + "build:nontsc": "yarn wsrun:noexamples --exclude-missing --serial build", |
| 42 | + "build:clean": "yarn tsc --clean", |
48 | 43 | "build:watch": "yarn tsc --watch", |
49 | 44 | "build-demo": "wsrun -m build-demo", |
50 | 45 | "watch": "yarn build:watch", |
|
62 | 57 | "lint": "yarn eslint && yarn pretty-check && yarn lint-cspell", |
63 | 58 | "lint-cspell": "cspell --unique --no-progress --no-must-find-files", |
64 | 59 | "lint-fix": "yarn eslint --fix", |
65 | | - "postbuild": "yarn workspace codemirror-graphql postbuild && yarn workspace monaco-graphql postbuild", |
66 | 60 | "prebuild-bundles": "yarn build-bundles-clean", |
67 | 61 | "prepublishOnly": "./scripts/prepublish.sh", |
| 62 | + "postbuild": "wsrun --exclude-missing postbuild", |
68 | 63 | "pretty": "yarn pretty-check --write", |
69 | 64 | "pretty-check": "prettier --cache --check --ignore-path .gitignore --ignore-path .eslintignore .", |
70 | 65 | "ci:version": "yarn changeset version && yarn build && yarn format", |
|
73 | 68 | "repo:lint": "manypkg check", |
74 | 69 | "repo:fix": "manypkg fix", |
75 | 70 | "repo:resolve": "node scripts/set-resolution.js", |
76 | | - "start-graphiql": "yarn workspace graphiql dev", |
77 | | - "start-monaco": "yarn workspace example-monaco-graphql-webpack start", |
78 | 71 | "t": "yarn test", |
79 | 72 | "test": "yarn jest", |
80 | 73 | "test:ci": "yarn build && jest --coverage && yarn workspace monaco-graphql test", |
81 | 74 | "test:coverage": "yarn jest --coverage", |
82 | 75 | "test:watch": "yarn jest --watch", |
83 | | - "tsc": "tsc --build" |
| 76 | + "tsc": "tsc --build", |
| 77 | + "wsrun:noexamples": "wsrun --exclude-missing --exclude example-monaco-graphql-react-vite --exclude example-monaco-graphql-nextjs --exclude example-monaco-graphql-webpack --exclude example-graphiql-webpack" |
84 | 78 | }, |
85 | 79 | "devDependencies": { |
86 | 80 | "@arthurgeron/eslint-plugin-react-usememo": "^1.1.4", |
|
0 commit comments