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.
@@ -13,7 +13,7 @@ jobs:
13
13
  ci:
14
14
  runs-on: ubuntu-latest
15
15
  steps:
16
- - uses: actions/checkout@v6
16
+ - uses: actions/checkout@v7
17
17
 
18
18
  - uses: ./.github/actions/install
19
19
 
@@ -17,7 +17,7 @@ jobs:
17
17
  ci:
18
18
  runs-on: ubuntu-latest
19
19
  steps:
20
- - uses: actions/checkout@v6
20
+ - uses: actions/checkout@v7
21
21
 
22
22
  - uses: ./.github/actions/install
23
23
 
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 .");
@@ -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
- const devVarsFiles = fs.globSync("**/.dev.vars");
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",
13
- "@sentry/cli": "^3.5.0",
14
- "@types/node": "^25.9.2",
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.60.1",
18
- "@typescript-eslint/parser": "^8.60.1",
19
- "@vitest/runner": "^4.1.8",
20
- "@vitest/snapshot": "^4.1.8",
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.4",
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.2",
51
+ "version": "0.0.4",
52
52
  "devDependencies": {
53
53
  "@types/eslint": "^9.6.1",
54
- "eslint": "^10.4.1",
55
- "prettier": "^3.8.3",
54
+ "eslint": "^10.5.0",
55
+ "prettier": "^3.8.4",
56
56
  "typescript": "^6.0.3",
57
- "vitest": "^4.1.8"
57
+ "vitest": "^4.1.9"
58
58
  }
59
59
  }