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

Close #1294
  • Loading branch information
alrra committed Sep 6, 2018
1 parent e963377 commit 7cde2e1
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" "index.json"
], ],
"keywords": [ "keywords": [
"progressive-web-apps",
"pwa", "pwa",
"pwas", "pwas",
"progressive-web-apps",
"webhint", "webhint",
"webhint-configuration" "webhint-configuration"
], ],
Expand Down
1 change: 1 addition & 0 deletions packages/configuration-web-recommended/package.json
Expand Up @@ -40,6 +40,7 @@
"a11y", "a11y",
"accessibility", "accessibility",
"best-practices", "best-practices",
"compatibility",
"interoperability", "interoperability",
"lint", "lint",
"performance", "performance",
Expand Down
3 changes: 1 addition & 2 deletions packages/connector-chrome/package.json
Expand Up @@ -37,8 +37,7 @@
"node": ">=8.0.0" "node": ">=8.0.0"
}, },
"files": [ "files": [
"dist/src", "dist/src"
"npm-shrinkwrap.json"
], ],
"homepage": "https://webhint.io/", "homepage": "https://webhint.io/",
"keywords": [ "keywords": [
Expand Down
1 change: 0 additions & 1 deletion packages/connector-edge/package.json
Expand Up @@ -21,7 +21,6 @@
}, },
"files": [ "files": [
"dist/src", "dist/src",
"npm-shrinkwrap.json",
"scripts" "scripts"
], ],
"homepage": "https://webhint.io/", "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" "node": ">=8.0.0"
}, },
"files": [ "files": [
"dist/src", "dist/src"
"npm-shrinkwrap.json"
], ],
"homepage": "https://webhint.io/", "homepage": "https://webhint.io/",
"keywords": [ "keywords": [
Expand Down
3 changes: 1 addition & 2 deletions packages/connector-local/package.json
Expand Up @@ -37,8 +37,7 @@
"node": ">=8.0.0" "node": ">=8.0.0"
}, },
"files": [ "files": [
"dist/src", "dist/src"
"npm-shrinkwrap.json"
], ],
"homepage": "https://webhint.io/", "homepage": "https://webhint.io/",
"keywords": [ "keywords": [
Expand Down
3 changes: 1 addition & 2 deletions packages/create-hint/package.json
Expand Up @@ -40,8 +40,7 @@
"node": ">=8.0.0" "node": ">=8.0.0"
}, },
"files": [ "files": [
"dist/src", "dist/src"
"npm-shrinkwrap.json"
], ],
"homepage": "https://webhint.io/", "homepage": "https://webhint.io/",
"keywords": [ "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" "node": ">=8.0.0"
}, },
"files": [ "files": [
"dist/src", "dist/src"
"npm-shrinkwrap.json"
],{{#if official}} ],{{#if official}}
"homepage": "https://webhint.io/",{{else}} "homepage": "https://webhint.io/",{{else}}
"homepage": "",{{/if}} "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" "node": ">=8.0.0"
}, },
"files": [ "files": [
"dist/src", "dist/src"
"npm-shrinkwrap.json"
], ],
"homepage": "https://webhint.io/", "homepage": "https://webhint.io/",
"keywords": [ "keywords": [
Expand Down
3 changes: 1 addition & 2 deletions packages/create-parser/package.json
Expand Up @@ -40,8 +40,7 @@
"node": ">=8.0.0" "node": ">=8.0.0"
}, },
"files": [ "files": [
"dist/src", "dist/src"
"npm-shrinkwrap.json"
], ],
"homepage": "https://webhint.io/", "homepage": "https://webhint.io/",
"keywords": [ "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" "node": ">=8.0.0"
}, },
"files": [ "files": [
"dist/src", "dist/src"
"npm-shrinkwrap.json"
],{{#if official}} ],{{#if official}}
"homepage": "https://webhint.io/",{{else}} "homepage": "https://webhint.io/",{{else}}
"homepage": "",{{/if}} "homepage": "",{{/if}}
Expand Down
3 changes: 1 addition & 2 deletions packages/formatter-codeframe/package.json
Expand Up @@ -35,8 +35,7 @@
}, },
"files": [ "files": [
"dist/src", "dist/src",
"images", "images"
"npm-shrinkwrap.json"
], ],
"homepage": "https://webhint.io/", "homepage": "https://webhint.io/",
"keywords": [ "keywords": [
Expand Down
9 changes: 4 additions & 5 deletions packages/formatter-excel/package.json
Expand Up @@ -34,16 +34,15 @@
}, },
"files": [ "files": [
"dist/src", "dist/src",
"images", "images"
"npm-shrinkwrap.json"
], ],
"homepage": "https://webhint.io/", "homepage": "https://webhint.io/",
"keywords": [ "keywords": [
"webhint", "excel",
"formatter", "formatter",
"webhint-formatter", "webhint",
"webhint-excel", "webhint-excel",
"excel" "webhint-formatter"
], ],
"license": "Apache-2.0", "license": "Apache-2.0",
"main": "dist/src/formatter.js", "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": [ "files": [
"dist/src", "dist/src",
"images", "images"
"npm-shrinkwrap.json"
], ],
"homepage": "https://webhint.io/", "homepage": "https://webhint.io/",
"keywords": [ "keywords": [
Expand Down
7 changes: 3 additions & 4 deletions packages/formatter-json/package.json
Expand Up @@ -33,14 +33,13 @@
}, },
"files": [ "files": [
"dist/src", "dist/src",
"images", "images"
"npm-shrinkwrap.json"
], ],
"homepage": "https://webhint.io/", "homepage": "https://webhint.io/",
"keywords": [ "keywords": [
"json",
"webhint", "webhint",
"webhint-formatter", "webhint-formatter"
"json"
], ],
"license": "Apache-2.0", "license": "Apache-2.0",
"main": "dist/src/formatter.js", "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": [ "files": [
"dist/src", "dist/src",
"images", "images"
"npm-shrinkwrap.json"
], ],
"homepage": "https://webhint.io/", "homepage": "https://webhint.io/",
"keywords": [ "keywords": [
Expand Down
3 changes: 1 addition & 2 deletions packages/formatter-summary/package.json
Expand Up @@ -36,8 +36,7 @@
}, },
"files": [ "files": [
"dist/src", "dist/src",
"images", "images"
"npm-shrinkwrap.json"
], ],
"homepage": "https://webhint.io/", "homepage": "https://webhint.io/",
"keywords": [ "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" "node": ">=8.0.0"
}, },
"files": [ "files": [
"dist/src", "dist/src"
"npm-shrinkwrap.json"
], ],
"homepage": "https://webhint.io/", "homepage": "https://webhint.io/",
"keywords": [ "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" "node": ">=8.0.0"
}, },
"files": [ "files": [
"dist/src", "dist/src"
"npm-shrinkwrap.json"
], ],
"homepage": "https://webhint.io/", "homepage": "https://webhint.io/",
"keywords": [ "keywords": [
"webhint",
"webhint-hint",
"apple-touch-icons", "apple-touch-icons",
"apple-touch-icons-hint", "apple-touch-icons-hint",
"webhint",
"webhint-hint",
"webhint-recommended" "webhint-recommended"
], ],
"license": "Apache-2.0", "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" "node": ">=8.0.0"
}, },
"files": [ "files": [
"dist/src", "dist/src"
"npm-shrinkwrap.json"
], ],
"homepage": "https://webhint.io/", "homepage": "https://webhint.io/",
"keywords": [ "keywords": [
"webhint",
"webhint-hint",
"axe", "axe",
"axe-hint", "axe-hint",
"webhint",
"webhint-hint",
"webhint-recommended" "webhint-recommended"
], ],
"license": "Apache-2.0", "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" "node": ">=8.0.0"
}, },
"files": [ "files": [
"dist/src", "dist/src"
"npm-shrinkwrap.json"
], ],
"homepage": "https://webhint.io/", "homepage": "https://webhint.io/",
"keywords": [ "keywords": [
"webhint",
"webhint-hint",
"babel-config-is-valid", "babel-config-is-valid",
"babel-config-is-valid-hint", "babel-config-is-valid-hint",
"webhint",
"webhint-hint",
"webhint-recommended" "webhint-recommended"
], ],
"license": "Apache-2.0", "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" "node": ">=8.0.0"
}, },
"files": [ "files": [
"dist/src", "dist/src"
"npm-shrinkwrap.json"
], ],
"homepage": "https://webhint.io/", "homepage": "https://webhint.io/",
"keywords": [ "keywords": [
"webhint",
"webhint-hint",
"content-type", "content-type",
"content-type-hint", "content-type-hint",
"webhint",
"webhint-hint",
"webhint-recommended" "webhint-recommended"
], ],
"license": "Apache-2.0", "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" "node": ">=8.0.0"
}, },
"files": [ "files": [
"dist/src", "dist/src"
"npm-shrinkwrap.json"
], ],
"homepage": "https://webhint.io/", "homepage": "https://webhint.io/",
"keywords": [ "keywords": [
"webhint",
"webhint-hint",
"disown-opener", "disown-opener",
"disown-opener-hint", "disown-opener-hint",
"webhint",
"webhint-hint",
"webhint-recommended" "webhint-recommended"
], ],
"license": "Apache-2.0", "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" "node": ">=8.0.0"
}, },
"files": [ "files": [
"dist/src", "dist/src"
"npm-shrinkwrap.json"
], ],
"homepage": "https://webhint.io/", "homepage": "https://webhint.io/",
"keywords": [ "keywords": [
"webhint",
"webhint-hint",
"highest-available-document-mode", "highest-available-document-mode",
"highest-available-document-mode-hint", "highest-available-document-mode-hint",
"webhint",
"webhint-hint",
"webhint-recommended" "webhint-recommended"
], ],
"license": "Apache-2.0", "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" "node": ">=8.0.0"
}, },
"files": [ "files": [
"dist/src", "dist/src"
"npm-shrinkwrap.json"
], ],
"homepage": "https://webhint.io/", "homepage": "https://webhint.io/",
"keywords": [ "keywords": [
"webhint",
"webhint-hint",
"html-checker", "html-checker",
"html-checker-hint", "html-checker-hint",
"webhint",
"webhint-hint",
"webhint-recommended" "webhint-recommended"
], ],
"license": "Apache-2.0", "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" "node": ">=8.0.0"
}, },
"files": [ "files": [
"dist/src", "dist/src"
"npm-shrinkwrap.json"
], ],
"homepage": "https://webhint.io/", "homepage": "https://webhint.io/",
"keywords": [ "keywords": [
"webhint",
"webhint-hint",
"http-cache", "http-cache",
"http-cache-hint", "http-cache-hint",
"webhint",
"webhint-hint",
"webhint-recommended" "webhint-recommended"
], ],
"license": "Apache-2.0", "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" "node": ">=8.0.0"
}, },
"files": [ "files": [
"dist/src", "dist/src"
"npm-shrinkwrap.json"
], ],
"homepage": "https://webhint.io/", "homepage": "https://webhint.io/",
"keywords": [ "keywords": [
"webhint",
"webhint-hint",
"http-compression", "http-compression",
"http-compression-hint", "http-compression-hint",
"webhint",
"webhint-hint",
"webhint-recommended" "webhint-recommended"
], ],
"license": "Apache-2.0", "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" "node": ">=8.0.0"
}, },
"files": [ "files": [
"dist/src", "dist/src"
"npm-shrinkwrap.json"
], ],
"homepage": "https://webhint.io/", "homepage": "https://webhint.io/",
"keywords": [ "keywords": [
"hint", "hint",
"webhint",
"https-only", "https-only",
"https-only-hint" "https-only-hint",
], "webhint"
]
"license": "Apache-2.0", "license": "Apache-2.0",
"main": "dist/src/hint.js", "main": "dist/src/hint.js",
"name": "@hint/hint-https-only", "name": "@hint/hint-https-only",
Expand Down

0 comments on commit 7cde2e1

Please sign in to comment.