keyra-cli 0.1.2 → 0.1.3
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/package.json +31 -29
- package/LICENSE +0 -21
- package/README.md +0 -177
- package/cli/package-lock.json +0 -2579
- package/cli/package.json +0 -40
- /package/{cli/dist → dist}/index.js +0 -0
package/package.json
CHANGED
|
@@ -1,38 +1,40 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "keyra-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
|
+
"description": "Encrypted .env vault. Sync, share, and never lose an API key.",
|
|
5
|
+
"bin": {
|
|
6
|
+
"keyra-cli": "./dist/index.js"
|
|
7
|
+
},
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
4
11
|
"scripts": {
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"lint": "eslint"
|
|
12
|
+
"build": "tsup src/index.ts --format esm --target node18 --clean --shims",
|
|
13
|
+
"dev": "tsup src/index.ts --format esm --target node18 --watch --shims",
|
|
14
|
+
"prepublishOnly": "npm run build"
|
|
9
15
|
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"env",
|
|
18
|
+
"dotenv",
|
|
19
|
+
"secrets",
|
|
20
|
+
"vault",
|
|
21
|
+
"cli",
|
|
22
|
+
"encryption"
|
|
23
|
+
],
|
|
24
|
+
"license": "MIT",
|
|
25
|
+
"type": "module",
|
|
10
26
|
"dependencies": {
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"next": "16.1.6",
|
|
18
|
-
"next-themes": "^0.4.6",
|
|
19
|
-
"radix-ui": "^1.4.3",
|
|
20
|
-
"react": "19.2.3",
|
|
21
|
-
"react-dom": "19.2.3",
|
|
22
|
-
"sonner": "^2.0.7",
|
|
23
|
-
"stripe": "^20.3.1",
|
|
24
|
-
"tailwind-merge": "^3.4.1"
|
|
27
|
+
"boxen": "^8.0.1",
|
|
28
|
+
"chalk": "^5.6.2",
|
|
29
|
+
"commander": "^14.0.3",
|
|
30
|
+
"inquirer": "^13.2.5",
|
|
31
|
+
"open": "^11.0.0",
|
|
32
|
+
"ora": "^9.3.0"
|
|
25
33
|
},
|
|
26
34
|
"devDependencies": {
|
|
27
|
-
"@
|
|
28
|
-
"@types/node": "^
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"eslint": "^9",
|
|
32
|
-
"eslint-config-next": "16.1.6",
|
|
33
|
-
"shadcn": "^3.8.5",
|
|
34
|
-
"tailwindcss": "^4",
|
|
35
|
-
"tw-animate-css": "^1.4.0",
|
|
36
|
-
"typescript": "^5"
|
|
35
|
+
"@types/inquirer": "^9.0.9",
|
|
36
|
+
"@types/node": "^25.2.3",
|
|
37
|
+
"tsup": "^8.5.1",
|
|
38
|
+
"typescript": "^5.9.3"
|
|
37
39
|
}
|
|
38
40
|
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
# Supabase CLI
|
|
2
|
-
|
|
3
|
-
[](https://coveralls.io/github/supabase/cli?branch=main) [](https://bitbucket.org/supabase-cli/setup-cli/pipelines) [
|
|
4
|
-
](https://gitlab.com/sweatybridge/setup-cli/-/pipelines)
|
|
5
|
-
|
|
6
|
-
[Supabase](https://supabase.io) is an open source Firebase alternative. We're building the features of Firebase using enterprise-grade open source tools.
|
|
7
|
-
|
|
8
|
-
This repository contains all the functionality for Supabase CLI.
|
|
9
|
-
|
|
10
|
-
- [x] Running Supabase locally
|
|
11
|
-
- [x] Managing database migrations
|
|
12
|
-
- [x] Creating and deploying Supabase Functions
|
|
13
|
-
- [x] Generating types directly from your database schema
|
|
14
|
-
- [x] Making authenticated HTTP requests to [Management API](https://supabase.com/docs/reference/api/introduction)
|
|
15
|
-
|
|
16
|
-
## Getting started
|
|
17
|
-
|
|
18
|
-
### Install the CLI
|
|
19
|
-
|
|
20
|
-
Available via [NPM](https://www.npmjs.com) as dev dependency. To install:
|
|
21
|
-
|
|
22
|
-
```bash
|
|
23
|
-
npm i supabase --save-dev
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
When installing with yarn 4, you need to disable experimental fetch with the following nodejs config.
|
|
27
|
-
|
|
28
|
-
```
|
|
29
|
-
NODE_OPTIONS=--no-experimental-fetch yarn add supabase
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
> **Note**
|
|
33
|
-
For Bun versions below v1.0.17, you must add `supabase` as a [trusted dependency](https://bun.sh/guides/install/trusted) before running `bun add -D supabase`.
|
|
34
|
-
|
|
35
|
-
<details>
|
|
36
|
-
<summary><b>macOS</b></summary>
|
|
37
|
-
|
|
38
|
-
Available via [Homebrew](https://brew.sh). To install:
|
|
39
|
-
|
|
40
|
-
```sh
|
|
41
|
-
brew install supabase/tap/supabase
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
To install the beta release channel:
|
|
45
|
-
|
|
46
|
-
```sh
|
|
47
|
-
brew install supabase/tap/supabase-beta
|
|
48
|
-
brew link --overwrite supabase-beta
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
To upgrade:
|
|
52
|
-
|
|
53
|
-
```sh
|
|
54
|
-
brew upgrade supabase
|
|
55
|
-
```
|
|
56
|
-
</details>
|
|
57
|
-
|
|
58
|
-
<details>
|
|
59
|
-
<summary><b>Windows</b></summary>
|
|
60
|
-
|
|
61
|
-
Available via [Scoop](https://scoop.sh). To install:
|
|
62
|
-
|
|
63
|
-
```powershell
|
|
64
|
-
scoop bucket add supabase https://github.com/supabase/scoop-bucket.git
|
|
65
|
-
scoop install supabase
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
To upgrade:
|
|
69
|
-
|
|
70
|
-
```powershell
|
|
71
|
-
scoop update supabase
|
|
72
|
-
```
|
|
73
|
-
</details>
|
|
74
|
-
|
|
75
|
-
<details>
|
|
76
|
-
<summary><b>Linux</b></summary>
|
|
77
|
-
|
|
78
|
-
Available via [Homebrew](https://brew.sh) and Linux packages.
|
|
79
|
-
|
|
80
|
-
#### via Homebrew
|
|
81
|
-
|
|
82
|
-
To install:
|
|
83
|
-
|
|
84
|
-
```sh
|
|
85
|
-
brew install supabase/tap/supabase
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
To upgrade:
|
|
89
|
-
|
|
90
|
-
```sh
|
|
91
|
-
brew upgrade supabase
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
#### via Linux packages
|
|
95
|
-
|
|
96
|
-
Linux packages are provided in [Releases](https://github.com/supabase/cli/releases). To install, download the `.apk`/`.deb`/`.rpm`/`.pkg.tar.zst` file depending on your package manager and run the respective commands.
|
|
97
|
-
|
|
98
|
-
```sh
|
|
99
|
-
sudo apk add --allow-untrusted <...>.apk
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
```sh
|
|
103
|
-
sudo dpkg -i <...>.deb
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
```sh
|
|
107
|
-
sudo rpm -i <...>.rpm
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
```sh
|
|
111
|
-
sudo pacman -U <...>.pkg.tar.zst
|
|
112
|
-
```
|
|
113
|
-
</details>
|
|
114
|
-
|
|
115
|
-
<details>
|
|
116
|
-
<summary><b>Other Platforms</b></summary>
|
|
117
|
-
|
|
118
|
-
You can also install the CLI via [go modules](https://go.dev/ref/mod#go-install) without the help of package managers.
|
|
119
|
-
|
|
120
|
-
```sh
|
|
121
|
-
go install github.com/supabase/cli@latest
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
Add a symlink to the binary in `$PATH` for easier access:
|
|
125
|
-
|
|
126
|
-
```sh
|
|
127
|
-
ln -s "$(go env GOPATH)/bin/cli" /usr/bin/supabase
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
This works on other non-standard Linux distros.
|
|
131
|
-
</details>
|
|
132
|
-
|
|
133
|
-
<details>
|
|
134
|
-
<summary><b>Community Maintained Packages</b></summary>
|
|
135
|
-
|
|
136
|
-
Available via [pkgx](https://pkgx.sh/). Package script [here](https://github.com/pkgxdev/pantry/blob/main/projects/supabase.com/cli/package.yml).
|
|
137
|
-
To install in your working directory:
|
|
138
|
-
|
|
139
|
-
```bash
|
|
140
|
-
pkgx install supabase
|
|
141
|
-
```
|
|
142
|
-
|
|
143
|
-
Available via [Nixpkgs](https://nixos.org/). Package script [here](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/supabase-cli/default.nix).
|
|
144
|
-
</details>
|
|
145
|
-
|
|
146
|
-
### Run the CLI
|
|
147
|
-
|
|
148
|
-
```bash
|
|
149
|
-
supabase bootstrap
|
|
150
|
-
```
|
|
151
|
-
|
|
152
|
-
Or using npx:
|
|
153
|
-
|
|
154
|
-
```bash
|
|
155
|
-
npx supabase bootstrap
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
The bootstrap command will guide you through the process of setting up a Supabase project using one of the [starter](https://github.com/supabase-community/supabase-samples/blob/main/samples.json) templates.
|
|
159
|
-
|
|
160
|
-
## Docs
|
|
161
|
-
|
|
162
|
-
Command & config reference can be found [here](https://supabase.com/docs/reference/cli/about).
|
|
163
|
-
|
|
164
|
-
## Breaking changes
|
|
165
|
-
|
|
166
|
-
We follow semantic versioning for changes that directly impact CLI commands, flags, and configurations.
|
|
167
|
-
|
|
168
|
-
However, due to dependencies on other service images, we cannot guarantee that schema migrations, seed.sql, and generated types will always work for the same CLI major version. If you need such guarantees, we encourage you to pin a specific version of CLI in package.json.
|
|
169
|
-
|
|
170
|
-
## Developing
|
|
171
|
-
|
|
172
|
-
To run from source:
|
|
173
|
-
|
|
174
|
-
```sh
|
|
175
|
-
# Go >= 1.22
|
|
176
|
-
go run . help
|
|
177
|
-
```
|