Skip to content

Commit

Permalink
fix package.json scripts to reflect build -> cjs renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
lobsterkatie committed Dec 3, 2021
1 parent 465ec2d commit 821f543
Show file tree
Hide file tree
Showing 16 changed files with 108 additions and 77 deletions.
10 changes: 6 additions & 4 deletions packages/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,15 @@
"typescript": "3.7.5"
},
"scripts": {
"build": "run-p build:es5 build:esm",
"build": "run-p build:cjs build:esm",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:dev": "run-s build",
"build:es5": "tsc -p tsconfig.build.json",
"build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***",
"build:esm": "tsc -p tsconfig.esm.json",
"build:watch": "run-p build:es5:watch build:esm:watch",
"build:watch": "run-p build:cjs:watch build:esm:watch",
"build:cjs:watch": "tsc -p tsconfig.cjs.json -w --preserveWatchOutput",
"build:dev:watch": "run-s build:watch",
"build:es5:watch": "tsc -p tsconfig.build.json -w --preserveWatchOutput",
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
"build:esm:watch": "tsc -p tsconfig.esm.json -w --preserveWatchOutput",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf dist esm build coverage",
Expand Down
14 changes: 8 additions & 6 deletions packages/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,17 @@
"webpack": "^4.30.0"
},
"scripts": {
"build": "run-s build:es5 build:esm build:bundle",
"build": "run-p build:cjs build:esm build:bundle",
"build:bundle": "rollup --config",
"build:dev": "run-s build:es5 build:esm",
"build:es5": "tsc -p tsconfig.build.json",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:dev": "run-p build:cjs build:esm",
"build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***",
"build:esm": "tsc -p tsconfig.esm.json",
"build:watch": "run-p build:es5:watch build:esm:watch build:bundle:watch",
"build:watch": "run-p build:cjs:watch build:esm:watch build:bundle:watch",
"build:bundle:watch": "rollup --config --watch",
"build:dev:watch": "run-p build:es5:watch build:esm:watch",
"build:es5:watch": "tsc -p tsconfig.build.json -w --preserveWatchOutput",
"build:cjs:watch": "tsc -p tsconfig.cjs.json -w --preserveWatchOutput",
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
"build:dev:watch": "run-p build:cjs:watch build:esm:watch",
"build:esm:watch": "tsc -p tsconfig.esm.json -w --preserveWatchOutput",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf dist esm build coverage .rpt2_cache",
Expand Down
10 changes: 6 additions & 4 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,15 @@
"typescript": "3.7.5"
},
"scripts": {
"build": "run-p build:es5 build:esm",
"build": "run-p build:cjs build:esm",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:dev": "run-s build",
"build:es5": "tsc -p tsconfig.build.json",
"build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***",
"build:esm": "tsc -p tsconfig.esm.json",
"build:watch": "run-p build:es5:watch build:esm:watch",
"build:watch": "run-p build:cjs:watch build:esm:watch",
"build:cjs:watch": "tsc -p tsconfig.cjs.json -w --preserveWatchOutput",
"build:dev:watch": "run-s build:watch",
"build:es5:watch": "tsc -p tsconfig.build.json -w --preserveWatchOutput",
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
"build:esm:watch": "tsc -p tsconfig.esm.json -w --preserveWatchOutput",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf dist esm coverage",
Expand Down
10 changes: 6 additions & 4 deletions packages/gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,15 @@
"typescript": "3.7.5"
},
"scripts": {
"build": "run-p build:es5 build:esm",
"build": "run-p build:cjs build:esm",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:dev": "run-s build",
"build:es5": "tsc -p tsconfig.build.json",
"build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***",
"build:esm": "tsc -p tsconfig.esm.json",
"build:watch": "run-p build:es5:watch build:esm:watch",
"build:watch": "run-p build:cjs:watch build:esm:watch",
"build:cjs:watch": "tsc -p tsconfig.cjs.json -w --preserveWatchOutput",
"build:dev:watch": "run-s build:watch",
"build:es5:watch": "tsc -p tsconfig.build.json -w --preserveWatchOutput",
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
"build:esm:watch": "tsc -p tsconfig.esm.json -w --preserveWatchOutput",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf dist esm build coverage",
Expand Down
10 changes: 6 additions & 4 deletions packages/hub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@
"typescript": "3.7.5"
},
"scripts": {
"build": "run-p build:es5 build:esm",
"build": "run-p build:cjs build:esm",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:dev": "run-s build",
"build:es5": "tsc -p tsconfig.build.json",
"build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***",
"build:esm": "tsc -p tsconfig.esm.json",
"build:watch": "run-p build:es5:watch build:esm:watch",
"build:watch": "run-p build:cjs:watch build:esm:watch",
"build:cjs:watch": "tsc -p tsconfig.cjs.json -w --preserveWatchOutput",
"build:dev:watch": "run-s build:watch",
"build:es5:watch": "tsc -p tsconfig.build.json -w --preserveWatchOutput",
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
"build:esm:watch": "tsc -p tsconfig.esm.json -w --preserveWatchOutput",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf dist esm coverage",
Expand Down
14 changes: 8 additions & 6 deletions packages/integrations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,16 @@
"typescript": "3.7.5"
},
"scripts": {
"build": "run-p build:es5 build:esm build:bundle",
"build": "run-p build:cjs build:esm build:bundle",
"build:bundle": "rollup --config",
"build:dev": "run-s build:es5 build:esm",
"build:es5": "tsc -p tsconfig.build.json",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:dev": "run-s build:cjs build:esm",
"build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***",
"build:esm": "tsc -p tsconfig.esm.json",
"build:watch": "run-p build:es5:watch build:esm:watch",
"build:dev:watch": "run-p build:es5:watch build:esm:watch",
"build:es5:watch": "tsc -p tsconfig.build.json -w --preserveWatchOutput",
"build:watch": "run-p build:cjs:watch build:esm:watch",
"build:cjs:watch": "tsc -p tsconfig.cjs.json -w --preserveWatchOutput",
"build:dev:watch": "run-s build:watch",
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
"build:esm:watch": "tsc -p tsconfig.esm.json -w --preserveWatchOutput",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf dist esm build coverage .rpt2_cache",
Expand Down
10 changes: 6 additions & 4 deletions packages/minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@
"typescript": "3.7.5"
},
"scripts": {
"build": "run-p build:es5 build:esm",
"build": "run-p build:cjs build:esm",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:dev": "run-s build",
"build:es5": "tsc -p tsconfig.build.json",
"build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***",
"build:esm": "tsc -p tsconfig.esm.json",
"build:watch": "run-p build:es5:watch build:esm:watch",
"build:watch": "run-p build:cjs:watch build:esm:watch",
"build:cjs:watch": "tsc -p tsconfig.cjs.json -w --preserveWatchOutput",
"build:dev:watch": "run-s build:watch",
"build:es5:watch": "tsc -p tsconfig.build.json -w --preserveWatchOutput",
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
"build:esm:watch": "tsc -p tsconfig.esm.json -w --preserveWatchOutput",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf dist esm coverage",
Expand Down
10 changes: 6 additions & 4 deletions packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,16 @@
"webpack": ">= 4.0.0"
},
"scripts": {
"build": "run-p build:esm build:es5",
"build": "run-p build:cjs build:esm",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:dev": "run-s build",
"build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***",
"build:esm": "tsc -p tsconfig.esm.json",
"build:es5": "tsc -p tsconfig.build.json",
"build:watch": "run-p build:esm:watch build:es5:watch",
"build:watch": "run-p build:cjs:watch build:esm:watch",
"build:cjs:watch": "tsc -p tsconfig.cjs.json -w --preserveWatchOutput",
"build:dev:watch": "run-s build:watch",
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
"build:esm:watch": "tsc -p tsconfig.esm.json -w --preserveWatchOutput",
"build:es5:watch": "tsc -p tsconfig.build.json -w --preserveWatchOutput",
"circularDepCheck": "madge --circular src/index.client.ts && madge --circular src/index.server.ts",
"clean": "rimraf dist esm coverage *.js *.js.map *.d.ts",
"fix": "run-s fix:eslint fix:prettier",
Expand Down
10 changes: 6 additions & 4 deletions packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,15 @@
"typescript": "3.7.5"
},
"scripts": {
"build": "run-p build:es5 build:esm",
"build": "run-p build:cjs build:esm",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:dev": "run-s build",
"build:es5": "tsc -p tsconfig.build.json",
"build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***",
"build:esm": "tsc -p tsconfig.esm.json",
"build:watch": "run-p build:es5:watch build:esm:watch",
"build:watch": "run-p build:cjs:watch build:esm:watch",
"build:cjs:watch": "tsc -p tsconfig.cjs.json -w --preserveWatchOutput",
"build:dev:watch": "run-s build:watch",
"build:es5:watch": "tsc -p tsconfig.build.json -w --preserveWatchOutput",
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
"build:esm:watch": "tsc -p tsconfig.esm.json -w --preserveWatchOutput",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf dist esm coverage",
Expand Down
10 changes: 6 additions & 4 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,15 @@
"typescript": "3.7.5"
},
"scripts": {
"build": "run-p build:es5 build:esm",
"build": "run-p build:cjs build:esm",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:dev": "run-s build",
"build:es5": "tsc -p tsconfig.build.json",
"build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***",
"build:esm": "tsc -p tsconfig.esm.json",
"build:watch": "run-p build:es5:watch build:esm:watch",
"build:watch": "run-p build:cjs:watch build:esm:watch",
"build:cjs:watch": "tsc -p tsconfig.cjs.json -w --preserveWatchOutput",
"build:dev:watch": "run-s build:watch",
"build:es5:watch": "tsc -p tsconfig.build.json -w --preserveWatchOutput",
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
"build:esm:watch": "tsc -p tsconfig.esm.json -w --preserveWatchOutput",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf dist esm build coverage",
Expand Down
15 changes: 8 additions & 7 deletions packages/serverless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,16 @@
"typescript": "3.7.5"
},
"scripts": {
"build": "run-s build:es build:awslambda-layer",
"build": "run-p build:cjs build:esm build:awslambda-layer",
"build:awslambda-layer": "node scripts/build-awslambda-layer.js",
"build:dev": "run-s build:es5 build:esm",
"build:es": "run-p build:es5 build:esm",
"build:es5": "tsc -p tsconfig.build.json",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:dev": "run-s build:cjs build:esm",
"build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***",
"build:esm": "tsc -p tsconfig.esm.json",
"build:watch": "run-p build:es5:watch build:esm:watch",
"build:dev:watch": "run-p build:es5:watch build:esm:watch",
"build:es5:watch": "tsc -p tsconfig.build.json -w --preserveWatchOutput",
"build:watch": "run-p build:cjs:watch build:esm:watch",
"build:cjs:watch": "tsc -p tsconfig.cjs.json -w --preserveWatchOutput",
"build:dev:watch": "run-s build:watch",
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
"build:esm:watch": "tsc -p tsconfig.esm.json -w --preserveWatchOutput",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf dist esm build dist-awslambda-layer coverage",
Expand Down
14 changes: 8 additions & 6 deletions packages/tracing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,17 @@
"typescript": "3.7.5"
},
"scripts": {
"build": "run-p build:es5 build:esm build:bundle",
"build": "run-p build:cjs build:esm build:bundle",
"build:bundle": "rollup --config",
"build:dev": "run-s build:es5 build:esm",
"build:es5": "tsc -p tsconfig.build.json",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:dev": "run-s build:cjs build:esm",
"build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***",
"build:esm": "tsc -p tsconfig.esm.json",
"build:watch": "run-p build:es5:watch build:esm:watch build:bundle:watch",
"build:watch": "run-p build:cjs:watch build:esm:watch build:bundle:watch",
"build:bundle:watch": "rollup --config --watch",
"build:dev:watch": "run-p build:es5:watch build:esm:watch",
"build:es5:watch": "tsc -p tsconfig.build.json -w --preserveWatchOutput",
"build:cjs:watch": "tsc -p tsconfig.cjs.json -w --preserveWatchOutput",
"build:dev:watch": "run-s build:watch",
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
"build:esm:watch": "tsc -p tsconfig.esm.json -w --preserveWatchOutput",
"clean": "rimraf dist esm build coverage",
"circularDepCheck": "madge --circular src/index.ts",
Expand Down
10 changes: 6 additions & 4 deletions packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@
"typescript": "3.7.5"
},
"scripts": {
"build": "run-p build:es5 build:esm",
"build": "run-p build:cjs build:esm",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:dev": "run-s build",
"build:es5": "tsc -p tsconfig.build.json",
"build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***",
"build:esm": "tsc -p tsconfig.esm.json",
"build:watch": "run-p build:es5:watch build:esm:watch",
"build:watch": "run-p build:cjs:watch build:esm:watch",
"build:cjs:watch": "tsc -p tsconfig.cjs.json -w --preserveWatchOutput",
"build:dev:watch": "run-s build:watch",
"build:es5:watch": "tsc -p tsconfig.build.json -w --preserveWatchOutput",
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
"build:esm:watch": "tsc -p tsconfig.esm.json -w --preserveWatchOutput",
"link:yarn": "yarn link",
"lint": "run-s lint:prettier lint:eslint",
Expand Down
10 changes: 6 additions & 4 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,15 @@
"typescript": "3.7.5"
},
"scripts": {
"build": "run-p build:es5 build:esm",
"build": "run-p build:cjs build:esm",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:dev": "run-s build",
"build:es5": "tsc -p tsconfig.build.json",
"build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***",
"build:esm": "tsc -p tsconfig.esm.json",
"build:watch": "run-p build:es5:watch build:esm:watch",
"build:watch": "run-p build:cjs:watch build:esm:watch",
"build:cjs:watch": "tsc -p tsconfig.cjs.json -w --preserveWatchOutput",
"build:dev:watch": "run-s build:watch",
"build:es5:watch": "tsc -p tsconfig.build.json -w --preserveWatchOutput",
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
"build:esm:watch": "tsc -p tsconfig.esm.json -w --preserveWatchOutput",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf dist esm coverage *.js *.js.map *.d.ts",
Expand Down
14 changes: 8 additions & 6 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,17 @@
"typescript": "3.7.5"
},
"scripts": {
"build": "run-p build:es5 build:esm build:bundle",
"build": "run-p build:cjs build:esm build:bundle",
"build:bundle": "rollup --config",
"build:dev": "run-s build:es5 build:esm",
"build:es5": "tsc -p tsconfig.build.json",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:dev": "run-s build:cjs build:esm",
"build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***",
"build:esm": "tsc -p tsconfig.esm.json",
"build:watch": "run-p build:es5:watch build:esm:watch",
"build:watch": "run-p build:cjs:watch build:esm:watch",
"build:bundle:watch": "rollup --config --watch",
"build:dev:watch": "run-p build:es5:watch build:esm:watch",
"build:es5:watch": "tsc -p tsconfig.build.json -w --preserveWatchOutput",
"build:cjs:watch": "tsc -p tsconfig.cjs.json -w --preserveWatchOutput",
"build:dev:watch": "run-s build:watch",
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
"build:esm:watch": "tsc -p tsconfig.esm.json -w --preserveWatchOutput",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf dist esm build coverage",
Expand Down
14 changes: 8 additions & 6 deletions packages/wasm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,16 @@
"typescript": "3.7.5"
},
"scripts": {
"build": "run-p build:es5 build:esm build:bundle",
"build": "run-p build:cjs build:esm build:bundle",
"build:bundle": "rollup --config",
"build:dev": "run-s build:es5 build:esm",
"build:es5": "tsc -p tsconfig.build.json",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:dev": "run-s build:cjs build:esm",
"build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***",
"build:esm": "tsc -p tsconfig.esm.json",
"build:watch": "run-p build:es5:watch build:esm:watch",
"build:dev:watch": "run-p build:es5:watch build:esm:watch",
"build:es5:watch": "tsc -p tsconfig.build.json -w --preserveWatchOutput",
"build:watch": "run-p build:cjs:watch build:esm:watch",
"build:cjs:watch": "tsc -p tsconfig.cjs.json -w --preserveWatchOutput",
"build:dev:watch": "run-s build:watch",
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
"build:esm:watch": "tsc -p tsconfig.esm.json -w --preserveWatchOutput",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf dist esm coverage *.js.map *.d.ts",
Expand Down

0 comments on commit 821f543

Please sign in to comment.