8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23f9379 commit 54e80b6Copy full SHA for 54e80b6
package.json
@@ -30,7 +30,7 @@
30
"format:check:prettier": "cross-env-shell prettier --check $npm_package_config_prettier",
31
"format:fix:prettier": "cross-env-shell prettier --write $npm_package_config_prettier",
32
"prepublishOnly": "run-s prepublishOnly:*",
33
- "prepublishOnly:checkout": "git checkout main",
+ "prepublishOnly:checkout": "[ -z \"$npm_config_tag\" ] && git checkout main; exit 0",
34
"prepublishOnly:pull": "git pull",
35
"prepublishOnly:install": "npm ci",
36
"prepublishOnly:test": "npm test",
0 commit comments