@yamada-ui/cli 2.1.5 → 2.1.6-next-20260421164002

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 +8 -11
  2. package/package.json +7 -7
package/dist/index.mjs CHANGED
@@ -3926,7 +3926,7 @@ var require_dist$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
3926
3926
  }));
3927
3927
 
3928
3928
  //#endregion
3929
- //#region ../../node_modules/.pnpm/tsdown@0.18.4_@emnapi+core@1.9.2_@emnapi+runtime@1.9.2_synckit@0.11.12_typescript@5.9.3/node_modules/tsdown/esm-shims.js
3929
+ //#region ../../node_modules/.pnpm/tsdown@0.18.4_synckit@0.11.12_typescript@6.0.3/node_modules/tsdown/esm-shims.js
3930
3930
  var getFilename, getDirname, __dirname$2;
3931
3931
  var init_esm_shims = __esmMin((() => {
3932
3932
  getFilename = () => fileURLToPath(import.meta.url);
@@ -5522,17 +5522,17 @@ var package_default = {
5522
5522
  },
5523
5523
  bugs: { "url": "https://github.com/yamada-ui/yamada-ui/issues" },
5524
5524
  scripts: {
5525
- "clean": "rimraf node_modules dist trace coverage .turbo .eslintcache",
5525
+ "clean": "rimraf node_modules dist trace coverage .turbo",
5526
5526
  "dev": "tsx src/index.ts",
5527
5527
  "build": "tsdown",
5528
5528
  "test": "vitest",
5529
5529
  "test:dev": "vitest --watch --ui",
5530
5530
  "test:coverage": "vitest run --coverage",
5531
- "typecheck": " tsc --noEmit",
5532
- "typetrace": "tsc --noEmit --generateTrace ./trace --incremental false",
5531
+ "typecheck": " tsc",
5532
+ "typetrace": "tsc --generateTrace ./trace --incremental false",
5533
5533
  "typeanalyze": "npx analyze-trace ./trace --expandTypes=false",
5534
- "lint": "eslint . --max-warnings=0 --cache",
5535
- "format": "prettier . --ignore-path ../../.prettierignore --check --cache",
5534
+ "lint": "oxlint . --max-warnings=0",
5535
+ "format": "pnpm -w format packages/cli",
5536
5536
  "quality": "pnpm format && pnpm lint && pnpm typecheck && pnpm test",
5537
5537
  "prepack": "clean-package",
5538
5538
  "postpack": "clean-package restore"
@@ -7549,13 +7549,10 @@ const tokens = new Command("tokens").description("generate theme typings.").argu
7549
7549
  ...themeConfig,
7550
7550
  internal
7551
7551
  });
7552
- await writeFileSafe(outPath, content, config$1 ? merge(config$1, { lint: { filePath: inputPath } }) : {
7552
+ await writeFileSafe(outPath, content, config$1 ?? {
7553
7553
  cwd: cwd$1,
7554
7554
  format: { enabled: format$2 },
7555
- lint: {
7556
- enabled: lint,
7557
- filePath: inputPath
7558
- }
7555
+ lint: { enabled: lint }
7559
7556
  });
7560
7557
  spinner.succeed(`Generated theme typings`);
7561
7558
  end();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yamada-ui/cli",
3
3
  "type": "module",
4
- "version": "2.1.5",
4
+ "version": "2.1.6-next-20260421164002",
5
5
  "description": "The official CLI for Yamada UI projects",
6
6
  "keywords": [
7
7
  "theme",
@@ -52,7 +52,7 @@
52
52
  "sucrase": "^3.35.1",
53
53
  "validate-npm-package-name": "^7.0.2",
54
54
  "yamljs": "^0.3.0",
55
- "@yamada-ui/utils": "2.1.2"
55
+ "@yamada-ui/utils": "2.1.3-next-20260421164002"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@types/prompts": "^2.4.9",
@@ -68,17 +68,17 @@
68
68
  "yamada-cli": "dist/index.mjs"
69
69
  },
70
70
  "scripts": {
71
- "clean": "rimraf node_modules dist trace coverage .turbo .eslintcache",
71
+ "clean": "rimraf node_modules dist trace coverage .turbo",
72
72
  "dev": "tsx src/index.ts",
73
73
  "build": "tsdown",
74
74
  "test": "vitest",
75
75
  "test:dev": "vitest --watch --ui",
76
76
  "test:coverage": "vitest run --coverage",
77
- "typecheck": " tsc --noEmit",
78
- "typetrace": "tsc --noEmit --generateTrace ./trace --incremental false",
77
+ "typecheck": " tsc",
78
+ "typetrace": "tsc --generateTrace ./trace --incremental false",
79
79
  "typeanalyze": "npx analyze-trace ./trace --expandTypes=false",
80
- "lint": "eslint . --max-warnings=0 --cache",
81
- "format": "prettier . --ignore-path ../../.prettierignore --check --cache",
80
+ "lint": "oxlint . --max-warnings=0",
81
+ "format": "pnpm -w format packages/cli",
82
82
  "quality": "pnpm format && pnpm lint && pnpm typecheck && pnpm test"
83
83
  }
84
84
  }