Skip to content

Commit

Permalink
fix: add and configure pinst (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
technophile-04 authored Jun 11, 2024
1 parent 4b84515 commit edf9f23
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/cool-feet-fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-eth": patch
---

fix: cli immediately exiting after npx create-eth@latest
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
"format": "prettier --write .",
"test": "echo \"Error: no test specified\" && exit 1",
"changeset:release": "yarn build && changeset publish",
"postinstall": "husky"
"postinstall": "husky",
"prepack": "pinst --disable",
"postpack": "pinst --enable"
},
"keywords": [
"cli",
Expand All @@ -42,6 +44,7 @@
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"lint-staged": "^15.2.4",
"pinst": "^3.0.0",
"prettier": "3.2.5",
"rollup": "3.21.0",
"rollup-plugin-auto-external": "2.0.0",
Expand Down
10 changes: 10 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1436,6 +1436,7 @@ __metadata:
listr: 0.14.3
merge-packages: ^0.1.6
ncp: 2.0.0
pinst: ^3.0.0
pkg-install: 1.0.0
prettier: 3.2.5
rollup: 3.21.0
Expand Down Expand Up @@ -4225,6 +4226,15 @@ __metadata:
languageName: node
linkType: hard

"pinst@npm:^3.0.0":
version: 3.0.0
resolution: "pinst@npm:3.0.0"
bin:
pinst: bin.js
checksum: 4ae48a6a60f79c37071233af51b4d91bfc85cfa3c12b66ccda60cdb642b4d14a4ab0cb3587afc55b1f6192cea1772a5e4822026a0d0d3528296edef00cc2d61f
languageName: node
linkType: hard

"pkg-dir@npm:^4.2.0":
version: 4.2.0
resolution: "pkg-dir@npm:4.2.0"
Expand Down

0 comments on commit edf9f23

Please sign in to comment.