@kimesh/kit 0.2.18 → 0.2.19-nightly.20260127045757

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 -4
package/dist/index.mjs CHANGED
@@ -1728,6 +1728,7 @@ function generateTsConfig(options) {
1728
1728
  }
1729
1729
  }
1730
1730
  const kimeshDir = resolvePackageDir("kimesh", rootDir);
1731
+ let viteTypesPath;
1731
1732
  if (kimeshDir) {
1732
1733
  const viteDir = resolvePackageDir("vite", kimeshDir);
1733
1734
  if (viteDir) {
@@ -1735,6 +1736,7 @@ function generateTsConfig(options) {
1735
1736
  const normalizedPath = relativeVitePath.startsWith("..") ? relativeVitePath : "./" + relativeVitePath;
1736
1737
  paths["vite"] = [normalizedPath];
1737
1738
  paths["vite/*"] = [`${normalizedPath}/*`];
1739
+ viteTypesPath = `${normalizedPath}/client`;
1738
1740
  }
1739
1741
  }
1740
1742
  return {
@@ -1751,7 +1753,8 @@ function generateTsConfig(options) {
1751
1753
  skipLibCheck: true,
1752
1754
  noEmit: true,
1753
1755
  baseUrl: ".",
1754
- paths
1756
+ paths,
1757
+ ...viteTypesPath ? { types: [viteTypesPath] } : {}
1755
1758
  },
1756
1759
  include
1757
1760
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kimesh/kit",
3
- "version": "0.2.18",
3
+ "version": "0.2.19-nightly.20260127045757",
4
4
  "description": "Build-time engine for Kimesh framework",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,9 +27,9 @@
27
27
  "test:watch": "vitest"
28
28
  },
29
29
  "dependencies": {
30
- "@kimesh/auto-import": "0.2.18",
31
- "@kimesh/layers": "0.2.18",
32
- "@kimesh/router-generator": "0.2.18",
30
+ "@kimesh/auto-import": "workspace:*",
31
+ "@kimesh/layers": "workspace:*",
32
+ "@kimesh/router-generator": "workspace:*",
33
33
  "@vitejs/plugin-vue": "^6.0.3",
34
34
  "c12": "^3.3.3",
35
35
  "consola": "^3.4.2",