Skip to content

Commit

Permalink
generator: make sure, githooks have lf in npm package
Browse files Browse the repository at this point in the history
  • Loading branch information
ernscht committed Apr 25, 2018
1 parent 9c6f89f commit 7e5bc80
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 6 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"lint": "eslint .",
"pretest": "yarn lint",
"test": "jasmine --config=tests/jasmine/support/jasmine.json",
"prepublish": "nsp check --output summary"
"prepublish": "nsp check --output summary",
"prepublishOnly": "pkg-ok --bin generators/app/templates/project/.githooks/pre-commit generators/app/templates/project/.githooks/post-merge"
},
"files": [
"generators/app",
Expand All @@ -32,7 +33,7 @@
"modular"
],
"dependencies": {
"adm-zip": "0.4.9",
"adm-zip": "0.4.7",
"chalk": "2.4.0",
"config": "1.30.0",
"git-config": "0.0.7",
Expand All @@ -50,6 +51,7 @@
"fs-extra": "5.0.0",
"jasmine": "3.1.0",
"nsp": "3.2.1",
"pkg-ok": "2.1.0",
"yeoman-assert": "3.1.1",
"yeoman-test": "1.7.0"
}
Expand Down
51 changes: 47 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ acorn@^5.5.0:
version "5.5.3"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.5.3.tgz#f473dd47e0277a08e28e9bec5aeeb04751f0b8c9"

[email protected].9:
version "0.4.9"
resolved "https://registry.yarnpkg.com/adm-zip/-/adm-zip-0.4.9.tgz#1a574627d3aa4ea6b8b4948e066cbd6fed4ae2f6"
[email protected].7:
version "0.4.7"
resolved "https://registry.yarnpkg.com/adm-zip/-/adm-zip-0.4.7.tgz#8606c2cbf1c426ce8c8ec00174447fd49b6eafc1"

agent-base@^4.1.0:
version "4.2.0"
Expand Down Expand Up @@ -331,7 +331,7 @@ caseless@~0.12.0:
version "0.12.0"
resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc"

[email protected], chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0:
[email protected], chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.3.1:
version "2.4.0"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.0.tgz#a060a297a6b57e15b61ca63ce84995daa0fe6e52"
dependencies:
Expand Down Expand Up @@ -406,6 +406,14 @@ cliui@^3.2.0:
strip-ansi "^3.0.1"
wrap-ansi "^2.0.0"

cliui@^4.0.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/cliui/-/cliui-4.1.0.tgz#348422dbe82d800b3022eef4f6ac10bf2e4d1b49"
dependencies:
string-width "^2.1.1"
strip-ansi "^4.0.0"
wrap-ansi "^2.0.0"

clone-buffer@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/clone-buffer/-/clone-buffer-1.0.0.tgz#e3e25b207ac4e701af721e2cb5a16792cac3dc58"
Expand Down Expand Up @@ -1785,6 +1793,10 @@ nodesecurity-npm-utils@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/nodesecurity-npm-utils/-/nodesecurity-npm-utils-6.0.0.tgz#5fb5974008c0c97a5c01844faa8fd3fc5520806c"

normalize-newline@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/normalize-newline/-/normalize-newline-3.0.0.tgz#1cbea804aba436001f83938ab21ec039d69ae9d3"

normalize-package-data@^2.3.2:
version "2.4.0"
resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.4.0.tgz#12f95a307d58352075a04907b84ac8be98ac012f"
Expand Down Expand Up @@ -2000,6 +2012,14 @@ pkg-dir@^1.0.0:
dependencies:
find-up "^1.0.0"

[email protected]:
version "2.1.0"
resolved "https://registry.yarnpkg.com/pkg-ok/-/pkg-ok-2.1.0.tgz#3352b407506ec82c90080c70cb6e9d45521aabb4"
dependencies:
chalk "^2.3.1"
normalize-newline "^3.0.0"
yargs "^11.0.0"

pluralize@^7.0.0:
version "7.0.0"
resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-7.0.0.tgz#298b89df8b93b0221dbf421ad2b1b1ea23fc6777"
Expand Down Expand Up @@ -2694,6 +2714,29 @@ yargs-parser@^7.0.0:
dependencies:
camelcase "^4.1.0"

yargs-parser@^9.0.2:
version "9.0.2"
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-9.0.2.tgz#9ccf6a43460fe4ed40a9bb68f48d43b8a68cc077"
dependencies:
camelcase "^4.1.0"

yargs@^11.0.0:
version "11.0.0"
resolved "https://registry.yarnpkg.com/yargs/-/yargs-11.0.0.tgz#c052931006c5eee74610e5fc0354bedfd08a201b"
dependencies:
cliui "^4.0.0"
decamelize "^1.1.1"
find-up "^2.1.0"
get-caller-file "^1.0.1"
os-locale "^2.0.0"
require-directory "^2.1.1"
require-main-filename "^1.0.1"
set-blocking "^2.0.0"
string-width "^2.0.0"
which-module "^2.0.0"
y18n "^3.2.1"
yargs-parser "^9.0.2"

yargs@^8.0.1:
version "8.0.2"
resolved "https://registry.yarnpkg.com/yargs/-/yargs-8.0.2.tgz#6299a9055b1cefc969ff7e79c1d918dceb22c360"
Expand Down

0 comments on commit 7e5bc80

Please sign in to comment.