Run type check when a package of project Durus is built (#21537)

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
This commit is contained in:
Nicola Krumschmidt
2024-02-23 19:08:32 +01:00
committed by GitHub
parent cb3d258ea2
commit eae350083d
4 changed files with 13 additions and 6 deletions

View File

@@ -21,8 +21,10 @@
"dist"
],
"scripts": {
"build": "tsup src/index.ts --format=esm --dts",
"dev": "tsup src/index.ts --format=esm --dts --watch",
"build": "pnpm run '/^bundle|typecheck$/'",
"dev": "pnpm run bundle --watch",
"bundle": "tsup src/index.ts --format=esm --dts",
"typecheck": "tsc --noEmit",
"test": "vitest --watch=false",
"depcruise": "depcruise src --include-only '^src' -x test.ts --output-type dot | dot -T svg > dependency-graph.svg"
},

View File

@@ -4,8 +4,10 @@
"type": "module",
"sideEffects": false,
"scripts": {
"build": "tsup src/index.ts --format=esm --dts",
"dev": "tsup src/index.ts --format=esm --dts --watch",
"build": "pnpm run '/^bundle|typecheck$/'",
"dev": "pnpm run bundle --watch",
"bundle": "tsup src/index.ts --format=esm --dts",
"typecheck": "tsc --noEmit",
"test": "vitest --watch=false",
"depcruise": "depcruise src --include-only '^src' -x test.ts --output-type dot | dot -T svg > dependency-graph.svg"
},

View File

@@ -21,8 +21,10 @@
"dist"
],
"scripts": {
"build": "tsup src/index.ts --format=esm --dts",
"dev": "tsup src/index.ts --format=esm --dts --watch",
"build": "pnpm run '/^bundle|typecheck$/'",
"dev": "pnpm run bundle --watch",
"bundle": "tsup src/index.ts --format=esm --dts",
"typecheck": "tsc --noEmit",
"test": "vitest --watch=false",
"depcruise": "depcruise src --include-only '^src' -x test.ts --output-type dot | dot -T svg > dependency-graph.svg"
},

View File

@@ -45,6 +45,7 @@ describe('#query', () => {
store: sample.mockStoreIdentifier,
collection: randomIdentifier(),
fields: [],
modifiers: {},
};
await engine.query(query);