four-stroke 0.0.2 → 0.0.4
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/.github/workflows/ci.yml +1 -1
- package/.github/workflows/release.yml +1 -1
- package/bin/lint.mjs +1 -1
- package/bin/type-check.mjs +1 -16
- package/package.json +12 -12
- package/worker-configuration.d.ts +12108 -13254
package/.github/workflows/ci.yml
CHANGED
package/bin/lint.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { cmd } from "../src/cmd.mjs";
|
|
|
5
5
|
|
|
6
6
|
cmd("react-router typegen");
|
|
7
7
|
if (fs.existsSync("wrangler.jsonc")) {
|
|
8
|
-
cmd("wrangler types --strict-vars false --check");
|
|
8
|
+
cmd("wrangler types --env-file /dev/null --strict-vars false --check");
|
|
9
9
|
}
|
|
10
10
|
cmd("eslint --cache --max-warnings=0");
|
|
11
11
|
cmd("prettier --cache --check .");
|
package/bin/type-check.mjs
CHANGED
|
@@ -4,22 +4,7 @@ import fs from "fs";
|
|
|
4
4
|
import { cmd } from "../src/cmd.mjs";
|
|
5
5
|
|
|
6
6
|
if (fs.existsSync("wrangler.jsonc")) {
|
|
7
|
-
|
|
8
|
-
const backed = [];
|
|
9
|
-
|
|
10
|
-
for (const file of devVarsFiles) {
|
|
11
|
-
const tmp = file + ".bak.bak";
|
|
12
|
-
fs.renameSync(file, tmp);
|
|
13
|
-
backed.push({ original: file, tmp });
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
try {
|
|
17
|
-
cmd("wrangler types --strict-vars false");
|
|
18
|
-
} finally {
|
|
19
|
-
for (const { original, tmp } of backed) {
|
|
20
|
-
fs.renameSync(tmp, original);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
7
|
+
cmd("wrangler types --env-file /dev/null --strict-vars false");
|
|
23
8
|
}
|
|
24
9
|
cmd("vite build");
|
|
25
10
|
cmd("tsc --noEmit");
|
package/package.json
CHANGED
|
@@ -9,17 +9,17 @@
|
|
|
9
9
|
"type-check": "./bin/type-check.mjs"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@cloudflare/vitest-pool-workers": "^0.16.
|
|
13
|
-
"@sentry/cli": "^3.5.
|
|
14
|
-
"@types/node": "^
|
|
12
|
+
"@cloudflare/vitest-pool-workers": "^0.16.20",
|
|
13
|
+
"@sentry/cli": "^3.5.1",
|
|
14
|
+
"@types/node": "^26.0.1",
|
|
15
15
|
"@types/react": "^19.2.17",
|
|
16
16
|
"@types/react-dom": "^19.2.3",
|
|
17
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
18
|
-
"@typescript-eslint/parser": "^8.
|
|
19
|
-
"@vitest/runner": "^4.1.
|
|
20
|
-
"@vitest/snapshot": "^4.1.
|
|
17
|
+
"@typescript-eslint/eslint-plugin": "^8.62.0",
|
|
18
|
+
"@typescript-eslint/parser": "^8.62.0",
|
|
19
|
+
"@vitest/runner": "^4.1.9",
|
|
20
|
+
"@vitest/snapshot": "^4.1.9",
|
|
21
21
|
"eslint-config-prettier": "^10.1.8",
|
|
22
|
-
"eslint-config-two-stroke": "^1.5.
|
|
22
|
+
"eslint-config-two-stroke": "^1.5.6",
|
|
23
23
|
"eslint-config-typescript": "^3.0.0",
|
|
24
24
|
"openapi-typescript": "^7.13.0",
|
|
25
25
|
"react": "^19.2.7",
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
"url": "https://github.com/change-engine/four-stroke"
|
|
49
49
|
},
|
|
50
50
|
"type": "module",
|
|
51
|
-
"version": "0.0.
|
|
51
|
+
"version": "0.0.4",
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/eslint": "^9.6.1",
|
|
54
|
-
"eslint": "^10.
|
|
55
|
-
"prettier": "^3.8.
|
|
54
|
+
"eslint": "^10.5.0",
|
|
55
|
+
"prettier": "^3.8.4",
|
|
56
56
|
"typescript": "^6.0.3",
|
|
57
|
-
"vitest": "^4.1.
|
|
57
|
+
"vitest": "^4.1.9"
|
|
58
58
|
}
|
|
59
59
|
}
|