instant-cli
Advanced tools
Comparing version 0.14.1 to 0.14.2
21
index.js
@@ -71,3 +71,5 @@ // @ts-check | ||
.description("Pushes local instant.schema definition to production.") | ||
.action(pushSchema); | ||
.action(() => { | ||
pushSchema(); | ||
}); | ||
@@ -78,3 +80,5 @@ program | ||
.description("Pushes local instant.perms rules to production.") | ||
.action(pushPerms); | ||
.action(() => { | ||
pushPerms(); | ||
}); | ||
@@ -122,3 +126,5 @@ program | ||
async function pushAll(appIdOrName) { | ||
await pushSchema(appIdOrName); | ||
const ok = await pushSchema(appIdOrName); | ||
if (!ok) return; | ||
await pushPerms(appIdOrName); | ||
@@ -431,2 +437,4 @@ } | ||
console.log(chalk.green("Schema updated!")); | ||
return true; | ||
} | ||
@@ -462,2 +470,4 @@ | ||
console.log(chalk.green("Permissions updated!")); | ||
return true; | ||
} | ||
@@ -553,3 +563,5 @@ | ||
for (const error of errData.hint.errors) { | ||
console.error(`${error.in.join("->")}: ${error.message}`); | ||
console.error( | ||
`${error.in ? error.in.join("->") + ": " : ""}${error.message}`, | ||
); | ||
} | ||
@@ -785,2 +797,3 @@ } | ||
process.env.NEXT_PUBLIC_INSTANT_APP_ID || | ||
process.env.PUBLIC_INSTANT_APP_ID || // for Svelte | ||
process.env.VITE_INSTANT_APP_ID || | ||
@@ -787,0 +800,0 @@ null; |
{ | ||
"name": "instant-cli", | ||
"type": "module", | ||
"version": "v0.14.1", | ||
"version": "v0.14.2", | ||
"description": "Instant's CLI", | ||
@@ -6,0 +6,0 @@ "scripts": { |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
24725
813
12