@sky.ui/core 0.0.33 → 0.0.36
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sky.ui/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.36",
|
|
4
4
|
"description": "Sky UI web components built with Lit — 70+ components, bundler plugins, and custom elements.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sky-ui",
|
|
@@ -249,14 +249,14 @@
|
|
|
249
249
|
"three": ">=0.170.0 <1.0.0"
|
|
250
250
|
},
|
|
251
251
|
"devDependencies": {
|
|
252
|
-
"@custom-elements-manifest/analyzer": "^0.
|
|
252
|
+
"@custom-elements-manifest/analyzer": "^0.11.0",
|
|
253
253
|
"@types/d3": "^7.4.3",
|
|
254
|
-
"@types/three": "^0.
|
|
255
|
-
"@types/node": "^
|
|
254
|
+
"@types/three": "^0.185.1",
|
|
255
|
+
"@types/node": "^26.1.1",
|
|
256
256
|
"tsup": "^8.5.1",
|
|
257
|
-
"vite": "^
|
|
258
|
-
"webpack": "^5.
|
|
259
|
-
"rollup": "^4.
|
|
257
|
+
"vite": "^8.1.5",
|
|
258
|
+
"webpack": "^5.108.4",
|
|
259
|
+
"rollup": "^4.62.2"
|
|
260
260
|
},
|
|
261
261
|
"publishConfig": {
|
|
262
262
|
"access": "public",
|
package/plugins/vite-plugin.js
CHANGED
|
@@ -76,7 +76,13 @@ ${imports}
|
|
|
76
76
|
if (id.startsWith("@sky.ui/core/")) {
|
|
77
77
|
const subpath = id.slice("@sky.ui/core/".length);
|
|
78
78
|
const full = path.join(CORE_DIST, subpath);
|
|
79
|
-
|
|
79
|
+
const candidates = [
|
|
80
|
+
full,
|
|
81
|
+
`${full}.js`,
|
|
82
|
+
path.join(full, "index.js")
|
|
83
|
+
];
|
|
84
|
+
const resolved = candidates.find((candidate) => fs.existsSync(candidate) && fs.statSync(candidate).isFile());
|
|
85
|
+
if (resolved) return resolved;
|
|
80
86
|
}
|
|
81
87
|
return null;
|
|
82
88
|
},
|