Skip to content

Commit c948a2d

Browse files
authored
Merge pull request #21 from zigtools/dev
update dependencies
2 parents 70059f4 + dc3fd1a commit c948a2d

15 files changed

+1336
-2115
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
cache: "npm"
1616

1717
- run: npm ci
18+
- run: npm run cf-typegen
1819
- run: npm run typecheck
1920
- run: npm run lint
2021
- run: npm run format:check

.github/workflows/push.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,3 @@ jobs:
2121
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
2222
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
2323
environment: production
24-
wranglerVersion: "4.14.1"

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules/
22
.wrangler/
33
coverage/
4+
worker-configuration.d.ts

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![CI](https://github.com/zigtools/release-worker/workflows/CI/badge.svg)](https://github.com/zigtools/release-worker/actions)
1+
[![CI](https://github.com/zigtools/release-worker/actions/workflows/main.yml/badge.svg)](https://github.com/zigtools/release-worker/actions/workflows/main.yml)
22
[![codecov](https://codecov.io/gh/zigtools/release-worker/graph/badge.svg?token=A3YHEUHMT2)](https://codecov.io/gh/zigtools/release-worker)
33

44
A Cloudflare Worker for managing ZLS build artifacts.
@@ -482,6 +482,7 @@ Artifacts that target windows must be `.zip` files. All other non windows target
482482
git clone https://github.com/zigtools/release-worker
483483
cd release-worker
484484
npm install
485+
npm run cf-typegen
485486
npx wrangler d1 execute staging-db-backend --local --file=./migrations/0000_initial.sql
486487
npm run dev
487488
```

eslint.config.mjs

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import eslint from "@eslint/js";
2+
import { defineConfig } from "eslint/config";
23
import tseslint from "typescript-eslint";
34

4-
export default tseslint.config(
5+
export default defineConfig(
56
eslint.configs.recommended,
6-
...tseslint.configs.stylisticTypeChecked,
7-
...tseslint.configs.strictTypeChecked,
7+
tseslint.configs.strictTypeChecked,
8+
tseslint.configs.stylisticTypeChecked,
89
{
910
rules: {
1011
"no-shadow": "off",
@@ -23,11 +24,16 @@ export default tseslint.config(
2324
languageOptions: {
2425
parserOptions: {
2526
projectService: true,
26-
tsconfigRootDir: import.meta.dirname,
2727
},
2828
},
2929
},
3030
{
31-
ignores: ["**/*.js", "**/*.mjs", "vitest.config.mts"],
31+
ignores: [
32+
"**/*.js",
33+
"**/*.mjs",
34+
"vitest.config.mts",
35+
"worker-configuration.d.ts",
36+
"test/**/*.ts", // TODO
37+
],
3238
},
3339
);

0 commit comments

Comments
 (0)