feat: new dotenv grammar, new everforest theme · shikijs/shiki@29b1d3a (original) (raw)

Original file line number Diff line number Diff line change
@@ -14,14 +14,14 @@
14 14 "@iconify-json/svg-spinners": "^1.1.2",
15 15 "@shikijs/transformers": "workspace:*",
16 16 "@shikijs/twoslash": "workspace:*",
17 -"@unocss/reset": "^0.61.5",
17 +"@unocss/reset": "^0.61.9",
18 18 "@vueuse/core": "^10.11.0",
19 19 "floating-vue": "^5.2.2",
20 20 "pinia": "^2.2.0",
21 21 "shiki": "workspace:*",
22 -"unocss": "^0.61.5",
22 +"unocss": "^0.61.9",
23 23 "unplugin-vue-components": "^0.27.3",
24 24 "vitepress": "^1.3.1",
25 -"vue": "^3.4.34"
25 +"vue": "^3.4.35"
26 26 }
27 27 }
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@
14 14 "prepare": "simple-git-hooks"
15 15 },
16 16 "devDependencies": {
17 -"@antfu/eslint-config": "^2.23.2",
17 +"@antfu/eslint-config": "^2.24.1",
18 18 "@antfu/ni": "^0.22.0",
19 19 "@antfu/utils": "^0.7.10",
20 20 "@rollup/plugin-alias": "^5.1.0",
@@ -30,11 +30,11 @@
30 30 "@shikijs/vitepress-twoslash": "workspace:*",
31 31 "@types/fs-extra": "^11.0.4",
32 32 "@types/hast": "^3.0.4",
33 -"@types/node": "^20.14.12",
34 -"@vitest/coverage-v8": "^2.0.4",
33 +"@types/node": "^22.0.2",
34 +"@vitest/coverage-v8": "^2.0.5",
35 35 "ansi-sequence-parser": "^1.1.1",
36 36 "bumpp": "^9.4.1",
37 -"eslint": "^9.7.0",
37 +"eslint": "^9.8.0",
38 38 "eslint-plugin-format": "^0.1.2",
39 39 "esno": "^4.7.0",
40 40 "fast-glob": "^3.3.2",
@@ -49,22 +49,22 @@
49 49 "pnpm": "^9.6.0",
50 50 "prettier": "^3.3.3",
51 51 "rimraf": "^6.0.1",
52 -"rollup": "^4.19.0",
52 +"rollup": "^4.19.2",
53 53 "rollup-plugin-copy": "^3.5.0",
54 54 "rollup-plugin-dts": "^6.1.1",
55 55 "rollup-plugin-esbuild": "^6.1.1",
56 56 "rollup-plugin-typescript2": "^0.36.0",
57 57 "shiki": "workspace:*",
58 58 "simple-git-hooks": "^2.11.1",
59 -"taze": "^0.16.1",
59 +"taze": "^0.16.3",
60 60 "typescript": "^5.5.4",
61 61 "unbuild": "^2.0.0",
62 62 "vite": "^5.3.5",
63 63 "vite-tsconfig-paths": "^4.3.2",
64 64 "vitepress-plugin-mermaid": "^2.0.16",
65 -"vitest": "^2.0.4",
65 +"vitest": "^2.0.5",
66 66 "vue-tsc": "^2.0.29",
67 -"wrangler": "^3.67.1"
67 +"wrangler": "^3.68.0"
68 68 },
69 69 "resolutions": {
70 70 "@shikijs/compat": "workspace:*",
Original file line number Diff line number Diff line change
@@ -104,8 +104,8 @@
104 104 "@types/hast": "^3.0.4"
105 105 },
106 106 "devDependencies": {
107 -"tm-grammars": "^1.15.1",
108 -"tm-themes": "^1.5.7",
107 +"tm-grammars": "^1.16.2",
108 +"tm-themes": "^1.6.0",
109 109 "vscode-oniguruma": "^1.7.0"
110 110 }
111 111 }
Original file line number Diff line number Diff line change
@@ -259,6 +259,11 @@ export const bundledLanguagesInfo: BundledLanguageInfo[] = [
259 259 ],
260 260 'import': (() => import('./langs/docker')) as DynamicImportLanguageRegistration
261 261 },
262 +{
263 +'id': 'dotenv',
264 +'name': 'dotEnv',
265 +'import': (() => import('./langs/dotenv')) as DynamicImportLanguageRegistration
266 +},
262 267 {
263 268 'id': 'dream-maker',
264 269 'name': 'Dream Maker',
@@ -1321,6 +1326,7 @@ export type BundledLanguage =
1321 1326 | 'diff'
1322 1327 | 'docker'
1323 1328 | 'dockerfile'
1329 +| 'dotenv'
1324 1330 | 'dream-maker'
1325 1331 | 'edge'
1326 1332 | 'elisp'
Original file line number Diff line number Diff line change
@@ -62,6 +62,18 @@ export const bundledThemesInfo: BundledThemeInfo[] = [
62 62 "type": "dark",
63 63 "import": (() => import('./themes/dracula-soft')) as unknown as DynamicImportThemeRegistration
64 64 },
65 +{
66 +"id": "everforest-dark",
67 +"displayName": "Everforest Dark",
68 +"type": "dark",
69 +"import": (() => import('./themes/everforest-dark')) as unknown as DynamicImportThemeRegistration
70 +},
71 +{
72 +"id": "everforest-light",
73 +"displayName": "Everforest Light",
74 +"type": "light",
75 +"import": (() => import('./themes/everforest-light')) as unknown as DynamicImportThemeRegistration
76 +},
65 77 {
66 78 "id": "github-dark",
67 79 "displayName": "GitHub Dark",
@@ -291,6 +303,8 @@ export type BundledTheme =
291 303 | 'dark-plus'
292 304 | 'dracula'
293 305 | 'dracula-soft'
306 +| 'everforest-dark'
307 +| 'everforest-light'
294 308 | 'github-dark'
295 309 | 'github-dark-default'
296 310 | 'github-dark-dimmed'
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ it('bundle-full', async () => {
7 7 }))
8 8
9 9 expect(highlighter.getLoadedLanguages().length)
10 -.toMatchInlineSnapshot(`306`)
10 +.toMatchInlineSnapshot(`307`)
11 11 })
12 12
13 13 it('bundle-web', async () => {
Original file line number Diff line number Diff line change
@@ -61,6 +61,6 @@
61 61 "shiki": "workspace:*",
62 62 "twoslash": "^0.2.9",
63 63 "twoslash-vue": "^0.2.9",
64 -"vue": "^3.4.34"
64 +"vue": "^3.4.35"
65 65 }
66 66 }