Skip to content

Commit affd591

Browse files
committed
[migrate] replace Shiki with Prism to fix Code Highlight bundle bug
1 parent 361efad commit affd591

File tree

6 files changed

+83
-345
lines changed

6 files changed

+83
-345
lines changed

package.json

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "boot-cell",
3-
"version": "2.0.0-rc.14",
3+
"version": "2.0.0-rc.17",
44
"license": "LGPL-3.0",
55
"author": "[email protected]",
66
"description": "Web Components UI library based on WebCell v3, BootStrap v5, BootStrap Icon v1 & FontAwesome v6",
@@ -31,8 +31,8 @@
3131
"iterable-observer": "^1.1.0",
3232
"mime": "^4.0.6",
3333
"mobx": "^6.13.6",
34+
"prismjs": "^1.29.0",
3435
"regenerator-runtime": "^0.14.1",
35-
"shiki": "^3.1.0",
3636
"web-cell": "^3.0.3",
3737
"web-utility": "^4.4.3"
3838
},
@@ -52,7 +52,9 @@
5252
"@parcel/transformer-typescript-tsc": "~2.13.3",
5353
"@parcel/transformer-typescript-types": "~2.13.3",
5454
"@types/jest": "^29.5.14",
55+
"@types/prismjs": "^1.26.5",
5556
"@types/turndown": "^5.0.5",
57+
"buffer": "^6.0.3",
5658
"cross-env": "^7.0.3",
5759
"husky": "^9.1.7",
5860
"identity-obj-proxy": "^3.0.0",
@@ -62,6 +64,7 @@
6264
"open-cli": "^8.0.0",
6365
"parcel": "~2.13.3",
6466
"prettier": "^3.5.3",
67+
"process": "^0.11.10",
6568
"ts-jest": "^29.2.6",
6669
"ts-node": "^10.9.2",
6770
"typedoc": "^0.27.9",
@@ -71,7 +74,7 @@
7174
"scripts": {
7275
"prepare": "husky",
7376
"test": "lint-staged && tsc --noEmit",
74-
"start": "cd test/ && parcel index.html --open",
77+
"start": "cd test/ && rm -rf dist/ ../.parcel-cache && parcel index.html --open",
7578
"pack-dist": "rm -rf dist/ && parcel build source/index.ts",
7679
"pack-docs": "rm -rf docs/ && typedoc source/",
7780
"build": "npm run pack-dist && npm run pack-docs",

0 commit comments

Comments
 (0)