create-lunar-kit 0.1.19 → 0.1.20

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.js +5 -5
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -335,7 +335,7 @@ function closeInitProject(packageManager, name) {
335
335
  // package.json
336
336
  var package_default = {
337
337
  name: "create-lunar-kit",
338
- version: "0.1.19",
338
+ version: "0.1.20",
339
339
  description: "Create a new React Native app with Lunar Kit and NativeWind pre-configured",
340
340
  author: "Your Name",
341
341
  license: "MIT",
@@ -360,7 +360,7 @@ var package_default = {
360
360
  ],
361
361
  dependencies: {
362
362
  "@clack/prompts": "^1.1.0",
363
- "@lunar-kit/core": "0.1.19",
363
+ "@lunar-kit/core": "0.1.20",
364
364
  chalk: "^5.4.1",
365
365
  commander: "^12.1.0",
366
366
  execa: "^9.6.1",
@@ -397,10 +397,10 @@ var program = new Command();
397
397
  program.name("create-lunar-kit").description("Create a new React Native app with Lunar Kit").argument("[project-name]", "Name of your project").action(async (projectName) => {
398
398
  renderLogo();
399
399
  const latestVersion = await getLatestVersion();
400
- intro(chalk3.bold.cyan(`\u{1F319} Create Lunar Kit App (v${package_default.version})`));
400
+ intro(chalk3.bold.cyan(`\u{1F319} Create Lunar Kit App (v${latestVersion})`));
401
401
  if (latestVersion !== package_default.version && process.env.NODE_ENV !== "development") {
402
- console.log(chalk3.dim(`New version available: ${latestVersion} (you have ${package_default.version})`));
403
- console.log(chalk3.dim("Please update to the latest version for the best experience.\n"));
402
+ console.log(chalk3.yellow(` \u{1F195} A manual update to your local CLI code is recommended (you have ${package_default.version}).
403
+ `));
404
404
  }
405
405
  const name = projectName || await text({
406
406
  message: "What is your project named?",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-lunar-kit",
3
- "version": "0.1.19",
3
+ "version": "0.1.20",
4
4
  "description": "Create a new React Native app with Lunar Kit and NativeWind pre-configured",
5
5
  "author": "Your Name",
6
6
  "license": "MIT",
@@ -25,7 +25,7 @@
25
25
  ],
26
26
  "dependencies": {
27
27
  "@clack/prompts": "^1.1.0",
28
- "@lunar-kit/core": "0.1.19",
28
+ "@lunar-kit/core": "0.1.20",
29
29
  "chalk": "^5.4.1",
30
30
  "commander": "^12.1.0",
31
31
  "execa": "^9.6.1",