Skip to content

Commit 0995a52

Browse files
committed
build: fix prepublish step
1 parent cf35881 commit 0995a52

8 files changed

Lines changed: 7 additions & 8 deletions

File tree

packages/branch-utilities/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"lint": "eslint --fix --cache ./src",
2424
"lint:ci": "eslint ./src",
2525
"lint:staged": "eslint --fix --cache",
26-
"prepublish": "prepare-dist",
26+
"prepublish": "node ../publish-helper/dist/prepare-dist.js",
2727
"test": "NODE_OPTIONS=\"--experimental-vm-modules --trace-warnings\" npx jest --config jest.config.js",
2828
"test:ci": "npm run test",
2929
"test:watch": "npm run test -- --watch"

packages/eslint-config-recommended/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"lint": "eslint --fix --cache ./src",
2929
"lint:ci": "eslint ./src",
3030
"lint:staged": "eslint --fix --cache",
31-
"prepublish": "prepare-dist",
31+
"prepublish": "node ../publish-helper/dist/prepare-dist.js",
3232
"test": "echo 'Error: no test specificed'",
3333
"test:ci": "npm run test"
3434
},

packages/eslint-plugin-rules/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"lint": "eslint --fix --cache ./src",
2525
"lint:ci": "eslint ./src",
2626
"lint:staged": "eslint --fix --cache",
27-
"prepublish": "prepare-dist",
27+
"prepublish": "node ../publish-helper/dist/prepare-dist.js",
2828
"test": "jest",
2929
"test:ci": "npm run test"
3030
},

packages/inversify-logger/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"lint": "eslint --fix --cache ./src ./test",
2727
"lint:ci": "eslint ./src ./test",
2828
"lint:staged": "eslint --fix --cache",
29-
"prepublish": "prepare-dist",
29+
"prepublish": "node ../publish-helper/dist/prepare-dist.js",
3030
"test": "vitest --cache --run",
3131
"test:ci": "vitest --no-cache --run",
3232
"test:watch": "vitest --cache"

packages/logger/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"lint": "eslint --fix --cache ./src ./test",
3232
"lint:ci": "eslint ./src ./test",
3333
"lint:staged": "eslint --fix --cache",
34-
"prepublish": "prepare-dist",
34+
"prepublish": "node ../publish-helper/dist/prepare-dist.js",
3535
"test": "NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" npx jest --config jest.config.js",
3636
"test:ci": "npm run test",
3737
"test:watch": "npm run test -- --watch"

packages/nest-logger/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"lint": "eslint --fix --cache ./src ./test",
2424
"lint:ci": "eslint ./src ./test",
2525
"lint:staged": "eslint --fix --cache",
26-
"prepublish": "prepare-dist",
26+
"prepublish": "node ../publish-helper/dist/prepare-dist.js",
2727
"test": "vitest --cache --run",
2828
"test:ci": "vitest --no-cache --run",
2929
"test:watch": "vitest --cache"

packages/publish-helper/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"scripts": {
1414
"prebuild": "rm -rf ./dist",
1515
"build": "tsc",
16-
"postbuild": "chmod +x ./dist/prepare-dist.js ./dist/publish-lib.js",
1716
"format": "npm run format:base -- --write",
1817
"format:base": "prettier --config ../../.prettierrc.yml '{src,e2e,test}/**/*.ts'",
1918
"format:ci": "npm run format:base -- --check",

packages/utilities/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"lint": "eslint --fix --cache ./src",
2424
"lint:ci": "eslint ./src",
2525
"lint:staged": "eslint --fix --cache",
26-
"prepublish": "prepare-dist",
26+
"prepublish": "node ../publish-helper/dist/prepare-dist.js",
2727
"test": "NODE_OPTIONS=\"--experimental-vm-modules --trace-warnings\" npx jest --config jest.config.js",
2828
"test:ci": "npm run test",
2929
"test:watch": "npm run test -- --watch"

0 commit comments

Comments
 (0)