neon 4.14.1 → 4.14.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.
|
@@ -104,7 +104,7 @@ const builder = (argv) => argv.usage("$0 api-keys <sub-command> [options]").comm
|
|
|
104
104
|
describe: "Revoke an organization key instead of an account key",
|
|
105
105
|
type: "string",
|
|
106
106
|
coerce: single("org-id")
|
|
107
|
-
} }).strict().check(noPassthrough("api-keys")), async (args) => await revoke(args))
|
|
107
|
+
} }).strict().check(noPassthrough("api-keys")), async (args) => await revoke(args));
|
|
108
108
|
const handler = (args) => args;
|
|
109
109
|
const list = async (props) => {
|
|
110
110
|
const out = writer(props);
|
package/dist/commands/bucket.js
CHANGED
|
@@ -153,7 +153,7 @@ const builder = (argv) => argv.usage("$0 bucket <sub-command> [options]").option
|
|
|
153
153
|
}
|
|
154
154
|
}),
|
|
155
155
|
handler: (args) => deleteObject(args)
|
|
156
|
-
}).demandCommand(1, "").strictCommands())
|
|
156
|
+
}).demandCommand(1, "").strictCommands());
|
|
157
157
|
const handler = (args) => {
|
|
158
158
|
return args;
|
|
159
159
|
};
|
package/dist/commands/claim.js
CHANGED
|
@@ -168,7 +168,7 @@ const builder = (argv) => argv.usage("$0 claim <sub-command> [options]").option(
|
|
|
168
168
|
describe: "Skip the confirmation prompt",
|
|
169
169
|
type: "boolean",
|
|
170
170
|
default: false
|
|
171
|
-
}).strict().check(noPassthrough("claim delete")), async (args) => await deleteProject(args))
|
|
171
|
+
}).strict().check(noPassthrough("claim delete")), async (args) => await deleteProject(args));
|
|
172
172
|
const handler = (_args) => {};
|
|
173
173
|
const rejectExplicitAccountCredential = (props) => {
|
|
174
174
|
if (credentialInputs().apiKeyFlag.trim() !== "" || props.profile?.trim()) throw new Error("Claimable Neon does not use a Neon account credential. Remove --api-key or --profile.");
|
package/dist/commands/env.js
CHANGED
|
@@ -84,7 +84,7 @@ const builder = (argv) => argv.usage("$0 env <sub-command> [options]").options({
|
|
|
84
84
|
announce: true,
|
|
85
85
|
implyAiGateway: rawServices === void 0 && rawEnvKeys === void 0
|
|
86
86
|
});
|
|
87
|
-
})
|
|
87
|
+
});
|
|
88
88
|
const handler = (args) => args;
|
|
89
89
|
/** Every OS-level env var name `@neon/env` can emit, used only for reporting. */
|
|
90
90
|
const NEON_VAR_NAMES = Object.values(NEON_ENV_VAR_KEYS).flatMap((group) => Object.values(group));
|
package/dist/commands/logs.js
CHANGED
|
@@ -174,7 +174,7 @@ const builder = (argv) => argv.usage("$0 logs <sub-command> [options]").options(
|
|
|
174
174
|
type: "number",
|
|
175
175
|
coerce: logLimit
|
|
176
176
|
}
|
|
177
|
-
}).conflicts("since", "start-time").example([["$0 logs field-values service_name --since 6h", "Service names seen in the last six hours"]]).strict().check(noPassthrough("logs field-values")), (args) => fieldValues(args)).
|
|
177
|
+
}).conflicts("since", "start-time").example([["$0 logs field-values service_name --since 6h", "Service names seen in the last six hours"]]).strict().check(noPassthrough("logs field-values")), (args) => fieldValues(args)).epilogue(LOGS_EPILOG);
|
|
178
178
|
const handler = (args) => {
|
|
179
179
|
return args;
|
|
180
180
|
};
|
package/dist/commands/profile.js
CHANGED
|
@@ -83,7 +83,7 @@ const builder = (argv) => argv.usage("$0 profile <sub-command> [options]").comma
|
|
|
83
83
|
describe: "Skip the confirmation prompt",
|
|
84
84
|
type: "boolean",
|
|
85
85
|
default: false
|
|
86
|
-
}).strict().check(noPassthrough("profile remove")), async (args) => await remove(args))
|
|
86
|
+
}).strict().check(noPassthrough("profile remove")), async (args) => await remove(args));
|
|
87
87
|
const handler = (_args) => {};
|
|
88
88
|
/**
|
|
89
89
|
* Refuse a global credential flag that a `profile` subcommand cannot honour.
|
|
@@ -142,7 +142,7 @@ const builder = (argv) => argv.usage("$0 snapshots <sub-command> [options]").opt
|
|
|
142
142
|
describe: "Full schedule as JSON, for multi-entry schedules, e.g. '[{\"frequency\":\"daily\",\"hour\":3,\"retention_seconds\":604800}]'. Overrides the single-entry flags.",
|
|
143
143
|
type: "string"
|
|
144
144
|
}
|
|
145
|
-
}).example([["$0 snapshots schedule set --branch main --frequency daily --hour 3 --retention 604800", "A daily 03:00 snapshot kept for 7 days"], ["$0 snapshots schedule set --branch main --schedule '[{\"frequency\":\"weekly\",\"day\":1,\"hour\":2},{\"frequency\":\"daily\",\"hour\":3}]'", "A multi-entry schedule via JSON"]]), (args) => scheduleSet(args)).demandCommand(1, "Specify `get` or `set`."), () => {})
|
|
145
|
+
}).example([["$0 snapshots schedule set --branch main --frequency daily --hour 3 --retention 604800", "A daily 03:00 snapshot kept for 7 days"], ["$0 snapshots schedule set --branch main --schedule '[{\"frequency\":\"weekly\",\"day\":1,\"hour\":2},{\"frequency\":\"daily\",\"hour\":3}]'", "A multi-entry schedule via JSON"]]), (args) => scheduleSet(args)).demandCommand(1, "Specify `get` or `set`."), () => {});
|
|
146
146
|
const handler = (args) => {
|
|
147
147
|
return args;
|
|
148
148
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "neon",
|
|
3
|
-
"version": "4.14.
|
|
3
|
+
"version": "4.14.3",
|
|
4
4
|
"description": "CLI tool for Neon, the cloud backend primitives built around Lakebase Postgres",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"neon",
|
|
@@ -63,9 +63,9 @@
|
|
|
63
63
|
"yaml": "^2.9.0",
|
|
64
64
|
"yargs": "17.7.2",
|
|
65
65
|
"yoctocolors": "^2.1.2",
|
|
66
|
-
"@neon/
|
|
67
|
-
"@neon/config-runtime": "1.2.
|
|
68
|
-
"@neon/
|
|
66
|
+
"@neon/sdk": "3.2.0",
|
|
67
|
+
"@neon/config-runtime": "1.2.2",
|
|
68
|
+
"@neon/config": "1.3.1"
|
|
69
69
|
},
|
|
70
70
|
"optionalDependencies": {
|
|
71
71
|
"@napi-rs/keyring": "1.3.0",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"typescript": "^5.9.0",
|
|
99
99
|
"vitest": "^3.0.9",
|
|
100
100
|
"@neon-internals/cli-core": "0.0.0",
|
|
101
|
-
"@neon-internals/env-core": "0.0.
|
|
101
|
+
"@neon-internals/env-core": "0.0.9",
|
|
102
102
|
"@neon/e2e-harness": "0.0.0",
|
|
103
103
|
"@neon/functions": "0.9.0"
|
|
104
104
|
},
|