Comparing version 1.17.6 to 1.17.7
{ | ||
"name": "supabase", | ||
"version": "1.17.6", | ||
"version": "1.17.7", | ||
"description": "Supabase CLI", | ||
@@ -5,0 +5,0 @@ "repository": "supabase/cli", |
@@ -24,3 +24,3 @@ # Supabase CLI (v1) | ||
Available via [NPM](https://www.npmjs.com). To install: | ||
Available via [NPM](https://www.npmjs.com) as dev dependency. To install: | ||
@@ -53,5 +53,23 @@ ```bash | ||
Available via [Scoop](https://scoop.sh). To install: | ||
Available via [Scoop](https://scoop.sh) and [Chocolatey](https://chocolatey.org). | ||
##### via Chocolatey | ||
To install: | ||
```powershell | ||
choco install supabase | ||
``` | ||
To upgrade: | ||
```powershell | ||
choco upgrade supabase | ||
``` | ||
##### via Scoop | ||
To install: | ||
```powershell | ||
scoop bucket add supabase https://github.com/supabase/scoop-bucket.git | ||
@@ -87,3 +105,3 @@ scoop install supabase | ||
Linux packages are provided in [Releases](https://github.com/supabase/cli/releases). To install, download the `.apk`/`.deb`/`.rpm` file depending on your package manager and run the respective commands. | ||
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. | ||
@@ -102,2 +120,6 @@ ```sh | ||
```sh | ||
sudo pacman -U <...>.pkg.tar.zst | ||
``` | ||
#### Other Platforms | ||
@@ -117,3 +139,3 @@ | ||
This works on non-standard linux distros, like archlinux. | ||
This works on other non-standard Linux distros. | ||
@@ -148,2 +170,1 @@ ### Run the CLI | ||
[![New Sponsor](https://user-images.githubusercontent.com/10214025/90518111-e74bbb00-e198-11ea-8f88-c9e3c1aa4b5b.png)](https://github.com/sponsors/supabase) | ||
@@ -79,7 +79,10 @@ #!/usr/bin/env node | ||
const errGlobal = `Installing Supabase CLI as a global module is not supported. | ||
Please use one of the supported package managers: https://github.com/supabase/cli#install-the-cli | ||
`; | ||
/** | ||
* Reads the configuration from application's package.json, | ||
* validates properties, copied the binary from the package and stores at | ||
* ./bin in the package's root. NPM already has support to install binary files | ||
* specific locations when invoked with "npm install -g" | ||
* ./bin in the package's root. | ||
* | ||
@@ -89,2 +92,6 @@ * See: https://docs.npmjs.com/files/package.json#bin | ||
async function main() { | ||
if (process.env.npm_config_global) { | ||
throw errGlobal; | ||
} | ||
const opts = await parsePackageJson(); | ||
@@ -91,0 +98,0 @@ await fs.promises.mkdir(opts.binPath, { recursive: true }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8438
100
165
3