Skip to content

Commit 42e191d

Browse files
committed
ref(build): rename createTarball to build:npm
1 parent ffe6f4f commit 42e191d

File tree

22 files changed

+24
-24
lines changed

22 files changed

+24
-24
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ jobs:
296296
path: ${{ env.CACHED_BUILD_PATHS }}
297297
key: ${{ env.BUILD_CACHE_KEY }}
298298
- name: Pack
299-
run: yarn createTarball:changed
299+
run: yarn build:npm:changed
300300
- name: Archive artifacts
301301
uses: actions/upload-artifact@v2
302302
with:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
"build:esm": "lerna run --stream --concurrency 1 --sort build:esm",
1111
"build:watch": "lerna run --parallel build:watch",
1212
"build:dev:watch": "lerna run --parallel build:dev:watch",
13+
"build:npm:changed": "lerna run build:npm --since",
1314
"circularDepCheck": "lerna run --parallel circularDepCheck",
1415
"clean": "lerna run --parallel clean && lerna clean --yes",
1516
"codecov": "codecov",
1617
"fix": "lerna run --parallel fix",
1718
"link:yarn": "lerna run --stream --concurrency 1 link:yarn",
1819
"lint": "lerna run --parallel lint",
1920
"lint:eslint": "lerna run --parallel lint:eslint",
20-
"createTarball:changed": "lerna run createTarball --since",
2121
"prepublishOnly": "lerna run --stream --concurrency 1 prepublishOnly",
2222
"postpublish": "make publish-docs && lerna run --stream --concurrency 1 postpublish",
2323
"test": "lerna run --ignore @sentry-internal/browser-integration-tests --stream --concurrency 1 --sort test"

packages/angular/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"build:dev:watch": "run-s build:watch",
4444
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
4545
"build:esm:watch": "tsc -p tsconfig.esm.json --watch",
46+
"build:npm": "npm pack",
4647
"circularDepCheck": "madge --circular src/index.ts",
4748
"clean": "rimraf dist esm build coverage",
4849
"fix": "run-s fix:eslint fix:prettier",
@@ -51,8 +52,7 @@
5152
"link:yarn": "yarn link",
5253
"lint": "run-s lint:prettier lint:eslint",
5354
"lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
54-
"lint:prettier": "prettier --check \"{src,test}/**/*.ts\"",
55-
"createTarball": "npm pack"
55+
"lint:prettier": "prettier --check \"{src,test}/**/*.ts\""
5656
},
5757
"volta": {
5858
"extends": "../../package.json"

packages/browser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
5757
"build:dev:watch": "run-p build:cjs:watch build:esm:watch",
5858
"build:esm:watch": "tsc -p tsconfig.esm.json --watch",
59+
"build:npm": "npm pack",
5960
"circularDepCheck": "madge --circular src/index.ts",
6061
"clean": "rimraf dist esm build coverage .rpt2_cache",
6162
"fix": "run-s fix:eslint fix:prettier",
@@ -65,7 +66,6 @@
6566
"lint": "run-s lint:prettier lint:eslint",
6667
"lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
6768
"lint:prettier": "prettier --check \"{src,test}/**/*.ts\"",
68-
"createTarball": "npm pack",
6969
"size:check": "run-p size:check:es5 size:check:es6",
7070
"size:check:es5": "cat build/bundle.min.js | gzip -9 | wc -c | awk '{$1=$1/1024; print \"ES5: \",$1,\"kB\";}'",
7171
"size:check:es6": "cat build/bundle.es6.min.js | gzip -9 | wc -c | awk '{$1=$1/1024; print \"ES6: \",$1,\"kB\";}'",

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"build:dev:watch": "run-s build:watch",
3434
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
3535
"build:esm:watch": "tsc -p tsconfig.esm.json --watch",
36+
"build:npm": "npm pack",
3637
"circularDepCheck": "madge --circular src/index.ts",
3738
"clean": "rimraf dist esm coverage",
3839
"fix": "run-s fix:eslint fix:prettier",
@@ -42,7 +43,6 @@
4243
"lint": "run-s lint:prettier lint:eslint",
4344
"lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
4445
"lint:prettier": "prettier --check \"{src,test}/**/*.ts\"",
45-
"createTarball": "npm pack",
4646
"test": "jest",
4747
"test:watch": "jest --watch",
4848
"version": "node ../../scripts/versionbump.js src/version.ts"

packages/ember/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
},
1919
"scripts": {
2020
"build": "ember build --environment=production",
21+
"build:npm": "run-s prepack && npm pack && run-s postpack",
2122
"link:yarn": "yarn link",
2223
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel lint:*",
2324
"lint:hbs": "ember-template-lint .",
2425
"lint:js": "eslint . --cache --cache-location '../../eslintcache/'",
25-
"createTarball": "run-s prepack && npm pack && run-s postpack",
2626
"prepack": "ember ts:precompile",
2727
"postpack": "ember ts:clean",
2828
"start": "ember serve",

packages/eslint-config-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"link:yarn": "yarn link",
4040
"lint": "prettier --check \"**/*.js\"",
4141
"fix": "prettier --write \"**/*.js\"",
42-
"createTarball": "npm pack",
42+
"build:npm": "npm pack",
4343
"circularDepCheck": "madge --circular src/index.js"
4444
},
4545
"volta": {

packages/eslint-plugin-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
3434
"lint:prettier": "prettier --check \"{src,test}/**/*.js\"",
3535
"test": "mocha test --recursive",
36-
"createTarball": "npm pack",
36+
"build:npm": "npm pack",
3737
"circularDepCheck": "madge --circular src/index.js"
3838
},
3939
"volta": {

packages/gatsby/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"build:dev:watch": "run-s build:watch",
5151
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
5252
"build:esm:watch": "tsc -p tsconfig.esm.json --watch",
53+
"build:npm": "npm pack",
5354
"circularDepCheck": "madge --circular src/index.ts",
5455
"clean": "rimraf dist esm build coverage",
5556
"fix": "run-s fix:eslint fix:prettier",
@@ -59,7 +60,6 @@
5960
"lint": "run-s lint:prettier lint:eslint",
6061
"lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
6162
"lint:prettier": "prettier --check \"{src,test}/**/*.ts\"",
62-
"createTarball": "npm pack",
6363
"test": "jest",
6464
"test:watch": "jest --watch"
6565
},

