Skip to content

Commit 879abdd

Browse files
committed
fix: compatibility with npm >= 10.4
1 parent fde36a5 commit 879abdd

File tree

2 files changed

+26
-11
lines changed

2 files changed

+26
-11
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
"fix": "tsc && eslint . --fix && prettier --write .",
2020
"postinstall": "husky",
2121
"lint": "tsc && eslint . && prettier --check .",
22-
"prepack": "tsc && pinst --disable",
23-
"postpack": "pinst --enable",
22+
"prepack": "tsc",
2423
"start": "webpack serve --open",
2524
"test": "ava"
2625
},
@@ -38,7 +37,7 @@
3837
"@softwareventures/eslint-config": "7.5.0",
3938
"@softwareventures/precise-commits": "4.0.12",
4039
"@softwareventures/prettier-config": "4.0.0",
41-
"@softwareventures/semantic-release-config": "4.1.0",
40+
"@softwareventures/semantic-release-config": "5.0.0",
4241
"@softwareventures/webpack-config": "5.2.2",
4342
"@types/node": "17.0.45",
4443
"@typescript-eslint/eslint-plugin": "7.8.0",
@@ -57,6 +56,7 @@
5756
"pinst": "3.0.0",
5857
"prettier": "3.2.5",
5958
"semantic-release": "23.1.1",
59+
"semantic-release-pinst": "1.0.4",
6060
"ts-loader": "9.5.1",
6161
"tsimp": "2.0.11",
6262
"typescript": "5.4.5",

yarn.lock

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,15 +1160,17 @@ __metadata:
11601160
languageName: node
11611161
linkType: hard
11621162

1163-
"@softwareventures/semantic-release-config@npm:4.1.0":
1164-
version: 4.1.0
1165-
resolution: "@softwareventures/semantic-release-config@npm:4.1.0"
1163+
"@softwareventures/semantic-release-config@npm:5.0.0":
1164+
version: 5.0.0
1165+
resolution: "@softwareventures/semantic-release-config@npm:5.0.0"
11661166
dependencies:
11671167
tslib: "npm:2.6.2"
11681168
peerDependencies:
11691169
conventional-changelog-conventionalcommits: ^4.6.3 || ^5.0.0 || ^6.0.0 || ^7.0.0
1170+
pinst: ">= 2.1.6"
11701171
semantic-release: ^17.0.7 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0 || ^23.0.0
1171-
checksum: 10c0/efd21e6598d1f7f4f336463f8ce1702ba529d1f186585d2ac9944c1c461d13b173d406464b12656e2e74b8054850d960f7f84c3a3e86b2aa44242e9bb3eb1fae
1172+
semantic-release-pinst: ^1.0.0
1173+
checksum: 10c0/a7698f9f1fde3bd4c734d907b8a8acab2a6ce7b3edd005bdf0a5ca0fd169af905429c63bd15f5d0a68c8d2b3ccbe7a4f7f0a3eb8be8c8c82b70ea7e79c8f9e90
11721174
languageName: node
11731175
linkType: hard
11741176

@@ -1182,15 +1184,15 @@ __metadata:
11821184
"@softwareventures/eslint-config": "npm:7.5.0"
11831185
"@softwareventures/precise-commits": "npm:4.0.12"
11841186
"@softwareventures/prettier-config": "npm:4.0.0"
1185-
"@softwareventures/semantic-release-config": "npm:4.1.0"
1187+
"@softwareventures/semantic-release-config": "npm:5.0.0"
11861188
"@softwareventures/webpack-config": "npm:5.2.2"
11871189
"@types/node": "npm:17.0.45"
11881190
"@types/webpack-env": "npm:1.18.5"
11891191
"@typescript-eslint/eslint-plugin": "npm:7.8.0"
11901192
"@typescript-eslint/parser": "npm:7.8.0"
11911193
ava: "npm:6.1.3"
11921194
commitizen: "npm:4.3.0"
1193-
conventional-changelog-conventionalcommits: "npm:7.0.2"
1195+
conventional-changelog-conventionalcommits: "npm:^7"
11941196
eslint: "npm:8.57.0"
11951197
eslint-config-prettier: "npm:9.1.0"
11961198
eslint-plugin-import: "npm:2.29.1"
@@ -1202,6 +1204,7 @@ __metadata:
12021204
pinst: "npm:3.0.0"
12031205
prettier: "npm:3.2.5"
12041206
semantic-release: "npm:23.1.1"
1207+
semantic-release-pinst: "npm:1.0.4"
12051208
ts-loader: "npm:9.5.1"
12061209
tsimp: "npm:2.0.11"
12071210
tslib: "npm:2.6.2"
@@ -3876,7 +3879,7 @@ __metadata:
38763879
languageName: node
38773880
linkType: hard
38783881

3879-
"conventional-changelog-conventionalcommits@npm:7.0.2, conventional-changelog-conventionalcommits@npm:^7.0.2":
3882+
"conventional-changelog-conventionalcommits@npm:^7, conventional-changelog-conventionalcommits@npm:^7.0.2":
38803883
version: 7.0.2
38813884
resolution: "conventional-changelog-conventionalcommits@npm:7.0.2"
38823885
dependencies:
@@ -10503,6 +10506,18 @@ __metadata:
1050310506
languageName: node
1050410507
linkType: hard
1050510508

10509+
"semantic-release-pinst@npm:1.0.4":
10510+
version: 1.0.4
10511+
resolution: "semantic-release-pinst@npm:1.0.4"
10512+
dependencies:
10513+
tslib: "npm:^2.6.2"
10514+
peerDependencies:
10515+
pinst: ">= 2.1.6"
10516+
semantic-release: ">= 22.0.0"
10517+
checksum: 10c0/42cc215a9957c5866d5f38dab67dc57ea92dccbd26fc967a50b2f41e5401f88a8035db77791bbf75e79e8fb37d721e3a5f6c962d18136c3f3a1208af16318eb4
10518+
languageName: node
10519+
linkType: hard
10520+
1050610521
"semantic-release@npm:23.1.1":
1050710522
version: 23.1.1
1050810523
resolution: "semantic-release@npm:23.1.1"
@@ -11674,7 +11689,7 @@ __metadata:
1167411689
languageName: node
1167511690
linkType: hard
1167611691

11677-
"tslib@npm:2.6.2, tslib@npm:^1.9.3 || ^2.0.0 || ^2.1.0, tslib@npm:^2.0.0, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.3.0, tslib@npm:^2.3.1":
11692+
"tslib@npm:2.6.2, tslib@npm:^1.9.3 || ^2.0.0 || ^2.1.0, tslib@npm:^2.0.0, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.3.0, tslib@npm:^2.3.1, tslib@npm:^2.6.2":
1167811693
version: 2.6.2
1167911694
resolution: "tslib@npm:2.6.2"
1168011695
checksum: 10c0/e03a8a4271152c8b26604ed45535954c0a45296e32445b4b87f8a5abdb2421f40b59b4ca437c4346af0f28179780d604094eb64546bee2019d903d01c6c19bdb

0 commit comments

Comments
 (0)