Skip to content

Commit 04bb657

Browse files
committedAug 22, 2024
feat: update deps, new plastic theme
1 parent 6ca98aa commit 04bb657

File tree

7 files changed

+425
-495
lines changed

7 files changed

+425
-495
lines changed
 

‎docs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@shikijs/transformers": "workspace:*",
1616
"@shikijs/twoslash": "workspace:*",
1717
"@unocss/reset": "^0.62.2",
18-
"@vueuse/core": "^10.11.1",
18+
"@vueuse/core": "^11.0.1",
1919
"floating-vue": "^5.2.2",
2020
"pinia": "^2.2.2",
2121
"shiki": "workspace:*",

‎package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"type": "module",
33
"version": "1.14.1",
44
"private": true,
5-
"packageManager": "pnpm@9.7.1",
5+
"packageManager": "pnpm@9.8.0",
66
"scripts": {
77
"lint": "eslint . --cache",
88
"release": "bumpp && pnpm -r publish",
@@ -14,7 +14,7 @@
1414
"prepare": "simple-git-hooks"
1515
},
1616
"devDependencies": {
17-
"@antfu/eslint-config": "^2.26.0",
17+
"@antfu/eslint-config": "^2.27.0",
1818
"@antfu/ni": "^0.22.4",
1919
"@antfu/utils": "^0.7.10",
2020
"@rollup/plugin-alias": "^5.1.0",
@@ -30,7 +30,7 @@
3030
"@shikijs/vitepress-twoslash": "workspace:*",
3131
"@types/fs-extra": "^11.0.4",
3232
"@types/hast": "^3.0.4",
33-
"@types/node": "^22.4.0",
33+
"@types/node": "^22.5.0",
3434
"@vitest/coverage-v8": "^2.0.5",
3535
"ansi-sequence-parser": "^1.1.1",
3636
"bumpp": "^9.5.1",
@@ -46,10 +46,10 @@
4646
"mdast-util-gfm": "^3.0.0",
4747
"mdast-util-to-hast": "^13.2.0",
4848
"ofetch": "^1.3.4",
49-
"pnpm": "^9.7.1",
49+
"pnpm": "^9.8.0",
5050
"prettier": "^3.3.3",
5151
"rimraf": "^6.0.1",
52-
"rollup": "^4.20.0",
52+
"rollup": "^4.21.0",
5353
"rollup-plugin-copy": "^3.5.0",
5454
"rollup-plugin-dts": "^6.1.1",
5555
"rollup-plugin-esbuild": "^6.1.1",
@@ -59,12 +59,12 @@
5959
"taze": "^0.16.6",
6060
"typescript": "^5.5.4",
6161
"unbuild": "^2.0.0",
62-
"vite": "^5.4.1",
62+
"vite": "^5.4.2",
6363
"vite-tsconfig-paths": "^5.0.1",
6464
"vitepress-plugin-mermaid": "^2.0.16",
6565
"vitest": "^2.0.5",
6666
"vue-tsc": "^2.0.29",
67-
"wrangler": "^3.72.0"
67+
"wrangler": "^3.72.1"
6868
},
6969
"resolutions": {
7070
"@shikijs/compat": "workspace:*",

‎packages/monaco/playground/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
},
99
"devDependencies": {
1010
"typescript": "^5.5.4",
11-
"vite": "^5.4.1"
11+
"vite": "^5.4.2"
1212
}
1313
}

‎packages/shiki/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@
104104
"@types/hast": "^3.0.4"
105105
},
106106
"devDependencies": {
107-
"tm-grammars": "^1.17.2",
108-
"tm-themes": "^1.7.1",
107+
"tm-grammars": "^1.17.3",
108+
"tm-themes": "^1.8.0",
109109
"vscode-oniguruma": "^1.7.0"
110110
}
111111
}

‎packages/shiki/src/assets/themes.ts

+7
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,12 @@ export const bundledThemesInfo: BundledThemeInfo[] = [
206206
"type": "light",
207207
"import": (() => import('./themes/one-light')) as unknown as DynamicImportThemeRegistration
208208
},
209+
{
210+
"id": "plastic",
211+
"displayName": "Plastic",
212+
"type": "dark",
213+
"import": (() => import('./themes/plastic')) as unknown as DynamicImportThemeRegistration
214+
},
209215
{
210216
"id": "poimandres",
211217
"displayName": "Poimandres",
@@ -339,6 +345,7 @@ export type BundledTheme =
339345
| 'nord'
340346
| 'one-dark-pro'
341347
| 'one-light'
348+
| 'plastic'
342349
| 'poimandres'
343350
| 'red'
344351
| 'rose-pine'

‎packages/twoslash/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"@iconify-json/carbon": "^1.1.37",
6363
"@iconify-json/codicon": "^1.1.51",
6464
"@shikijs/twoslash": "^3.1.2",
65-
"hast-util-from-html": "^2.0.1",
65+
"hast-util-from-html": "^2.0.2",
6666
"typescript": "^5.5.4"
6767
}
6868
}

‎pnpm-lock.yaml

+406-483
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.