@checksum-ai/runtime 4.4.1 → 4.5.0-beta.1
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/.env +1 -1
- package/README.md +3 -3
- package/checksum-root/.gitignore.example +10 -6
- package/checksum-root/checksum.config.ts +13 -4
- package/checksum-root/eslint.config.mjs +31 -0
- package/checksum-root/tsconfig.json +1 -1
- package/checksumlib.js +1 -1
- package/cli.js +211 -203
- package/index.js +175 -175
- package/package.json +1 -2
- package/postinstall.js +1 -1
- package/checksum-root/eslint.config.js +0 -45
package/package.json
CHANGED
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
"puppeteer-extra-plugin": "^3.2.3",
|
|
11
11
|
"puppeteer-extra-plugin-stealth": "^2.11.2",
|
|
12
12
|
"rrweb": "2.0.0-alpha.18",
|
|
13
|
-
"ts-node": "^10.9.1",
|
|
14
13
|
"sucrase": "^3.35.1",
|
|
15
14
|
"sharp": "^0.33.5",
|
|
16
15
|
"newrelic": "^13.12.0",
|
|
@@ -43,5 +42,5 @@
|
|
|
43
42
|
"url": "https://github.com/checksum-ai/checksum-ai-monorepo/issues"
|
|
44
43
|
},
|
|
45
44
|
"homepage": "https://github.com/checksum-ai/checksum-ai-monorepo/tree/main/packages/runtime#readme",
|
|
46
|
-
"version": "4.
|
|
45
|
+
"version": "4.5.0-beta.1"
|
|
47
46
|
}
|
package/postinstall.js
CHANGED
|
@@ -17,7 +17,7 @@ try {
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
packageJson.scripts["checksum"] =
|
|
20
|
-
"
|
|
20
|
+
"node ./node_modules/@checksum-ai/runtime/cli.js";
|
|
21
21
|
|
|
22
22
|
fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2));
|
|
23
23
|
} catch (e) {
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
// @ts-check
|
|
2
|
-
// ESLint 9+ flat config for Checksum Playwright tests
|
|
3
|
-
// Minimal and modern per typescript-eslint Quickstart + Playwright recommended
|
|
4
|
-
// Dev dependencies to add:
|
|
5
|
-
// npm i -D eslint @eslint/js typescript typescript-eslint @typescript-eslint/eslint-plugin eslint-plugin-playwright
|
|
6
|
-
|
|
7
|
-
import tseslint from "typescript-eslint";
|
|
8
|
-
|
|
9
|
-
export default tseslint.config(
|
|
10
|
-
// Project-specific options for typed linting
|
|
11
|
-
{
|
|
12
|
-
files: ["**/*.{ts,tsx,mts,cts}"],
|
|
13
|
-
languageOptions: {
|
|
14
|
-
parser: tseslint.parser,
|
|
15
|
-
parserOptions: {
|
|
16
|
-
project: "./tsconfig.json",
|
|
17
|
-
tsconfigRootDir: import.meta.dirname,
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
plugins: {
|
|
21
|
-
"@typescript-eslint": tseslint.plugin,
|
|
22
|
-
},
|
|
23
|
-
rules: {
|
|
24
|
-
"@typescript-eslint/no-floating-promises": "error",
|
|
25
|
-
// The Checksum REPL bootstrap — `require(...checksum-js-engine.js)` plus
|
|
26
|
-
// `await eval(repl())` — is an exploration-time debugging aid that belongs
|
|
27
|
-
// only in scratch `.eval.checksum.spec.ts` files (ignored below). Fail the
|
|
28
|
-
// lint if it (or any `eval` / `require`) is left in a committed test.
|
|
29
|
-
"no-eval": "error",
|
|
30
|
-
"@typescript-eslint/no-require-imports": "error",
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
// Ignores
|
|
34
|
-
{
|
|
35
|
-
ignores: [
|
|
36
|
-
"node_modules/",
|
|
37
|
-
"test-results/",
|
|
38
|
-
"playwright-report/",
|
|
39
|
-
"blob-report/",
|
|
40
|
-
"playwright/.cache/",
|
|
41
|
-
"**/*.js",
|
|
42
|
-
"**/.eval.checksum.spec.ts",
|
|
43
|
-
],
|
|
44
|
-
}
|
|
45
|
-
);
|