Skip to content

Commit ee3933e

Browse files
committed
check only changes
1 parent 8dea3d4 commit ee3933e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
"test": "node scripts/ciTest.js -all",
2121
"test-bsb": "node scripts/ciTest.js -bsb",
2222
"test-ocaml": "node scripts/ciTest.js -ounit",
23-
"format": "biome format --changed --write .",
23+
"format": "biome format --changed --no-errors-on-unmatched --write .",
2424
"format:all": "biome format --write .",
25-
"checkFormat": "biome format --changed .",
25+
"checkFormat": "biome format --changed --no-errors-on-unmatched .",
2626
"checkFormat:all": "biome format .",
2727
"coverage": "nyc --timeout=3000 --reporter=html mocha jscomp/test/*test.js && open ./coverage/index.html"
2828
},
@@ -72,5 +72,6 @@
7272
"bugs": {
7373
"url": "https://github.com/rescript-lang/rescript-compiler/issues"
7474
},
75-
"homepage": "http://rescript-lang.org"
75+
"homepage": "http://rescript-lang.org",
76+
"packageManager": "npm@10.8.1+sha512.0e9d42e92bd2318408ed81eaff2da5f78baf23ee7d12a6eed44a6e2901d0f29d7ab715d1b918ade601f72e769a824d9a5c322383f22bbbda5dd396e79de2a077"
7677
}

scripts/ciTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ if (process.argv.includes("-all")) {
3737

3838
async function runTests() {
3939
if (formatTest) {
40-
cp.execSync("npm run checkFormat:all", {
40+
cp.execSync("npm run checkFormat", {
4141
cwd: path.join(__dirname, ".."),
4242
stdio: [0, 1, 2],
4343
});

0 commit comments

Comments
 (0)