Skip to content

Commit

Permalink
internal: More parallelism for build types
Browse files Browse the repository at this point in the history
  • Loading branch information
ntucker committed Dec 22, 2024
1 parent 226f5b4 commit ca4ed42
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:

lint:
executor: node
resource_class: medium+
resource_class: medium
steps:
- attach_workspace:
at: ~/
Expand Down Expand Up @@ -168,8 +168,6 @@ jobs:
if [[ "<< parameters.typescript-version >>" == "4.0" || \
"<< parameters.typescript-version >>" == "4.1" || \
"<< parameters.typescript-version >>" == "4.3" ]]; then
sed -i '/"@types\/react":/d' package.json
sed -i '/"@types\/react-dom":/d' package.json
yarn up @types/react@ts<< parameters.typescript-version >>
fi
- run:
Expand Down
1 change: 0 additions & 1 deletion examples/github-app/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"esModuleInterop": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,

"types": ["@anansi/webpack-config/types","./src/types/remark-remove-comments"],
"paths": {
"@/*": ["./src/*"],
Expand Down
1 change: 1 addition & 0 deletions examples/github-app/tsconfig.typetest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "./tsconfig",
"compilerOptions": {
"skipLibCheck": true,
"skipDefaultLibCheck": true
},
"include": ["typetest.ts"],
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"build:bundle": "yarn workspaces foreach -Wptiv --no-private run build:bundle",
"build:clean": "yarn workspaces foreach -Wpti --no-private run build:clean",
"build:types": "yarn build:copy:ambient && tsc --build && yarn workspaces foreach -Wpti --no-private run build:legacy-types",
"ci:build:types": "yarn build:copy:ambient && tsc --build && yarn workspaces foreach -WptivR --from @data-client/react --from @data-client/rest --from @data-client/graphql run build:legacy-types",
"ci:build": "yarn workspaces foreach -WptivR --from @data-client/react --from @data-client/rest --from @data-client/graphql --from @data-client/test run build:lib && yarn workspace @data-client/test run build:bundle && yarn workspace @data-client/normalizr run build:js:node && yarn workspace @data-client/endpoint run build:js:node",
"ci:build:types": "yarn build:copy:ambient && tsc --build && yarn workspaces foreach -WptivR -j 4 --from @data-client/react --from @data-client/rest --from @data-client/graphql run build:legacy-types",
"ci:build": "yarn workspaces foreach -WptivR --from @data-client/test run build:lib && yarn workspace @data-client/test run build:bundle && yarn workspace @data-client/normalizr run build:js:node && yarn workspace @data-client/endpoint run build:js:node",
"build:copy:ambient": "mkdirp ./packages/endpoint/lib && copyfiles --flat ./packages/endpoint/src/schema.d.ts ./packages/endpoint/lib/ && copyfiles --flat ./packages/endpoint/src/endpoint.d.ts ./packages/endpoint/lib/ && mkdirp ./packages/rest/lib && copyfiles --flat ./packages/rest/src/RestEndpoint.d.ts ./packages/rest/lib && copyfiles --flat ./packages/rest/src/next/RestEndpoint.d.ts ./packages/rest/lib/next && mkdirp ./packages/react/lib && copyfiles --flat ./packages/react/src/server/redux/redux.d.ts ./packages/react/lib/server/redux",
"copy:websitetypes": "./scripts/copywebsitetypes.sh",
"test": "NODE_ENV=test NODE_OPTIONS=--experimental-vm-modules jest",
Expand Down

0 comments on commit ca4ed42

Please sign in to comment.