Skip to content

Commit 747efcd

Browse files
committed
fix: compatibility with npm >= 10.4
1 parent 2787613 commit 747efcd

File tree

2 files changed

+26
-11
lines changed

2 files changed

+26
-11
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
"fix": "tsc --noEmit && eslint . --fix && prettier --write .",
1818
"postinstall": "husky",
1919
"lint": "tsc --noEmit && eslint . && prettier --check .",
20-
"prepack": "tsc && pinst --disable",
21-
"postpack": "pinst --enable",
20+
"prepack": "tsc",
2221
"test": "ava"
2322
},
2423
"engines": {
@@ -34,14 +33,14 @@
3433
"@softwareventures/eslint-config": "7.5.0",
3534
"@softwareventures/precise-commits": "4.0.12",
3635
"@softwareventures/prettier-config": "4.0.0",
37-
"@softwareventures/semantic-release-config": "4.1.0",
36+
"@softwareventures/semantic-release-config": "5.0.0",
3837
"@softwareventures/tsconfig": "7.1.1",
3938
"@types/node": "17.0.45",
4039
"@typescript-eslint/eslint-plugin": "7.9.0",
4140
"@typescript-eslint/parser": "7.9.0",
4241
"ava": "6.1.3",
4342
"commitizen": "4.3.0",
44-
"conventional-changelog-conventionalcommits": "7.0.2",
43+
"conventional-changelog-conventionalcommits": "^7",
4544
"eslint": "8.57.0",
4645
"eslint-config-prettier": "9.1.0",
4746
"eslint-plugin-import": "2.29.1",
@@ -53,6 +52,7 @@
5352
"pinst": "3.0.0",
5453
"prettier": "3.2.5",
5554
"semantic-release": "23.1.1",
55+
"semantic-release-pinst": "1.0.4",
5656
"ts-node": "10.9.2",
5757
"typescript": "5.4.5"
5858
},

yarn.lock

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,15 +1069,17 @@ __metadata:
10691069
languageName: node
10701070
linkType: hard
10711071

1072-
"@softwareventures/semantic-release-config@npm:4.1.0":
1073-
version: 4.1.0
1074-
resolution: "@softwareventures/semantic-release-config@npm:4.1.0"
1072+
"@softwareventures/semantic-release-config@npm:5.0.0":
1073+
version: 5.0.0
1074+
resolution: "@softwareventures/semantic-release-config@npm:5.0.0"
10751075
dependencies:
10761076
tslib: "npm:2.6.2"
10771077
peerDependencies:
10781078
conventional-changelog-conventionalcommits: ^4.6.3 || ^5.0.0 || ^6.0.0 || ^7.0.0
1079+
pinst: ">= 2.1.6"
10791080
semantic-release: ^17.0.7 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0 || ^23.0.0
1080-
checksum: 10c0/efd21e6598d1f7f4f336463f8ce1702ba529d1f186585d2ac9944c1c461d13b173d406464b12656e2e74b8054850d960f7f84c3a3e86b2aa44242e9bb3eb1fae
1081+
semantic-release-pinst: ^1.0.0
1082+
checksum: 10c0/a7698f9f1fde3bd4c734d907b8a8acab2a6ce7b3edd005bdf0a5ca0fd169af905429c63bd15f5d0a68c8d2b3ccbe7a4f7f0a3eb8be8c8c82b70ea7e79c8f9e90
10811083
languageName: node
10821084
linkType: hard
10831085

@@ -1091,14 +1093,14 @@ __metadata:
10911093
"@softwareventures/eslint-config": "npm:7.5.0"
10921094
"@softwareventures/precise-commits": "npm:4.0.12"
10931095
"@softwareventures/prettier-config": "npm:4.0.0"
1094-
"@softwareventures/semantic-release-config": "npm:4.1.0"
1096+
"@softwareventures/semantic-release-config": "npm:5.0.0"
10951097
"@softwareventures/tsconfig": "npm:7.1.1"
10961098
"@types/node": "npm:17.0.45"
10971099
"@typescript-eslint/eslint-plugin": "npm:7.9.0"
10981100
"@typescript-eslint/parser": "npm:7.9.0"
10991101
ava: "npm:6.1.3"
11001102
commitizen: "npm:4.3.0"
1101-
conventional-changelog-conventionalcommits: "npm:7.0.2"
1103+
conventional-changelog-conventionalcommits: "npm:^7"
11021104
eslint: "npm:8.57.0"
11031105
eslint-config-prettier: "npm:9.1.0"
11041106
eslint-plugin-import: "npm:2.29.1"
@@ -1110,6 +1112,7 @@ __metadata:
11101112
pinst: "npm:3.0.0"
11111113
prettier: "npm:3.2.5"
11121114
semantic-release: "npm:23.1.1"
1115+
semantic-release-pinst: "npm:1.0.4"
11131116
ts-node: "npm:10.9.2"
11141117
tslib: "npm:^2.6.2"
11151118
typescript: "npm:5.4.5"
@@ -2364,7 +2367,7 @@ __metadata:
23642367
languageName: node
23652368
linkType: hard
23662369

2367-
"conventional-changelog-conventionalcommits@npm:7.0.2, conventional-changelog-conventionalcommits@npm:^7.0.2":
2370+
"conventional-changelog-conventionalcommits@npm:^7, conventional-changelog-conventionalcommits@npm:^7.0.2":
23682371
version: 7.0.2
23692372
resolution: "conventional-changelog-conventionalcommits@npm:7.0.2"
23702373
dependencies:
@@ -6796,6 +6799,18 @@ __metadata:
67966799
languageName: node
67976800
linkType: hard
67986801

6802+
"semantic-release-pinst@npm:1.0.4":
6803+
version: 1.0.4
6804+
resolution: "semantic-release-pinst@npm:1.0.4"
6805+
dependencies:
6806+
tslib: "npm:^2.6.2"
6807+
peerDependencies:
6808+
pinst: ">= 2.1.6"
6809+
semantic-release: ">= 22.0.0"
6810+
checksum: 10c0/42cc215a9957c5866d5f38dab67dc57ea92dccbd26fc967a50b2f41e5401f88a8035db77791bbf75e79e8fb37d721e3a5f6c962d18136c3f3a1208af16318eb4
6811+
languageName: node
6812+
linkType: hard
6813+
67996814
"semantic-release@npm:23.1.1":
68006815
version: 23.1.1
68016816
resolution: "semantic-release@npm:23.1.1"

0 commit comments

Comments
 (0)