@compiiile/compiiile 2.14.2 → 2.14.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/.compiiile/src/components/ContentWrapper.vue +1 -1
- package/.compiiile/src/components/SlidesContent.vue +2 -2
- package/.compiiile/src/components/TableOfContent.vue +1 -1
- package/.compiiile/src/components/layout/HamburgerButton.vue +1 -1
- package/.compiiile/src/components/layout/ThemeSwitcher.vue +1 -1
- package/.compiiile/src/components/layout/navBar/NavBar.vue +1 -1
- package/.compiiile/src/components/layout/navBar/NavListItem.vue +1 -1
- package/.compiiile/src/components/searchBar/SearchBar.vue +1 -1
- package/.compiiile/src/components/searchBar/SearchResult.vue +1 -1
- package/.compiiile/src/style/{index.scss → index.css} +5 -5
- package/.compiiile/src/utils/styles.js +1 -1
- package/bin/config.js +1 -0
- package/package.json +15 -16
- package/.compiiile/.astro/settings.json +0 -5
- package/.compiiile/.astro/types.d.ts +0 -1
- package/bin/.compiiile/node_modules/.vite/deps_temp_6e4c3b91/@astrojs_vue_client__js.js +0 -62
- package/bin/.compiiile/node_modules/.vite/deps_temp_6e4c3b91/@astrojs_vue_client__js.js.map +0 -7
- package/bin/.compiiile/node_modules/.vite/deps_temp_6e4c3b91/astro___aria-query.js +0 -7084
- package/bin/.compiiile/node_modules/.vite/deps_temp_6e4c3b91/astro___aria-query.js.map +0 -7
- package/bin/.compiiile/node_modules/.vite/deps_temp_6e4c3b91/astro___axobject-query.js +0 -3862
- package/bin/.compiiile/node_modules/.vite/deps_temp_6e4c3b91/astro___axobject-query.js.map +0 -7
- package/bin/.compiiile/node_modules/.vite/deps_temp_6e4c3b91/chunk-5RSW42KR.js +0 -45
- package/bin/.compiiile/node_modules/.vite/deps_temp_6e4c3b91/chunk-5RSW42KR.js.map +0 -7
- package/bin/.compiiile/node_modules/.vite/deps_temp_6e4c3b91/chunk-MBCBSM2B.js +0 -11402
- package/bin/.compiiile/node_modules/.vite/deps_temp_6e4c3b91/chunk-MBCBSM2B.js.map +0 -7
- package/bin/.compiiile/node_modules/.vite/deps_temp_6e4c3b91/chunk-Y2F7D3TJ.js +0 -9
- package/bin/.compiiile/node_modules/.vite/deps_temp_6e4c3b91/chunk-Y2F7D3TJ.js.map +0 -7
- package/bin/.compiiile/node_modules/.vite/deps_temp_6e4c3b91/package.json +0 -3
- package/bin/.compiiile/node_modules/.vite/deps_temp_6e4c3b91/vue.js +0 -324
- package/bin/.compiiile/node_modules/.vite/deps_temp_6e4c3b91/vue.js.map +0 -7
- package/bin/.compiiile/node_modules/.vite/deps_temp_c6d3f53d/@astrojs_vue_client__js.js +0 -62
- package/bin/.compiiile/node_modules/.vite/deps_temp_c6d3f53d/@astrojs_vue_client__js.js.map +0 -7
- package/bin/.compiiile/node_modules/.vite/deps_temp_c6d3f53d/astro___aria-query.js +0 -7084
- package/bin/.compiiile/node_modules/.vite/deps_temp_c6d3f53d/astro___aria-query.js.map +0 -7
- package/bin/.compiiile/node_modules/.vite/deps_temp_c6d3f53d/astro___axobject-query.js +0 -3862
- package/bin/.compiiile/node_modules/.vite/deps_temp_c6d3f53d/astro___axobject-query.js.map +0 -7
- package/bin/.compiiile/node_modules/.vite/deps_temp_c6d3f53d/chunk-5RSW42KR.js +0 -45
- package/bin/.compiiile/node_modules/.vite/deps_temp_c6d3f53d/chunk-5RSW42KR.js.map +0 -7
- package/bin/.compiiile/node_modules/.vite/deps_temp_c6d3f53d/chunk-MBCBSM2B.js +0 -11402
- package/bin/.compiiile/node_modules/.vite/deps_temp_c6d3f53d/chunk-MBCBSM2B.js.map +0 -7
- package/bin/.compiiile/node_modules/.vite/deps_temp_c6d3f53d/chunk-Y2F7D3TJ.js +0 -9
- package/bin/.compiiile/node_modules/.vite/deps_temp_c6d3f53d/chunk-Y2F7D3TJ.js.map +0 -7
- package/bin/.compiiile/node_modules/.vite/deps_temp_c6d3f53d/package.json +0 -3
- package/bin/.compiiile/node_modules/.vite/deps_temp_c6d3f53d/vue.js +0 -324
- package/bin/.compiiile/node_modules/.vite/deps_temp_c6d3f53d/vue.js.map +0 -7
- /package/.compiiile/src/style/{code-theme.scss → code-theme.css} +0 -0
- /package/.compiiile/src/style/{layouts.scss → layouts.css} +0 -0
- /package/.compiiile/src/style/{print.scss → print.css} +0 -0
- /package/.compiiile/src/style/{slides.scss → slides.css} +0 -0
- /package/.compiiile/src/style/{texts.scss → texts.css} +0 -0
- /package/.compiiile/src/style/{variables.scss → variables.css} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
@import "variables";
|
|
2
|
-
@import "texts";
|
|
3
|
-
@import "layouts";
|
|
4
|
-
@import "print";
|
|
5
|
-
@import "code-theme";
|
|
1
|
+
@import "./variables.css";
|
|
2
|
+
@import "./texts.css";
|
|
3
|
+
@import "./layouts.css";
|
|
4
|
+
@import "./print.css";
|
|
5
|
+
@import "./code-theme.css";
|
|
6
6
|
|
|
7
7
|
*,
|
|
8
8
|
*::before,
|
package/bin/config.js
CHANGED
|
@@ -206,6 +206,7 @@ const astroConfig = {
|
|
|
206
206
|
"@vue/reactivity": resolve("@vue/reactivity"),
|
|
207
207
|
"@vue/shared": resolve("@vue/shared"),
|
|
208
208
|
fzf: resolve("fzf"),
|
|
209
|
+
"@oslojs/encoding": resolve("@oslojs/encoding"),
|
|
209
210
|
"@astrojs/internal-helpers": resolve("@astrojs/internal-helpers") + "/dist"
|
|
210
211
|
}
|
|
211
212
|
},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@compiiile/compiiile",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2.14.
|
|
4
|
+
"version": "2.14.3",
|
|
5
5
|
"description": "The most convenient way to render a folder containing markdown files. Previewing and searching markdown files has never been that easy.",
|
|
6
6
|
"author": "AlbanCrepel <alban.crepel@gmail.com>",
|
|
7
7
|
"license": "GPL-3.0-only",
|
|
@@ -23,40 +23,39 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@astrojs/mdx": "^2.3.1",
|
|
26
|
-
"@astrojs/sitemap": "^3.
|
|
27
|
-
"@astrojs/vue": "^4.5.
|
|
26
|
+
"@astrojs/sitemap": "^3.2.0",
|
|
27
|
+
"@astrojs/vue": "^4.5.2",
|
|
28
28
|
"@babel/core": "^7.0.0-0",
|
|
29
29
|
"@babel/eslint-parser": "^7.22.15",
|
|
30
|
-
"@compiiile/compiiile-pro": "^1.1.
|
|
30
|
+
"@compiiile/compiiile-pro": "^1.1.7",
|
|
31
31
|
"@fontsource-variable/archivo": "^5.0.16",
|
|
32
32
|
"@fontsource-variable/dm-sans": "^5.0.3",
|
|
33
33
|
"@fontsource-variable/jetbrains-mono": "^5.0.18",
|
|
34
|
-
"astro": "^4.
|
|
34
|
+
"astro": "^4.16.2",
|
|
35
35
|
"astro-seo": "^0.8.4",
|
|
36
|
-
"c12": "^
|
|
37
|
-
"eslint": "^
|
|
38
|
-
"eslint-config-prettier": "^9.
|
|
39
|
-
"eslint-plugin-vue": "^9.
|
|
36
|
+
"c12": "^2.0.1",
|
|
37
|
+
"eslint": "^9.12.0",
|
|
38
|
+
"eslint-config-prettier": "^9.1.0",
|
|
39
|
+
"eslint-plugin-vue": "^9.29.0",
|
|
40
40
|
"fzf": "^0.5.2",
|
|
41
41
|
"hastscript": "^9.0.0",
|
|
42
42
|
"minimatch": "^10.0.1",
|
|
43
|
-
"node-emoji": "^2.1.
|
|
43
|
+
"node-emoji": "^2.1.3",
|
|
44
44
|
"parse-gitignore": "^2.0.0",
|
|
45
|
-
"pkg-dir": "^
|
|
46
|
-
"prettier": "^3.
|
|
45
|
+
"pkg-dir": "^8.0.0",
|
|
46
|
+
"prettier": "^3.3.3",
|
|
47
47
|
"rehype-autolink-headings": "^7.1.0",
|
|
48
48
|
"rehype-slug": "^6.0.0",
|
|
49
|
-
"remark-emoji": "^5.0.
|
|
49
|
+
"remark-emoji": "^5.0.1",
|
|
50
50
|
"requireg": "^0.2.2",
|
|
51
51
|
"resolve-package-path": "^4.0.3",
|
|
52
52
|
"reveal.js": "^5.1.0",
|
|
53
|
-
"sass": "^1.66.1",
|
|
54
53
|
"slugify": "^1.6.6",
|
|
55
54
|
"typescript": "^5.5.4",
|
|
56
55
|
"uuid": "^9.0.1",
|
|
57
56
|
"vfile-matter": "^5.0.0",
|
|
58
|
-
"vite": "^5.
|
|
59
|
-
"vue": "^3.
|
|
57
|
+
"vite": "^5.4.8",
|
|
58
|
+
"vue": "^3.5.12",
|
|
60
59
|
"yargs": "^17.7.2",
|
|
61
60
|
"zod": "^3.23.8"
|
|
62
61
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/// <reference types="astro/client" />
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Suspense,
|
|
3
|
-
createApp,
|
|
4
|
-
createSSRApp,
|
|
5
|
-
defineComponent,
|
|
6
|
-
h
|
|
7
|
-
} from "./chunk-MBCBSM2B.js";
|
|
8
|
-
import "./chunk-Y2F7D3TJ.js";
|
|
9
|
-
|
|
10
|
-
// node_modules/@astrojs/vue/static-html.js
|
|
11
|
-
var StaticHtml = defineComponent({
|
|
12
|
-
props: {
|
|
13
|
-
value: String,
|
|
14
|
-
name: String,
|
|
15
|
-
hydrate: {
|
|
16
|
-
type: Boolean,
|
|
17
|
-
default: true
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
setup({ name, value, hydrate }) {
|
|
21
|
-
if (!value)
|
|
22
|
-
return () => null;
|
|
23
|
-
let tagName = hydrate ? "astro-slot" : "astro-static-slot";
|
|
24
|
-
return () => h(tagName, { name, innerHTML: value });
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
var static_html_default = StaticHtml;
|
|
28
|
-
|
|
29
|
-
// node_modules/@astrojs/vue/client.js
|
|
30
|
-
import { setup } from "virtual:@astrojs/vue/app";
|
|
31
|
-
var client_default = (element) => async (Component, props, slotted, { client }) => {
|
|
32
|
-
if (!element.hasAttribute("ssr"))
|
|
33
|
-
return;
|
|
34
|
-
const name = Component.name ? `${Component.name} Host` : void 0;
|
|
35
|
-
const slots = {};
|
|
36
|
-
for (const [key, value] of Object.entries(slotted)) {
|
|
37
|
-
slots[key] = () => h(static_html_default, { value, name: key === "default" ? void 0 : key });
|
|
38
|
-
}
|
|
39
|
-
const isHydrate = client !== "only";
|
|
40
|
-
const bootstrap = isHydrate ? createSSRApp : createApp;
|
|
41
|
-
const app = bootstrap({
|
|
42
|
-
name,
|
|
43
|
-
render() {
|
|
44
|
-
let content = h(Component, props, slots);
|
|
45
|
-
if (isAsync(Component.setup)) {
|
|
46
|
-
content = h(Suspense, null, content);
|
|
47
|
-
}
|
|
48
|
-
return content;
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
await setup(app);
|
|
52
|
-
app.mount(element, isHydrate);
|
|
53
|
-
element.addEventListener("astro:unmount", () => app.unmount(), { once: true });
|
|
54
|
-
};
|
|
55
|
-
function isAsync(fn) {
|
|
56
|
-
const constructor = fn == null ? void 0 : fn.constructor;
|
|
57
|
-
return constructor && constructor.name === "AsyncFunction";
|
|
58
|
-
}
|
|
59
|
-
export {
|
|
60
|
-
client_default as default
|
|
61
|
-
};
|
|
62
|
-
//# sourceMappingURL=@astrojs_vue_client__js.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../node_modules/@astrojs/vue/static-html.js", "../../../../../node_modules/@astrojs/vue/client.js"],
|
|
4
|
-
"sourcesContent": ["import { defineComponent, h } from 'vue';\n\n/**\n * Astro passes `children` as a string of HTML, so we need\n * a wrapper `div` to render that content as VNodes.\n *\n * This is the Vue + JSX equivalent of using `<div v-html=\"value\" />`\n */\nconst StaticHtml = defineComponent({\n\tprops: {\n\t\tvalue: String,\n\t\tname: String,\n\t\thydrate: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true,\n\t\t},\n\t},\n\tsetup({ name, value, hydrate }) {\n\t\tif (!value) return () => null;\n\t\tlet tagName = hydrate ? 'astro-slot' : 'astro-static-slot';\n\t\treturn () => h(tagName, { name, innerHTML: value });\n\t},\n});\n\n/**\n * Other frameworks have `shouldComponentUpdate` in order to signal\n * that this subtree is entirely static and will not be updated\n *\n * Fortunately, Vue is smart enough to figure that out without any\n * help from us, so this just works out of the box!\n */\n\nexport default StaticHtml;\n", "import { Suspense, createApp, createSSRApp, h } from 'vue';\nimport StaticHtml from './static-html.js';\nimport { setup } from 'virtual:@astrojs/vue/app';\n\nexport default (element) =>\n\tasync (Component, props, slotted, { client }) => {\n\t\tif (!element.hasAttribute('ssr')) return;\n\n\t\t// Expose name on host component for Vue devtools\n\t\tconst name = Component.name ? `${Component.name} Host` : undefined;\n\t\tconst slots = {};\n\t\tfor (const [key, value] of Object.entries(slotted)) {\n\t\t\tslots[key] = () => h(StaticHtml, { value, name: key === 'default' ? undefined : key });\n\t\t}\n\n\t\tconst isHydrate = client !== 'only';\n\t\tconst bootstrap = isHydrate ? createSSRApp : createApp;\n\t\tconst app = bootstrap({\n\t\t\tname,\n\t\t\trender() {\n\t\t\t\tlet content = h(Component, props, slots);\n\t\t\t\t// related to https://github.com/withastro/astro/issues/6549\n\t\t\t\t// if the component is async, wrap it in a Suspense component\n\t\t\t\tif (isAsync(Component.setup)) {\n\t\t\t\t\tcontent = h(Suspense, null, content);\n\t\t\t\t}\n\t\t\t\treturn content;\n\t\t\t},\n\t\t});\n\t\tawait setup(app);\n\t\tapp.mount(element, isHydrate);\n\n\t\telement.addEventListener('astro:unmount', () => app.unmount(), { once: true });\n\t};\n\nfunction isAsync(fn) {\n\tconst constructor = fn?.constructor;\n\treturn constructor && constructor.name === 'AsyncFunction';\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;AAQA,IAAM,aAAa,gBAAgB;AAAA,EAClC,OAAO;AAAA,IACN,OAAO;AAAA,IACP,MAAM;AAAA,IACN,SAAS;AAAA,MACR,MAAM;AAAA,MACN,SAAS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