@nestica/cli 0.1.0 → 0.2.0

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.
Files changed (2) hide show
  1. package/dist/cli.js +36 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -3377,6 +3377,41 @@ function useColor() {
3377
3377
  // ../node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
3378
3378
  var program = new Command();
3379
3379
 
3380
+ // package.json
3381
+ var package_default = {
3382
+ name: "@nestica/cli",
3383
+ version: "0.2.0",
3384
+ type: "module",
3385
+ description: "Command-line client for the Nestica REST API",
3386
+ license: "MIT",
3387
+ engines: {
3388
+ node: ">=22.12"
3389
+ },
3390
+ bin: {
3391
+ nestica: "dist/cli.js"
3392
+ },
3393
+ files: [
3394
+ "dist"
3395
+ ],
3396
+ publishConfig: {
3397
+ access: "public"
3398
+ },
3399
+ scripts: {
3400
+ build: "tsc -p tsconfig.build.json && node scripts/bundle.mjs",
3401
+ test: "vitest run",
3402
+ start: "node dist/cli.js",
3403
+ prepublishOnly: "pnpm build"
3404
+ },
3405
+ devDependencies: {
3406
+ "@nestica/models": "workspace:*",
3407
+ "@types/node": "^22.20.1",
3408
+ commander: "^15.0.0",
3409
+ esbuild: "^0.25.0",
3410
+ typescript: "^5.9.3",
3411
+ vitest: "^4.1.10"
3412
+ }
3413
+ };
3414
+
3380
3415
  // src/body.ts
3381
3416
  import { readFileSync } from "node:fs";
3382
3417
  var BodyError = class extends Error {
@@ -19017,7 +19052,7 @@ function defaultContext(opts) {
19017
19052
  }
19018
19053
  function buildProgram(context = defaultContext) {
19019
19054
  const program2 = new Command();
19020
- program2.name("nestica").description("Command-line client for the Nestica REST API").version("0.1.0").option("-H, --base-url <url>", "API base URL (default: the deployed API)").option("--api-key <key>", "Firebase web API key (env: FIREBASE_API_KEY)").option(
19055
+ program2.name("nestica").description("Command-line client for the Nestica REST API").version(package_default.version).option("-H, --base-url <url>", "API base URL (default: the deployed API)").option("--api-key <key>", "Firebase web API key (env: FIREBASE_API_KEY)").option(
19021
19056
  "--profile <uuid>",
19022
19057
  "profile for scoped resources (beats the stored default)"
19023
19058
  ).option("-F, --format <format>", "output format: pretty, json or table").option("--no-color", "disable colored output");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestica/cli",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "description": "Command-line client for the Nestica REST API",
6
6
  "license": "MIT",