Skip to content

Commit b732275

Browse files
committed
wip
1 parent cc90122 commit b732275

File tree

5 files changed

+15
-29
lines changed

5 files changed

+15
-29
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# starter
1+
# worker-starter
22

33
To install dependencies:
44

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
default = pkgs.mkShell {
1313
packages = with pkgs; [
1414
bun
15-
nodejs
15+
nodejs_23
1616
];
1717
};
1818
});

lefthook.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
1-
# EXAMPLE USAGE:
2-
#
3-
# Refer for explanation to following link:
4-
# https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md
5-
#
6-
# pre-push:
7-
# commands:
8-
# packages-audit:
9-
# tags: frontend security
10-
# run: yarn audit
11-
# gems-audit:
12-
# tags: backend security
13-
# run: bundle audit
14-
#
151
pre-commit:
162
commands:
173
check:
18-
glob: "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}"
19-
run: bun run lint
4+
glob: "*.{js,ts,cjs,mjs,jsx,tsx,json,jsonc}"
5+
run: npm run lint

vitest.config.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import { defineWorkersConfig } from '@cloudflare/vitest-pool-workers/config';
1+
import { defineWorkersConfig } from "@cloudflare/vitest-pool-workers/config";
22

33
export default defineWorkersConfig({
4-
test: {
5-
poolOptions: {
6-
workers: {
7-
wrangler: { configPath: './wrangler.toml' },
8-
},
9-
},
10-
},
4+
test: {
5+
poolOptions: {
6+
workers: {
7+
wrangler: { configPath: "./wrangler.toml" },
8+
},
9+
},
10+
},
1111
});

0 commit comments

Comments
 (0)