Skip to content

Commit cadd935

Browse files
committed
fix: npm run types should run npm run format
Signed-off-by: Nick Mitchell <[email protected]>
1 parent f0ad647 commit cadd935

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pdl-live-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"tauri": "tauri",
1515
"test:quality": "concurrently -n 'lint,types,formatting' 'npm run lint' 'tsc --build --noEmit' \"prettier --check 'tests/**/*.ts' 'src/**/*.{ts,tsx,css}'\"",
1616
"test:ui": "playwright install --with-deps && playwright test",
17-
"types": "(cd .. && python -m src.pdl.pdl --schema > src/pdl/pdl-schema.json) && json2ts ../src/pdl/pdl-schema.json src/pdl_ast.d.ts --unreachableDefinitions",
17+
"types": "(cd .. && python -m src.pdl.pdl --schema > src/pdl/pdl-schema.json) && json2ts ../src/pdl/pdl-schema.json src/pdl_ast.d.ts --unreachableDefinitions && npm run format",
1818
"test": "concurrently -n 'quality,playwright' 'npm run test:quality' 'npm run test:ui'",
1919
"pdl": "./src-tauri/target/debug/PDL",
2020
"view": "npm run pdl view",

0 commit comments

Comments
 (0)