checksumai 4.3.2-beta.5 → 4.3.2-beta.6

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/tsconfig.json +12 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "checksumai",
3
- "version": "4.3.2-beta.5",
3
+ "version": "4.3.2-beta.6",
4
4
  "description": "Checksum.ai runtime base package",
5
5
  "main": "./run.js",
6
6
  "type": "module",
@@ -11,7 +11,7 @@
11
11
  "checksumai": "run.js"
12
12
  },
13
13
  "dependencies": {
14
- "@checksum-ai/runtime": "4.3.2-beta.5",
14
+ "@checksum-ai/runtime": "4.3.2-beta.6",
15
15
  "ts-node": "^10.9.1"
16
16
  },
17
17
  "repository": {
package/tsconfig.json CHANGED
@@ -3,10 +3,19 @@
3
3
  // TRANSPILE customer code, never type-check it: a customer's
4
4
  // checksum.config.ts is their code and must not be held to our internal
5
5
  // strictest compilerOptions (e.g. noPropertyAccessFromIndexSignature
6
- // rejecting process.env.X). transpileOnly strips types and runs, so customer
7
- // configs work out of the box.
6
+ // rejecting process.env.X -> TS4111). These ts-node-scoped overrides apply
7
+ // only at runtime, not to any tsc build of the wrapper:
8
+ // - transpileOnly: strip types and run, never type-check customer code.
9
+ // - rootDir "/": ts-node still parses the tsconfig and, under TypeScript 6,
10
+ // raises TS5011 ("rootDir must be explicitly set") when it emits a file
11
+ // (the customer config) that lives outside this tsconfig's directory. A
12
+ // filesystem-root rootDir is an ancestor of every file regardless of
13
+ // where checksumai is installed, so the layout check never fires.
8
14
  "ts-node": {
9
- "transpileOnly": true
15
+ "transpileOnly": true,
16
+ "compilerOptions": {
17
+ "rootDir": "/"
18
+ }
10
19
  },
11
20
  "compilerOptions": {
12
21
  "target": "ESNext",