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
},

0 commit comments

Comments
 (0)