supabase 3.0.0-beta.9 → 3.0.0-next.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.
Files changed (3) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +6 -8
  3. package/package.json +36 -42
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
@@ -129,19 +129,17 @@ pnpm check:all
129
129
  cd apps/cli
130
130
 
131
131
  pnpm types:check
132
- pnpm dev:next -- --help
133
132
  pnpm run test:unit && pnpm run test:integration
134
133
  ```
135
134
 
136
135
  Useful source entry points:
137
136
 
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 |
137
+ | Path | Purpose |
138
+ | ----------------- | ------------------------------------ |
139
+ | `apps/cli` | TypeScript/Bun CLI package |
140
+ | `packages/stack` | Local Supabase stack runtime |
141
+ | `packages/config` | Config schema and generated types |
142
+ | `packages/api` | Typed Supabase Management API client |
145
143
 
146
144
  After a fresh clone, install the reference repositories used for agent and developer inspection:
147
145
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "supabase",
3
- "version": "3.0.0-beta.9",
3
+ "version": "3.0.0-next.1",
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
34
  "@effect/platform-bun": "4.0.0-rc.112",
36
35
  "@effect/sql-pg": "4.0.0-rc.112",
37
36
  "@effect/vitest": "4.0.0-rc.112",
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.57",
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.2.2",
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
53
  "effect": "4.0.0-rc.112",
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/process-compose": "0.1.0",
78
- "@supabase/stack": "0.1.0",
79
- "@supabase/config": "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.9",
83
- "@supabase/cli-darwin-x64": "3.0.0-beta.9",
84
- "@supabase/cli-linux-arm64-musl": "3.0.0-beta.9",
85
- "@supabase/cli-linux-arm64": "3.0.0-beta.9",
86
- "@supabase/cli-linux-x64-musl": "3.0.0-beta.9",
87
- "@supabase/cli-linux-x64": "3.0.0-beta.9",
88
- "@supabase/cli-windows-arm64": "3.0.0-beta.9",
89
- "@supabase/cli-windows-x64": "3.0.0-beta.9"
68
+ "@supabase/cli-darwin-arm64": "3.0.0-next.1",
69
+ "@supabase/cli-darwin-x64": "3.0.0-next.1",
70
+ "@supabase/cli-linux-arm64": "3.0.0-next.1",
71
+ "@supabase/cli-linux-arm64-musl": "3.0.0-next.1",
72
+ "@supabase/cli-linux-x64": "3.0.0-next.1",
73
+ "@supabase/cli-linux-x64-musl": "3.0.0-next.1",
74
+ "@supabase/cli-windows-arm64": "3.0.0-next.1",
75
+ "@supabase/cli-windows-x64": "3.0.0-next.1"
90
76
  },
91
77
  "release": {
92
78
  "branches": [
@@ -95,22 +81,30 @@
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": "pnpm exec 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",
@@ -120,6 +114,6 @@
120
114
  "test:e2e:run": "bun --bun vitest run --project e2e",
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
  }