supabase 3.0.0-beta.12 → 3.0.0-beta.14

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.
Files changed (3) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -11
  3. package/package.json +41 -47
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2021 Supabase, Inc. and contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -77,12 +77,14 @@ supabase link
77
77
 
78
78
  ## Manage Your Database
79
79
 
80
- Create migrations, compare schemas, and apply changes locally or to your linked project:
80
+ Create migrations, compare schemas, and apply changes to your local database. Add `--remote` to act
81
+ on your linked project instead:
81
82
 
82
83
  ```sh
83
84
  supabase migration new create_profiles
84
85
  supabase db diff
85
86
  supabase db push
87
+ supabase db push --remote
86
88
  supabase db reset
87
89
  ```
88
90
 
@@ -101,8 +103,8 @@ supabase functions deploy hello-world
101
103
  Generate TypeScript types from your local database or linked project:
102
104
 
103
105
  ```sh
104
- supabase gen types --local
105
- supabase gen types --linked
106
+ supabase gen types
107
+ supabase gen types --remote
106
108
  ```
107
109
 
108
110
  ## Reference
@@ -129,19 +131,17 @@ pnpm check:all
129
131
  cd apps/cli
130
132
 
131
133
  pnpm types:check
132
- pnpm dev:next -- --help
133
134
  pnpm run test:unit && pnpm run test:integration
