veslx 0.0.6 → 0.0.7
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/package.json +3 -4
- package/vite.config.ts +8 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "veslx",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"veslx": "bin/veslx.ts"
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"cac": "^6.7.14",
|
|
40
40
|
"date-fns": "^4.1.0",
|
|
41
41
|
"embla-carousel-react": "^8.6.0",
|
|
42
|
+
"gray-matter": "^4.0.3",
|
|
42
43
|
"install": "^0.13.0",
|
|
43
44
|
"js-yaml": "^4.1.1",
|
|
44
45
|
"katex": "^0.16.25",
|
|
@@ -48,14 +49,12 @@
|
|
|
48
49
|
"react": "^19.2.0",
|
|
49
50
|
"react-dom": "^19.2.0",
|
|
50
51
|
"react-router-dom": "^7.9.5",
|
|
51
|
-
"react-use": "^17.6.0",
|
|
52
52
|
"rehype-katex": "^7.0.1",
|
|
53
53
|
"remark-frontmatter": "^5.0.0",
|
|
54
54
|
"remark-gfm": "^4.0.1",
|
|
55
55
|
"remark-math": "^6.0.0",
|
|
56
56
|
"remark-mdx-frontmatter": "^5.2.0",
|
|
57
|
-
"shiki": "^3.15.0"
|
|
58
|
-
"gray-matter": "^4.0.3"
|
|
57
|
+
"shiki": "^3.15.0"
|
|
59
58
|
},
|
|
60
59
|
"devDependencies": {
|
|
61
60
|
"@eslint/js": "^9.39.1",
|
package/vite.config.ts
CHANGED
|
@@ -8,11 +8,14 @@ import rehypeKatex from 'rehype-katex'
|
|
|
8
8
|
import remarkFrontmatter from 'remark-frontmatter'
|
|
9
9
|
import remarkGfm from 'remark-gfm'
|
|
10
10
|
import remarkMdxFrontmatter from 'remark-mdx-frontmatter'
|
|
11
|
+
import { fileURLToPath } from 'url'
|
|
11
12
|
import path from 'path'
|
|
12
13
|
|
|
14
|
+
const __dirname = path.dirname(fileURLToPath(import.meta.url))
|
|
15
|
+
|
|
13
16
|
export default defineConfig({
|
|
14
17
|
clearScreen: false,
|
|
15
|
-
publicDir: '
|
|
18
|
+
publicDir: path.join(__dirname, 'public'),
|
|
16
19
|
plugins: [
|
|
17
20
|
tailwindcss(),
|
|
18
21
|
// MDX must run before Vite's default transforms
|
|
@@ -33,10 +36,10 @@ export default defineConfig({
|
|
|
33
36
|
],
|
|
34
37
|
resolve: {
|
|
35
38
|
alias: {
|
|
36
|
-
'@': path.
|
|
37
|
-
'react': path.
|
|
38
|
-
'react-dom': path.
|
|
39
|
-
'@mdx-js/react': path.
|
|
39
|
+
'@': path.join(__dirname, 'src'),
|
|
40
|
+
'react': path.join(__dirname, 'node_modules/react'),
|
|
41
|
+
'react-dom': path.join(__dirname, 'node_modules/react-dom'),
|
|
42
|
+
'@mdx-js/react': path.join(__dirname, 'node_modules/@mdx-js/react'),
|
|
40
43
|
},
|
|
41
44
|
},
|
|
42
45
|
server: {
|