@yamada-ui/cli 1.1.1-next-20240820160301 → 1.1.2-dev-20240917033401

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/README.md CHANGED
@@ -3,19 +3,13 @@
3
3
  ## Installation
4
4
 
5
5
  ```sh
6
- $ pnpm add @yamada-ui/cli
7
- ```
8
-
9
- or
10
-
11
- ```sh
12
- $ yarn add @yamada-ui/cli
13
- ```
14
-
15
- or
16
-
17
- ```sh
18
- $ npm install @yamada-ui/cli
6
+ pnpm add @yamada-ui/cli
7
+ # or
8
+ yarn add @yamada-ui/cli
9
+ # or
10
+ npm install @yamada-ui/cli
11
+ # or
12
+ bun add @yamada-ui/cli
19
13
  ```
20
14
 
21
15
  ## Contribution
@@ -30,9 +30,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
30
30
  ));
31
31
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
32
32
 
33
- // ../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.6.7_@swc+helpers@0.5.5__jiti@1.21.0_postcss@8.4.41_tsx@4.17.0_typescript@5.5.4_yaml@2.4.2/node_modules/tsup/assets/cjs_shims.js
33
+ // ../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.7.26_@swc+helpers@0.5.5__jiti@1.21.6_postcss@8.4.47_tsx@4.19.1_typescript@5.6.2_yaml@2.5.1/node_modules/tsup/assets/cjs_shims.js
34
34
  var init_cjs_shims = __esm({
35
- "../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.6.7_@swc+helpers@0.5.5__jiti@1.21.0_postcss@8.4.41_tsx@4.17.0_typescript@5.5.4_yaml@2.4.2/node_modules/tsup/assets/cjs_shims.js"() {
35
+ "../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.7.26_@swc+helpers@0.5.5__jiti@1.21.6_postcss@8.4.47_tsx@4.19.1_typescript@5.6.2_yaml@2.5.1/node_modules/tsup/assets/cjs_shims.js"() {
36
36
  "use strict";
37
37
  }
38
38
  });
@@ -826,8 +826,8 @@ var generateThemeTypings = async ({
826
826
  p.note(outPath, "Output path");
827
827
  const end = process.hrtime.bigint();
828
828
  const duration = (Number(end - start) / 1e9).toFixed(2);
829
- p.outro(source_default.green(`Done in ${duration}s
830
- `));
829
+ p.outro(`${source_default.green(`Done`)} in ${source_default.dim(`${duration}s`)}
830
+ `);
831
831
  } catch (e) {
832
832
  s.stop(`An error occurred`, 500);
833
833
  p.cancel(source_default.red(e instanceof Error ? e.message : "Message is missing"));
@@ -1031,7 +1031,7 @@ var replaceIndex = (content) => {
1031
1031
  var generateTheme = async (outPath, fileMap, isReactReplace, isForceReplace) => {
1032
1032
  if (!await isWriteable(import_path4.default.dirname(outPath))) {
1033
1033
  throw new Error(
1034
- "The provided path is not writable, please check folder permissions and try again.\nIt is likely you do not have write permissions for this folder."
1034
+ "The provided path is not writable, please check folder permissions and try again. It is likely you do not have write permissions for this folder."
1035
1035
  );
1036
1036
  }
1037
1037
  await (0, import_promises2.mkdir)(outPath, { recursive: true });
@@ -1077,8 +1077,8 @@ var actionTheme = async (_outPath, { branch = DEFAULT_BRANCH_NAME, cwd, replace
1077
1077
  s.stop(`Wrote the theme`);
1078
1078
  const end = process.hrtime.bigint();
1079
1079
  const duration = (Number(end - start) / 1e9).toFixed(2);
1080
- p2.outro(source_default.green(`Done in ${duration}s
1081
- `));
1080
+ p2.outro(`${source_default.green(`Done`)} in ${source_default.dim(`${duration}s`)}
1081
+ `);
1082
1082
  } catch (e) {
1083
1083
  s.stop(`An error occurred`, 500);
1084
1084
  p2.cancel(source_default.red(e instanceof Error ? e.message : "Message is missing"));
@@ -30,9 +30,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
30
30
  ));
31
31
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
32
32
 
33
- // ../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.6.7_@swc+helpers@0.5.5__jiti@1.21.0_postcss@8.4.41_tsx@4.17.0_typescript@5.5.4_yaml@2.4.2/node_modules/tsup/assets/cjs_shims.js
33
+ // ../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.7.26_@swc+helpers@0.5.5__jiti@1.21.6_postcss@8.4.47_tsx@4.19.1_typescript@5.6.2_yaml@2.5.1/node_modules/tsup/assets/cjs_shims.js
34
34
  var init_cjs_shims = __esm({
35
- "../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.6.7_@swc+helpers@0.5.5__jiti@1.21.0_postcss@8.4.41_tsx@4.17.0_typescript@5.5.4_yaml@2.4.2/node_modules/tsup/assets/cjs_shims.js"() {
35
+ "../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.7.26_@swc+helpers@0.5.5__jiti@1.21.6_postcss@8.4.47_tsx@4.19.1_typescript@5.6.2_yaml@2.5.1/node_modules/tsup/assets/cjs_shims.js"() {
36
36
  "use strict";
37
37
  }
38
38
  });
@@ -733,7 +733,7 @@ var replaceIndex = (content) => {
733
733
  var generateTheme = async (outPath, fileMap, isReactReplace, isForceReplace) => {
734
734
  if (!await isWriteable(import_path2.default.dirname(outPath))) {
735
735
  throw new Error(
736
- "The provided path is not writable, please check folder permissions and try again.\nIt is likely you do not have write permissions for this folder."
736
+ "The provided path is not writable, please check folder permissions and try again. It is likely you do not have write permissions for this folder."
737
737
  );
738
738
  }
739
739
  await (0, import_promises.mkdir)(outPath, { recursive: true });
@@ -779,8 +779,8 @@ var actionTheme = async (_outPath, { branch = DEFAULT_BRANCH_NAME, cwd, replace
779
779
  s.stop(`Wrote the theme`);
780
780
  const end = process.hrtime.bigint();
781
781
  const duration = (Number(end - start) / 1e9).toFixed(2);
782
- p.outro(source_default.green(`Done in ${duration}s
783
- `));
782
+ p.outro(`${source_default.green(`Done`)} in ${source_default.dim(`${duration}s`)}
783
+ `);
784
784
  } catch (e) {
785
785
  s.stop(`An error occurred`, 500);
786
786
  p.cancel(source_default.red(e instanceof Error ? e.message : "Message is missing"));
@@ -30,9 +30,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
30
30
  ));
31
31
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
32
32
 
33
- // ../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.6.7_@swc+helpers@0.5.5__jiti@1.21.0_postcss@8.4.41_tsx@4.17.0_typescript@5.5.4_yaml@2.4.2/node_modules/tsup/assets/cjs_shims.js
33
+ // ../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.7.26_@swc+helpers@0.5.5__jiti@1.21.6_postcss@8.4.47_tsx@4.19.1_typescript@5.6.2_yaml@2.5.1/node_modules/tsup/assets/cjs_shims.js
34
34
  var init_cjs_shims = __esm({
35
- "../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.6.7_@swc+helpers@0.5.5__jiti@1.21.0_postcss@8.4.41_tsx@4.17.0_typescript@5.5.4_yaml@2.4.2/node_modules/tsup/assets/cjs_shims.js"() {
35
+ "../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.7.26_@swc+helpers@0.5.5__jiti@1.21.6_postcss@8.4.47_tsx@4.19.1_typescript@5.6.2_yaml@2.5.1/node_modules/tsup/assets/cjs_shims.js"() {
36
36
  "use strict";
37
37
  }
38
38
  });
@@ -30,9 +30,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
30
30
  ));
31
31
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
32
32
 
33
- // ../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.6.7_@swc+helpers@0.5.5__jiti@1.21.0_postcss@8.4.41_tsx@4.17.0_typescript@5.5.4_yaml@2.4.2/node_modules/tsup/assets/cjs_shims.js
33
+ // ../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.7.26_@swc+helpers@0.5.5__jiti@1.21.6_postcss@8.4.47_tsx@4.19.1_typescript@5.6.2_yaml@2.5.1/node_modules/tsup/assets/cjs_shims.js
34
34
  var init_cjs_shims = __esm({
35
- "../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.6.7_@swc+helpers@0.5.5__jiti@1.21.0_postcss@8.4.41_tsx@4.17.0_typescript@5.5.4_yaml@2.4.2/node_modules/tsup/assets/cjs_shims.js"() {
35
+ "../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.7.26_@swc+helpers@0.5.5__jiti@1.21.6_postcss@8.4.47_tsx@4.19.1_typescript@5.6.2_yaml@2.5.1/node_modules/tsup/assets/cjs_shims.js"() {
36
36
  "use strict";
37
37
  }
38
38
  });
@@ -822,8 +822,8 @@ var generateThemeTypings = async ({
822
822
  p.note(outPath, "Output path");
823
823
  const end = process.hrtime.bigint();
824
824
  const duration = (Number(end - start) / 1e9).toFixed(2);
825
- p.outro(source_default.green(`Done in ${duration}s
826
- `));
825
+ p.outro(`${source_default.green(`Done`)} in ${source_default.dim(`${duration}s`)}
826
+ `);
827
827
  } catch (e) {
828
828
  s.stop(`An error occurred`, 500);
829
829
  p.cancel(source_default.red(e instanceof Error ? e.message : "Message is missing"));