Commit b62fefe
Modernize for Deno 2: drop kv_insights, migrate kv_oauth + std to JSR
- Drop `kv_insights` plugin (beta, Fresh-1-only admin convenience):
remove the plugin registration in main.ts, delete `routes/kv-insights/`,
delete the three islands that only re-exported its UI.
- Migrate `kv_oauth` from `deno.land/x/deno_kv_oauth@v0.10.0` to
`jsr:@deno/kv-oauth@^0.11`. API surface is unchanged; only the
`kv_oauth/mod.ts` subpath import sites needed updating to `kv_oauth`.
- Migrate every `std/` import to scoped `@std/*` JSR packages
(`@std/assert`, `@std/http`, `@std/collections`, `@std/ulid`,
`@std/datetime`, `@std/dotenv`).
- `deno.json`: add `"nodeModulesDir": "none"` to be explicit about the
npm-specifier-without-node_modules setup (silences the Deno 2 default
change), drop `"lock": false` so Deno 2 manages and we commit
`deno.lock`.
- Regenerate `fresh.gen.ts` to drop the removed kv-insights route and
islands; rebuild `static/styles.gen.css`.
All 12 unit/integration tests still pass; production build succeeds;
preview server returns 200 for /, /signin, /about. Still on Fresh 1.7.3
— framework upgrade is the next commit.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 5a6ef51 commit b62fefe
31 files changed
Lines changed: 816 additions & 58 deletions
File tree
- islands
- routes
- account
- employer
- kv-insights
- static
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
9 | 15 | | |
10 | 16 | | |
11 | 17 | | |
12 | 18 | | |
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
30 | | - | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
34 | | - | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
0 commit comments