Skip to content

Commit

Permalink
Fix: Make npm package not include npm-shrinkwrap.json file
Browse files Browse the repository at this point in the history
Even though `npm` recommends:

 " The recommended use-case for `npm-shrinkwrap.json`
   is applications deployed through the publishing process
   on the registry: for example, daemons and **command-line
   tools** intended as global installs or devDependencies "

we found that this model did not work out for this project as:

  " ... that would prevent end users from having control over
    transitive dependency updates. "

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

See also: https://docs.npmjs.com/files/shrinkwrap.json
  • Loading branch information
alrra committed Sep 6, 2018
1 parent e963377 commit 60981a1
Show file tree
Hide file tree
Showing 68 changed files with 166 additions and 251 deletions.
2 changes: 1 addition & 1 deletion packages/configuration-progressive-web-apps/package.json
Expand Up @@ -19,9 +19,9 @@
"index.json"
],
"keywords": [
"progressive-web-apps",
"pwa",
"pwas",
"progressive-web-apps",
"webhint",
"webhint-configuration"
],
Expand Down
1 change: 1 addition & 0 deletions packages/configuration-web-recommended/package.json
Expand Up @@ -40,6 +40,7 @@
"a11y",
"accessibility",
"best-practices",
"compatibility",
"interoperability",
"lint",
"performance",
Expand Down
3 changes: 1 addition & 2 deletions packages/connector-chrome/package.json
Expand Up @@ -37,8 +37,7 @@
"node": ">=8.0.0"
},
"files": [
"dist/src",
"npm-shrinkwrap.json"
"dist/src"
],
"homepage": "https://webhint.io/",
"keywords": [
Expand Down
1 change: 0 additions & 1 deletion packages/connector-edge/package.json
Expand Up @@ -21,7 +21,6 @@
},
"files": [
"dist/src",
"npm-shrinkwrap.json",
"scripts"
],
"homepage": "https://webhint.io/",
Expand Down
3 changes: 1 addition & 2 deletions packages/connector-jsdom/package.json
Expand Up @@ -36,8 +36,7 @@
"node": ">=8.0.0"
},
"files": [
"dist/src",
"npm-shrinkwrap.json"
"dist/src"
],
"homepage": "https://webhint.io/",
"keywords": [
Expand Down
3 changes: 1 addition & 2 deletions packages/connector-local/package.json
Expand Up @@ -37,8 +37,7 @@
"node": ">=8.0.0"
},
"files": [
"dist/src",
"npm-shrinkwrap.json"
"dist/src"
],
"homepage": "https://webhint.io/",
"keywords": [
Expand Down
3 changes: 1 addition & 2 deletions packages/create-hint/package.json
Expand Up @@ -40,8 +40,7 @@
"node": ">=8.0.0"
},
"files": [
"dist/src",
"npm-shrinkwrap.json"
"dist/src"
],
"homepage": "https://webhint.io/",
"keywords": [
Expand Down
3 changes: 1 addition & 2 deletions packages/create-hint/src/shared-templates/package.hbs
Expand Up @@ -29,8 +29,7 @@
"node": ">=8.0.0"
},
"files": [
"dist/src",
"npm-shrinkwrap.json"
"dist/src"
],{{#if official}}
"homepage": "https://webhint.io/",{{else}}
"homepage": "",{{/if}}
Expand Down
3 changes: 1 addition & 2 deletions packages/create-hintrc/package.json
Expand Up @@ -43,8 +43,7 @@
"node": ">=8.0.0"
},
"files": [
"dist/src",
"npm-shrinkwrap.json"
"dist/src"
],
"homepage": "https://webhint.io/",
"keywords": [
Expand Down
3 changes: 1 addition & 2 deletions packages/create-parser/package.json
Expand Up @@ -40,8 +40,7 @@
"node": ">=8.0.0"
},
"files": [
"dist/src",
"npm-shrinkwrap.json"
"dist/src"
],
"homepage": "https://webhint.io/",
"keywords": [
Expand Down
3 changes: 1 addition & 2 deletions packages/create-parser/src/shared-templates/package.hbs
Expand Up @@ -31,8 +31,7 @@
"node": ">=8.0.0"
},
"files": [
"dist/src",
"npm-shrinkwrap.json"
"dist/src"
],{{#if official}}
"homepage": "https://webhint.io/",{{else}}
"homepage": "",{{/if}}
Expand Down
3 changes: 1 addition & 2 deletions packages/formatter-codeframe/package.json
Expand Up @@ -35,8 +35,7 @@
},
"files": [
"dist/src",
"images",
"npm-shrinkwrap.json"
"images"
],
"homepage": "https://webhint.io/",
"keywords": [
Expand Down
9 changes: 4 additions & 5 deletions packages/formatter-excel/package.json
Expand Up @@ -34,16 +34,15 @@
},
"files": [
"dist/src",
"images",
"npm-shrinkwrap.json"
"images"
],
"homepage": "https://webhint.io/",
"keywords": [
"webhint",
"excel",
"formatter",
"webhint-formatter",
"webhint",
"webhint-excel",
"excel"
"webhint-formatter"
],
"license": "Apache-2.0",
"main": "dist/src/formatter.js",
Expand Down
3 changes: 1 addition & 2 deletions packages/formatter-html/package.json
Expand Up @@ -40,8 +40,7 @@
},
"files": [
"dist/src",
"images",
"npm-shrinkwrap.json"
"images"
],
"homepage": "https://webhint.io/",
"keywords": [
Expand Down
7 changes: 3 additions & 4 deletions packages/formatter-json/package.json
Expand Up @@ -33,14 +33,13 @@
},
"files": [
"dist/src",
"images",
"npm-shrinkwrap.json"
"images"
],
"homepage": "https://webhint.io/",
"keywords": [
"json",
"webhint",
"webhint-formatter",
"json"
"webhint-formatter"
],
"license": "Apache-2.0",
"main": "dist/src/formatter.js",
Expand Down
3 changes: 1 addition & 2 deletions packages/formatter-stylish/package.json
Expand Up @@ -36,8 +36,7 @@
},
"files": [
"dist/src",
"images",
"npm-shrinkwrap.json"
"images"
],
"homepage": "https://webhint.io/",
"keywords": [
Expand Down
3 changes: 1 addition & 2 deletions packages/formatter-summary/package.json
Expand Up @@ -36,8 +36,7 @@
},
"files": [
"dist/src",
"images",
"npm-shrinkwrap.json"
"images"
],
"homepage": "https://webhint.io/",
"keywords": [
Expand Down
3 changes: 1 addition & 2 deletions packages/hint-amp-validator/package.json
Expand Up @@ -31,8 +31,7 @@
"node": ">=8.0.0"
},
"files": [
"dist/src",
"npm-shrinkwrap.json"
"dist/src"
],
"homepage": "https://webhint.io/",
"keywords": [
Expand Down
7 changes: 3 additions & 4 deletions packages/hint-apple-touch-icons/package.json
Expand Up @@ -31,15 +31,14 @@
"node": ">=8.0.0"
},
"files": [
"dist/src",
"npm-shrinkwrap.json"
"dist/src"
],
"homepage": "https://webhint.io/",
"keywords": [
"webhint",
"webhint-hint",
"apple-touch-icons",
"apple-touch-icons-hint",
"webhint",
"webhint-hint",
"webhint-recommended"
],
"license": "Apache-2.0",
Expand Down
7 changes: 3 additions & 4 deletions packages/hint-axe/package.json
Expand Up @@ -31,15 +31,14 @@
"node": ">=8.0.0"
},
"files": [
"dist/src",
"npm-shrinkwrap.json"
"dist/src"
],
"homepage": "https://webhint.io/",
"keywords": [
"webhint",
"webhint-hint",
"axe",
"axe-hint",
"webhint",
"webhint-hint",
"webhint-recommended"
],
"license": "Apache-2.0",
Expand Down
7 changes: 3 additions & 4 deletions packages/hint-babel-config/package.json
Expand Up @@ -29,15 +29,14 @@
"node": ">=8.0.0"
},
"files": [
"dist/src",
"npm-shrinkwrap.json"
"dist/src"
],
"homepage": "https://webhint.io/",
"keywords": [
"webhint",
"webhint-hint",
"babel-config-is-valid",
"babel-config-is-valid-hint",
"webhint",
"webhint-hint",
"webhint-recommended"
],
"license": "Apache-2.0",
Expand Down
7 changes: 3 additions & 4 deletions packages/hint-content-type/package.json
Expand Up @@ -31,15 +31,14 @@
"node": ">=8.0.0"
},
"files": [
"dist/src",
"npm-shrinkwrap.json"
"dist/src"
],
"homepage": "https://webhint.io/",
"keywords": [
"webhint",
"webhint-hint",
"content-type",
"content-type-hint",
"webhint",
"webhint-hint",
"webhint-recommended"
],
"license": "Apache-2.0",
Expand Down
7 changes: 3 additions & 4 deletions packages/hint-disown-opener/package.json
Expand Up @@ -28,15 +28,14 @@
"node": ">=8.0.0"
},
"files": [
"dist/src",
"npm-shrinkwrap.json"
"dist/src"
],
"homepage": "https://webhint.io/",
"keywords": [
"webhint",
"webhint-hint",
"disown-opener",
"disown-opener-hint",
"webhint",
"webhint-hint",
"webhint-recommended"
],
"license": "Apache-2.0",
Expand Down
7 changes: 3 additions & 4 deletions packages/hint-highest-available-document-mode/package.json
Expand Up @@ -28,15 +28,14 @@
"node": ">=8.0.0"
},
"files": [
"dist/src",
"npm-shrinkwrap.json"
"dist/src"
],
"homepage": "https://webhint.io/",
"keywords": [
"webhint",
"webhint-hint",
"highest-available-document-mode",
"highest-available-document-mode-hint",
"webhint",
"webhint-hint",
"webhint-recommended"
],
"license": "Apache-2.0",
Expand Down
7 changes: 3 additions & 4 deletions packages/hint-html-checker/package.json
Expand Up @@ -32,15 +32,14 @@
"node": ">=8.0.0"
},
"files": [
"dist/src",
"npm-shrinkwrap.json"
"dist/src"
],
"homepage": "https://webhint.io/",
"keywords": [
"webhint",
"webhint-hint",
"html-checker",
"html-checker-hint",
"webhint",
"webhint-hint",
"webhint-recommended"
],
"license": "Apache-2.0",
Expand Down
7 changes: 3 additions & 4 deletions packages/hint-http-cache/package.json
Expand Up @@ -28,15 +28,14 @@
"node": ">=8.0.0"
},
"files": [
"dist/src",
"npm-shrinkwrap.json"
"dist/src"
],
"homepage": "https://webhint.io/",
"keywords": [
"webhint",
"webhint-hint",
"http-cache",
"http-cache-hint",
"webhint",
"webhint-hint",
"webhint-recommended"
],
"license": "Apache-2.0",
Expand Down
7 changes: 3 additions & 4 deletions packages/hint-http-compression/package.json
Expand Up @@ -31,15 +31,14 @@
"node": ">=8.0.0"
},
"files": [
"dist/src",
"npm-shrinkwrap.json"
"dist/src"
],
"homepage": "https://webhint.io/",
"keywords": [
"webhint",
"webhint-hint",
"http-compression",
"http-compression-hint",
"webhint",
"webhint-hint",
"webhint-recommended"
],
"license": "Apache-2.0",
Expand Down
9 changes: 4 additions & 5 deletions packages/hint-https-only/package.json
Expand Up @@ -28,16 +28,15 @@
"node": ">=8.0.0"
},
"files": [
"dist/src",
"npm-shrinkwrap.json"
"dist/src"
],
"homepage": "https://webhint.io/",
"keywords": [
"hint",
"webhint",
"https-only",
"https-only-hint"
],
"https-only-hint",
"webhint"
]
"license": "Apache-2.0",
"main": "dist/src/hint.js",
"name": "@hint/hint-https-only",
Expand Down

0 comments on commit 60981a1

Please sign in to comment.