summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar duncanhealy <duncanhealy@users.noreply.github.com> 2021-06-24 14:48:25 +0100
committerGravatar GitHub <noreply@github.com> 2021-06-24 09:48:25 -0400
commita89a52b1cd3b1877c8b7597451e5d9caca6d49eb (patch)
tree3f1474cd096fd255a58744408c67c5fbe4f433ee
parentc6fcf9d6cb503ee33c6d3588169e546466def179 (diff)
downloadastro-a89a52b1cd3b1877c8b7597451e5d9caca6d49eb.tar.gz
astro-a89a52b1cd3b1877c8b7597451e5d9caca6d49eb.tar.zst
astro-a89a52b1cd3b1877c8b7597451e5d9caca6d49eb.zip
force pnpm to hoist packages inside astro #342 #190 (#530)
* force pnpm to hoist packages inside astro #342 #190 * Add changeset for hoisted packages #342
-rw-r--r--.changeset/brave-glasses-cry.md12
-rw-r--r--examples/astro-markdown/.npmrc2
-rw-r--r--examples/blog/.npmrc2
-rw-r--r--examples/docs/.npmrc2
-rw-r--r--examples/kitchen-sink/.npmrc2
-rw-r--r--examples/portfolio/.npmrc2
-rw-r--r--examples/snowpack/.npmrc2
-rw-r--r--examples/starter/.npmrc2
-rw-r--r--examples/tailwindcss/.npmrc2
9 files changed, 28 insertions, 0 deletions
diff --git a/.changeset/brave-glasses-cry.md b/.changeset/brave-glasses-cry.md
new file mode 100644
index 000000000..7faf3b0c8
--- /dev/null
+++ b/.changeset/brave-glasses-cry.md
@@ -0,0 +1,12 @@
+---
+'@astrojs/markdown-example': patch
+'@astrojs/example-blog': patch
+'@astrojs/docs-template': patch
+'@astrojs/kitchen-sink-example': patch
+'@astrojs/portfolio-template': patch
+'@example/snowpack': patch
+'@astrojs/starter-kit': patch
+'@astrojs/tailwind-example': patch
+---
+
+Force pnpm installs to hoist nested dependencies
diff --git a/examples/astro-markdown/.npmrc b/examples/astro-markdown/.npmrc
new file mode 100644
index 000000000..0cc653b2c
--- /dev/null
+++ b/examples/astro-markdown/.npmrc
@@ -0,0 +1,2 @@
+## force pnpm to hoist
+shamefully-hoist = true \ No newline at end of file
diff --git a/examples/blog/.npmrc b/examples/blog/.npmrc
new file mode 100644
index 000000000..0cc653b2c
--- /dev/null
+++ b/examples/blog/.npmrc
@@ -0,0 +1,2 @@
+## force pnpm to hoist
+shamefully-hoist = true \ No newline at end of file
diff --git a/examples/docs/.npmrc b/examples/docs/.npmrc
new file mode 100644
index 000000000..0cc653b2c
--- /dev/null
+++ b/examples/docs/.npmrc
@@ -0,0 +1,2 @@
+## force pnpm to hoist
+shamefully-hoist = true \ No newline at end of file
diff --git a/examples/kitchen-sink/.npmrc b/examples/kitchen-sink/.npmrc
new file mode 100644
index 000000000..0cc653b2c
--- /dev/null
+++ b/examples/kitchen-sink/.npmrc
@@ -0,0 +1,2 @@
+## force pnpm to hoist
+shamefully-hoist = true \ No newline at end of file
diff --git a/examples/portfolio/.npmrc b/examples/portfolio/.npmrc
new file mode 100644
index 000000000..0cc653b2c
--- /dev/null
+++ b/examples/portfolio/.npmrc
@@ -0,0 +1,2 @@
+## force pnpm to hoist
+shamefully-hoist = true \ No newline at end of file
diff --git a/examples/snowpack/.npmrc b/examples/snowpack/.npmrc
new file mode 100644
index 000000000..0cc653b2c
--- /dev/null
+++ b/examples/snowpack/.npmrc
@@ -0,0 +1,2 @@
+## force pnpm to hoist
+shamefully-hoist = true \ No newline at end of file
diff --git a/examples/starter/.npmrc b/examples/starter/.npmrc
new file mode 100644
index 000000000..0cc653b2c
--- /dev/null
+++ b/examples/starter/.npmrc
@@ -0,0 +1,2 @@
+## force pnpm to hoist
+shamefully-hoist = true \ No newline at end of file
diff --git a/examples/tailwindcss/.npmrc b/examples/tailwindcss/.npmrc
new file mode 100644
index 000000000..0cc653b2c
--- /dev/null
+++ b/examples/tailwindcss/.npmrc
@@ -0,0 +1,2 @@
+## force pnpm to hoist
+shamefully-hoist = true \ No newline at end of file