packages/hub/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"lint": "run-s lint:prettier lint:eslint",
4141
"lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
4242
"lint:prettier": "prettier --check \"{src,test}/**/*.ts\"",
43-
"createTarball": "npm pack",
43+
"build:npm": "npm pack",
4444
"test": "jest",
4545
"test:watch": "jest --watch"
4646
},

packages/integrations/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"build:dev:watch": "run-s build:watch",
3737
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
3838
"build:esm:watch": "tsc -p tsconfig.esm.json --watch",
39+
"build:npm": "npm pack",
3940
"circularDepCheck": "madge --circular src/index.ts",
4041
"clean": "rimraf dist esm build coverage .rpt2_cache",
4142
"fix": "run-s fix:eslint fix:prettier",
@@ -45,7 +46,6 @@
4546
"lint": "run-s lint:prettier lint:eslint",
4647
"lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
4748
"lint:prettier": "prettier --check \"{src,test}/**/*.ts\"",
48-
"createTarball": "npm pack",
4949
"test": "jest",
5050
"test:watch": "jest --watch"
5151
},

packages/minimal/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"lint": "run-s lint:prettier lint:eslint",
4141
"lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
4242
"lint:prettier": "prettier --check \"{src,test}/**/*.ts\"",
43-
"createTarball": "npm pack",
43+
"build:npm": "npm pack",
4444
"test": "jest",
4545
"test:watch": "jest --watch"
4646
},

packages/nextjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"build:dev:watch": "run-s build:watch",
5454
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
5555
"build:esm:watch": "tsc -p tsconfig.esm.json --watch",
56+
"build:npm": "npm pack",
5657
"circularDepCheck": "madge --circular src/index.client.ts && madge --circular --exclude 'config/types\\.ts' src/index.server.ts # see https://github.com/pahen/madge/issues/306",
5758
"clean": "rimraf dist esm coverage *.js *.js.map *.d.ts",
5859
"fix": "run-s fix:eslint fix:prettier",
@@ -62,7 +63,6 @@
6263
"lint": "run-s lint:prettier lint:eslint",
6364
"lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
6465
"lint:prettier": "prettier --check \"{src,test}/**/*.ts\"",
65-
"createTarball": "npm pack",
6666
"test": "run-s test:unit",
6767
"test:all": "run-s test:unit test:integration",
6868
"test:unit": "jest",

packages/node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"build:dev:watch": "run-s build:watch",
4545
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
4646
"build:esm:watch": "tsc -p tsconfig.esm.json --watch",
47+
"build:npm": "npm pack",
4748
"circularDepCheck": "madge --circular src/index.ts",
4849
"clean": "rimraf dist esm coverage",
4950
"fix": "run-s fix:eslint fix:prettier",
@@ -53,7 +54,6 @@
5354
"lint": "run-s lint:prettier lint:eslint",
5455
"lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
5556
"lint:prettier": "prettier --check \"{src,test}/**/*.ts\"",
56-
"createTarball": "npm pack",
5757
"test": "run-s test:jest test:express test:webpack test:release-health",
5858
"test:express": "node test/manual/express-scope-separation/start.js",
5959
"test:jest": "jest",

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"build:dev:watch": "run-s build:watch",
6161
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
6262
"build:esm:watch": "tsc -p tsconfig.esm.json --watch",
63+
"build:npm": "npm pack",
6364
"circularDepCheck": "madge --circular src/index.ts",
6465
"clean": "rimraf dist esm build coverage",
6566
"fix": "run-s fix:eslint fix:prettier",
@@ -69,7 +70,6 @@
6970
"lint": "run-s lint:prettier lint:eslint",
7071
"lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
7172
"lint:prettier": "prettier --check \"{src,test}/**/*.ts\"",
72-
"createTarball": "npm pack",
7373
"test": "jest",
7474
"test:watch": "jest --watch"
7575
},

