Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7d7be11

Browse files
Merge pull request swiftwasm#114 from swiftwasm/update-package-json
Update pacakge.json to lockfileVersion 2
2 parents 09a2cd3 + 70a2bbf commit 7d7be11

File tree

8 files changed

+6322
-25
lines changed

8 files changed

+6322
-25
lines changed

Example/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dist/JavaScriptKitExample.wasm: JavaScriptKitExample
1010
cp ./JavaScriptKitExample/.build/debug/JavaScriptKitExample $@
1111

1212
node_modules:
13-
npm install
13+
npm ci
1414
build: node_modules dist/JavaScriptKitExample.wasm
1515
cd ../Runtime && npm run build
1616
npm run build

Example/package-lock.json

+5,665-16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"dependencies": {
77
"@wasmer/wasi": "^0.12.0",
88
"@wasmer/wasmfs": "^0.12.0",
9-
"javascript-kit-swift": "file:../Runtime"
9+
"javascript-kit-swift": "file:.."
1010
},
1111
"devDependencies": {
1212
"webpack": "^4.44.2",

IntegrationTests/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dist/%.wasm: TestSuites/.build/$(CONFIGURATION)/%.wasm
1212
cp $< $@
1313

1414
node_modules: package-lock.json
15-
npm install
15+
npm ci
1616

1717
.PHONY: build_rt
1818
build_rt: node_modules

IntegrationTests/package-lock.json

+215-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

IntegrationTests/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"private": true,
33
"dependencies": {
4-
"javascript-kit-swift": "file:..",
54
"@wasmer/wasi": "^0.12.0",
6-
"@wasmer/wasmfs": "^0.12.0"
5+
"@wasmer/wasmfs": "^0.12.0",
6+
"javascript-kit-swift": "file:.."
77
}
88
}

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ MAKEFILE_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
33
.PHONY: bootstrap
44
bootstrap:
55
./scripts/install-toolchain.sh
6-
npm install
6+
npm ci
77

88
.PHONY: build
99
build:
@@ -26,4 +26,4 @@ run_benchmark:
2626

2727
.PHONY: perf-tester
2828
perf-tester:
29-
cd ci/perf-tester && npm install
29+
cd ci/perf-tester && npm ci

0 commit comments

Comments
 (0)