feat(oxfmt): sort package.json files before formatting #67825
ci.yml
on: pull_request
Test Linux
3m 3s
Test Linux ARM64
0s
Test Mac
0s
Test Windows
0s
Test big-endian
0s
Test wasm32-wasip1-threads
2m 47s
Test NAPI
4m 10s
Test NAPI (windows)
0s
Spell Check
8s
Lint
1m 53s
Conformance
24s
Minification Size
6s
Allocations
6s
AST Changes
8s
Linter changes
7s
Annotations
3 errors, 1 warning, and 1 notice
|
Lint
Process completed with exit code 101.
|
|
Test NAPI
Process completed with exit code 1.
|
|
test/external_formatter.test.ts > external_formatter > should format json by default:
apps/oxfmt/test/external_formatter.test.ts#L14
Error: Snapshot `external_formatter > should format json by default 1` mismatched
- Expected
+ Received
@@ -41,19 +41,19 @@
"build": "pnpm run build-napi-release && pnpm run build-js",
"build-napi-release": "pnpm run build-napi --release --features allocator",
"build-js": "node scripts/build.js",
"test": "tsc && vitest --dir test run"
},
- "engines": {
- "node": "^20.19.0 || >=22.12.0"
- },
"dependencies": {
"prettier": "3.7.4"
},
"devDependencies": {
"@types/node": "catalog:",
"execa": "^9.6.0"
+ },
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
}
}
--------------------
❯ test/external_formatter.test.ts:14:22
|
|
Test NAPI
Unexpected input(s) 'predicate-quantifier', valid inputs are ['token', 'working-directory', 'ref', 'base', 'filters', 'list-files', 'initial-fetch-depth']
|
|
Conformance tests
Will skip conformance tests
|