@pgflow/core 0.4.0 → 0.4.1

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/dist/CHANGELOG.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # @pgflow/core
2
2
 
3
+ ## 0.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 50ab557: feat: add multi-target build support for @pgflow/client package
8
+
9
+ The @pgflow/client package now builds for multiple environments, making it usable in Node.js, browsers, and bundlers.
10
+
11
+ **What's new:**
12
+
13
+ - ES modules (`.js`) and CommonJS (`.cjs`) builds for Node.js
14
+ - Browser bundle (`.browser.js`) with all dependencies included
15
+ - Full TypeScript declarations
16
+ - CDN support via unpkg
17
+ - Production builds with minification
18
+ - Proper tree-shaking support
19
+ - `@supabase/supabase-js` is now a regular dependency (not peer dependency)
20
+
21
+ **You can now use it in:**
22
+
23
+ - Node.js: `import { PgflowClient } from '@pgflow/client'`
24
+ - CommonJS: `const { PgflowClient } = require('@pgflow/client')`
25
+ - Browser: `<script src="https://unpkg.com/@pgflow/client"></script>` - then use `window.pgflow.createClient(supabase)`
26
+ - Bundlers: Automatically picks the right format
27
+
28
+ **Other changes:**
29
+
30
+ - Pin Supabase CLI to exact version 2.21.1 to ensure consistent type generation between local and CI environments
31
+ - @pgflow/dsl@0.4.1
32
+
3
33
  ## 0.4.0
4
34
 
5
35
  ### Minor Changes
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pgflow/core",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "license": "AGPL-3.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/node": "^22.14.1",
23
- "supabase": "^2.21.1"
23
+ "supabase": "2.21.1"
24
24
  },
25
25
  "dependencies": {
26
26
  "@pgflow/dsl": "workspace:*",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pgflow/core",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "license": "AGPL-3.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -20,11 +20,11 @@
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/node": "^22.14.1",
23
- "supabase": "^2.21.1"
23
+ "supabase": "2.21.1"
24
24
  },
25
25
  "dependencies": {
26
26
  "postgres": "^3.4.5",
27
- "@pgflow/dsl": "0.4.0"
27
+ "@pgflow/dsl": "0.4.1"
28
28
  },
29
29
  "publishConfig": {
30
30
  "access": "public"