Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

instant-cli

Package Overview
Dependencies
Maintainers
0
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

instant-cli - npm Package Compare versions

Comparing version 0.14.12 to 0.14.13

20

index.js

@@ -279,2 +279,22 @@ // @ts-check

const hasEnvFile = await pathExists(join(pkgDir, ".env"));
if (!hasEnvFile) {
const ok = await promptOk(
"No .env file detected, would you like to create one so you can push updates to schema and perms?",
);
if (ok) {
await writeFile(
join(pkgDir, ".env"),
`INSTANT_APP_ID=${appId}`,
"utf-8",
);
console.log(
`Created .env file with INSTANT_APP_ID=${appId} in ${pkgDir}`,
);
} else {
console.log("No .env file created. If you plan to push updates, please create one.");
}
}
if (

@@ -281,0 +301,0 @@ !countEntities(pullRes.data.schema.refs) &&

2

package.json
{
"name": "instant-cli",
"type": "module",
"version": "v0.14.12",
"version": "v0.14.13",
"description": "Instant's CLI",

@@ -6,0 +6,0 @@ "scripts": {

@@ -32,3 +32,3 @@ <p align="center">

Start by peaking at the [instant-cli docs](https://www.instantdb.com/docs/cli).
Start by peeking at the [instant-cli docs](https://www.instantdb.com/docs/cli).

@@ -35,0 +35,0 @@ # Questions?

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc