@plutocms/supabase 0.20.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.21.0](https://github.com/plutocms/supabase/compare/v0.20.0...v0.21.0) (2026-10-31)
4
+
5
+
6
+ ### Features
7
+
8
+ * the supabase repo holds the Supabase integration (supabase, supabase-shop, supabase-blog) ([0da28ef](https://github.com/plutocms/supabase/commit/0da28ef93d4882076a3750822f011de9714156d7))
9
+ * the supabase repo holds the Supabase integration (supabase, supabase-shop, supabase-blog) ([ab50f47](https://github.com/plutocms/supabase/commit/ab50f4779a8fb77f61a43f4db9efcd4314ae59ec))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * apps that extend the layer no longer get the ESLint module or an install script ([#151](https://github.com/plutocms/supabase/issues/151)) ([818bf93](https://github.com/plutocms/supabase/commit/818bf93a44cea01e6a1b237ace33a325f45de590))
15
+ * **deps:** ensure @plutocms/pluto ^0.10.0 range is published ([#67](https://github.com/plutocms/supabase/issues/67)) ([ed45ad3](https://github.com/plutocms/supabase/commit/ed45ad3a5b1ed4c4990a2272c48571c5e8eb5a92))
16
+
3
17
  ## [0.20.0](https://github.com/plutocms/supabase/compare/v0.19.0...v0.20.0) (2026-10-31)
4
18
 
5
19
 
package/README.md CHANGED
@@ -141,3 +141,7 @@ sort by date.
141
141
  ### Types
142
142
 
143
143
  - `Database`: Auto-imported type definitions for Supabase database interactions.
144
+
145
+ ## Development
146
+
147
+ This package lives in the [`plutocms/supabase`](https://github.com/plutocms/supabase) monorepo, in `packages/supabase`. Run `bun install` at the root of the repo, then the scripts of the package (`bun run --cwd packages/supabase dev`). This package is the base of the other two. Its changes reach `supabase-shop` and `supabase-blog` through the workspace link. Each package reads its own `.env` file.
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@plutocms/supabase",
3
3
  "type": "module",
4
- "version": "0.20.0",
4
+ "version": "0.21.0",
5
5
  "description": "Supabase backend layer for Pluto",
6
6
  "author": "Victor Ribeiro",
7
- "homepage": "https://github.com/plutocms/supabase#readme",
7
+ "homepage": "https://github.com/plutocms/supabase/tree/main/packages/supabase#readme",
8
8
  "repository": {
9
9
  "type": "git",
10
- "url": "git+https://github.com/plutocms/supabase.git"
10
+ "url": "git+https://github.com/plutocms/supabase.git",
11
+ "directory": "packages/supabase"
11
12
  },
12
13
  "bugs": {
13
14
  "url": "https://github.com/plutocms/supabase/issues"
@@ -18,7 +19,7 @@
18
19
  "dev": "nuxt dev",
19
20
  "generate": "nuxt generate",
20
21
  "preview": "nuxt preview",
21
- "prepare": "nuxt prepare",
22
+ "dev:prepare": "nuxt prepare",
22
23
  "prettier": "prettier --write .",
23
24
  "lint": "eslint .",
24
25
  "lint:fix": "eslint . --fix",
@@ -36,24 +37,15 @@
36
37
  "zod": "^4.6.7"
37
38
  },
38
39
  "devDependencies": {
39
- "@antfu/eslint-config": "^9.5.1",
40
- "@nuxt/eslint-config": "^1.17.0",
41
40
  "@types/bun": "^1.4.3",
42
41
  "@vueuse/nuxt": "^14.4.0",
43
- "eslint": "^10.13.0",
44
- "eslint-config-prettier": "^10.1.8",
45
- "eslint-plugin-better-tailwindcss": "^4.10.0",
46
42
  "nuxt": "^4.6.2",
47
- "prettier": "^3.9.10",
48
43
  "tailwindcss": "^4.3.3",
49
44
  "vitest": "^5.0.5",
50
45
  "vue": "^3.5.44",
51
46
  "vue-router": "^5.4.0",
52
47
  "vue-tsc": "^3.3.13"
53
48
  },
54
- "overrides": {
55
- "typescript": "^5.9.3"
56
- },
57
49
  "publishConfig": {
58
50
  "access": "public"
59
51
  }
@@ -9,9 +9,9 @@ import { requireCapability } from './capability-guard'
9
9
  *
10
10
  * A content type's table name (`type.source`) is a plain runtime string —
11
11
  * it is not known until a layer declares a content type, in a different
12
- * repo, at that repo's build time. `serverSupabaseClient` defaults to
12
+ * package, at that package's build time. `serverSupabaseClient` defaults to
13
13
  * this app's own `Database` type (see `shared/types/supabase.ts`), whose
14
- * `.from()` only accepts this repo's own table names as literals. Casting
14
+ * `.from()` only accepts this package's own table names as literals. Casting
15
15
  * to the bare `SupabaseClient` type (whose own generic defaults to `any`)
16
16
  * is the one, deliberate place this file loses compile-time table/column
17
17
  * safety. See `.claude/skills/content-adapter/SKILL.md` for the full
@@ -19,7 +19,7 @@ import { requireCapability } from './capability-guard'
19
19
  *
20
20
  * Goes through `unknown` first: `serverSupabaseClient`'s inferred
21
21
  * `Database` type is whichever layer's own generated types are in scope
22
- * at the *call site* — this repo's own `shared/types/supabase.ts` when
22
+ * at the *call site* — this package's own `shared/types/supabase.ts` when
23
23
  * typechecked standalone, but a different consumer's own generated types
24
24
  * when this file is typechecked as part of a deeper extends chain (a
25
25
  * layer that extends this one, extending it in turn). A direct `as