@kimesh/kit 0.2.9 → 0.2.10

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 +9 -2
  2. package/package.json +4 -4
package/dist/index.mjs CHANGED
@@ -1734,24 +1734,31 @@ function generateKimeshDts() {
1734
1734
  * DO NOT EDIT - This file is auto-generated by Kimesh.
1735
1735
  */
1736
1736
 
1737
+ import type { KimeshConfig } from '@kimesh/kit'
1738
+
1737
1739
  export {}
1738
1740
 
1739
1741
  declare global {
1740
1742
  /**
1741
- * Define Kimesh configuration with type inference.
1743
+ * Define Kimesh configuration with full type inference.
1742
1744
  * This function is available globally in kimesh.config.ts files.
1743
1745
  *
1744
1746
  * @example
1745
1747
  * \`\`\`ts
1746
1748
  * export default defineKmConfig({
1747
1749
  * name: 'my-app',
1750
+ * extends: ['@my-org/shared-layer'],
1751
+ * modules: ['@kimesh/tailwindcss'],
1748
1752
  * dev: {
1749
1753
  * port: 3000,
1750
1754
  * },
1755
+ * runtimeConfig: {
1756
+ * apiBase: '/api',
1757
+ * },
1751
1758
  * })
1752
1759
  * \`\`\`
1753
1760
  */
1754
- const defineKmConfig: <T extends Record<string, unknown>>(config: T) => T
1761
+ const defineKmConfig: (config: KimeshConfig) => KimeshConfig
1755
1762
  }
1756
1763
  `;
1757
1764
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kimesh/kit",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "description": "Build-time engine for Kimesh framework",
5
5
  "type": "module",
6
6
  "repository": {
@@ -31,9 +31,9 @@
31
31
  "vue": "^3.5.0"
32
32
  },
33
33
  "dependencies": {
34
- "@kimesh/auto-import": "0.2.9",
35
- "@kimesh/layers": "0.2.9",
36
- "@kimesh/router-generator": "0.2.9",
34
+ "@kimesh/auto-import": "0.2.10",
35
+ "@kimesh/layers": "0.2.10",
36
+ "@kimesh/router-generator": "0.2.10",
37
37
  "@vitejs/plugin-vue": "^6.0.3",
38
38
  "c12": "^3.3.3",
39
39
  "consola": "^3.4.2",