-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ensure that 'npm publish' is used * how about this * minor * version
- Loading branch information
Showing
4 changed files
with
9 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
dist/ | ||
vendor/ | ||
public/ | ||
# From local packing and unzipping | ||
package/ | ||
node_modules | ||
scratch | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "spectaql", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "A powerful library for autogenerating static GraphQL API documentation", | ||
"author": "Anvil Foundry Inc. <[email protected]>", | ||
"homepage": "https://github.com/anvilco/spectaql", | ||
|
@@ -55,8 +55,8 @@ | |
"clean-build:src": "npm run clean:dist && npm run build:src", | ||
"clean-build:vendor": "npm run clean:vendor && npm run build:vendor", | ||
"clean-build": "npm run clean && npm run build", | ||
"preinstall": "npm run build:vendor", | ||
"prepack": "husky install && npm run clean-build", | ||
"prepack": "husky install && npm run ensure-npm && npm run clean-build", | ||
"ensure-npm": "read -p \"Are you running \\\"npm publish\\\" or did you pack using \\\"npm\\\"? That's \\\"npm\\\" instead of \\\"yarn\\\". Very important!!! [Yy]\" -n 1 -r; if [[ ! $REPLY =~ ^[Yy]$ ]]\nthen\n[[ \"$0\" = \"$BASH_SOURCE\" ]] && exit 1 || return 1\nfi", | ||
"publish:dry-run": "npm pack --dry-run", | ||
"publish:version": "npm version", | ||
"publish:beta": "npm publish --tag beta", | ||
|