supabase 2.116.0-beta.8 → 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.
Files changed (2) hide show
  1. package/README.md +17 -4
  2. package/package.json +30 -75
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 check:all
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 the checks for the workspace you touched.
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
- pnpm test
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-beta.8",
3
+ "version": "2.116.0",
4
4
  "private": false,
5
5
  "description": "Supabase CLI",
6
6
  "homepage": "https://github.com/supabase/cli#readme",
@@ -28,7 +28,7 @@
28
28
  "jose": "^6.2.9"
29
29
  },
30
30
  "devDependencies": {
31
- "@anthropic-ai/claude-agent-sdk": "^0.3.233",
31
+ "@anthropic-ai/claude-agent-sdk": "^0.3.234",
32
32
  "@anthropic-ai/sdk": "^0.117.1",
33
33
  "@clack/prompts": "^1.7.0",
34
34
  "@effect/atom-react": "4.0.0-rc.111",
@@ -38,11 +38,19 @@
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",
44
52
  "@types/bun": "^1.4.0",
45
- "@types/pg": "^8.21.0",
53
+ "@types/pg": "^8.23.1",
46
54
  "@types/pg-copy-streams": "^1.2.5",
47
55
  "@types/react": "^19.2.18",
48
56
  "@vercel/detect-agent": "^1.2.5",
@@ -52,14 +60,10 @@
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
- "oxfmt": "^0.63.0",
57
- "oxlint": "^1.78.0",
58
- "oxlint-tsgolint": "^7.0.2001",
59
63
  "pg": "^8.23.0",
60
64
  "pg-copy-streams": "^7.0.0",
61
65
  "posthog-node": "^5.49.1",
62
- "prettier": "3.8.1",
66
+ "prettier": "3.9.6",
63
67
  "react": "^19.2.8",
64
68
  "react-devtools-core": "^7.0.1",
65
69
  "semantic-release": "^25.0.9",
@@ -70,18 +74,18 @@
70
74
  "yaml": "^2.9.0",
71
75
  "@supabase/api": "0.1.0",
72
76
  "@supabase/config": "0.1.0",
73
- "@supabase/stack": "0.1.0",
74
- "@supabase/process-compose": "0.1.0"
77
+ "@supabase/process-compose": "0.1.0",
78
+ "@supabase/stack": "0.1.0"
75
79
  },
76
80
  "optionalDependencies": {
77
- "@supabase/cli-darwin-arm64": "2.116.0-beta.8",
78
- "@supabase/cli-darwin-x64": "2.116.0-beta.8",
79
- "@supabase/cli-linux-x64": "2.116.0-beta.8",
80
- "@supabase/cli-linux-x64-musl": "2.116.0-beta.8",
81
- "@supabase/cli-windows-arm64": "2.116.0-beta.8",
82
- "@supabase/cli-linux-arm64-musl": "2.116.0-beta.8",
83
- "@supabase/cli-windows-x64": "2.116.0-beta.8",
84
- "@supabase/cli-linux-arm64": "2.116.0-beta.8"
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"
85
89
  },
86
90
  "release": {
87
91
  "branches": [
@@ -97,60 +101,7 @@
97
101
  "@semantic-release/release-notes-generator"
98
102
  ]
99
103
  },
100
- "knip": {
101
- "entry": [
102
- "src/shared/cli/bin.ts",
103
- "src/**/*.test.ts",
104
- "src/**/*.e2e.test.ts",
105
- "src/**/*.live.test.ts"
106
- ],
107
- "ignore": [
108
- "scripts/*.ts",
109
- "tests/**/*.ts",
110
- "src/shared/telemetry/event-catalog.ts"
111
- ],
112
- "ignoreBinaries": [
113
- "nx",
114
- "mkfifo"
115
- ],
116
- "ignoreDependencies": [
117
- "@parcel/watcher-darwin-arm64",
118
- "@parcel/watcher-darwin-x64",
119
- "@parcel/watcher-linux-arm64-glibc",
120
- "@parcel/watcher-linux-arm64-musl",
121
- "@parcel/watcher-linux-x64-glibc",
122
- "@parcel/watcher-linux-x64-musl",
123
- "@parcel/watcher-win32-arm64",
124
- "@parcel/watcher-win32-x64",
125
- "oxfmt",
126
- "oxlint",
127
- "oxlint-tsgolint",
128
- "prettier",
129
- "semantic-release",
130
- "@anthropic-ai/claude-agent-sdk",
131
- "@anthropic-ai/sdk",
132
- "@modelcontextprotocol/sdk"
133
- ]
134
- },
135
104
  "nx": {
136
- "targets": {
137
- "build": {
138
- "outputs": [
139
- "{projectRoot}/dist"
140
- ],
141
- "dependsOn": [
142
- {
143
- "projects": [
144
- "cli-go"
145
- ],
146
- "target": "build"
147
- }
148
- ]
149
- },
150
- "test:smoke": {
151
- "cache": false
152
- }
153
- },
154
105
  "implicitDependencies": [
155
106
  "cli-go"
156
107
  ]
@@ -164,11 +115,15 @@
164
115
  "docs:spec": "bun scripts/generate-docs-spec.ts",
165
116
  "dev:next": "pnpm exec bun src/next/main.ts",
166
117
  "dev:legacy": "pnpm exec bun src/legacy/main.ts",
167
- "test": "nx run-many -t test:core test:e2e --projects=$npm_package_name",
168
- "test:core": "nx run-many -t test:unit test:integration --projects=$npm_package_name --coverage.enabled",
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",
169
125
  "test:live": "bun --bun vitest run --project live",
170
126
  "test:smoke": "bun run tests/smoke-test.ts",
171
- "check:all": "nx run-many -t types:check lint:check fmt:check knip:check --projects=$npm_package_name",
172
- "fix:all": "nx run-many -t lint:fix fmt:fix knip:fix --projects=$npm_package_name"
127
+ "types:check": "tsc --noEmit"
173
128
  }
174
129
  }