@compiiile/compiiile 2.21.1 → 2.22.1
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/layouts/BaseLayout.astro +1 -1
- package/.compiiile/src/pages/[...path].astro +14 -1
- package/bin/config.js +1 -2
- package/bin/loadConfig.js +1 -1
- package/bin/vitePluginCompiiile/index.js +2 -0
- package/bin/vitePluginCompiiile/models/Context.js +220 -210
- package/package.json +13 -13
|
@@ -51,7 +51,7 @@ const defaultTheme = site.theme
|
|
|
51
51
|
We store the new page URL to redirect to in the sessionStorage because it follows this flow:
|
|
52
52
|
- the `switch-page-render` event is sent
|
|
53
53
|
- we receive it just below, and check if we are on the updated file's URL : we store the new URL to redirect to
|
|
54
|
-
- the whole page reloads because Compiiile vite's module
|
|
54
|
+
- the whole page reloads because Compiiile vite's module is invalidated to reload its config and all files
|
|
55
55
|
- only when the reload is done, we get to the second `if`, where we change the current route URL
|
|
56
56
|
- the redirect is not made before the vite's module invalidation because the reload prevents the redirection from happening
|
|
57
57
|
*/
|
|
@@ -6,7 +6,20 @@ import SlidesLayout from "../layouts/SlidesLayout.astro"
|
|
|
6
6
|
import path from "node:path"
|
|
7
7
|
|
|
8
8
|
export async function getStaticPaths() {
|
|
9
|
-
|
|
9
|
+
// Literal patterns to exclude which matches `IGNORED_ENTRIES` from `Context.js`
|
|
10
|
+
const markdownFiles = Object.values(import.meta.glob([
|
|
11
|
+
'@source/**/*.{md,mdx}',
|
|
12
|
+
'!@source/**/.vuepress/**',
|
|
13
|
+
'!@source/**/.git/**',
|
|
14
|
+
'!@source/**/node_modules/**',
|
|
15
|
+
'!@source/**/.compiiile/**',
|
|
16
|
+
'!@source/**/bin/**',
|
|
17
|
+
'!@source/**/.idea/**',
|
|
18
|
+
'!@source/**/.DS_Store/**',
|
|
19
|
+
'!@source/**/.gitignore/**',
|
|
20
|
+
'!@source/**/var/**',
|
|
21
|
+
'!@source/**/vendor/**',
|
|
22
|
+
], { eager: true }))
|
|
10
23
|
|
|
11
24
|
return routeList.map(route => {
|
|
12
25
|
const md = markdownFiles.find(post => {
|
package/bin/config.js
CHANGED
|
@@ -39,8 +39,7 @@ if (packageDir) {
|
|
|
39
39
|
viteServerFsAllowList.push(packageDir)
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
let sharedContext = new Context()
|
|
43
|
-
sharedContext.filesTree = await sharedContext.scanDirectoryRecursively(".")
|
|
42
|
+
let sharedContext = await (new Context()).init()
|
|
44
43
|
|
|
45
44
|
const astroConfig = {
|
|
46
45
|
server: {
|
package/bin/loadConfig.js
CHANGED
|
@@ -160,7 +160,7 @@ export const loadConfig = async () => {
|
|
|
160
160
|
|
|
161
161
|
const localIntegrations = []
|
|
162
162
|
|
|
163
|
-
if (/true/i.test(argv.printReady)) {
|
|
163
|
+
if (/true/i.test(argv.printReady) && (!argv.integrations || !argv.integrations?.find(integration => integration.name === "compiiile-print-integration"))) {
|
|
164
164
|
const compiiilePrintIntegration = (await import("@compiiile/compiiile-print")).default
|
|
165
165
|
localIntegrations.push(compiiilePrintIntegration())
|
|
166
166
|
}
|
|
@@ -24,6 +24,8 @@ export default function compiiile(sharedContext) {
|
|
|
24
24
|
return
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
sharedContext = await sharedContext.init()
|
|
28
|
+
|
|
27
29
|
return `const fileList = ${JSON.stringify(sharedContext.fileList)};\n\n
|
|
28
30
|
const filesTree = ${JSON.stringify(sharedContext.filesTree)};\n\n
|
|
29
31
|
const routeList = ${JSON.stringify(sharedContext.routeList)};\n\n
|
|
@@ -1,220 +1,230 @@
|
|
|
1
1
|
import path from "node:path"
|
|
2
2
|
import fs from "node:fs"
|
|
3
|
-
import {
|
|
3
|
+
import {v4 as uuidv4} from "uuid"
|
|
4
4
|
import FileListItem from "./FileListItem.js"
|
|
5
5
|
import FilesTreeItem from "./FilesTreeItem.js"
|
|
6
6
|
import RouteListItem from "./RouteListItem.js"
|
|
7
|
-
import {
|
|
8
|
-
import { remarkPlugins,
|
|
9
|
-
import {
|
|
7
|
+
import {createMarkdownProcessor} from "@astrojs/markdown-remark"
|
|
8
|
+
import {rehypePlugins, remarkPlugins, shikiConfig} from "../markdownConfig.js"
|
|
9
|
+
import {unemojify} from "node-emoji"
|
|
10
10
|
import slugify from "slugify"
|
|
11
11
|
import parseIgnore from "parse-gitignore"
|
|
12
|
-
import {
|
|
12
|
+
import {minimatch} from "minimatch"
|
|
13
13
|
|
|
14
14
|
export default class {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
15
|
+
WORKSPACE_BASE_PATH = "c"
|
|
16
|
+
SLIDES_BASE_PATH = "s"
|
|
17
|
+
|
|
18
|
+
constructor(directoryPath = ".") {
|
|
19
|
+
this.directoryPath = directoryPath
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
async init() {
|
|
23
|
+
this.fileList = []
|
|
24
|
+
this.filesTree = []
|
|
25
|
+
this.routeList = []
|
|
26
|
+
this.fileRouteMap = {}
|
|
27
|
+
|
|
28
|
+
this.site = {
|
|
29
|
+
title: process.env.VITE_COMPIIILE_TITLE !== "" ? process.env.VITE_COMPIIILE_TITLE : undefined,
|
|
30
|
+
description:
|
|
31
|
+
process.env.VITE_COMPIIILE_DESCRIPTION !== "" ? process.env.VITE_COMPIIILE_DESCRIPTION : undefined,
|
|
32
|
+
logo: process.env.VITE_COMPIIILE_LOGO !== "null" ? process.env.VITE_COMPIIILE_LOGO : undefined,
|
|
33
|
+
logoUrl: process.env.VITE_COMPIIILE_LOGO_URL !== "" ? process.env.VITE_COMPIIILE_LOGO_URL : undefined,
|
|
34
|
+
siteUrl: process.env.VITE_COMPIIILE_SITE_URL !== "" ? process.env.VITE_COMPIIILE_SITE_URL : undefined,
|
|
35
|
+
base: process.env.VITE_COMPIIILE_BASE,
|
|
36
|
+
data: JSON.parse(process.env.VITE_COMPIIILE_DATA),
|
|
37
|
+
theme: process.env.VITE_COMPIIILE_THEME,
|
|
38
|
+
collapseFolders: JSON.parse(process.env.VITE_COMPIIILE_COLLAPSE_FOLDERS)
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
this.filesTree = await this.scanDirectoryRecursively(this.directoryPath)
|
|
43
|
+
return this
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
generateRoutePathFromFilePath(filePath, hash = "", asSlides = false, entryFileMatcher) {
|
|
47
|
+
const filePathWithoutExtension = filePath.substring(0, filePath.lastIndexOf("."))
|
|
48
|
+
const sluggifiedPath = filePathWithoutExtension
|
|
49
|
+
.split("/")
|
|
50
|
+
.map((val) => slugify(val, {lower: true}))
|
|
51
|
+
.join("/")
|
|
52
|
+
|
|
53
|
+
if (sluggifiedPath.match(new RegExp(/^/.source + entryFileMatcher.source))) {
|
|
54
|
+
if (process.env.VITE_COMPIIILE_BASE !== "/") {
|
|
55
|
+
return process.env.VITE_COMPIIILE_BASE
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
return "/"
|
|
59
|
+
}
|
|
60
|
+
return `${
|
|
61
|
+
process.env.VITE_COMPIIILE_BASE.endsWith("/")
|
|
62
|
+
? process.env.VITE_COMPIIILE_BASE.slice(0, -1)
|
|
63
|
+
: process.env.VITE_COMPIIILE_BASE
|
|
64
|
+
}/${asSlides ? this.SLIDES_BASE_PATH : this.WORKSPACE_BASE_PATH}/${sluggifiedPath}${hash}`
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
getFileTitleFromProcessedMarkdown(processedMarkdown) {
|
|
68
|
+
let firstHeading = null
|
|
69
|
+
if (JSON.parse(process.env.VITE_COMPIIILE_USE_AUTO_TITLES) && processedMarkdown.metadata.headings.length > 0) {
|
|
70
|
+
let firstHeadingIndex = 0
|
|
71
|
+
if (Object.keys(processedMarkdown.metadata.frontmatter).length > 0) {
|
|
72
|
+
// If a frontmatter is set, it is present as the first index in the `headings` array
|
|
73
|
+
firstHeadingIndex = 1
|
|
74
|
+
}
|
|
75
|
+
// Remove the starting '#' from the title
|
|
76
|
+
firstHeading = processedMarkdown.metadata.headings[firstHeadingIndex]?.text?.slice(1)
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
return processedMarkdown.metadata.frontmatter.title || firstHeading
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
getEntryFileMatcher(files) {
|
|
83
|
+
return files.find((file) => file.toLowerCase().match(/^readme.mdx?$/)) ? /readme/ : /index/
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
async scanDirectoryRecursively(directoryPath) {
|
|
87
|
+
const fileArray = []
|
|
88
|
+
|
|
89
|
+
const collator = new Intl.Collator(undefined, {
|
|
90
|
+
numeric: true,
|
|
91
|
+
sensitivity: "base"
|
|
92
|
+
})
|
|
93
|
+
|
|
94
|
+
const IGNORED_ENTRIES = new Set([
|
|
95
|
+
".vuepress",
|
|
96
|
+
".git",
|
|
97
|
+
"node_modules",
|
|
98
|
+
".compiiile",
|
|
99
|
+
"bin",
|
|
100
|
+
".idea",
|
|
101
|
+
".DS_Store",
|
|
102
|
+
".gitignore",
|
|
103
|
+
"var",
|
|
104
|
+
"vendor"
|
|
105
|
+
])
|
|
106
|
+
|
|
107
|
+
const files = fs.readdirSync(directoryPath)
|
|
108
|
+
.filter((file) => !IGNORED_ENTRIES.has(file))
|
|
109
|
+
.sort(collator.compare)
|
|
110
|
+
|
|
111
|
+
const entryFileMatcher = this.getEntryFileMatcher(files)
|
|
112
|
+
|
|
113
|
+
for (let file of files) {
|
|
114
|
+
const filePath = path.join(directoryPath, file)
|
|
115
|
+
|
|
116
|
+
try {
|
|
117
|
+
const compiiileIgnoreFilePath = fs.readFileSync(
|
|
118
|
+
path.join(process.env.COMPIIILE_SOURCE, ".compiiileignore")
|
|
119
|
+
)
|
|
120
|
+
const compiiileIgnore = parseIgnore(compiiileIgnoreFilePath)
|
|
121
|
+
|
|
122
|
+
const ignoreGlobs = compiiileIgnore.globs().filter((globType) => globType.type === "ignore")
|
|
123
|
+
const ignorePatterns = ignoreGlobs.reduce((patterns, currentIgnoreGlobItem) => {
|
|
124
|
+
return [...patterns, ...currentIgnoreGlobItem.patterns]
|
|
125
|
+
}, [])
|
|
126
|
+
|
|
127
|
+
const isFilePathInIgnoredPatterns = ignorePatterns.some((pattern) => minimatch(filePath, pattern))
|
|
128
|
+
|
|
129
|
+
if (isFilePathInIgnoredPatterns) {
|
|
130
|
+
continue
|
|
131
|
+
}
|
|
132
|
+
} catch (_) {
|
|
133
|
+
// No .compiiileignore file found at the root
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
const isDirectory = fs.statSync(filePath).isDirectory()
|
|
137
|
+
const uuid = uuidv4()
|
|
138
|
+
const fileName = path.parse(filePath).name
|
|
139
|
+
const isReadmeFile =
|
|
140
|
+
!isDirectory &&
|
|
141
|
+
filePath
|
|
142
|
+
.toLowerCase()
|
|
143
|
+
.match(new RegExp(/^(.*?\/?)/.source + entryFileMatcher.source + /\.mdx?$/.source))
|
|
144
|
+
|
|
145
|
+
let filesTreeItem = new FilesTreeItem(uuid, fileName)
|
|
146
|
+
|
|
147
|
+
if (isDirectory) {
|
|
148
|
+
filesTreeItem.isDirectory = true
|
|
149
|
+
filesTreeItem.children = await this.scanDirectoryRecursively(filePath)
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
if (path.extname(file).match(/^\.mdx?$/) || filesTreeItem?.children.length > 0) {
|
|
153
|
+
if (isReadmeFile) {
|
|
154
|
+
fileArray.unshift(filesTreeItem)
|
|
155
|
+
} else {
|
|
156
|
+
fileArray.push(filesTreeItem)
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
if (!isDirectory) {
|
|
160
|
+
const fileListItem = new FileListItem(uuid)
|
|
161
|
+
const markdownContent = fs.readFileSync(filePath, {
|
|
162
|
+
encoding: "utf8"
|
|
163
|
+
})
|
|
164
|
+
|
|
165
|
+
const markdownProcessor = await createMarkdownProcessor({
|
|
166
|
+
remarkPlugins,
|
|
167
|
+
rehypePlugins: rehypePlugins(this),
|
|
168
|
+
shikiConfig
|
|
169
|
+
})
|
|
170
|
+
const renderedMarkdown = await markdownProcessor.render(markdownContent)
|
|
171
|
+
|
|
172
|
+
fileListItem.textContent = unemojify(
|
|
173
|
+
renderedMarkdown.code
|
|
174
|
+
.replace(/^<hr>\n<h2(.|\n)*?<\/h2>/g, "")
|
|
175
|
+
.replace(/<br>/g, " ")
|
|
176
|
+
.replace(/<a.*aria-hidden.*>.*?<\/a>|<[^>]*>?/gi, "")
|
|
177
|
+
.replace(/[\r\n]{2,}/g, "\n")
|
|
178
|
+
)
|
|
179
|
+
|
|
180
|
+
const meta = renderedMarkdown.metadata.frontmatter
|
|
181
|
+
|
|
182
|
+
if (meta.ignore) {
|
|
183
|
+
const fileIndex = fileArray.findIndex((f) => f.uuid === fileListItem.uuid)
|
|
184
|
+
if (fileIndex > -1) {
|
|
185
|
+
fileArray.splice(fileIndex, 1)
|
|
186
|
+
}
|
|
187
|
+
continue
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
const title = this.getFileTitleFromProcessedMarkdown(renderedMarkdown) || fileName
|
|
191
|
+
fileListItem.title = title
|
|
192
|
+
fileListItem.meta = meta
|
|
193
|
+
fileListItem.meta.title = title
|
|
194
|
+
fileListItem.fullPath = filePath
|
|
195
|
+
|
|
196
|
+
const routePath = this.generateRoutePathFromFilePath(
|
|
197
|
+
filePath,
|
|
198
|
+
"",
|
|
199
|
+
fileListItem.meta.asSlides,
|
|
200
|
+
entryFileMatcher
|
|
201
|
+
)
|
|
202
|
+
|
|
203
|
+
if (isReadmeFile) {
|
|
204
|
+
let newIndex = 0
|
|
205
|
+
|
|
206
|
+
if (directoryPath !== ".") {
|
|
207
|
+
newIndex = this.fileList.findIndex((f) => f.fullPath.startsWith(directoryPath))
|
|
208
|
+
if (newIndex < 0) {
|
|
209
|
+
newIndex = this.fileList.length
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
this.fileList.splice(newIndex, 0, fileListItem)
|
|
214
|
+
} else {
|
|
215
|
+
this.fileList.push(fileListItem)
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
// `asSlides` frontmatter param is passed via the meta
|
|
219
|
+
const routeListItem = new RouteListItem(routePath, uuid, fileName, filePath, fileListItem.meta)
|
|
220
|
+
fileListItem.routePath = routeListItem.path
|
|
221
|
+
this.fileRouteMap[filePath] = routeListItem.path
|
|
222
|
+
this.routeList.push(routeListItem)
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
return fileArray
|
|
229
|
+
}
|
|
220
230
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@compiiile/compiiile",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.22.1",
|
|
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",
|
|
@@ -21,22 +21,22 @@
|
|
|
21
21
|
"url": "git+https://github.com/compiiile/compiiile.git"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@astrojs/markdown-remark": "^7.
|
|
25
|
-
"@astrojs/mdx": "^
|
|
26
|
-
"@astrojs/sitemap": "^3.7.
|
|
27
|
-
"@astrojs/vue": "^7.
|
|
24
|
+
"@astrojs/markdown-remark": "^7.3.6",
|
|
25
|
+
"@astrojs/mdx": "^8.1.3",
|
|
26
|
+
"@astrojs/sitemap": "^3.7.4",
|
|
27
|
+
"@astrojs/vue": "^7.1.2",
|
|
28
28
|
"@babel/core": "^8.0.1",
|
|
29
29
|
"@babel/eslint-parser": "^8.0.1",
|
|
30
30
|
"@babel/parser": "^8.0.4",
|
|
31
|
-
"@compiiile/compiiile-print": "
|
|
31
|
+
"@compiiile/compiiile-print": "2.0.0",
|
|
32
32
|
"@eslint/compat": "^2.1.0",
|
|
33
33
|
"@eslint/js": "^10.0.1",
|
|
34
34
|
"@fontsource-variable/archivo": "^5.3.0",
|
|
35
35
|
"@fontsource-variable/dm-sans": "^5.3.0",
|
|
36
36
|
"@fontsource-variable/jetbrains-mono": "^5.3.0",
|
|
37
37
|
"@phosphor-icons/web": "^2.1.2",
|
|
38
|
-
"astro": "^7.
|
|
39
|
-
"astro-seo": "^1.
|
|
38
|
+
"astro": "^7.4.7",
|
|
39
|
+
"astro-seo": "^1.2.0",
|
|
40
40
|
"c12": "^3.3.4",
|
|
41
41
|
"eslint": "^10.8.1",
|
|
42
42
|
"eslint-config-prettier": "^10.1.8",
|
|
@@ -45,22 +45,22 @@
|
|
|
45
45
|
"fzf": "^0.5.2",
|
|
46
46
|
"globals": "^17.0.0",
|
|
47
47
|
"hastscript": "^9.0.1",
|
|
48
|
-
"minimatch": "^10.2.
|
|
48
|
+
"minimatch": "^10.2.6",
|
|
49
49
|
"node-emoji": "^2.2.0",
|
|
50
|
-
"package-directory": "^8.
|
|
50
|
+
"package-directory": "^8.2.0",
|
|
51
51
|
"parse-gitignore": "^2.0.0",
|
|
52
52
|
"piccolore": "^0.1.3",
|
|
53
53
|
"prettier": "^3.7.4",
|
|
54
54
|
"rehype-autolink-headings": "^7.1.0",
|
|
55
55
|
"rehype-slug": "^6.0.0",
|
|
56
56
|
"remark-emoji": "^5.0.2",
|
|
57
|
-
"reveal.js": "^6.0.
|
|
57
|
+
"reveal.js": "^6.0.2",
|
|
58
58
|
"slugify": "^1.6.6",
|
|
59
59
|
"typescript": "^5.9.3",
|
|
60
60
|
"uuid": "^13.0.0",
|
|
61
61
|
"vfile-matter": "^5.0.1",
|
|
62
|
-
"vite": "^8.
|
|
63
|
-
"vue": "^3.5.
|
|
62
|
+
"vite": "^8.3.7",
|
|
63
|
+
"vue": "^3.5.45",
|
|
64
64
|
"yargs": "^18.0.0",
|
|
65
65
|
"zod": "^3.25.76"
|
|
66
66
|
},
|