Skip to content

Commit

Permalink
fix: fix patch-package issue (#23)
Browse files Browse the repository at this point in the history
should fix patch-package from being executed when run with npx or after installing via npm
  • Loading branch information
hoonoh committed Oct 30, 2019
1 parent ab2cf25 commit 1128f97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,11 @@
"license": "MIT",
"scripts": {
"prepublishOnly": "yarn clean && yarn build",
"postinstall": "patch-package",
"clean": "rm -rf dist && rm -rf coverage",
"build:ec2-types": "ts-node -T util/generate-ec2-types.ts",
"build": "webpack",
"build": "patch-package && webpack",
"changelog": "conventional-changelog -i CHANGELOG.md -s -p angular",
"test": "jest --runInBand --verbose",
"test": "patch-package && jest --runInBand --verbose",
"test:coverage": "yarn test --coverage",
"test:ci": "yarn test:coverage --ci --reporters=jest-junit --coverageReporters lcov --coverageReporters cobertura",
"lint": "eslint **/*.ts",
Expand Down Expand Up @@ -127,7 +126,6 @@
"nock": "^11.4.0",
"ora": "^4.0.2",
"patch-package": "^6.2.0",
"postinstall-postinstall": "^2.0.0",
"prettier": "^1.18.2",
"prompts": "^2.2.1",
"semantic-release": "^15.13.27",
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7165,11 +7165,6 @@ posix-character-classes@^0.1.0:
resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab"
integrity sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=

postinstall-postinstall@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/postinstall-postinstall/-/postinstall-postinstall-2.0.0.tgz#7ba6711b4420575c4f561638836a81faad47f43f"
integrity sha512-3f6qWexsHiT4WKtZc5DRb0FPLilHtARi5KpY4fqban/DJNn8/YhZH8U7dVKVz51WbOxEnR31gV+qYQhvEdHtdQ==

prelude-ls@~1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54"
Expand Down

0 comments on commit 1128f97

Please sign in to comment.