packages/serverless/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"build:dev:watch": "run-s build:watch",
5151
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
5252
"build:esm:watch": "tsc -p tsconfig.esm.json --watch",
53+
"build:npm": "npm pack",
5354
"circularDepCheck": "madge --circular src/index.ts",
5455
"clean": "rimraf dist esm build dist-awslambda-layer coverage",
5556
"fix": "run-s fix:eslint fix:prettier",
@@ -59,7 +60,6 @@
5960
"lint": "run-s lint:prettier lint:eslint",
6061
"lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
6162
"lint:prettier": "prettier --check \"{src,test}/**/*.ts\"",
62-
"createTarball": "npm pack",
6363
"test": "jest",
6464
"test:watch": "jest --watch"
6565
},

packages/tracing/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"build:dev:watch": "run-s build:watch",
4242
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
4343
"build:esm:watch": "tsc -p tsconfig.esm.json --watch",
44+
"build:npm": "npm pack",
4445
"clean": "rimraf dist esm build coverage",
4546
"circularDepCheck": "madge --circular src/index.ts",
4647
"fix": "run-s fix:eslint fix:prettier",
@@ -50,7 +51,6 @@
5051
"lint": "run-s lint:prettier lint:eslint",
5152
"lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
5253
"lint:prettier": "prettier --check \"{src,test}/**/*.ts\"",
53-
"createTarball": "npm pack",
5454
"test": "jest",
5555
"test:watch": "jest --watch"
5656
},

packages/types/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@
2626
"build:dev:watch": "run-s build:watch",
2727
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
2828
"build:esm:watch": "tsc -p tsconfig.esm.json --watch",
29+
"build:npm": "npm pack",
2930
"link:yarn": "yarn link",
3031
"lint": "run-s lint:prettier lint:eslint",
3132
"lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
3233
"lint:prettier": "prettier --check \"{src,test}/**/*.ts\"",
3334
"fix": "run-s fix:eslint fix:prettier",
3435
"fix:eslint": "eslint . --format stylish --fix",
35-
"fix:prettier": "prettier --write \"{src,test}/**/*.ts\"",
36-
"createTarball": "npm pack"
36+
"fix:prettier": "prettier --write \"{src,test}/**/*.ts\""
3737
},
3838
"volta": {
3939
"extends": "../../package.json"

packages/typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"scripts": {
2222
"link:yarn": "yarn link",
23-
"createTarball": "npm pack"
23+
"build:npm": "npm pack"
2424
},
2525
"volta": {
2626
"extends": "../../package.json"

packages/utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"build:dev:watch": "run-s build:watch",
3535
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
3636
"build:esm:watch": "tsc -p tsconfig.esm.json --watch",
37+
"build:npm": "npm pack",
3738
"circularDepCheck": "madge --circular src/index.ts",
3839
"clean": "rimraf dist esm coverage *.js *.js.map *.d.ts",
3940
"fix": "run-s fix:eslint fix:prettier",
@@ -43,7 +44,6 @@
4344
"lint": "run-s lint:prettier lint:eslint",
4445
"lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
4546
"lint:prettier": "prettier --check \"{src,test}/**/*.ts\"",
46-
"createTarball": "npm pack",
4747
"test": "jest",
4848
"test:watch": "jest --watch",
4949
"test:package": "node test/types/index.js"

packages/vue/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"build:dev:watch": "run-s build:watch",
4444
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
4545
"build:esm:watch": "tsc -p tsconfig.esm.json --watch",
46+
"build:npm": "npm pack",
4647
"circularDepCheck": "madge --circular src/index.ts",
4748
"clean": "rimraf dist esm build coverage",
4849
"fix": "run-s fix:eslint fix:prettier",
@@ -52,7 +53,6 @@
5253
"lint": "run-s lint:prettier lint:eslint",
5354
"lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
5455
"lint:prettier": "prettier --check \"{src,test}/**/*.ts\"",
55-
"createTarball": "npm pack",
5656
"test": "jest",
5757
"test:watch": "jest --watch"
5858
},

packages/wasm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"build:dev:watch": "run-s build:watch",
4141
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
4242
"build:esm:watch": "tsc -p tsconfig.esm.json --watch",
43+
"build:npm": "npm pack",
4344
"circularDepCheck": "madge --circular src/index.ts",
4445
"clean": "rimraf dist esm coverage *.js.map *.d.ts",
4546
"fix": "run-s fix:eslint fix:prettier",
@@ -49,7 +50,6 @@
4950
"lint": "run-s lint:prettier lint:eslint",
5051
"lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
5152
"lint:prettier": "prettier --check \"{src,test}/**/*.ts\"",
52-
"createTarball": "npm pack",
5353
"test": "node test/scripts/ensure-browser-bundle.js && cross-env PORT=1337 jest",
5454
"test:watch": "jest --watch"
5555
},

0 commit comments

Comments
 (0)