Skip to content

Commit a8a27bc

Browse files
committed
try a preinstall in package.json
1 parent fe5100e commit a8a27bc

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
"typescript": "^5.7.2"
99
},
1010
"scripts": {
11-
"build": "npm run build --workspaces --if-present",
12-
"clean": "npm run clean --workspaces --if-present",
13-
"lint": "npm run lint --workspaces --if-present",
14-
"test": "npm run test --workspaces --if-present"
11+
"build": "pnpm run build --recursive --if-present",
12+
"clean": "pnpm run clean --recursive --if-present",
13+
"lint": "pnpm run lint --recursive --if-present",
14+
"test": "pnpm run test --recursive --if-present"
1515
}
1616
}

skipruntime-ts/addon/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
".": "./dist/index.js"
88
},
99
"scripts": {
10+
"preinstall": "skargo build -r --lib --manifest-path=../skiplang/ffi/Skargo.toml --out-dir=../../build/skipruntime",
1011
"prepare": "skargo build -r --lib --manifest-path=../skiplang/ffi/Skargo.toml --out-dir=../../build/skipruntime",
1112
"build": "skargo build -r --lib --manifest-path=../skiplang/ffi/Skargo.toml --out-dir=../../build/skipruntime && tsc && SKIPRUNTIME=$(realpath ../../build/skipruntime) node-gyp configure && node-gyp build",
1213
"clean": "rm -rf dist && node-gyp clean",

sql/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ export SKIPRUNTIME
99

1010
.PHONY: check-src
1111
check-src: build
12-
../bin/cd_sh .. "pnpm run lint -w skdb"
12+
../bin/cd_sh .. "pnpm run lint --filter=skdb"
1313

1414
.PHONY: check-tests
1515
check-tests: build
16-
../bin/cd_sh .. "pnpm run lint -w skdb-tests"
16+
../bin/cd_sh .. "pnpm run lint --filter=skdb-tests"
1717

1818
.PHONY: check-all
1919
check-all: check-src check-tests
2020

2121
.PHONY: build
2222
build:
23-
../bin/cd_sh .. "pnpm install && pnpm run build -w skdb -w skdb-tests"
23+
../bin/cd_sh .. "pnpm install && pnpm run build --filter=skdb --filter=skdb-tests"
2424

2525
.PHONY: clean
2626
clean:

0 commit comments

Comments
 (0)