spine-framework 0.3.51 → 0.3.53

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.
@@ -217,7 +217,7 @@ async function seedApp(appDir: string, appSlug: string) {
217
217
  for (const type of types) {
218
218
  const { error } = await db
219
219
  .from('types')
220
- .upsert({ ...type, app_id: appId }, { onConflict: 'slug' })
220
+ .upsert({ ...type, app_id: appId }, { onConflict: 'app_id,kind,slug' })
221
221
  if (error) console.warn(` ⚠ type ${type.slug}: ${error.message}`)
222
222
  }
223
223
  console.log(` ✓ Types seeded`)
@@ -231,7 +231,7 @@ async function seedApp(appDir: string, appSlug: string) {
231
231
  for (const role of roles) {
232
232
  const { error } = await db
233
233
  .from('roles')
234
- .upsert({ ...role, app_id: appId }, { onConflict: 'slug' })
234
+ .upsert({ ...role, app_id: appId }, { onConflict: 'app_id,slug' })
235
235
  if (error) console.warn(` ⚠ role ${role.slug}: ${error.message}`)
236
236
  }
237
237
  console.log(` ✓ Roles seeded`)
package/README.md CHANGED
@@ -12,11 +12,11 @@ A complete enterprise application platform built on Supabase + Netlify + React f
12
12
  - A [Supabase](https://supabase.com) project
13
13
  - A [Netlify](https://netlify.com) account
14
14
 
15
- ### 1. Create a new project
15
+ ### 1. Install and scaffold
16
16
 
17
17
  ```bash
18
18
  mkdir my-app && cd my-app
19
- npm install spine-framework
19
+ npm install spine-framework@latest
20
20
  npx spine-framework init
21
21
  ```
22
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spine-framework",
3
- "version": "0.3.51",
3
+ "version": "0.3.53",
4
4
  "description": "Multi-tenant, modular application platform for modern SaaS systems",
5
5
  "type": "module",
6
6
  "bin": {