@yamada-ui/cli 0.7.2 → 0.8.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.
package/dist/utils/cli.js CHANGED
@@ -12631,7 +12631,7 @@ var import_cli_welcome = __toESM(require("cli-welcome"));
12631
12631
  // package.json
12632
12632
  var package_default = {
12633
12633
  name: "@yamada-ui/cli",
12634
- version: "0.7.2",
12634
+ version: "0.8.0",
12635
12635
  description: "Generate theme tokens for autocomplete",
12636
12636
  keywords: [
12637
12637
  "theme",
@@ -12677,15 +12677,16 @@ var package_default = {
12677
12677
  "cli-check-node": "^1.3.4",
12678
12678
  "cli-handle-unhandled": "^1.1.1",
12679
12679
  "cli-welcome": "^2.2.2",
12680
+ color2k: "^2.0.2",
12680
12681
  commander: "^11.0.0",
12681
12682
  prettier: "^3.0.1"
12682
12683
  },
12683
12684
  devDependencies: {
12684
- ora: "^7.0.1",
12685
- "update-notifier": "^6.0.2",
12686
- "@types/update-notifier": "6.0.8",
12687
12685
  "@types/cli-welcome": "^2.2.0",
12688
- "@types/prettier": "^3.0.0"
12686
+ "@types/prettier": "^3.0.0",
12687
+ "@types/update-notifier": "6.0.8",
12688
+ ora: "^7.0.1",
12689
+ "update-notifier": "^6.0.2"
12689
12690
  }
12690
12691
  };
12691
12692
 
@@ -12657,7 +12657,7 @@ var import_cli_welcome = __toESM(require("cli-welcome"));
12657
12657
  // package.json
12658
12658
  var package_default = {
12659
12659
  name: "@yamada-ui/cli",
12660
- version: "0.7.2",
12660
+ version: "0.8.0",
12661
12661
  description: "Generate theme tokens for autocomplete",
12662
12662
  keywords: [
12663
12663
  "theme",
@@ -12703,15 +12703,16 @@ var package_default = {
12703
12703
  "cli-check-node": "^1.3.4",
12704
12704
  "cli-handle-unhandled": "^1.1.1",
12705
12705
  "cli-welcome": "^2.2.2",
12706
+ color2k: "^2.0.2",
12706
12707
  commander: "^11.0.0",
12707
12708
  prettier: "^3.0.1"
12708
12709
  },
12709
12710
  devDependencies: {
12710
- ora: "^7.0.1",
12711
- "update-notifier": "^6.0.2",
12712
- "@types/update-notifier": "6.0.8",
12713
12711
  "@types/cli-welcome": "^2.2.0",
12714
- "@types/prettier": "^3.0.0"
12712
+ "@types/prettier": "^3.0.0",
12713
+ "@types/update-notifier": "6.0.8",
12714
+ ora: "^7.0.1",
12715
+ "update-notifier": "^6.0.2"
12715
12716
  }
12716
12717
  };
12717
12718
 
@@ -20326,12 +20327,13 @@ ${package_default.description}`,
20326
20327
  // src/utils/prettier.ts
20327
20328
  init_cjs_shims();
20328
20329
  var import_prettier = require("prettier");
20329
- var prettier = async (content) => {
20330
+ var prettier = async (content, options) => {
20330
20331
  const prettierConfig = await (0, import_prettier.resolveConfig)(process.cwd());
20331
20332
  try {
20332
20333
  return (0, import_prettier.format)(content, {
20333
20334
  ...prettierConfig,
20334
- parser: "typescript"
20335
+ parser: "typescript",
20336
+ ...options
20335
20337
  });
20336
20338
  } catch {
20337
20339
  return content;
@@ -24,12 +24,13 @@ __export(prettier_exports, {
24
24
  });
25
25
  module.exports = __toCommonJS(prettier_exports);
26
26
  var import_prettier = require("prettier");
27
- var prettier = async (content) => {
27
+ var prettier = async (content, options) => {
28
28
  const prettierConfig = await (0, import_prettier.resolveConfig)(process.cwd());
29
29
  try {
30
30
  return (0, import_prettier.format)(content, {
31
31
  ...prettierConfig,
32
- parser: "typescript"
32
+ parser: "typescript",
33
+ ...options
33
34
  });
34
35
  } catch {
35
36
  return content;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/cli",
3
- "version": "0.7.2",
3
+ "version": "0.8.0",
4
4
  "description": "Generate theme tokens for autocomplete",
5
5
  "keywords": [
6
6
  "theme",
@@ -40,15 +40,16 @@
40
40
  "cli-check-node": "^1.3.4",
41
41
  "cli-handle-unhandled": "^1.1.1",
42
42
  "cli-welcome": "^2.2.2",
43
+ "color2k": "^2.0.2",
43
44
  "commander": "^11.0.0",
44
45
  "prettier": "^3.0.1"
45
46
  },
46
47
  "devDependencies": {
47
- "ora": "^7.0.1",
48
- "update-notifier": "^6.0.2",
49
- "@types/update-notifier": "6.0.8",
50
48
  "@types/cli-welcome": "^2.2.0",
51
- "@types/prettier": "^3.0.0"
49
+ "@types/prettier": "^3.0.0",
50
+ "@types/update-notifier": "6.0.8",
51
+ "ora": "^7.0.1",
52
+ "update-notifier": "^6.0.2"
52
53
  },
53
54
  "scripts": {
54
55
  "clean": "rimraf dist .turbo",