Skip to content

Commit

Permalink
fix: compatibility with npm >= 10.4
Browse files Browse the repository at this point in the history
  • Loading branch information
djcsdy committed May 18, 2024
1 parent 97bad1a commit 8edae14
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 23 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"fix": "tsc --noEmit && eslint . --fix && prettier --write .",
"postinstall": "husky install",
"lint": "tsc --noEmit && eslint . && prettier --check .",
"prepack": "tsc && pinst --disable",
"postpack": "pinst --enable",
"prepack": "tsc",
"test": "ava"
},
"engines": {
Expand All @@ -43,14 +42,15 @@
"@softwareventures/eslint-config": "7.2.0",
"@softwareventures/precise-commits": "3.0.33",
"@softwareventures/prettier-config": "4.0.0",
"@softwareventures/semantic-release-config": "3.1.0",
"@softwareventures/semantic-release-config": "5.0.0",
"@softwareventures/tsconfig": "7.1.0",
"@types/is-integer": "1.0.2",
"@types/node": "17.0.45",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"ava": "5.3.1",
"commitizen": "4.3.0",
"conventional-changelog-conventionalcommits": "7.0.2",
"eslint": "8.56.0",
"eslint-config-prettier": "8.10.0",
"eslint-plugin-import": "2.29.1",
Expand All @@ -62,6 +62,7 @@
"pinst": "3.0.0",
"prettier": "2.8.8",
"semantic-release": "19.0.5",
"semantic-release-pinst": "1.0.3",
"ts-node": "10.9.2",
"typescript": "4.9.5"
},
Expand Down
48 changes: 28 additions & 20 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ __metadata:
"@softwareventures/ordered": "npm:^2.0.0"
"@softwareventures/precise-commits": "npm:3.0.33"
"@softwareventures/prettier-config": "npm:4.0.0"
"@softwareventures/semantic-release-config": "npm:3.1.0"
"@softwareventures/semantic-release-config": "npm:5.0.0"
"@softwareventures/time": "npm:^3.0.0"
"@softwareventures/tsconfig": "npm:7.1.0"
"@types/is-integer": "npm:1.0.2"
Expand All @@ -1033,6 +1033,7 @@ __metadata:
"@typescript-eslint/parser": "npm:5.62.0"
ava: "npm:5.3.1"
commitizen: "npm:4.3.0"
conventional-changelog-conventionalcommits: "npm:7.0.2"
eslint: "npm:8.56.0"
eslint-config-prettier: "npm:8.10.0"
eslint-plugin-import: "npm:2.29.1"
Expand All @@ -1046,6 +1047,7 @@ __metadata:
pinst: "npm:3.0.0"
prettier: "npm:2.8.8"
semantic-release: "npm:19.0.5"
semantic-release-pinst: "npm:1.0.3"
ts-node: "npm:10.9.2"
tslib: "npm:^2.5.0"
typescript: "npm:4.9.5"
Expand Down Expand Up @@ -1203,13 +1205,17 @@ __metadata:
languageName: node
linkType: hard

"@softwareventures/semantic-release-config@npm:3.1.0":
version: 3.1.0
resolution: "@softwareventures/semantic-release-config@npm:3.1.0"
"@softwareventures/semantic-release-config@npm:5.0.0":
version: 5.0.0
resolution: "@softwareventures/semantic-release-config@npm:5.0.0"
dependencies:
conventional-changelog-conventionalcommits: "npm:^4.6.3 || ^5.0.0"
tslib: "npm:2.4.1"
checksum: 10c0/5a14647ca5b9d47cf0858452a420b126e3b65bc4a40eafe82df871b199253fcc042dd6fe9974825102311758b6da7278e4ee255af7cb71b785272ffe00703989
tslib: "npm:2.6.2"
peerDependencies:
conventional-changelog-conventionalcommits: ^4.6.3 || ^5.0.0 || ^6.0.0 || ^7.0.0
pinst: ">= 2.1.6"
semantic-release: ^17.0.7 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0 || ^23.0.0
semantic-release-pinst: ^1.0.0
checksum: 10c0/a7698f9f1fde3bd4c734d907b8a8acab2a6ce7b3edd005bdf0a5ca0fd169af905429c63bd15f5d0a68c8d2b3ccbe7a4f7f0a3eb8be8c8c82b70ea7e79c8f9e90
languageName: node
linkType: hard

Expand Down Expand Up @@ -2538,14 +2544,12 @@ __metadata:
languageName: node
linkType: hard

"conventional-changelog-conventionalcommits@npm:^4.6.3 || ^5.0.0":
version: 5.0.0
resolution: "conventional-changelog-conventionalcommits@npm:5.0.0"
"conventional-changelog-conventionalcommits@npm:7.0.2":
version: 7.0.2
resolution: "conventional-changelog-conventionalcommits@npm:7.0.2"
dependencies:
compare-func: "npm:^2.0.0"
lodash: "npm:^4.17.15"
q: "npm:^1.5.1"
checksum: 10c0/02cc9313b44953332e9d45833615675cbc4d0f4129b27ea7218f8f4fc2f35124748725969c0cb3dc645713d19684540b87c5af25bd17ce3dccd7ef4e05e42442
checksum: 10c0/3cb1eab35e37fc973cfb3aed0e159f54414e49b222988da1c2aa86cc8a87fe7531491bbb7657fe5fc4dc0e25f5b50e2065ba8ac71cc4c08eed9189102a2b81bd
languageName: node
linkType: hard

Expand Down Expand Up @@ -7200,6 +7204,17 @@ __metadata:
languageName: node
linkType: hard

"semantic-release-pinst@npm:1.0.3":
version: 1.0.3
resolution: "semantic-release-pinst@npm:1.0.3"
dependencies:
tslib: "npm:^2.6.2"
peerDependencies:
pinst: ">= 2.1.6"
checksum: 10c0/769def1e5b5c393d8abe4d4921b12551b9c17d3e0335db1dec7539154b0165595f56e98f3667bbe37d127378c430a5efb0befa683ff166f1a873ca5f5c186a0e
languageName: node
linkType: hard

"semantic-release@npm:19.0.5":
version: 19.0.5
resolution: "semantic-release@npm:19.0.5"
Expand Down Expand Up @@ -7937,13 +7952,6 @@ __metadata:
languageName: node
linkType: hard

"tslib@npm:2.4.1":
version: 2.4.1
resolution: "tslib@npm:2.4.1"
checksum: 10c0/9ac0e4fd1033861f0b4f0d848dc3009ebcc3aa4757a06e8602a2d8a7aed252810e3540e54e70709f06c0f95311faa8584f769bcbede48aff785eb7e4d399b9ec
languageName: node
linkType: hard

"tslib@npm:2.6.2, tslib@npm:^1.9.3 || ^2.0.0 || ^2.1.0, tslib@npm:^2.0.0, tslib@npm:^2.1.0, tslib@npm:^2.3.1, tslib@npm:^2.5.0, tslib@npm:^2.6.2":
version: 2.6.2
resolution: "tslib@npm:2.6.2"
Expand Down

0 comments on commit 8edae14

Please sign in to comment.