mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
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:
committed by
GitHub
parent
cb3d258ea2
commit
eae350083d
@@ -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"
|
||||
},
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
@@ -45,6 +45,7 @@ describe('#query', () => {
|
||||
store: sample.mockStoreIdentifier,
|
||||
collection: randomIdentifier(),
|
||||
fields: [],
|
||||
modifiers: {},
|
||||
};
|
||||
|
||||
await engine.query(query);
|
||||
|
||||
Reference in New Issue
Block a user