134
135
  ```
135
136
 
136
137
  Useful source entry points:
137
138
 
138
- | Path | Purpose |
139
- | ----------------- | -------------------------------------- |
140
- | `apps/cli` | TypeScript/Bun CLI package |
141
- | `apps/cli-go` | Go CLI source used by the legacy shell |
142
- | `packages/stack` | Local Supabase stack runtime |
143
- | `packages/config` | Config schema and generated types |
144
- | `packages/api` | Typed Supabase Management API client |
139
+ | Path | Purpose |
140
+ | ----------------- | ------------------------------------ |
141
+ | `apps/cli` | TypeScript/Bun CLI package |
142
+ | `packages/stack` | Local Supabase stack runtime |
143
+ | `packages/config` | Config schema and generated types |
144
+ | `packages/api` | Typed Supabase Management API client |
145
145
 
146
146
  After a fresh clone, install the reference repositories used for agent and developer inspection:
147
147
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "supabase",
3
- "version": "3.0.0-beta.12",
3
+ "version": "3.0.0-beta.14",
4
4
  "private": false,
5
5
  "description": "Supabase CLI",
6
6
  "homepage": "https://github.com/supabase/cli#readme",
@@ -31,62 +31,48 @@
31
31
  "@anthropic-ai/claude-agent-sdk": "^0.3.246",
32
32
  "@anthropic-ai/sdk": "^0.120.0",
33
33
  "@clack/prompts": "^1.7.0",
34
- "@effect/atom-react": "4.0.0-rc.112",
35
- "@effect/platform-bun": "4.0.0-rc.112",
36
- "@effect/sql-pg": "4.0.0-rc.112",
37
- "@effect/vitest": "4.0.0-rc.112",
34
+ "@effect/platform-bun": "4.0.2",
35
+ "@effect/sql-pg": "4.0.2",
36
+ "@effect/vitest": "4.0.2",
38
37
  "@modelcontextprotocol/sdk": "^1.30.0",
39
38
  "@napi-rs/keyring": "^1.3.0",
40
- "@parcel/watcher": "^2.6.0",
41
- "@parcel/watcher-darwin-arm64": "2.6.0",
42
- "@parcel/watcher-darwin-x64": "2.6.0",
43
- "@parcel/watcher-linux-arm64-glibc": "2.6.0",
44
- "@parcel/watcher-linux-arm64-musl": "2.6.0",
45
- "@parcel/watcher-linux-x64-glibc": "2.6.0",
46
- "@parcel/watcher-linux-x64-musl": "2.6.0",
47
- "@parcel/watcher-win32-arm64": "2.6.0",
48
- "@parcel/watcher-win32-x64": "2.6.0",
49
- "@supabase/pg-delta": "1.0.0-alpha.47",
50
- "@supabase/pg-topo": "1.0.0-alpha.6",
39
+ "@supabase/api": "0.1.0",
40
+ "@supabase/config": "0.1.0",
41
+ "@supabase/pg-delta": "1.0.0-alpha.60",
42
+ "@supabase/pg-topo": "1.0.0-alpha.8",
43
+ "@supabase/stack": "0.1.0",
44
+ "@supabase/supabase-js": "^2.110.7",
45
+ "@supabase/typegen": "0.3.1",
51
46
  "@tsconfig/bun": "^1.0.11",
52
- "@types/bun": "^1.4.0",
47
+ "@types/bun": "^1.4.2",
53
48
  "@types/pg": "^8.23.1",
54
49
  "@types/pg-copy-streams": "^1.2.5",
55
- "@types/react": "^19.2.18",
56
50
  "@vercel/detect-agent": "^1.2.5",
57
- "@vitest/coverage-istanbul": "^4.1.11",
51
+ "@vitest/coverage-v8": "^5.0.0",
58
52
  "dotenv": "^17.4.2",
59
- "effect": "4.0.0-rc.112",
53
+ "effect": "4.0.2",
60
54
  "esbuild": "^0.28.2",
61
- "ink": "^7.1.1",
62
- "ink-spinner": "^5.0.0",
63
55
  "pg": "^8.23.0",
64
56
  "pg-copy-streams": "^7.0.0",
65
57
  "posthog-node": "^5.51.2",
66
58
  "prettier": "3.9.6",
67
- "react": "^19.2.8",
68
- "react-devtools-core": "^7.0.1",
69
59
  "semantic-release": "^25.0.9",
70
60
  "smol-toml": "^1.8.0",
71
61
  "tldts": "^7.4.11",
72
62
  "typescript": "^7.0.2",
73
63
  "vite": "^8.2.2",
74
- "vitest": "^4.1.11",
75
- "yaml": "^2.9.0",
76
- "@supabase/api": "0.1.0",
77
- "@supabase/config": "0.1.0",
78
- "@supabase/process-compose": "0.1.0",
79
- "@supabase/stack": "0.1.0"
64
+ "vitest": "^5.0.0",
65
+ "yaml": "^2.9.0"
80
66
  },
81
67
  "optionalDependencies": {
82
- "@supabase/cli-darwin-arm64": "3.0.0-beta.12",
83
- "@supabase/cli-darwin-x64": "3.0.0-beta.12",
84
- "@supabase/cli-linux-arm64": "3.0.0-beta.12",
85
- "@supabase/cli-linux-arm64-musl": "3.0.0-beta.12",
86
- "@supabase/cli-linux-x64": "3.0.0-beta.12",
87
- "@supabase/cli-linux-x64-musl": "3.0.0-beta.12",
88
- "@supabase/cli-windows-x64": "3.0.0-beta.12",
89
- "@supabase/cli-windows-arm64": "3.0.0-beta.12"
68
+ "@supabase/cli-darwin-arm64": "3.0.0-beta.14",
69
+ "@supabase/cli-darwin-x64": "3.0.0-beta.14",
70
+ "@supabase/cli-linux-arm64": "3.0.0-beta.14",
71
+ "@supabase/cli-linux-arm64-musl": "3.0.0-beta.14",
72
+ "@supabase/cli-linux-x64": "3.0.0-beta.14",
73
+ "@supabase/cli-linux-x64-musl": "3.0.0-beta.14",
74
+ "@supabase/cli-windows-arm64": "3.0.0-beta.14",
75
+ "@supabase/cli-windows-x64": "3.0.0-beta.14"
90
76
  },
91
77
  "release": {
92
78
  "branches": [
@@ -95,31 +81,39 @@
95
81
  "name": "develop",
96
82
  "prerelease": "beta",
97
83
  "channel": "beta"
84
+ },
85
+ {
86
+ "name": "next",
87
+ "prerelease": "next",
88
+ "channel": "next"
89
+ },
90
+ {
91
+ "name": "v+([0-9]).x",
92
+ "range": "${name.slice(1)}",
93
+ "channel": "${name.replace('.x', '.stable')}"
98
94
  }
99
95
  ],
100
96
  "plugins": [
101
- "@semantic-release/commit-analyzer",
97
+ "./scripts/analyze-commits-title.js",
102
98
  "@semantic-release/release-notes-generator"
103
99
  ]
104
100
  },
105
101
  "scripts": {
106
- "build": "pnpm build:go-sidecar && pnpm build:next && pnpm build:legacy && pnpm build:shim",
107
- "build:go-sidecar": "mkdir -p dist && cp ../cli-go/supabase-go dist/supabase-go",
108
- "build:next": "bun scripts/build-binary.ts next",
109
- "build:legacy": "bun scripts/build-binary.ts legacy",
102
+ "build": "pnpm build:binary && pnpm build:shim",
103
+ "build:binary": "bun scripts/build-binary.ts",
110
104
  "build:shim": "bun build src/shared/cli/bin.ts --outfile dist/supabase.js --target node",
111
105
  "docs:spec": "bun scripts/generate-docs-spec.ts",
112
- "dev:next": "pnpm exec bun src/next/main.ts",
113
- "dev:legacy": "pnpm exec bun src/legacy/main.ts",
106
+ "dev": "bun src/main.ts",
107
+ "gen:feedback-types": "pnpm dev -- gen types typescript --project-id xguihxuzqibwxjnimxev --schema public > src/shared/feedback/database.types.ts",
114
108
  "test": "pnpm run test:unit --coverage.enabled && pnpm run test:integration --coverage.enabled && pnpm run test:e2e",
115
109
  "test:unit": "pnpm exec turbo run supabase#test:unit:run --",
116
110
  "test:unit:run": "bun --bun vitest run --project unit --coverage.reportsDirectory=coverage/unit",
117
111
  "test:integration": "pnpm exec turbo run supabase#test:integration:run --",
118
112
  "test:integration:run": "bun --bun vitest run --project integration --coverage.reportsDirectory=coverage/integration",
119
113
  "test:e2e": "pnpm exec turbo run supabase#build && pnpm exec turbo run supabase#test:e2e:run --only --",
120
- "test:e2e:run": "bun --bun vitest run --project e2e",
114
+ "test:e2e:run": "bun --bun vitest run --project e2e --project e2e-exclusive",
121
115
  "test:live": "bun --bun vitest run --project live",
122
116
  "test:smoke": "bun run tests/smoke-test.ts",
123
- "types:check": "tsc --noEmit"
117
+ "types:check": "tsc --noEmit -p tsconfig.types.json"
124
118
  }
125
119
  }