naro-cli 0.25.0 → 0.27.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 +26 -4
- package/dist/{chunk-X5TUBMEU.js → chunk-UGJFIEH7.js} +2029 -177
- package/dist/deploy.js +1 -1
- package/dist/index.js +71 -131
- package/package.json +6 -6
- package/dist/chunk-R4XGSZQL.js +0 -35531
package/README.md
CHANGED
|
@@ -102,8 +102,6 @@ naro env remove DATABASE_URL The production, preview and all values; an en
|
|
|
102
102
|
naro env pull [.env.local] Preview's values by default; --env production, or --env qa for an environment
|
|
103
103
|
(its own value wins over all; an unknown name fails before anything is written,
|
|
104
104
|
and so does a value no dotenv line reads back)
|
|
105
|
-
naro supabase [list] The project's Supabase links, per target (connect in the dashboard)
|
|
106
|
-
naro supabase disconnect [target] Remove a target's link, or (no target or all) every link your role may change, with its env vars (asks first)
|
|
107
105
|
naro env import .env.qa qa Upload every variable in a dotenv file to one target (all by default; asks first,
|
|
108
106
|
--yes in CI; an unclosed quote, an invalid key, ASSETS or a value over 5 KB
|
|
109
107
|
stops it before any request, and so does a key a storage binding already uses
|
|
@@ -886,6 +884,31 @@ An `--update-check` you give replaces the default: without
|
|
|
886
884
|
|
|
887
885
|
## Release notes
|
|
888
886
|
|
|
887
|
+
### 0.27.0
|
|
888
|
+
|
|
889
|
+
- `naro supabase` and `naro supabase disconnect` are gone, with the
|
|
890
|
+
dashboard's Supabase card and its routes. A project reaches its Supabase
|
|
891
|
+
like anything else: `NEXT_PUBLIC_SUPABASE_URL` and its key with
|
|
892
|
+
`naro env add`. Variables the card set stay, as your own. Older versions
|
|
893
|
+
answer `NOT_FOUND` on `naro supabase`.
|
|
894
|
+
- naro-mcp 0.26.0 goes out with it: `list_supabase_links` and
|
|
895
|
+
`disconnect_supabase` are gone.
|
|
896
|
+
|
|
897
|
+
### 0.26.0
|
|
898
|
+
|
|
899
|
+
- `naro dashboard [<capability>]` prints the dashboard URL for what the CLI
|
|
900
|
+
leaves there on purpose (payments, the GitHub App, Supabase sign-in, saved
|
|
901
|
+
queries).
|
|
902
|
+
- `naro bindings` is gone, with the dashboard's hosting Storage page and its
|
|
903
|
+
routes: a project's storage is its Naro backend now — files in Storage,
|
|
904
|
+
SQL in the database (bound to the app as `env.DB`). Older versions answer
|
|
905
|
+
`NOT_FOUND` on `naro bindings`, and so does `naro env import` past 100
|
|
906
|
+
variables, which read the bindings first; this one reads the project only.
|
|
907
|
+
- naro-mcp 0.25.0 goes out with it: `dashboard_link` and server instructions
|
|
908
|
+
that point at the dashboard for what no tool does; `list_bindings` and
|
|
909
|
+
`add_binding` are gone. It imports from this release, so publish naro-cli
|
|
910
|
+
first.
|
|
911
|
+
|
|
889
912
|
### 0.25.0
|
|
890
913
|
|
|
891
914
|
Everything the dashboard does, the CLI now does too, except what needs a
|
|
@@ -1196,8 +1219,7 @@ update --verify-jwt <on|off>`, `naro functions invoke` (method, `--data`,
|
|
|
1196
1219
|
value (`KEY=`) is uploaded like any other and listed as `(empty)`, so a
|
|
1197
1220
|
file `naro env pull` wrote for a project holding one imports back. Past
|
|
1198
1221
|
100 variables, and after you say yes, it reads the project's binding
|
|
1199
|
-
names once (
|
|
1200
|
-
the managed database) and fails `VALIDATION_FAILED`
|
|
1222
|
+
names once (`ASSETS`, and `DB` on a project with the managed database) and fails `VALIDATION_FAILED`
|
|
1201
1223
|
`<KEY> is already used by a storage binding.` for the first key of the
|
|
1202
1224
|
file that is one, before the first request; the route refuses such a
|
|
1203
1225
|
key per request, which left the batches before it saved. Up to 100
|