Skip to content

Commit 206282b

Browse files
committed
build: --no-package-lock in examples
1 parent 68927ec commit 206282b

22 files changed

+12
-11994
lines changed

.github/workflows/ci.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ jobs:
1515
with:
1616
node-version: 22.x
1717

18-
# Using `install` instead of `ci` because integrity checks for `npm pack` tarballs differ by platform
19-
- run: npm install
18+
- run: npm ci
2019
- run: npm run lint
2120
- run: npm run docs:diff
2221

@@ -34,7 +33,6 @@ jobs:
3433
node-version: ${{ matrix.node-version }}
3534
cache: npm
3635

37-
# Using `install` instead of `ci` because integrity checks for `npm pack` tarballs differ by platform
38-
- run: npm install
36+
- run: npm ci
3937
- run: npm run test
4038
- run: npm run test:node

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ dist/
55
local.log
66
logs/
77
node_modules/
8+
examples/**/package-lock.json

.husky/pre-commit

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
npm test
1+
npx --no-install lint-staged

examples/benchmark/package-lock.json

-81
This file was deleted.

examples/benchmark/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"build": "true",
77
"start": "npm run build && npx http-server . -o",
8-
"pretest": "HUSKY=0 npm install",
8+
"pretest": "HUSKY=0 npm install --no-package-lock",
99
"test": "node node.js"
1010
},
1111
"dependencies": {

examples/browser-esmodules/package-lock.json

-34
This file was deleted.

examples/browser-rollup/.gitignore

-1
This file was deleted.

0 commit comments

Comments
 (0)