Commit beb294e
chore: drop Supabase support and the legacy newsletter package
The fleet has fully moved off Supabase. Remove every Supabase code path,
dependency, lint rule, and reference, and delete the newsletter package
(superseded by nk-marketing).
- newsletter: delete the package entirely; drop refs in READMEs, guide,
architecture/db/philosophy docs, CI publint loop, and publish script.
- nk-db (breaking, major): resolve the connection from DATABASE_URL only
(drop the POSTGRES_URL_NON_POOLING / POSTGRES_URL Supabase fallbacks);
remove configureTimestampsAsStrings() and the ./types module (a
Supabase-row-types shim — use Drizzle's per-column mode). Reword RLS /
coerce / pool / pglite comments to drop Supabase/PostgREST framing.
- nk-auth: mark bcryptPassword @deprecated (legacy support only); drop the
optional @supabase/supabase-js peer/dev dependency and the "Supabase RLS
bridge" description; document the bcrypt->scrypt migration path in the
README (dual-format verify + lazy rehash-on-login or a reset campaign).
- nk-dev: remove the @supabase/supabase-js no-restricted-imports rule;
reword dev/format script comments.
- nk-api: reword "PostgREST-style auto API" framing to "auto-generated REST
API" in the description, README, and comments.
- docs: delete better-auth-migration.md (migration complete); reframe the
RLS guidance as the JWT-claims pattern on a direct connection; generalize
the vendor-stance reasoning without naming the product.
- Migration SQL comments reworded only (DDL byte-identical).
Changesets: nk-db major; nk-auth, nk-api, nk-dev, nk-marketing patch.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 89268a8 commit beb294e
61 files changed
Lines changed: 299 additions & 1847 deletions
File tree
- .changeset
- .github/workflows
- docs
- packages
- newsletter
- migrations
- src
- nk-api
- src
- nk-auth
- migrations
- src
- nk-db
- src
- pglite
- nk-dev
- lib
- nk-marketing
- migrations
- src
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 20 | + | |
26 | 21 | | |
27 | 22 | | |
28 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
0 commit comments