@teamvelix/velix 5.1.1 → 5.1.3
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/README.md +1 -3
- package/dist/build/index.js +2 -2
- package/dist/{chunk-AW2KZSZ4.js → chunk-HPJYZZUY.js} +3 -3
- package/dist/{chunk-AW2KZSZ4.js.map → chunk-HPJYZZUY.js.map} +1 -1
- package/dist/{chunk-XNOATMNJ.js → chunk-MU7FPEFV.js} +3 -3
- package/dist/{chunk-XNOATMNJ.js.map → chunk-MU7FPEFV.js.map} +1 -1
- package/dist/{chunk-NQENBRTZ.js → chunk-YB6W3YKP.js} +18 -15
- package/dist/chunk-YB6W3YKP.js.map +1 -0
- package/dist/index.js +3 -3
- package/dist/runtime/start-build.js +1 -1
- package/dist/runtime/start-build.js.map +1 -1
- package/dist/runtime/start-dev.js +8 -3
- package/dist/runtime/start-dev.js.map +1 -1
- package/dist/runtime/start-prod.js +8 -3
- package/dist/runtime/start-prod.js.map +1 -1
- package/dist/server/index.js +2 -2
- package/package.json +4 -3
- package/dist/chunk-NQENBRTZ.js.map +0 -1
|
@@ -690,7 +690,7 @@ init_esm_shims();
|
|
|
690
690
|
|
|
691
691
|
// version.ts
|
|
692
692
|
init_esm_shims();
|
|
693
|
-
var VERSION = "5.1.
|
|
693
|
+
var VERSION = "5.1.2";
|
|
694
694
|
|
|
695
695
|
// logger.ts
|
|
696
696
|
var colors = {
|
|
@@ -804,6 +804,9 @@ var logger = {
|
|
|
804
804
|
};
|
|
805
805
|
var logger_default = logger;
|
|
806
806
|
|
|
807
|
+
// plugins/tailwind.ts
|
|
808
|
+
var NPX = process.platform === "win32" ? "npx.cmd" : "npx";
|
|
809
|
+
|
|
807
810
|
// metadata/index.ts
|
|
808
811
|
init_esm_shims();
|
|
809
812
|
function generateMetadataTags(metadata, baseUrl) {
|
|
@@ -1471,12 +1474,12 @@ function generateDevToolsHtml(isDev, ctx = {}) {
|
|
|
1471
1474
|
var btn = document.getElementById('__vtab-btn-' + t);
|
|
1472
1475
|
if(!body || !btn) return;
|
|
1473
1476
|
var active = t === name;
|
|
1474
|
-
body.style.display = active ? '' : 'none';
|
|
1477
|
+
body.style.display = active ? 'block' : 'none';
|
|
1475
1478
|
btn.classList.toggle('active', active);
|
|
1476
1479
|
});
|
|
1477
1480
|
};
|
|
1478
1481
|
|
|
1479
|
-
window.__vdtOpen = function(){ document.getElementById('__vdt').style.display = ''; };
|
|
1482
|
+
window.__vdtOpen = function(){ document.getElementById('__vdt').style.display = 'block'; };
|
|
1480
1483
|
window.__vdtClose = function(){ document.getElementById('__vdt').style.display = 'none'; };
|
|
1481
1484
|
|
|
1482
1485
|
/* \u2500\u2500 Route info \u2500\u2500 */
|
|
@@ -2524,7 +2527,9 @@ async function serveVelixInternal(pathname, req, res, projectRoot) {
|
|
|
2524
2527
|
const __dirname2 = path7.dirname(__filename2);
|
|
2525
2528
|
const candidates = [
|
|
2526
2529
|
path7.join(__dirname2, "..", "assets", "logo.webp"),
|
|
2530
|
+
path7.join(__dirname2, "..", "..", "assets", "logo.webp"),
|
|
2527
2531
|
path7.join(process.cwd(), "node_modules", "@teamvelix", "velix", "assets", "logo.webp"),
|
|
2532
|
+
path7.join(process.cwd(), "packages", "velix", "assets", "logo.webp"),
|
|
2528
2533
|
path7.join(process.cwd(), "node_modules", "velix", "assets", "logo.webp"),
|
|
2529
2534
|
path7.join(process.cwd(), "public", "favicon.webp")
|
|
2530
2535
|
];
|