supabase 2.116.0-beta.9 → 2.116.0
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/README.md +17 -4
- package/package.json +26 -65
package/README.md
CHANGED
|
@@ -124,11 +124,13 @@ This repository is a pnpm monorepo. The published package lives in `apps/cli`.
|
|
|
124
124
|
|
|
125
125
|
```sh
|
|
126
126
|
pnpm install
|
|
127
|
+
pnpm check:all
|
|
128
|
+
|
|
127
129
|
cd apps/cli
|
|
128
130
|
|
|
131
|
+
pnpm types:check
|
|
129
132
|
pnpm dev:next -- --help
|
|
130
|
-
pnpm
|
|
131
|
-
pnpm test:core
|
|
133
|
+
pnpm run test:unit && pnpm run test:integration
|
|
132
134
|
```
|
|
133
135
|
|
|
134
136
|
Useful source entry points:
|
|
@@ -153,11 +155,22 @@ We love focused pull requests with a clear problem, a small surface area, and te
|
|
|
153
155
|
|
|
154
156
|
Open an issue first and wait for a maintainer to add the `open-for-contribution` label before starting work — external pull requests that don't link a labeled, open issue are closed automatically. See [CONTRIBUTING.md](./CONTRIBUTING.md#contribution-workflow) for the full workflow.
|
|
155
157
|
|
|
156
|
-
Before opening a PR, run
|
|
158
|
+
Before opening a PR, run repo-wide quality checks from the repository root,
|
|
159
|
+
then run the relevant package tests from each workspace you touched. For each
|
|
160
|
+
touched TypeScript workspace (or any workspace that declares it), also run its
|
|
161
|
+
`pnpm types:check` script. For example:
|
|
157
162
|
|
|
158
163
|
```sh
|
|
164
|
+
# From the repository root:
|
|
159
165
|
pnpm check:all
|
|
160
|
-
|
|
166
|
+
|
|
167
|
+
# From apps/cli (a touched TypeScript workspace):
|
|
168
|
+
cd apps/cli
|
|
169
|
+
pnpm types:check
|
|
170
|
+
pnpm run test:unit && pnpm run test:integration
|
|
171
|
+
|
|
172
|
+
# Repeat the relevant package tests for every touched workspace; run
|
|
173
|
+
# pnpm types:check there too when that workspace declares the script.
|
|
161
174
|
```
|
|
162
175
|
|
|
163
176
|
PR titles must use conventional commits, for example:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "supabase",
|
|
3
|
-
"version": "2.116.0
|
|
3
|
+
"version": "2.116.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Supabase CLI",
|
|
6
6
|
"homepage": "https://github.com/supabase/cli#readme",
|
|
@@ -38,6 +38,14 @@
|
|
|
38
38
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
39
39
|
"@napi-rs/keyring": "^1.3.0",
|
|
40
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",
|
|
41
49
|
"@supabase/pg-delta": "1.0.0-alpha.46",
|
|
42
50
|
"@supabase/pg-topo": "1.0.0-alpha.5",
|
|
43
51
|
"@tsconfig/bun": "^1.0.11",
|
|
@@ -52,7 +60,6 @@
|
|
|
52
60
|
"esbuild": "^0.28.2",
|
|
53
61
|
"ink": "^7.1.1",
|
|
54
62
|
"ink-spinner": "^5.0.0",
|
|
55
|
-
"knip": "^6.32.2",
|
|
56
63
|
"pg": "^8.23.0",
|
|
57
64
|
"pg-copy-streams": "^7.0.0",
|
|
58
65
|
"posthog-node": "^5.49.1",
|
|
@@ -65,20 +72,20 @@
|
|
|
65
72
|
"typescript": "^7.0.2",
|
|
66
73
|
"vitest": "^4.1.10",
|
|
67
74
|
"yaml": "^2.9.0",
|
|
68
|
-
"@supabase/config": "0.1.0",
|
|
69
75
|
"@supabase/api": "0.1.0",
|
|
76
|
+
"@supabase/config": "0.1.0",
|
|
70
77
|
"@supabase/process-compose": "0.1.0",
|
|
71
78
|
"@supabase/stack": "0.1.0"
|
|
72
79
|
},
|
|
73
80
|
"optionalDependencies": {
|
|
74
|
-
"@supabase/cli-darwin-arm64": "2.116.0
|
|
75
|
-
"@supabase/cli-darwin-x64": "2.116.0
|
|
76
|
-
"@supabase/cli-linux-arm64": "2.116.0
|
|
77
|
-
"@supabase/cli-linux-
|
|
78
|
-
"@supabase/cli-
|
|
79
|
-
"@supabase/cli-
|
|
80
|
-
"@supabase/cli-
|
|
81
|
-
"@supabase/cli-
|
|
81
|
+
"@supabase/cli-darwin-arm64": "2.116.0",
|
|
82
|
+
"@supabase/cli-darwin-x64": "2.116.0",
|
|
83
|
+
"@supabase/cli-linux-arm64": "2.116.0",
|
|
84
|
+
"@supabase/cli-linux-arm64-musl": "2.116.0",
|
|
85
|
+
"@supabase/cli-linux-x64": "2.116.0",
|
|
86
|
+
"@supabase/cli-linux-x64-musl": "2.116.0",
|
|
87
|
+
"@supabase/cli-windows-arm64": "2.116.0",
|
|
88
|
+
"@supabase/cli-windows-x64": "2.116.0"
|
|
82
89
|
},
|
|
83
90
|
"release": {
|
|
84
91
|
"branches": [
|
|
@@ -94,57 +101,7 @@
|
|
|
94
101
|
"@semantic-release/release-notes-generator"
|
|
95
102
|
]
|
|
96
103
|
},
|
|
97
|
-
"knip": {
|
|
98
|
-
"entry": [
|
|
99
|
-
"src/shared/cli/bin.ts",
|
|
100
|
-
"src/**/*.test.ts",
|
|
101
|
-
"src/**/*.e2e.test.ts",
|
|
102
|
-
"src/**/*.live.test.ts"
|
|
103
|
-
],
|
|
104
|
-
"ignore": [
|
|
105
|
-
"scripts/*.ts",
|
|
106
|
-
"tests/**/*.ts",
|
|
107
|
-
"src/shared/telemetry/event-catalog.ts"
|
|
108
|
-
],
|
|
109
|
-
"ignoreBinaries": [
|
|
110
|
-
"nx",
|
|
111
|
-
"mkfifo"
|
|
112
|
-
],
|
|
113
|
-
"ignoreDependencies": [
|
|
114
|
-
"@parcel/watcher-darwin-arm64",
|
|
115
|
-
"@parcel/watcher-darwin-x64",
|
|
116
|
-
"@parcel/watcher-linux-arm64-glibc",
|
|
117
|
-
"@parcel/watcher-linux-arm64-musl",
|
|
118
|
-
"@parcel/watcher-linux-x64-glibc",
|
|
119
|
-
"@parcel/watcher-linux-x64-musl",
|
|
120
|
-
"@parcel/watcher-win32-arm64",
|
|
121
|
-
"@parcel/watcher-win32-x64",
|
|
122
|
-
"prettier",
|
|
123
|
-
"semantic-release",
|
|
124
|
-
"@anthropic-ai/claude-agent-sdk",
|
|
125
|
-
"@anthropic-ai/sdk",
|
|
126
|
-
"@modelcontextprotocol/sdk"
|
|
127
|
-
]
|
|
128
|
-
},
|
|
129
104
|
"nx": {
|
|
130
|
-
"targets": {
|
|
131
|
-
"build": {
|
|
132
|
-
"outputs": [
|
|
133
|
-
"{projectRoot}/dist"
|
|
134
|
-
],
|
|
135
|
-
"dependsOn": [
|
|
136
|
-
{
|
|
137
|
-
"projects": [
|
|
138
|
-
"cli-go"
|
|
139
|
-
],
|
|
140
|
-
"target": "build"
|
|
141
|
-
}
|
|
142
|
-
]
|
|
143
|
-
},
|
|
144
|
-
"test:smoke": {
|
|
145
|
-
"cache": false
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
105
|
"implicitDependencies": [
|
|
149
106
|
"cli-go"
|
|
150
107
|
]
|
|
@@ -158,11 +115,15 @@
|
|
|
158
115
|
"docs:spec": "bun scripts/generate-docs-spec.ts",
|
|
159
116
|
"dev:next": "pnpm exec bun src/next/main.ts",
|
|
160
117
|
"dev:legacy": "pnpm exec bun src/legacy/main.ts",
|
|
161
|
-
"test": "
|
|
162
|
-
"test:
|
|
118
|
+
"test": "pnpm run test:unit --coverage.enabled && pnpm run test:integration --coverage.enabled && pnpm run test:e2e",
|
|
119
|
+
"test:unit": "pnpm exec turbo run supabase#test:unit:run --",
|
|
120
|
+
"test:unit:run": "bun --bun vitest run --project unit --coverage.reportsDirectory=coverage/unit",
|
|
121
|
+
"test:integration": "pnpm exec turbo run supabase#test:integration:run --",
|
|
122
|
+
"test:integration:run": "bun --bun vitest run --project integration --coverage.reportsDirectory=coverage/integration",
|
|
123
|
+
"test:e2e": "pnpm exec turbo run supabase#build && pnpm exec turbo run supabase#test:e2e:run --only --",
|
|
124
|
+
"test:e2e:run": "bun --bun vitest run --project e2e",
|
|
163
125
|
"test:live": "bun --bun vitest run --project live",
|
|
164
126
|
"test:smoke": "bun run tests/smoke-test.ts",
|
|
165
|
-
"check
|
|
166
|
-
"fix:all": "nx run-many -t lint:fix fmt:fix knip:fix --projects=$npm_package_name,@supabase/root"
|
|
127
|
+
"types:check": "tsc --noEmit"
|
|
167
128
|
}
|
|
168
129
|
}
|