@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.
@@ -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 in invalidated to reload its config and all files
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
- const markdownFiles = Object.values(import.meta.glob('@source/**/*.{md,mdx}', { eager: true }))
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 { v4 as uuidv4 } from "uuid"
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 { createMarkdownProcessor } from "@astrojs/markdown-remark"
8
- import { remarkPlugins, rehypePlugins, shikiConfig } from "../markdownConfig.js"
9
- import { unemojify } from "node-emoji"
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 { minimatch } from "minimatch"
12
+ import {minimatch} from "minimatch"
13
13
 
14
14
  export default class {
15
- WORKSPACE_BASE_PATH = "c"
16
- SLIDES_BASE_PATH = "s"
17
-
18
- constructor() {
19
- this.fileList = []
20
- this.filesTree = []
21
- this.routeList = []
22
- this.fileRouteMap = {}
23
-
24
- this.site = {
25
- title: process.env.VITE_COMPIIILE_TITLE !== "" ? process.env.VITE_COMPIIILE_TITLE : undefined,
26
- description:
27
- process.env.VITE_COMPIIILE_DESCRIPTION !== "" ? process.env.VITE_COMPIIILE_DESCRIPTION : undefined,
28
- logo: process.env.VITE_COMPIIILE_LOGO !== "null" ? process.env.VITE_COMPIIILE_LOGO : undefined,
29
- logoUrl: process.env.VITE_COMPIIILE_LOGO_URL !== "" ? process.env.VITE_COMPIIILE_LOGO_URL : undefined,
30
- siteUrl: process.env.VITE_COMPIIILE_SITE_URL !== "" ? process.env.VITE_COMPIIILE_SITE_URL : undefined,
31
- base: process.env.VITE_COMPIIILE_BASE,
32
- data: JSON.parse(process.env.VITE_COMPIIILE_DATA),
33
- theme: process.env.VITE_COMPIIILE_THEME,
34
- collapseFolders: JSON.parse(process.env.VITE_COMPIIILE_COLLAPSE_FOLDERS)
35
- }
36
- }
37
-
38
- generateRoutePathFromFilePath(filePath, hash = "", asSlides = false, entryFileMatcher) {
39
- const filePathWithoutExtension = filePath.substring(0, filePath.lastIndexOf("."))
40
- const sluggifiedPath = filePathWithoutExtension
41
- .split("/")
42
- .map((val) => slugify(val, { lower: true }))
43
- .join("/")
44
-
45
- if (sluggifiedPath.match(new RegExp(/^/.source + entryFileMatcher.source))) {
46
- if (process.env.VITE_COMPIIILE_BASE !== "/") {
47
- return process.env.VITE_COMPIIILE_BASE
48
- }
49
-
50
- return "/"
51
- }
52
- return `${
53
- process.env.VITE_COMPIIILE_BASE.endsWith("/")
54
- ? process.env.VITE_COMPIIILE_BASE.slice(0, -1)
55
- : process.env.VITE_COMPIIILE_BASE
56
- }/${asSlides ? this.SLIDES_BASE_PATH : this.WORKSPACE_BASE_PATH}/${sluggifiedPath}${hash}`
57
- }
58
-
59
- getFileTitleFromProcessedMarkdown(processedMarkdown) {
60
- let firstHeading = null
61
- if (JSON.parse(process.env.VITE_COMPIIILE_USE_AUTO_TITLES) && processedMarkdown.metadata.headings.length > 0) {
62
- let firstHeadingIndex = 0
63
- if (Object.keys(processedMarkdown.metadata.frontmatter).length > 0) {
64
- // If a frontmatter is set, it is present as the first index in the `headings` array
65
- firstHeadingIndex = 1
66
- }
67
- // Remove the starting '#' from the title
68
- firstHeading = processedMarkdown.metadata.headings[firstHeadingIndex]?.text?.slice(1)
69
- }
70
-
71
- return processedMarkdown.metadata.frontmatter.title || firstHeading
72
- }
73
-
74
- getEntryFileMatcher(files) {
75
- return files.find((file) => file.toLowerCase().match(/^readme.mdx?$/)) ? /readme/ : /index/
76
- }
77
-
78
- async scanDirectoryRecursively(directoryPath) {
79
- const fileArray = []
80
-
81
- const collator = new Intl.Collator(undefined, {
82
- numeric: true,
83
- sensitivity: "base"
84
- })
85
-
86
- const files = fs.readdirSync(directoryPath).sort(collator.compare)
87
-
88
- const entryFileMatcher = this.getEntryFileMatcher(files)
89
-
90
- for (let file of files) {
91
- if (
92
- ![
93
- ".vuepress",
94
- ".git",
95
- "node_modules",
96
- ".compiiile",
97
- "bin",
98
- ".idea",
99
- ".DS_Store",
100
- ".gitignore",
101
- "vendor"
102
- ].includes(file)
103
- ) {
104
- const filePath = path.join(directoryPath, file)
105
-
106
- try {
107
- const compiiileIgnoreFilePath = fs.readFileSync(
108
- path.join(process.env.COMPIIILE_SOURCE, ".compiiileignore")
109
- )
110
- const compiiileIgnore = parseIgnore(compiiileIgnoreFilePath)
111
-
112
- const ignoreGlobs = compiiileIgnore.globs().filter((globType) => globType.type === "ignore")
113
- const ignorePatterns = ignoreGlobs.reduce((patterns, currentIgnoreGlobItem) => {
114
- return [...patterns, ...currentIgnoreGlobItem.patterns]
115
- }, [])
116
-
117
- const isFilePathInIgnoredPatterns = ignorePatterns.some((pattern) => minimatch(filePath, pattern))
118
-
119
- if (isFilePathInIgnoredPatterns) {
120
- continue
121
- }
122
- } catch (_) {
123
- // No .compiiileignore file found at the root
124
- }
125
-
126
- const isDirectory = fs.statSync(filePath).isDirectory()
127
- const uuid = uuidv4()
128
- const fileName = path.parse(filePath).name
129
- const isReadmeFile =
130
- !isDirectory &&
131
- filePath
132
- .toLowerCase()
133
- .match(new RegExp(/^(.*?\/?)/.source + entryFileMatcher.source + /\.mdx?$/.source))
134
-
135
- let filesTreeItem = new FilesTreeItem(uuid, fileName)
136
-
137
- if (isDirectory) {
138
- filesTreeItem.isDirectory = true
139
- filesTreeItem.children = await this.scanDirectoryRecursively(filePath)
140
- }
141
-
142
- if (path.extname(file).match(/^\.mdx?$/) || filesTreeItem?.children.length > 0) {
143
- if (isReadmeFile) {
144
- fileArray.unshift(filesTreeItem)
145
- } else {
146
- fileArray.push(filesTreeItem)
147
- }
148
-
149
- if (!isDirectory) {
150
- const fileListItem = new FileListItem(uuid)
151
- const markdownContent = fs.readFileSync(filePath, {
152
- encoding: "utf8"
153
- })
154
-
155
- const markdownProcessor = await createMarkdownProcessor({
156
- remarkPlugins,
157
- rehypePlugins: rehypePlugins(this),
158
- shikiConfig
159
- })
160
- const renderedMarkdown = await markdownProcessor.render(markdownContent)
161
-
162
- fileListItem.textContent = unemojify(
163
- renderedMarkdown.code
164
- .replace(/^<hr>\n<h2(.|\n)*?<\/h2>/g, "")
165
- .replace(/<br>/g, " ")
166
- .replace(/<a.*aria-hidden.*>.*?<\/a>|<[^>]*>?/gi, "")
167
- .replace(/[\r\n]{2,}/g, "\n")
168
- )
169
-
170
- const meta = renderedMarkdown.metadata.frontmatter
171
-
172
- if (meta.ignore) {
173
- const fileIndex = fileArray.findIndex((f) => f.uuid === fileListItem.uuid)
174
- if (fileIndex > -1) {
175
- fileArray.splice(fileIndex, 1)
176
- }
177
- continue
178
- }
179
-
180
- const title = this.getFileTitleFromProcessedMarkdown(renderedMarkdown) || fileName
181
- fileListItem.title = title
182
- fileListItem.meta = meta
183
- fileListItem.meta.title = title
184
- fileListItem.fullPath = filePath
185
-
186
- const routePath = this.generateRoutePathFromFilePath(
187
- filePath,
188
- "",
189
- fileListItem.meta.asSlides,
190
- entryFileMatcher
191
- )
192
-
193
- if (isReadmeFile) {
194
- let newIndex = 0
195
-
196
- if (directoryPath !== ".") {
197
- newIndex = this.fileList.findIndex((f) => f.fullPath.startsWith(directoryPath))
198
- if (newIndex < 0) {
199
- newIndex = this.fileList.length
200
- }
201
- }
202
-
203
- this.fileList.splice(newIndex, 0, fileListItem)
204
- } else {
205
- this.fileList.push(fileListItem)
206
- }
207
-
208
- // `asSlides` frontmatter param is passed via the meta
209
- const routeListItem = new RouteListItem(routePath, uuid, fileName, filePath, fileListItem.meta)
210
- fileListItem.routePath = routeListItem.path
211
- this.fileRouteMap[filePath] = routeListItem.path
212
- this.routeList.push(routeListItem)
213
- }
214
- }
215
- }
216
- }
217
-
218
- return fileArray
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.21.1",
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.2.2",
25
- "@astrojs/mdx": "^7.0.5",
26
- "@astrojs/sitemap": "^3.7.3",
27
- "@astrojs/vue": "^7.0.2",
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": "1.1.1",
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.2.2",
39
- "astro-seo": "^1.1.0",
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.5",
48
+ "minimatch": "^10.2.6",
49
49
  "node-emoji": "^2.2.0",
50
- "package-directory": "^8.1.0",
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.1",
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.2.1",
63
- "vue": "^3.5.41",
62
+ "vite": "^8.3.7",
63
+ "vue": "^3.5.45",
64
64
  "yargs": "^18.0.0",
65
65
  "zod": "^3.25.76"
66
66
  },