checksumai 4.3.2-beta.4 → 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.
- package/package.json +2 -2
- package/tsconfig.json +18 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "checksumai",
|
|
3
|
-
"version": "4.3.2-beta.
|
|
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.
|
|
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
|
@@ -1,4 +1,22 @@
|
|
|
1
1
|
{
|
|
2
|
+
// The wrapper runs customer test code under ts-node (run.js shebang). It must
|
|
3
|
+
// TRANSPILE customer code, never type-check it: a customer's
|
|
4
|
+
// checksum.config.ts is their code and must not be held to our internal
|
|
5
|
+
// strictest compilerOptions (e.g. noPropertyAccessFromIndexSignature
|
|
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.
|
|
14
|
+
"ts-node": {
|
|
15
|
+
"transpileOnly": true,
|
|
16
|
+
"compilerOptions": {
|
|
17
|
+
"rootDir": "/"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
2
20
|
"compilerOptions": {
|
|
3
21
|
"target": "ESNext",
|
|
4
22
|
"useDefineForClassFields": true,
|