Skip to content

Commit

Permalink
Require npm >=8.5.2 (#2340)
Browse files Browse the repository at this point in the history
Prior to this version, the @webgpu/types dependency-by-revision won't
work because the integrity hash is system-dependent. Starting with
8.5.2, integrity checks are skipped for git dependencies (though
integrity hashes are still generated, despite the comment in the
thread). See:
npm/cli#2846 (comment)
  • Loading branch information
kainino0x authored Mar 2, 2023
1 parent 7853350 commit b616629
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"dev": "node tools/dev_server"
},
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
"node": "^12.22.0 || ^14.17.0 || >=16.0.0",
"npm" : ">=8.5.2"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit b616629

Please sign in to comment.