@supacloud/lite 0.36.0 → 0.37.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/CHANGELOG.md +7 -0
- package/README.md +8 -0
- package/dist/cli.js +12957 -55
- package/dist/index.js +4 -4
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.37.0](https://github.com/vibeunion/supacloud/compare/supacloud-lite-v0.36.0...supacloud-lite-v0.37.0) (2026-11-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **lite:** add a local Supabase import and compatibility lab ([#2325](https://github.com/vibeunion/supacloud/issues/2325)) ([aa739cb](https://github.com/vibeunion/supacloud/commit/aa739cb0fe47811833294bcfbcb90fded4116b83))
|
|
9
|
+
|
|
3
10
|
## [0.36.0](https://github.com/vibeunion/supacloud/compare/supacloud-lite-v0.35.2...supacloud-lite-v0.36.0) (2026-10-31)
|
|
4
11
|
|
|
5
12
|
|
package/README.md
CHANGED
|
@@ -205,9 +205,13 @@ supacloud-lite snapshot restore <backup.tar.gz> [--force]
|
|
|
205
205
|
supacloud-lite upgrade [-o pre-upgrade.tar.gz]
|
|
206
206
|
supacloud-lite inspect
|
|
207
207
|
supacloud-lite doctor [--json] [--production]
|
|
208
|
+
supacloud-lite import --from <supabase-project> [--json]
|
|
209
|
+
supacloud-lite compat [--json]
|
|
208
210
|
supacloud-lite version
|
|
209
211
|
```
|
|
210
212
|
|
|
213
|
+
`import` 把本地 Supabase 项目的 config、migrations、seed / `import/data.sql`、Auth 用户、Storage 对象和 Functions 导入 Lite,并打印验收清单。无法在本机核对的行保持未勾选并写明原因。这不是部署。详见 `docs/supabase-import-lab.md`。
|
|
214
|
+
|
|
211
215
|
首次初始化或 state 目录不存在/为空时,先运行 `supacloud-lite migrate`。`db reset` 只接受已经初始化且保留有效 `secrets.json` 标记的 state;它不会为 reset 创建或覆盖项目 secrets。
|
|
212
216
|
|
|
213
217
|
#### 创建本地 Auth 账号
|
|
@@ -727,9 +731,13 @@ supacloud-lite snapshot restore <backup.tar.gz> [--force]
|
|
|
727
731
|
supacloud-lite upgrade [-o pre-upgrade.tar.gz]
|
|
728
732
|
supacloud-lite inspect
|
|
729
733
|
supacloud-lite doctor [--json] [--production]
|
|
734
|
+
supacloud-lite import --from <supabase-project> [--json]
|
|
735
|
+
supacloud-lite compat [--json]
|
|
730
736
|
supacloud-lite version
|
|
731
737
|
```
|
|
732
738
|
|
|
739
|
+
`import` loads a local Supabase project's config, migrations, seed or `import/data.sql`, Auth users, Storage objects, and Functions into Lite, then prints a verify checklist. Rows that this machine cannot check stay unchecked with a blocker. This is not a deployment. See `docs/supabase-import-lab.md`.
|
|
740
|
+
|
|
733
741
|
Run `supacloud-lite migrate` first when initializing a project or when the state directory is missing or empty. `db reset` only accepts initialized state with a valid `secrets.json` marker; it never creates or replaces project secrets for a reset.
|
|
734
742
|
|
|
735
743
|
#### Create a Local Auth User
|