@plutocms/supabase 0.19.0 → 0.20.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 +7 -0
- package/README.md +1 -1
- package/app/pages/admin/roles.vue +9 -2
- package/app/pages/admin/users.vue +9 -2
- package/nuxt.config.ts +3 -4
- package/package.json +2 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.20.0](https://github.com/plutocms/supabase/compare/v0.19.0...v0.20.0) (2026-10-31)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* section tabs on the Users and Roles pages ([#163](https://github.com/plutocms/supabase/issues/163)) ([876abf6](https://github.com/plutocms/supabase/commit/876abf637520f0059a29216a3cb6629980ad02e7))
|
|
9
|
+
|
|
3
10
|
## [0.19.0](https://github.com/plutocms/supabase/compare/v0.18.1...v0.19.0) (2026-10-31)
|
|
4
11
|
|
|
5
12
|
|
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ SUPABASE_URL=your-supabase-url
|
|
|
14
14
|
SUPABASE_KEY=your-publishable-supabase-key
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
2. Install the layer. It brings `@nuxtjs/supabase
|
|
17
|
+
2. Install the layer. It brings `@nuxtjs/supabase` and `@plutocms/core`, so you do not add them:
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
20
|
npm i @plutocms/supabase
|
|
@@ -126,11 +126,18 @@ function menuItems(role: AccessRole): DropdownMenuItem[][] {
|
|
|
126
126
|
<template>
|
|
127
127
|
<main>
|
|
128
128
|
<AdminView>
|
|
129
|
+
<!-- The section (the Users item of the menu) and its tabs, like Settings. -->
|
|
130
|
+
<h1 class="text-3xl font-bold lg:text-4xl">
|
|
131
|
+
{{ t('supabase.access.users.title') }}
|
|
132
|
+
</h1>
|
|
133
|
+
|
|
134
|
+
<PlutoAdminNavTabs />
|
|
135
|
+
|
|
129
136
|
<div class="flex flex-wrap items-start justify-between gap-4">
|
|
130
137
|
<div>
|
|
131
|
-
<
|
|
138
|
+
<h2 class="text-xl font-semibold">
|
|
132
139
|
{{ t('supabase.access.roles.title') }}
|
|
133
|
-
</
|
|
140
|
+
</h2>
|
|
134
141
|
<p class="text-muted text-sm">
|
|
135
142
|
{{ t('supabase.access.roles.description') }}
|
|
136
143
|
</p>
|
|
@@ -268,11 +268,18 @@ function menuItems(user: AccessUser): DropdownMenuItem[][] {
|
|
|
268
268
|
<template>
|
|
269
269
|
<main>
|
|
270
270
|
<AdminView>
|
|
271
|
+
<!-- The section (the Users item of the menu) and its tabs, like Settings. -->
|
|
272
|
+
<h1 class="text-3xl font-bold lg:text-4xl">
|
|
273
|
+
{{ t('supabase.access.users.title') }}
|
|
274
|
+
</h1>
|
|
275
|
+
|
|
276
|
+
<PlutoAdminNavTabs />
|
|
277
|
+
|
|
271
278
|
<div class="flex flex-wrap items-start justify-between gap-4">
|
|
272
279
|
<div>
|
|
273
|
-
<
|
|
280
|
+
<h2 class="text-xl font-semibold">
|
|
274
281
|
{{ t('supabase.access.users.title') }}
|
|
275
|
-
</
|
|
282
|
+
</h2>
|
|
276
283
|
<p class="text-muted text-sm">
|
|
277
284
|
{{ t('supabase.access.users.description') }}
|
|
278
285
|
</p>
|
package/nuxt.config.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { PlutoMigrationFile } from './shared/types/migrations'
|
|
2
2
|
|
|
3
|
-
// Point
|
|
4
|
-
// unpublished changes; unset,
|
|
3
|
+
// Point this at a local checkout (e.g. `../pluto/packages/core`) to test
|
|
4
|
+
// unpublished changes; unset, it resolves to the published npm package.
|
|
5
5
|
const coreLayer = process.env.PLUTO_CORE_PATH || '@plutocms/core'
|
|
6
|
-
const utilsLayer = process.env.PLUTO_UTILS_PATH || '@plutocms/utils'
|
|
7
6
|
|
|
8
7
|
// The host of the Supabase project, at build time. `@nuxt/image` may only read
|
|
9
8
|
// remote images of the hosts in `image.domains` (the media files are in Storage).
|
|
@@ -16,7 +15,7 @@ function supabaseHost(): string {
|
|
|
16
15
|
}
|
|
17
16
|
|
|
18
17
|
export default defineNuxtConfig({
|
|
19
|
-
extends: [[coreLayer, { install: true }]
|
|
18
|
+
extends: [[coreLayer, { install: true }]],
|
|
20
19
|
|
|
21
20
|
// No @nuxt/eslint: a module of a layer runs in every app that extends it. The repo
|
|
22
21
|
// lints with @nuxt/eslint-config (eslint.config.mjs).
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plutocms/supabase",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.20.0",
|
|
5
5
|
"description": "Supabase backend layer for Pluto",
|
|
6
6
|
"author": "Victor Ribeiro",
|
|
7
7
|
"homepage": "https://github.com/plutocms/supabase#readme",
|
|
@@ -29,8 +29,7 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@nuxt/ui": "^4.12.0",
|
|
31
31
|
"@nuxtjs/supabase": "^2.1.0",
|
|
32
|
-
"@plutocms/core": ">=0.
|
|
33
|
-
"@plutocms/utils": ">=0.3.0 <1.0.0",
|
|
32
|
+
"@plutocms/core": ">=0.41.0 <1.0.0",
|
|
34
33
|
"@supabase/supabase-js": "^2.117.3",
|
|
35
34
|
"postgres": "^3.4.9",
|
|
36
35
|
"supabase": "^2.121.0",
|