@nuniapp/cli 0.1.0 → 0.1.2

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/index.mjs +4 -1
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -2,6 +2,9 @@
2
2
  import { join, resolve } from "node:path";
3
3
  import { parseArgs } from "node:util";
4
4
  import { existsSync, readFileSync, readdirSync } from "node:fs";
5
+ //#region package.json
6
+ var version = "0.1.2";
7
+ //#endregion
5
8
  //#region ../shared/src/id.ts
6
9
  const ALPHABET = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
7
10
  const ID_LENGTH = 22;
@@ -282,7 +285,7 @@ init({ project: "${projectId}" })`;
282
285
  }
283
286
  //#endregion
284
287
  //#region src/cli.ts
285
- const VERSION = "0.1.0";
288
+ const VERSION = version;
286
289
  const HELP = `nuni ${VERSION}: pinned comments on your live site
287
290
 
288
291
  Usage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuniapp/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Set up Nuni in any project: generates a project ID and prints the install snippet.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -11,7 +11,7 @@
11
11
  "directory": "packages/cli"
12
12
  },
13
13
  "bin": {
14
- "nuni": "./dist/index.mjs"
14
+ "nuni": "dist/index.mjs"
15
15
  },
16
16
  "files": [
17
17
  "dist",