Skip to content

Commit

Permalink
feat: update deps, new plastic theme
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Aug 22, 2024
1 parent 6ca98aa commit 04bb657
Show file tree
Hide file tree
Showing 7 changed files with 425 additions and 495 deletions.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@shikijs/transformers": "workspace:*",
"@shikijs/twoslash": "workspace:*",
"@unocss/reset": "^0.62.2",
"@vueuse/core": "^10.11.1",
"@vueuse/core": "^11.0.1",
"floating-vue": "^5.2.2",
"pinia": "^2.2.2",
"shiki": "workspace:*",
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"type": "module",
"version": "1.14.1",
"private": true,
"packageManager": "pnpm@9.7.1",
"packageManager": "pnpm@9.8.0",
"scripts": {
"lint": "eslint . --cache",
"release": "bumpp && pnpm -r publish",
Expand All @@ -14,7 +14,7 @@
"prepare": "simple-git-hooks"
},
"devDependencies": {
"@antfu/eslint-config": "^2.26.0",
"@antfu/eslint-config": "^2.27.0",
"@antfu/ni": "^0.22.4",
"@antfu/utils": "^0.7.10",
"@rollup/plugin-alias": "^5.1.0",
Expand All @@ -30,7 +30,7 @@
"@shikijs/vitepress-twoslash": "workspace:*",
"@types/fs-extra": "^11.0.4",
"@types/hast": "^3.0.4",
"@types/node": "^22.4.0",
"@types/node": "^22.5.0",
"@vitest/coverage-v8": "^2.0.5",
"ansi-sequence-parser": "^1.1.1",
"bumpp": "^9.5.1",
Expand All @@ -46,10 +46,10 @@
"mdast-util-gfm": "^3.0.0",
"mdast-util-to-hast": "^13.2.0",
"ofetch": "^1.3.4",
"pnpm": "^9.7.1",
"pnpm": "^9.8.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"rollup": "^4.20.0",
"rollup": "^4.21.0",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-esbuild": "^6.1.1",
Expand All @@ -59,12 +59,12 @@
"taze": "^0.16.6",
"typescript": "^5.5.4",
"unbuild": "^2.0.0",
"vite": "^5.4.1",
"vite": "^5.4.2",
"vite-tsconfig-paths": "^5.0.1",
"vitepress-plugin-mermaid": "^2.0.16",
"vitest": "^2.0.5",
"vue-tsc": "^2.0.29",
"wrangler": "^3.72.0"
"wrangler": "^3.72.1"
},
"resolutions": {
"@shikijs/compat": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/monaco/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
},
"devDependencies": {
"typescript": "^5.5.4",
"vite": "^5.4.1"
"vite": "^5.4.2"
}
}
4 changes: 2 additions & 2 deletions packages/shiki/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@
"@types/hast": "^3.0.4"
},
"devDependencies": {
"tm-grammars": "^1.17.2",
"tm-themes": "^1.7.1",
"tm-grammars": "^1.17.3",
"tm-themes": "^1.8.0",
"vscode-oniguruma": "^1.7.0"
}
}
7 changes: 7 additions & 0 deletions packages/shiki/src/assets/themes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,12 @@ export const bundledThemesInfo: BundledThemeInfo[] = [
"type": "light",
"import": (() => import('./themes/one-light')) as unknown as DynamicImportThemeRegistration
},
{
"id": "plastic",
"displayName": "Plastic",
"type": "dark",
"import": (() => import('./themes/plastic')) as unknown as DynamicImportThemeRegistration
},
{
"id": "poimandres",
"displayName": "Poimandres",
Expand Down Expand Up @@ -339,6 +345,7 @@ export type BundledTheme =
| 'nord'
| 'one-dark-pro'
| 'one-light'
| 'plastic'
| 'poimandres'
| 'red'
| 'rose-pine'
Expand Down
2 changes: 1 addition & 1 deletion packages/twoslash/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@iconify-json/carbon": "^1.1.37",
"@iconify-json/codicon": "^1.1.51",
"@shikijs/twoslash": "^3.1.2",
"hast-util-from-html": "^2.0.1",
"hast-util-from-html": "^2.0.2",
"typescript": "^5.5.4"
}
}
Loading

0 comments on commit 04bb657

Please sign in to comment.