Skip to content

Commit 149f63e

Browse files
committed
rebase code on top of create-cloudflare-cli template
1 parent 0ab7c68 commit 149f63e

19 files changed

+1779
-1676
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
- uses: actions/setup-node@v4
1313
with:
14-
node-version: 20
14+
node-version: 22
1515
cache: "npm"
1616

1717
- run: npm ci

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ Release artifacts can also be signed with [minisign](https://jedisct1.github.io/
403403
git clone https://github.com/zigtools/release-worker
404404
cd release-worker
405405
npm install
406-
npx wrangler d1 execute production-db-backend --local --file=./migrations/0000_initial.sql
406+
npx wrangler d1 execute staging-db-backend --local --file=./migrations/0000_initial.sql
407407
npm run dev
408408
```
409409

eslint.config.mjs

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
1-
// @ts-check
2-
31
import eslint from "@eslint/js";
42
import tseslint from "typescript-eslint";
53

64
export default tseslint.config(
75
eslint.configs.recommended,
8-
...tseslint.configs.strictTypeChecked,
96
...tseslint.configs.stylisticTypeChecked,
7+
...tseslint.configs.strictTypeChecked,
108
{
11-
languageOptions: {
12-
parserOptions: {
13-
projectService: true,
14-
tsconfigRootDir: import.meta.dirname,
15-
},
16-
},
179
rules: {
1810
"no-shadow": "off",
1911
"@typescript-eslint/no-shadow": "error",
@@ -28,5 +20,14 @@ export default tseslint.config(
2820
"@typescript-eslint/switch-exhaustiveness-check": "error",
2921
"@typescript-eslint/no-unused-vars": "off",
3022
},
23+
languageOptions: {
24+
parserOptions: {
25+
projectService: true,
26+
tsconfigRootDir: import.meta.dirname,
27+
},
28+
},
29+
},
30+
{
31+
ignores: ["**/*.js", "**/*.mjs", "vitest.config.mts"],
3132
},
3233
);

0 commit comments

Comments
 (0)