@kimesh/kit 0.2.33 → 0.2.34
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.
- package/dist/index.mjs +27 -3
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -1840,6 +1840,32 @@ function generateTsConfig(options) {
|
|
|
1840
1840
|
}
|
|
1841
1841
|
}
|
|
1842
1842
|
const kimeshDir = resolvePackageDir("kimesh", rootDir);
|
|
1843
|
+
if (kimeshDir) {
|
|
1844
|
+
const relativeKimeshPath = relative(buildDir, kimeshDir);
|
|
1845
|
+
const normalizedKimeshPath = relativeKimeshPath.startsWith("..") ? relativeKimeshPath : "./" + relativeKimeshPath;
|
|
1846
|
+
for (const { subpath } of [
|
|
1847
|
+
{
|
|
1848
|
+
subpath: "router-runtime",
|
|
1849
|
+
distFile: "dist/router-runtime.d.ts"
|
|
1850
|
+
},
|
|
1851
|
+
{
|
|
1852
|
+
subpath: "kit",
|
|
1853
|
+
distFile: "dist/kit.d.ts"
|
|
1854
|
+
},
|
|
1855
|
+
{
|
|
1856
|
+
subpath: "query",
|
|
1857
|
+
distFile: "dist/query.d.ts"
|
|
1858
|
+
},
|
|
1859
|
+
{
|
|
1860
|
+
subpath: "head",
|
|
1861
|
+
distFile: "dist/head.d.ts"
|
|
1862
|
+
},
|
|
1863
|
+
{
|
|
1864
|
+
subpath: "config",
|
|
1865
|
+
distFile: "dist/config.d.ts"
|
|
1866
|
+
}
|
|
1867
|
+
]) paths[`kimesh/${subpath}`] = [`${normalizedKimeshPath}/dist/${subpath}.d.ts`];
|
|
1868
|
+
}
|
|
1843
1869
|
let viteClientDtsPath;
|
|
1844
1870
|
if (kimeshDir) {
|
|
1845
1871
|
const viteDir = resolvePackageDir("vite", kimeshDir);
|
|
@@ -3946,9 +3972,7 @@ declare global {
|
|
|
3946
3972
|
const watchEffect: typeof import('vue')['watchEffect']
|
|
3947
3973
|
const onMounted: typeof import('vue')['onMounted']
|
|
3948
3974
|
const onUnmounted: typeof import('vue')['onUnmounted']
|
|
3949
|
-
|
|
3950
|
-
const defineEmits: typeof import('vue')['defineEmits']
|
|
3951
|
-
const withDefaults: typeof import('vue')['withDefaults']
|
|
3975
|
+
// Note: defineProps, defineEmits, withDefaults are compiler macros and should not be auto-imported
|
|
3952
3976
|
|
|
3953
3977
|
// Vue Router imports
|
|
3954
3978
|
const useRoute: typeof import('vue-router')['useRoute']
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kimesh/kit",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.34",
|
|
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.
|
|
31
|
-
"@kimesh/layers": "0.2.
|
|
32
|
-
"@kimesh/router-generator": "0.2.
|
|
30
|
+
"@kimesh/auto-import": "0.2.34",
|
|
31
|
+
"@kimesh/layers": "0.2.34",
|
|
32
|
+
"@kimesh/router-generator": "0.2.34",
|
|
33
33
|
"@vitejs/plugin-vue": "^6.0.3",
|
|
34
34
|
"c12": "^3.3.3",
|
|
35
35
|
"consola": "^3.4.2",
|