summaryrefslogtreecommitdiff
path: root/examples/docs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/docs')
-rw-r--r--examples/docs/.npmrc4
-rw-r--r--examples/docs/package.json5
2 files changed, 5 insertions, 4 deletions
diff --git a/examples/docs/.npmrc b/examples/docs/.npmrc
index 0cc653b2c..ef83021af 100644
--- a/examples/docs/.npmrc
+++ b/examples/docs/.npmrc
@@ -1,2 +1,2 @@
-## force pnpm to hoist
-shamefully-hoist = true \ No newline at end of file
+# Expose Astro dependencies for `pnpm` users
+shamefully-hoist=true
diff --git a/examples/docs/package.json b/examples/docs/package.json
index 951585c6b..620bf726f 100644
--- a/examples/docs/package.json
+++ b/examples/docs/package.json
@@ -9,11 +9,12 @@
"preview": "astro preview"
},
"dependencies": {
+ "@docsearch/css": "^3.0.0",
"@docsearch/react": "^1.0.0-alpha.28"
},
"devDependencies": {
- "astro": "^0.23.7",
+ "@astrojs/renderer-react": "^0.5.0",
"@astrojs/renderer-preact": "^0.5.0",
- "@astrojs/renderer-react": "^0.5.0"
+ "astro": "^0.23.7"
}
}