summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bjorn Lu <bjornlu.dev@gmail.com> 2022-11-09 22:23:05 +0800
committerGravatar GitHub <noreply@github.com> 2022-11-09 22:23:05 +0800
commit230d71f4b7de490a1963c87c2ce24f3cf93cb5d9 (patch)
treeb89a8ed2b7646b673105110d820cac4f0b22e473
parent92374c0f75139bf5db9b11ecd8e53eda9e536a23 (diff)
downloadastro-230d71f4b7de490a1963c87c2ce24f3cf93cb5d9.tar.gz
astro-230d71f4b7de490a1963c87c2ce24f3cf93cb5d9.tar.zst
astro-230d71f4b7de490a1963c87c2ce24f3cf93cb5d9.zip
Move rehype-pretty-code as devDep (#5337)
-rw-r--r--packages/integrations/mdx/package.json2
-rw-r--r--pnpm-lock.yaml8
2 files changed, 4 insertions, 6 deletions
diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json
index 1cbb2d8d5..44189f4e3 100644
--- a/packages/integrations/mdx/package.json
+++ b/packages/integrations/mdx/package.json
@@ -39,7 +39,6 @@
"github-slugger": "^1.4.0",
"gray-matter": "^4.0.3",
"kleur": "^4.1.4",
- "rehype-pretty-code": "^0.4.0",
"rehype-raw": "^6.1.1",
"remark-frontmatter": "^4.0.1",
"remark-gfm": "^3.0.1",
@@ -63,6 +62,7 @@
"mdast-util-to-string": "^3.1.0",
"mocha": "^9.2.2",
"reading-time": "^1.5.0",
+ "rehype-pretty-code": "^0.4.0",
"remark-shiki-twoslash": "^3.1.0",
"remark-toc": "^8.0.1",
"vite": "^3.0.0"
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index fc1705719..8b14fdb7a 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -2803,7 +2803,6 @@ importers:
github-slugger: 1.5.0
gray-matter: 4.0.3
kleur: 4.1.5
- rehype-pretty-code: 0.4.0_shiki@0.11.1
rehype-raw: 6.1.1
remark-frontmatter: 4.0.1
remark-gfm: 3.0.1
@@ -2826,6 +2825,7 @@ importers:
mdast-util-to-string: 3.1.0
mocha: 9.2.2
reading-time: 1.5.0
+ rehype-pretty-code: 0.4.0_shiki@0.11.1
remark-shiki-twoslash: 3.1.0
remark-toc: 8.0.1
vite: 3.2.3
@@ -15284,7 +15284,7 @@ packages:
/parse-numeric-range/1.3.0:
resolution: {integrity: sha512-twN+njEipszzlMJd4ONUYgSfZPDxgHhT9Ahed5uTigpQn90FggW4SA/AIPq/6a149fTbE9qBEcSwE3FAEp6wQQ==}
- dev: false
+ dev: true
/parse-package-name/1.0.0:
resolution: {integrity: sha512-kBeTUtcj+SkyfaW4+KBe0HtsloBJ/mKTPoxpVdA57GZiPerREsUWJOhVj9anXweFiJkm5y8FG1sxFZkZ0SN6wg==}
@@ -16224,7 +16224,7 @@ packages:
dependencies:
parse-numeric-range: 1.3.0
shiki: 0.11.1
- dev: false
+ dev: true
/rehype-raw/6.1.1:
resolution: {integrity: sha512-d6AKtisSRtDRX4aSPsJGTfnzrX2ZkHQLE5kiUuGOeEoLpbEulFF4hj0mLPbsa+7vmguDKOVVEQdHKDSwoaIDsQ==}
@@ -16737,7 +16737,6 @@ packages:
jsonc-parser: 3.2.0
vscode-oniguruma: 1.6.2
vscode-textmate: 6.0.0
- dev: false
/side-channel/1.0.4:
resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==}
@@ -18263,7 +18262,6 @@ packages:
/vscode-textmate/6.0.0:
resolution: {integrity: sha512-gu73tuZfJgu+mvCSy4UZwd2JXykjK9zAZsfmDeut5dx/1a7FeTk0XwJsSuqQn+cuMCGVbIBfl+s53X4T19DnzQ==}
- dev: false
/vscode-uri/2.1.2:
resolution: {integrity: sha512-8TEXQxlldWAuIODdukIb+TR5s+9Ds40eSJrw+1iDDA9IFORPjMELarNQE3myz5XIkWWpdprmJjm1/SxMlWOC8A==}