Skip to content

Commit 46b544a

Browse files
authored
fix(workflow): 🐛 fixed issue with release command in package.json (#866)
1 parent a7ea25d commit 46b544a

File tree

7 files changed

+394
-392
lines changed

7 files changed

+394
-392
lines changed

.husky/commit-msg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
1+
. "$(dirname "$0")/h"
32

43
pnpm lint-staged
54
pnpm build:site

.husky/pre-commit

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
1+
. "$(dirname "$0")/h"
32

43
pnpm commitlint --edit $1

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18.16.0
1+
v18.20.3

core-java/src/test/resources/boyka-config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "https://json.schemastore.org/boyka-config.json",
23
"listeners_package": "io.github.boykaframework.testng.listeners",
34
"data": {
45
"path": "data/excel"

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"version": "1.2.0",
3-
"npmClient": "npm",
3+
"npmClient": "pnpm",
44
"changelog": {
55
"repo": "BoykaFramework/boyka-framework",
66
"labels": {

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
"@commitlint/cli": "^19.3.0",
3333
"@commitlint/config-conventional": "^19.2.2",
3434
"@lerna/child-process": "^7.4.2",
35-
"@types/node": "^20.14.11",
36-
"@typescript-eslint/eslint-plugin": "^7.16.1",
37-
"@typescript-eslint/parser": "^7.16.1",
35+
"@types/node": "^20.14.12",
36+
"@typescript-eslint/eslint-plugin": "^7.17.0",
37+
"@typescript-eslint/parser": "^7.17.0",
3838
"commitlint": "^19.3.0",
3939
"eslint": "^9.7.0",
4040
"eslint-config-google": "^0.14.0",
@@ -50,16 +50,16 @@
5050
"lerna-version": "^6.6.2",
5151
"lint-staged": "^15.2.7",
5252
"lodash": "^4.17.21",
53-
"nx": "^19.5.1",
53+
"nx": "^19.5.3",
5454
"prettier": "^3.3.3",
5555
"react": "^18.3.1",
5656
"react-dom": "^18.3.1",
5757
"ts-node": "^10.9.2",
58-
"typescript": "^5.5.3"
58+
"typescript": "^5.5.4"
5959
},
6060
"scripts": {
6161
"preinstall": "npx only-allow pnpm",
62-
"postinstall": "husky install",
62+
"postinstall": "husky",
6363
"build:site": "pnpm -r --filter=\"./website\" build",
6464
"start:site": "pnpm -r --filter=\"./website\" start",
6565
"deploy:site": "pnpm -r --filter=\"./website\" deploy",
@@ -69,14 +69,14 @@
6969
"format": "prettier --check .",
7070
"format-fix": "prettier --write .",
7171
"changelog": "lerna-changelog",
72-
"prerelease": "lerna version --yes --no-git-tag-version --no-push --no-changelog --conventional-commits --preid beta",
72+
"beta": "lerna version --yes --no-git-tag-version --no-push --no-changelog --conventional-commits --preid beta",
7373
"release": "lerna version --yes --no-git-tag-version --no-push --no-changelog --conventional-commits",
7474
"release:major": "pnpm release major",
7575
"release:minor": "pnpm release minor",
7676
"release:patch": "pnpm release patch",
77-
"prerelease:major": "pnpm prerelease premajor",
78-
"prerelease:minor": "pnpm prerelease preminor",
79-
"prerelease:patch": "pnpm prerelease prepatch",
77+
"release:premajor": "pnpm beta premajor",
78+
"release:preminor": "pnpm beta preminor",
79+
"release:prepatch": "pnpm beta prepatch",
8080
"check-deps": "mvn -f core-java/pom.xml versions:display-dependency-updates",
8181
"check-plugin-deps": "mvn -f core-java/pom.xml versions:display-plugin-updates"
8282
},
@@ -92,5 +92,5 @@
9292
"pnpm format"
9393
]
9494
},
95-
"packageManager": "pnpm@9.3.0"
95+
"packageManager": "pnpm@9.6.0"
9696
}

0 commit comments

Comments
 (0)