Skip to content

Commit

Permalink
fix: Prevent build step in modules from running in parallel (#3053)
Browse files Browse the repository at this point in the history
`ts-patch` was running our typescript builds in parallel, causing cache issues between modules. Removing `--parallel` from the `build` step within each package so that it is sequential.

[category:Infrastructure]

Co-authored-by: manuel.carrera <[email protected]>
  • Loading branch information
mannycarrera4 and manuel.carrera authored Nov 13, 2024
1 parent 648318a commit 66d1c56
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion modules/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"build:docs": "node ./utils/build-docs.js",
"build:rebuild": "npm-run-all clean build",
"build:specs": "node ./utils/build-specifications.js",
"build": "npm-run-all --parallel build:es6 build:mdx --parallel build:specs build:docs",
"build": "npm-run-all build:es6 build:mdx build:specs build:docs",
"depcheck": "node ../../utils/check-dependencies-exist.js",
"typecheck:src": "tsc -p . --noEmit --incremental false"
},
Expand Down
2 changes: 1 addition & 1 deletion modules/labs-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"build:cjs": "tspc -p tsconfig.cjs.json",
"build:es6": "tspc -p tsconfig.es6.json",
"build:rebuild": "npm-run-all clean build",
"build": "npm-run-all --parallel build:cjs build:es6",
"build": "npm-run-all build:cjs build:es6",
"prepack": "node ../../utils/publish.js pre labs-react",
"postpack": "node ../../utils/publish.js post labs-react",
"depcheck": "node ../../utils/check-dependencies-exist.js",
Expand Down
2 changes: 1 addition & 1 deletion modules/popup-stack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es6": "tsc -p tsconfig.es6.json",
"build:rebuild": "npm-run-all clean build",
"build": "npm-run-all --parallel build:cjs build:es6",
"build": "npm-run-all build:cjs build:es6",
"depcheck": "node ../../utils/check-dependencies-exist.js",
"typecheck:src": "tsc -p . --noEmit --incremental false"
},
Expand Down
2 changes: 1 addition & 1 deletion modules/preview-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"build:cjs": "tspc -p tsconfig.cjs.json",
"build:es6": "tspc -p tsconfig.es6.json",
"build:rebuild": "npm-run-all clean build",
"build": "npm-run-all --parallel build:cjs build:es6",
"build": "npm-run-all build:cjs build:es6",
"prepack": "node ../../utils/publish.js pre preview-react",
"postpack": "node ../../utils/publish.js post preview-react",
"depcheck": "node ../../utils/check-dependencies-exist.js",
Expand Down
2 changes: 1 addition & 1 deletion modules/react-fonts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es6": "tsc -p tsconfig.es6.json",
"build:rebuild": "npm-run-all clean build",
"build": "npm-run-all --parallel build:cjs build:es6",
"build": "npm-run-all build:cjs build:es6",
"depcheck": "node ../../utils/check-dependencies-exist.js",
"typecheck:src": "tsc -p . --noEmit --incremental false"
},
Expand Down
2 changes: 1 addition & 1 deletion modules/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"build:cjs": "tspc -p tsconfig.cjs.json",
"build:es6": "tspc -p tsconfig.es6.json",
"build:rebuild": "npm-run-all clean build",
"build": "npm-run-all --parallel build:cjs build:es6",
"build": "npm-run-all build:cjs build:es6",
"prepack": "node ../../utils/publish.js pre react",
"postpack": "node ../../utils/publish.js post react",
"depcheck": "node ../../utils/check-dependencies-exist.js",
Expand Down
2 changes: 1 addition & 1 deletion modules/styling/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es6": "tsc -p tsconfig.es6.json",
"build:rebuild": "npm-run-all clean build",
"build": "npm-run-all --parallel build:cjs build:es6",
"build": "npm-run-all build:cjs build:es6",
"depcheck": "node ../../utils/check-dependencies-exist.js",
"typecheck:src": "tsc -p . --noEmit --incremental false"
},
Expand Down

0 comments on commit 66d1c56

Please sign in to comment.