Skip to content

Commit

Permalink
build: --no-package-lock in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
broofa committed Jan 9, 2025
1 parent 68927ec commit 260c858
Show file tree
Hide file tree
Showing 17 changed files with 10 additions and 11,989 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ jobs:
with:
node-version: 22.x

# Using `install` instead of `ci` because integrity checks for `npm pack` tarballs differ by platform
- run: npm install
- run: npm ci
- run: npm run lint
- run: npm run docs:diff

Expand All @@ -34,7 +33,6 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: npm

# Using `install` instead of `ci` because integrity checks for `npm pack` tarballs differ by platform
- run: npm install
- run: npm ci
- run: npm run test
- run: npm run test:node
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
npm test
npx --no-install lint-staged
81 changes: 0 additions & 81 deletions examples/benchmark/package-lock.json

This file was deleted.

2 changes: 1 addition & 1 deletion examples/benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"build": "true",
"start": "npm run build && npx http-server . -o",
"pretest": "HUSKY=0 npm install",
"pretest": "HUSKY=0 npm install --no-package-lock",
"test": "node node.js"
},
"dependencies": {
Expand Down
34 changes: 0 additions & 34 deletions examples/browser-esmodules/package-lock.json

This file was deleted.

Loading

0 comments on commit 260c858

Please sign in to comment.