-
Notifications
You must be signed in to change notification settings - Fork 50
fix(registry): remove install-breaking postinstall hook #320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@sei-js/registry": patch | ||
| --- | ||
|
|
||
| Stop running Git submodule commands when consumers install the registry package. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,8 +14,7 @@ | |
| "build:cjs": "tsc --outDir dist/cjs --module commonjs", | ||
| "build:esm": "tsc --outDir dist/esm --module esnext", | ||
| "build:types": "tsc --project ./tsconfig.declaration.json", | ||
| "test": "jest", | ||
| "postinstall": "git submodule update --init --recursive" | ||
| "test": "jest" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [suggestion] Removing this from the published package is right — The root "scripts": {
"postinstall": "git submodule update --init --recursive",
...
}(Guard it with |
||
| }, | ||
| "homepage": "https://github.com/sei-protocol/sei-js#readme", | ||
| "keywords": [ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nit] Correct and necessary now that
postinstallis gone. Minor: neither entry in.gitmoduleshas nested submodules, sosubmodules: truewould do and avoids the recursive walk. Both submodule URLs are public HTTPS, so this also works for fork PRs under the defaultGITHUB_TOKEN— no change needed there.