@yamada-ui/cli 2.1.1-dev-20260310110343 → 2.1.1-dev-20260312041045

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.mjs +4 -1
  2. package/package.json +4 -1
package/dist/index.mjs CHANGED
@@ -5529,6 +5529,9 @@ var package_default = {
5529
5529
  "clean": "rimraf node_modules dist trace coverage .turbo .eslintcache",
5530
5530
  "dev": "tsx src/index.ts",
5531
5531
  "build": "tsdown",
5532
+ "test": "vitest",
5533
+ "test:dev": "vitest --watch --ui",
5534
+ "test:coverage": "vitest run --coverage",
5532
5535
  "typecheck": " tsc --noEmit",
5533
5536
  "typetrace": "tsc --noEmit --generateTrace ./trace --incremental false",
5534
5537
  "typeanalyze": "npx analyze-trace ./trace --expandTypes=false",
@@ -6942,7 +6945,7 @@ const diff = new Command("diff").description("check for updates against the regi
6942
6945
 
6943
6946
  //#endregion
6944
6947
  //#region src/commands/init/index.ts
6945
- const init = new Command("init").description("initialize your project and install dependencies.").option("--cwd <path>", "current working directory.", cwd).option("-c, --config <path>", "path to the config file.", CONFIG_FILE_NAME).option("-o, --overwrite", "overwrite existing files.", false).option("-t, --tag <name>", "tag for the registries (e.g. dev, next).").option("-j, --jsx", "use jsx instead of tsx.", false).option("-y, --yes", "skip all confirmation prompts.", false).option("-m, --monorepo", "enable monorepo mode.").option("--no-monorepo", "disable monorepo mode.").option("-p, --package-name <name>", "package name.").option("-s, --src", "use src/ directory.").option("-i, --install", "install dependencies when choice is monorepo.").option("--no-install", "do not install dependencies when choice is monorepo.").option("-f, --format", "use Prettier.").option("--no-format", "do not use Prettier.").option("-l, --lint", "use ESLint.").option("--no-lint", "do not use ESLint.").option("--outdir <path>", "output directory path.").action(async function({ src, config: configPath, cwd: cwd$1, format: format$2, install, jsx, lint, monorepo, outdir = "", overwrite, packageName = "", tag, yes }) {
6948
+ const init = new Command("init").description("initialize your project and install dependencies.").option("--cwd <path>", "current working directory.", cwd).option("-c, --config <path>", "path to the config file.", CONFIG_FILE_NAME).option("-o, --overwrite", "overwrite existing files.", false).option("-t, --tag <name>", "tag for the registries (e.g. dev, next).").option("-j, --jsx", "use jsx instead of tsx.", false).option("-y, --yes", "skip all confirmation prompts.", false).option("-m, --monorepo", "enable monorepo mode.").option("--no-monorepo", "disable monorepo mode.").option("-p, --package-name <name>", "package name.").option("-s, --src", "use `src/` directory when choice is monorepo.").option("-i, --install", "install dependencies when choice is monorepo.").option("--no-install", "do not install dependencies when choice is monorepo.").option("-f, --format", "use Prettier.").option("--no-format", "do not use Prettier.").option("-l, --lint", "use ESLint.").option("--no-lint", "do not use ESLint.").option("--outdir <path>", "output directory path.").action(async function({ src, config: configPath, cwd: cwd$1, format: format$2, install, jsx, lint, monorepo, outdir = "", overwrite, packageName = "", tag, yes }) {
6946
6949
  const spinner = ora();
6947
6950
  try {
6948
6951
  const { end } = timer();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yamada-ui/cli",
3
3
  "type": "module",
4
- "version": "2.1.1-dev-20260310110343",
4
+ "version": "2.1.1-dev-20260312041045",
5
5
  "description": "The official CLI for Yamada UI projects",
6
6
  "keywords": [
7
7
  "theme",
@@ -74,6 +74,9 @@
74
74
  "clean": "rimraf node_modules dist trace coverage .turbo .eslintcache",
75
75
  "dev": "tsx src/index.ts",
76
76
  "build": "tsdown",
77
+ "test": "vitest",
78
+ "test:dev": "vitest --watch --ui",
79
+ "test:coverage": "vitest run --coverage",
77
80
  "typecheck": " tsc --noEmit",
78
81
  "typetrace": "tsc --noEmit --generateTrace ./trace --incremental false",
79
82
  "typeanalyze": "npx analyze-trace ./trace --expandTypes=false",