@nimbuslab/cli 0.10.0 → 0.10.1

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.
package/dist/index.js CHANGED
@@ -146,6 +146,51 @@ var require_src = __commonJS((exports, module) => {
146
146
  module.exports = { cursor, scroll, erase, beep };
147
147
  });
148
148
 
149
+ // package.json
150
+ var require_package = __commonJS((exports, module) => {
151
+ module.exports = {
152
+ name: "@nimbuslab/cli",
153
+ version: "0.10.1",
154
+ description: "CLI para criar projetos nimbuslab",
155
+ type: "module",
156
+ bin: {
157
+ nimbus: "./dist/index.js"
158
+ },
159
+ scripts: {
160
+ dev: "bun run src/index.ts",
161
+ build: "bun build src/index.ts --outdir dist --target bun",
162
+ typecheck: "tsc --noEmit"
163
+ },
164
+ keywords: ["nimbuslab", "cli", "nextjs", "fast", "landing-page", "saas"],
165
+ author: {
166
+ name: "nimbuslab",
167
+ email: "contato@nimbuslab.com.br",
168
+ url: "https://nimbuslab.com.br"
169
+ },
170
+ license: "UNLICENSED",
171
+ private: false,
172
+ repository: {
173
+ type: "git",
174
+ url: "git+https://github.com/nimbuslab/cli.git"
175
+ },
176
+ homepage: "https://nimbuslab.com.br",
177
+ bugs: {
178
+ url: "https://github.com/nimbuslab/cli/issues"
179
+ },
180
+ engines: {
181
+ node: ">=18"
182
+ },
183
+ devDependencies: {
184
+ "@types/bun": "latest",
185
+ typescript: "^5"
186
+ },
187
+ dependencies: {
188
+ "@clack/prompts": "^0.11.0",
189
+ picocolors: "^1.1.1"
190
+ }
191
+ };
192
+ });
193
+
149
194
  // src/index.ts
150
195
  var import_picocolors7 = __toESM(require_picocolors(), 1);
151
196
 
@@ -2461,7 +2506,8 @@ function showLolaHelp() {
2461
2506
 
2462
2507
  // src/index.ts
2463
2508
  var PACKAGE_NAME = "@nimbuslab/cli";
2464
- var CURRENT_VERSION = "0.9.0";
2509
+ var pkg = await Promise.resolve().then(() => __toESM(require_package(), 1));
2510
+ var CURRENT_VERSION = pkg.version;
2465
2511
  var LOGO = `
2466
2512
  \u2588\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2557\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557
2467
2513
  \u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimbuslab/cli",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "CLI para criar projetos nimbuslab",
5
5
  "type": "module",
6
6
  "bin": {
package/src/index.ts CHANGED
@@ -8,7 +8,10 @@ import { upgrade } from "./commands/upgrade"
8
8
  import { lola } from "./commands/lola"
9
9
 
10
10
  const PACKAGE_NAME = "@nimbuslab/cli"
11
- const CURRENT_VERSION = "0.9.0"
11
+
12
+ // Lê versão do package.json em runtime
13
+ const pkg = await import("../package.json")
14
+ const CURRENT_VERSION = pkg.version
12
15
 
13
16
  const LOGO = `
14
17
  ███╗ ██╗██╗███╗ ███╗██████╗ ██╗ ██╗███████╗