spine-framework 0.3.7 → 0.3.9

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.
@@ -108,6 +108,9 @@ function copyFrameworkFiles(dryRun: boolean): void {
108
108
  { src: 'index.html', dest: 'index.html' },
109
109
  { src: 'package-project.json', dest: 'package.json', template: true },
110
110
  { src: 'STRUCTURE.md', dest: 'STRUCTURE.md' },
111
+ { src: 'README.md', dest: 'README.md' },
112
+ { src: 'LICENSE.md', dest: 'LICENSE.md' },
113
+ { src: 'CHANGELOG.md', dest: 'CHANGELOG.md' },
111
114
  ]
112
115
 
113
116
  // Resolve current framework version from the installed package
package/CHANGELOG.md ADDED
@@ -0,0 +1,36 @@
1
+ # Changelog — spine-framework
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ ---
6
+
7
+ ## [0.3.8] — 2026-06-08
8
+ - Added `README.md` and `LICENSE.md` to files copied by `npx spine-framework init`
9
+ - Fixed duplicate `app_installations` table definition in `000_foundation.sql` — the incomplete first definition was winning the `CREATE TABLE IF NOT EXISTS` race, resulting in missing columns (`package_name`, `installed_version`) and no `UNIQUE` constraint; this caused `⚠️ Failed to record installation` on every `install-app` run
10
+ - Added `CHANGELOG.md` to all three packages
11
+
12
+ ## [0.3.7] — 2026-06-08
13
+ - Fixed `app_installations` schema: moved full table definition before indexes/triggers/RLS that reference it
14
+ - Added non-partial `UNIQUE (app_slug, account_id)` constraint to `app_installations` to satisfy PostgREST `ON CONFLICT`
15
+
16
+ ## [0.3.6] — 2026-06-08
17
+ - Updated all three READMEs to consistently use "Spine Framework" instead of "Spine"
18
+ - Added `publish:next` and `publish:promote` scripts to all three packages
19
+ - Created `.windsurf/workflows/publish.md` documenting the `next` → `latest` release workflow
20
+
21
+ ## [0.3.5] — 2026-06-07
22
+ - Fixed `init` command to detect bare stub `package.json` (no `scripts`) and overwrite it rather than skipping
23
+ - Updated `bin/welcome.cjs` with dynamic version stamping and correct `init` instructions
24
+
25
+ ## [0.3.4] — 2026-06-07
26
+ - Stamped current installed `spine-framework` version dynamically into `package-project.json` template during `init`
27
+
28
+ ## [0.3.3] — 2026-06-07
29
+ - Fixed `init` command regression: no longer overwrites an existing full project `package.json`
30
+
31
+ ## [0.3.2] — 2026-06-07
32
+ - Fixed `ERR_MODULE_NOT_FOUND` for `signals.ts` by adding `.framework/config/` to the `files` array
33
+
34
+ ## [0.3.1] — 2026-06-07
35
+ - Added non-partial unique constraint on `roles(app_id, slug)` for PostgREST upsert support
36
+ - Added `app_installations` table to foundation migration
@@ -1 +1 @@
1
- {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../.framework/cli/commands/init.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAsLxC,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,QAcpD"}
1
+ {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../.framework/cli/commands/init.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAyLxC,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,QAcpD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spine-framework",
3
- "version": "0.3.7",
3
+ "version": "0.3.9",
4
4
  "private": false,
5
5
  "description": "Spine — enterprise application framework built on Supabase + Netlify + React",
6
6
  "type": "module",
@@ -64,7 +64,8 @@
64
64
  "package-project.json",
65
65
  "STRUCTURE.md",
66
66
  "README.md",
67
- "LICENSE.md"
67
+ "LICENSE.md",
68
+ "CHANGELOG.md"
68
69
  ],
69
70
  "scripts": {
70
71
  "spine-framework": "tsx .framework/cli/index.ts",