@knapsack/core 4.98.1--canary.7906.aca658b.0 → 4.98.1--canary.7907.2bc604a.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@knapsack/core",
3
3
  "description": "The core of Knapsack",
4
- "version": "4.98.1--canary.7906.aca658b.0",
4
+ "version": "4.98.1--canary.7907.2bc604a.0",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
7
7
  "types": "dist/index.d.ts",
@@ -26,19 +26,19 @@
26
26
  "build-inc": "npm run build",
27
27
  "clean": "rm -rf dist",
28
28
  "lint": "eslint ./src --quiet",
29
- "test": "vitest run"
29
+ "test": "tsc -p tsconfig.test.json && vitest run"
30
30
  },
31
31
  "author": "Knapsack (https://www.knapsack.cloud)",
32
32
  "dependencies": {
33
- "@knapsack/utils": "4.98.1--canary.7906.aca658b.0",
33
+ "@knapsack/utils": "4.98.1--canary.7907.2bc604a.0",
34
34
  "superstruct": "^0.16.7",
35
35
  "url-join": "^4.0.1"
36
36
  },
37
37
  "devDependencies": {
38
- "@knapsack/eslint-config-starter": "4.98.1--canary.7906.aca658b.0",
39
- "@knapsack/hasura-gql-client": "4.98.1--canary.7906.aca658b.0",
40
- "@knapsack/types": "4.98.1--canary.7906.aca658b.0",
41
- "@knapsack/typescript-config-starter": "4.98.1--canary.7906.aca658b.0",
38
+ "@knapsack/eslint-config-starter": "4.98.1--canary.7907.2bc604a.0",
39
+ "@knapsack/hasura-gql-client": "4.98.1--canary.7907.2bc604a.0",
40
+ "@knapsack/types": "4.98.1--canary.7907.2bc604a.0",
41
+ "@knapsack/typescript-config-starter": "4.98.1--canary.7907.2bc604a.0",
42
42
  "@types/node": "^24.13.2",
43
43
  "@types/url-join": "^4.0.3",
44
44
  "eslint": "^9.20.0",
@@ -55,5 +55,5 @@
55
55
  "directory": "libs/core",
56
56
  "type": "git"
57
57
  },
58
- "gitHead": "aca658b4f3c844abd0bb99014c7159c79c95423b"
58
+ "gitHead": "2bc604ae1f06f116d6d6a8f84029667228c76ab5"
59
59
  }
package/tsconfig.json CHANGED
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "extends": "@knapsack/typescript-config-starter/tsconfig.declarations-only.json",
3
3
  "include": ["src"],
4
+ "exclude": [
5
+ "src/**/*.test.ts",
6
+ "src/**/*.test.tsx",
7
+ "src/**/*.spec.ts",
8
+ "src/**/*.spec.tsx"
9
+ ],
4
10
  "compilerOptions": {
5
11
  "rootDir": "./src",
6
12
  "strictNullChecks": false,
@@ -0,0 +1,13 @@
1
+ {
2
+ // Typechecks test files, which the build tsconfig excludes — without this,
3
+ // nothing ever typechecks *.test.ts in this package (see DEL-375 / CX-1351).
4
+ "extends": "./tsconfig.json",
5
+ "include": ["src"],
6
+ "exclude": [],
7
+ "compilerOptions": {
8
+ "noEmit": true,
9
+ "emitDeclarationOnly": false,
10
+ "declaration": false,
11
+ "declarationMap": false
12
+ }
13
+ }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=files.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"files.test.d.ts","sourceRoot":"","sources":["../src/files.test.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ks-urls.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ks-urls.test.d.ts","sourceRoot":"","sources":["../src/ks-urls.test.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=user-roles.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"user-roles.test.d.ts","sourceRoot":"","sources":["../src/user-roles.test.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=users.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"users.test.d.ts","sourceRoot":"","sources":["../src/users.test.ts"],"names":[],"mappings":""}