Skip to content

Commit

Permalink
check uncommitted files in prepublish
Browse files Browse the repository at this point in the history
  • Loading branch information
ronhippler committed Jul 29, 2018
1 parent fb0f9e8 commit b1e809a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"docs": "run-s docs:generate docs:readme",
"docs:generate": "node node_modules/.bin/ts-docs-gen --entryFile ./src/index.ts",
"docs:readme": "node .markdown-magic.config.js",
"prepublish": "in-publish && npm-run-all lint -p test build:react_example docs -s clean tsc clean:test || not-in-publish",
"prepublish": "in-publish && npm-run-all lint -p test build:react_example docs -s clean tsc clean:test uncommitted || not-in-publish",
"run_example": "yarn --frozen-lockfile && yarn build && yarn --frozen-lockfile --cwd ./examples/react-example && yarn --cwd ./examples/react-example start"
},
"repository": {
Expand Down Expand Up @@ -105,7 +105,8 @@
"ts-docs-gen": "^0.2.0",
"ts-node": "^7.0.0",
"tslint": "^5.11.0",
"typescript": "^2.9.2"
"typescript": "^2.9.2",
"uncommitted": "^1.0.0"
},
"nyc": {
"extension": [
Expand Down
4 changes: 4 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4803,6 +4803,10 @@ ultron@~1.1.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.1.1.tgz#9fe1536a10a664a65266a1e3ccf85fd36302bc9c"

uncommitted@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/uncommitted/-/uncommitted-1.0.0.tgz#a93e723023e256db09f04f70bccdaa115042163e"

underscore.string@~2.4.0:
version "2.4.0"
resolved "https://registry.yarnpkg.com/underscore.string/-/underscore.string-2.4.0.tgz#8cdd8fbac4e2d2ea1e7e2e8097c42f442280f85b"
Expand Down

0 comments on commit b1e809a

Please sign in to comment.