@yamada-ui/cli 2.0.5 → 2.0.6-dev-20251225223828

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 +22 -19
  2. package/package.json +7 -5
package/dist/index.js CHANGED
@@ -801,7 +801,7 @@ const xdgConfigDirectories = (env$2.XDG_CONFIG_DIRS || "/etc/xdg").split(":");
801
801
  if (xdgConfig) xdgConfigDirectories.unshift(xdgConfig);
802
802
 
803
803
  //#endregion
804
- //#region ../../node_modules/.pnpm/stubborn-utils@1.0.1/node_modules/stubborn-utils/dist/attemptify_async.js
804
+ //#region ../../node_modules/.pnpm/stubborn-utils@1.0.2/node_modules/stubborn-utils/dist/attemptify_async.js
805
805
  const attemptifyAsync = (fn, options) => {
806
806
  const { onError } = options;
807
807
  return function attemptified(...args) {
@@ -811,7 +811,7 @@ const attemptifyAsync = (fn, options) => {
811
811
  var attemptify_async_default = attemptifyAsync;
812
812
 
813
813
  //#endregion
814
- //#region ../../node_modules/.pnpm/stubborn-utils@1.0.1/node_modules/stubborn-utils/dist/attemptify_sync.js
814
+ //#region ../../node_modules/.pnpm/stubborn-utils@1.0.2/node_modules/stubborn-utils/dist/attemptify_sync.js
815
815
  const attemptifySync = (fn, options) => {
816
816
  const { onError } = options;
817
817
  return function attemptified(...args) {
@@ -825,11 +825,11 @@ const attemptifySync = (fn, options) => {
825
825
  var attemptify_sync_default = attemptifySync;
826
826
 
827
827
  //#endregion
828
- //#region ../../node_modules/.pnpm/stubborn-utils@1.0.1/node_modules/stubborn-utils/dist/constants.js
828
+ //#region ../../node_modules/.pnpm/stubborn-utils@1.0.2/node_modules/stubborn-utils/dist/constants.js
829
829
  const RETRY_INTERVAL = 250;
830
830
 
831
831
  //#endregion
832
- //#region ../../node_modules/.pnpm/stubborn-utils@1.0.1/node_modules/stubborn-utils/dist/retryify_async.js
832
+ //#region ../../node_modules/.pnpm/stubborn-utils@1.0.2/node_modules/stubborn-utils/dist/retryify_async.js
833
833
  const retryifyAsync = (fn, options) => {
834
834
  const { isRetriable } = options;
835
835
  return function retryified(options$1) {
@@ -850,7 +850,7 @@ const retryifyAsync = (fn, options) => {
850
850
  var retryify_async_default = retryifyAsync;
851
851
 
852
852
  //#endregion
853
- //#region ../../node_modules/.pnpm/stubborn-utils@1.0.1/node_modules/stubborn-utils/dist/retryify_sync.js
853
+ //#region ../../node_modules/.pnpm/stubborn-utils@1.0.2/node_modules/stubborn-utils/dist/retryify_sync.js
854
854
  const retryifySync = (fn, options) => {
855
855
  const { isRetriable } = options;
856
856
  return function retryified(options$1) {
@@ -972,25 +972,23 @@ const isUndefined$1 = (value) => {
972
972
  };
973
973
 
974
974
  //#endregion
975
- //#region ../../node_modules/.pnpm/when-exit@2.1.4/node_modules/when-exit/dist/node/constants.js
975
+ //#region ../../node_modules/.pnpm/when-exit@2.1.5/node_modules/when-exit/dist/node/constants.js
976
976
  const IS_LINUX = process$1.platform === "linux";
977
977
  const IS_WINDOWS = process$1.platform === "win32";
978
978
 
979
979
  //#endregion
980
- //#region ../../node_modules/.pnpm/when-exit@2.1.4/node_modules/when-exit/dist/node/signals.js
980
+ //#region ../../node_modules/.pnpm/when-exit@2.1.5/node_modules/when-exit/dist/node/signals.js
981
981
  const Signals = [
982
- "SIGABRT",
983
- "SIGALRM",
984
982
  "SIGHUP",
985
983
  "SIGINT",
986
984
  "SIGTERM"
987
985
  ];
988
- if (!IS_WINDOWS) Signals.push("SIGVTALRM", "SIGXCPU", "SIGXFSZ", "SIGUSR2", "SIGTRAP", "SIGSYS", "SIGQUIT", "SIGIOT");
989
- if (IS_LINUX) Signals.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT", "SIGUNUSED");
986
+ if (!IS_WINDOWS) Signals.push("SIGALRM", "SIGABRT", "SIGVTALRM", "SIGXCPU", "SIGXFSZ", "SIGUSR2", "SIGTRAP", "SIGSYS", "SIGQUIT", "SIGIOT");
987
+ if (IS_LINUX) Signals.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
990
988
  var signals_default = Signals;
991
989
 
992
990
  //#endregion
993
- //#region ../../node_modules/.pnpm/when-exit@2.1.4/node_modules/when-exit/dist/node/interceptor.js
991
+ //#region ../../node_modules/.pnpm/when-exit@2.1.5/node_modules/when-exit/dist/node/interceptor.js
994
992
  var Interceptor = class {
995
993
  constructor() {
996
994
  this.callbacks = /* @__PURE__ */ new Set();
@@ -1020,7 +1018,7 @@ var Interceptor = class {
1020
1018
  var interceptor_default = new Interceptor();
1021
1019
 
1022
1020
  //#endregion
1023
- //#region ../../node_modules/.pnpm/when-exit@2.1.4/node_modules/when-exit/dist/node/index.js
1021
+ //#region ../../node_modules/.pnpm/when-exit@2.1.5/node_modules/when-exit/dist/node/index.js
1024
1022
  const whenExit = interceptor_default.register;
1025
1023
  var node_default = whenExit;
1026
1024
 
@@ -3711,6 +3709,7 @@ var require_ca_file = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@pn
3711
3709
  return mod && mod.__esModule ? mod : { "default": mod };
3712
3710
  };
3713
3711
  Object.defineProperty(exports, "__esModule", { value: true });
3712
+ exports.readCAFileSync = void 0;
3714
3713
  const graceful_fs_1 = __importDefault(require_graceful_fs());
3715
3714
  function readCAFileSync$1(filePath) {
3716
3715
  try {
@@ -3750,9 +3749,9 @@ var require_dist$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@pnp
3750
3749
  }) });
3751
3750
 
3752
3751
  //#endregion
3753
- //#region ../../node_modules/.pnpm/tsdown@0.15.10_typescript@5.9.3/node_modules/tsdown/esm-shims.js
3752
+ //#region ../../node_modules/.pnpm/tsdown@0.15.12_typescript@5.9.3/node_modules/tsdown/esm-shims.js
3754
3753
  var getFilename, getDirname, __dirname$2;
3755
- var init_esm_shims = __esm({ "../../node_modules/.pnpm/tsdown@0.15.10_typescript@5.9.3/node_modules/tsdown/esm-shims.js": (() => {
3754
+ var init_esm_shims = __esm({ "../../node_modules/.pnpm/tsdown@0.15.12_typescript@5.9.3/node_modules/tsdown/esm-shims.js": (() => {
3756
3755
  getFilename = () => fileURLToPath(import.meta.url);
3757
3756
  getDirname = () => path.dirname(getFilename());
3758
3757
  __dirname$2 = /* @__PURE__ */ getDirname();
@@ -4078,6 +4077,7 @@ var require_envKeyToSetting = /* @__PURE__ */ __commonJS({ "../../node_modules/.
4078
4077
  //#region ../../node_modules/.pnpm/@pnpm+config.env-replace@1.1.0/node_modules/@pnpm/config.env-replace/dist/env-replace.js
4079
4078
  var require_env_replace = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@pnpm+config.env-replace@1.1.0/node_modules/@pnpm/config.env-replace/dist/env-replace.js": ((exports) => {
4080
4079
  Object.defineProperty(exports, "__esModule", { value: true });
4080
+ exports.envReplace = void 0;
4081
4081
  const ENV_EXPR = /(?<!\\)(\\*)\$\{([^${}]+)\}/g;
4082
4082
  function envReplace$1(settingValue, env$3) {
4083
4083
  return settingValue.replace(ENV_EXPR, replaceEnvMatch.bind(null, env$3));
@@ -5333,7 +5333,7 @@ var package_default = {
5333
5333
  ],
5334
5334
  author: "Hirotomo Yamada <hirotomo.yamada@avap.co.jp>",
5335
5335
  license: "MIT",
5336
- main: "dist/index.js",
5336
+ main: "src/index.ts",
5337
5337
  files: ["dist"],
5338
5338
  sideEffects: false,
5339
5339
  publishConfig: { "access": "public" },
@@ -5344,7 +5344,6 @@ var package_default = {
5344
5344
  "directory": "packages/cli"
5345
5345
  },
5346
5346
  bugs: { "url": "https://github.com/yamada-ui/yamada-ui/issues" },
5347
- bin: { "yamada-cli": "dist/index.js" },
5348
5347
  scripts: {
5349
5348
  "clean": "rimraf node_modules dist trace coverage .turbo .eslintcache",
5350
5349
  "dev": "tsx src/index.ts",
@@ -5353,7 +5352,9 @@ var package_default = {
5353
5352
  "typetrace": "tsc --noEmit --generateTrace ./trace --incremental false",
5354
5353
  "typeanalyze": "npx analyze-trace ./trace --expandTypes=false",
5355
5354
  "lint": "eslint . --max-warnings=0 --cache",
5356
- "format": "prettier . --ignore-path ../../.prettierignore --check --cache"
5355
+ "format": "prettier . --ignore-path ../../.prettierignore --check --cache",
5356
+ "prepack": "clean-package",
5357
+ "postpack": "clean-package restore"
5357
5358
  },
5358
5359
  dependencies: {
5359
5360
  "@yamada-ui/utils": "workspace:*",
@@ -5385,10 +5386,12 @@ var package_default = {
5385
5386
  "@types/update-notifier": "6.0.8",
5386
5387
  "@types/validate-npm-package-name": "^4.0.2",
5387
5388
  "@types/yamljs": "^0.2.34",
5389
+ "clean-package": "2.2.0",
5388
5390
  "tsx": "^4.20.6",
5389
5391
  "typescript": "^5.9.3",
5390
5392
  "update-notifier": "^7.3.1"
5391
- }
5393
+ },
5394
+ "clean-package": "./clean-package.config.json"
5392
5395
  };
5393
5396
 
5394
5397
  //#endregion
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yamada-ui/cli",
3
3
  "type": "module",
4
- "version": "2.0.5",
4
+ "version": "2.0.6-dev-20251225223828",
5
5
  "description": "The official CLI for Yamada UI projects",
6
6
  "keywords": [
7
7
  "theme",
@@ -32,9 +32,6 @@
32
32
  "bugs": {
33
33
  "url": "https://github.com/yamada-ui/yamada-ui/issues"
34
34
  },
35
- "bin": {
36
- "yamada-cli": "dist/index.js"
37
- },
38
35
  "dependencies": {
39
36
  "boxen": "^8.0.1",
40
37
  "cli-check-node": "^1.3.4",
@@ -57,7 +54,7 @@
57
54
  "sucrase": "^3.35.0",
58
55
  "validate-npm-package-name": "^6.0.2",
59
56
  "yamljs": "^0.3.0",
60
- "@yamada-ui/utils": "2.0.4"
57
+ "@yamada-ui/utils": "2.0.5-dev-20251225223828"
61
58
  },
62
59
  "devDependencies": {
63
60
  "@types/prompts": "^2.4.9",
@@ -65,10 +62,15 @@
65
62
  "@types/update-notifier": "6.0.8",
66
63
  "@types/validate-npm-package-name": "^4.0.2",
67
64
  "@types/yamljs": "^0.2.34",
65
+ "clean-package": "2.2.0",
68
66
  "tsx": "^4.20.6",
69
67
  "typescript": "^5.9.3",
70
68
  "update-notifier": "^7.3.1"
71
69
  },
70
+ "clean-package": "./clean-package.config.json",
71
+ "bin": {
72
+ "yamada-cli": "dist/index.js"
73
+ },
72
74
  "scripts": {
73
75
  "clean": "rimraf node_modules dist trace coverage .turbo .eslintcache",
74
76
  "dev": "tsx src/index.ts",