Skip to content

Commit 3a5d38d

Browse files
committed
fix: compatibility with npm >= 10.4
1 parent 09d5423 commit 3a5d38d

File tree

2 files changed

+22
-8
lines changed

2 files changed

+22
-8
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
"fix": "tsc --noEmit && eslint . --fix && prettier --write .",
1717
"postinstall": "husky",
1818
"lint": "tsc --noEmit && eslint . && prettier --check .",
19-
"prepack": "tsc && pinst --disable",
20-
"postpack": "pinst --enable",
19+
"prepack": "tsc",
2120
"test": "ava"
2221
},
2322
"engines": {
@@ -36,7 +35,7 @@
3635
"@softwareventures/eslint-config": "7.5.0",
3736
"@softwareventures/precise-commits": "4.0.12",
3837
"@softwareventures/prettier-config": "4.0.0",
39-
"@softwareventures/semantic-release-config": "4.1.0",
38+
"@softwareventures/semantic-release-config": "5.0.0",
4039
"@softwareventures/tsconfig": "8.0.0",
4140
"@types/node": "20.12.12",
4241
"@typescript-eslint/eslint-plugin": "7.9.0",
@@ -55,6 +54,7 @@
5554
"pinst": "3.0.0",
5655
"prettier": "3.2.5",
5756
"semantic-release": "23.1.1",
57+
"semantic-release-pinst": "1.0.0",
5858
"ts-node": "10.9.2",
5959
"typescript": "5.4.5"
6060
},

yarn.lock

+19-5
Original file line numberDiff line numberDiff line change
@@ -1070,15 +1070,17 @@ __metadata:
10701070
languageName: node
10711071
linkType: hard
10721072

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

@@ -6755,6 +6757,17 @@ __metadata:
67556757
languageName: node
67566758
linkType: hard
67576759

6760+
"semantic-release-pinst@npm:1.0.0":
6761+
version: 1.0.0
6762+
resolution: "semantic-release-pinst@npm:1.0.0"
6763+
dependencies:
6764+
tslib: "npm:^2.6.2"
6765+
peerDependencies:
6766+
pinst: ">= 2.1.6"
6767+
checksum: 10c0/82fb26bc9de4f42282a653962fa3c2808c502f05a8eef6b0b8a322c5e47339454890aa89b468a24b46a842b26aba874a9b68146785c23b64dde2310c5b718cb2
6768+
languageName: node
6769+
linkType: hard
6770+
67586771
"semantic-release-pinst@workspace:.":
67596772
version: 0.0.0-use.local
67606773
resolution: "semantic-release-pinst@workspace:."
@@ -6765,7 +6778,7 @@ __metadata:
67656778
"@softwareventures/eslint-config": "npm:7.5.0"
67666779
"@softwareventures/precise-commits": "npm:4.0.12"
67676780
"@softwareventures/prettier-config": "npm:4.0.0"
6768-
"@softwareventures/semantic-release-config": "npm:4.1.0"
6781+
"@softwareventures/semantic-release-config": "npm:5.0.0"
67696782
"@softwareventures/tsconfig": "npm:8.0.0"
67706783
"@types/node": "npm:20.12.12"
67716784
"@typescript-eslint/eslint-plugin": "npm:7.9.0"
@@ -6784,6 +6797,7 @@ __metadata:
67846797
pinst: "npm:3.0.0"
67856798
prettier: "npm:3.2.5"
67866799
semantic-release: "npm:23.1.1"
6800+
semantic-release-pinst: "npm:1.0.0"
67876801
ts-node: "npm:10.9.2"
67886802
tslib: "npm:^2.6.2"
67896803
typescript: "npm:5.4.5"

0 commit comments

Comments
 (0)