meno-core 1.0.37 → 1.0.39
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/build-astro.ts +914 -0
- package/build-static.ts +4 -2
- package/dist/build-static.js +2 -2
- package/dist/chunks/{chunk-UR7L5UZ3.js → chunk-HNAS6BSS.js} +2 -2
- package/dist/chunks/{chunk-EUCAKI5U.js → chunk-W6HDII4T.js} +8 -1
- package/dist/chunks/{chunk-EUCAKI5U.js.map → chunk-W6HDII4T.js.map} +2 -2
- package/dist/chunks/{chunk-VENUWN6C.js → chunk-WK5XLASY.js} +4 -3
- package/dist/chunks/chunk-WK5XLASY.js.map +7 -0
- package/dist/entries/server-router.js +2 -2
- package/dist/lib/client/index.js +5 -3
- package/dist/lib/client/index.js.map +2 -2
- package/dist/lib/server/index.js +1840 -5
- package/dist/lib/server/index.js.map +4 -4
- package/dist/lib/shared/index.js +5 -3
- package/dist/lib/shared/index.js.map +2 -2
- package/lib/client/theme.ts +4 -1
- package/lib/server/astro/componentEmitter.ts +208 -0
- package/lib/server/astro/cssCollector.ts +147 -0
- package/lib/server/astro/index.ts +5 -0
- package/lib/server/astro/nodeToAstro.ts +771 -0
- package/lib/server/astro/pageEmitter.ts +190 -0
- package/lib/server/astro/tailwindMapper.ts +547 -0
- package/lib/server/index.ts +3 -0
- package/lib/server/ssr/htmlGenerator.ts +3 -0
- package/lib/server/ssr/ssrRenderer.test.ts +8 -4
- package/lib/server/ssr/ssrRenderer.ts +1 -3
- package/lib/shared/themeDefaults.test.ts +1 -1
- package/lib/shared/themeDefaults.ts +4 -1
- package/package.json +1 -1
- package/dist/chunks/chunk-VENUWN6C.js.map +0 -7
- /package/dist/chunks/{chunk-UR7L5UZ3.js.map → chunk-HNAS6BSS.js.map} +0 -0
package/build-static.ts
CHANGED
|
@@ -259,12 +259,13 @@ function cleanDist(): void {
|
|
|
259
259
|
let cleaned = 0;
|
|
260
260
|
|
|
261
261
|
for (const file of files) {
|
|
262
|
-
// Keep fonts, images, icons, and
|
|
262
|
+
// Keep fonts, images, icons, assets, and videos
|
|
263
263
|
if (
|
|
264
264
|
file === "fonts" ||
|
|
265
265
|
file === "images" ||
|
|
266
266
|
file === "icons" ||
|
|
267
|
-
file === "assets"
|
|
267
|
+
file === "assets" ||
|
|
268
|
+
file === "videos"
|
|
268
269
|
) {
|
|
269
270
|
continue;
|
|
270
271
|
}
|
|
@@ -653,6 +654,7 @@ export async function buildStaticPages(): Promise<void> {
|
|
|
653
654
|
copyDirectory(projectPaths.images(), join(distDir, "images"));
|
|
654
655
|
copyDirectory(projectPaths.icons(), join(distDir, "icons"));
|
|
655
656
|
copyDirectory(projectPaths.assets(), join(distDir, "assets"));
|
|
657
|
+
copyDirectory(projectPaths.videos(), join(distDir, "videos"));
|
|
656
658
|
|
|
657
659
|
// Copy libraries folder (downloaded external JS/CSS files)
|
|
658
660
|
const librariesDir = join(projectPaths.project, "libraries");
|
package/dist/build-static.js
CHANGED
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
hashContent,
|
|
10
10
|
injectTrackingScript,
|
|
11
11
|
isCMSPage
|
|
12
|
-
} from "./chunks/chunk-
|
|
13
|
-
import "./chunks/chunk-
|
|
12
|
+
} from "./chunks/chunk-WK5XLASY.js";
|
|
13
|
+
import "./chunks/chunk-W6HDII4T.js";
|
|
14
14
|
import "./chunks/chunk-A6KWUEA6.js";
|
|
15
15
|
import "./chunks/chunk-YSZ5IUFM.js";
|
|
16
16
|
import "./chunks/chunk-WQFG7PAH.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
parseJSON,
|
|
17
17
|
resolveSlugToPageId,
|
|
18
18
|
variableService
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-W6HDII4T.js";
|
|
20
20
|
import {
|
|
21
21
|
configService
|
|
22
22
|
} from "./chunk-A6KWUEA6.js";
|
|
@@ -3167,4 +3167,4 @@ export {
|
|
|
3167
3167
|
createServer,
|
|
3168
3168
|
FileSystemPageProvider
|
|
3169
3169
|
};
|
|
3170
|
-
//# sourceMappingURL=chunk-
|
|
3170
|
+
//# sourceMappingURL=chunk-HNAS6BSS.js.map
|
|
@@ -3402,6 +3402,9 @@ img {
|
|
|
3402
3402
|
width: 100%;
|
|
3403
3403
|
height: 100%;
|
|
3404
3404
|
}
|
|
3405
|
+
picture {
|
|
3406
|
+
display: block;
|
|
3407
|
+
}
|
|
3405
3408
|
.olink {
|
|
3406
3409
|
text-decoration: none;
|
|
3407
3410
|
display: block;
|
|
@@ -3742,6 +3745,8 @@ export {
|
|
|
3742
3745
|
resetFontConfig,
|
|
3743
3746
|
loadProjectConfig,
|
|
3744
3747
|
generateFontCSS,
|
|
3748
|
+
generateFontPreloadTags,
|
|
3749
|
+
generateThemeColorVariablesCSS,
|
|
3745
3750
|
generateVariablesCSS,
|
|
3746
3751
|
buildSlugIndex,
|
|
3747
3752
|
resolveSlugToPageId,
|
|
@@ -3763,6 +3768,8 @@ export {
|
|
|
3763
3768
|
buildComponentHTML,
|
|
3764
3769
|
renderPageSSR,
|
|
3765
3770
|
prepareClientData,
|
|
3771
|
+
mergeLibraries,
|
|
3772
|
+
generateLibraryTags,
|
|
3766
3773
|
collectComponentLibraries,
|
|
3767
3774
|
extractLibraryOrigins,
|
|
3768
3775
|
filterLibrariesByContext,
|
|
@@ -3770,4 +3777,4 @@ export {
|
|
|
3770
3777
|
FileSystemCMSProvider,
|
|
3771
3778
|
migrateTemplatesDirectory
|
|
3772
3779
|
};
|
|
3773
|
-
//# sourceMappingURL=chunk-
|
|
3780
|
+
//# sourceMappingURL=chunk-W6HDII4T.js.map
|