summaryrefslogtreecommitdiff
path: root/examples/subpath
diff options
context:
space:
mode:
authorGravatar Dan Jutan <danjutan@gmail.com> 2022-08-31 16:17:15 -0400
committerGravatar GitHub <noreply@github.com> 2022-08-31 16:17:15 -0400
commitd5bd23d5f41fe9618d705d75724092af49dd5bc5 (patch)
tree5672239b2d204d2cabc1863aca20a9ee6f400f7b /examples/subpath
parentfa48d011098a48c1d609f6b70e6562d44c3217b5 (diff)
downloadastro-d5bd23d5f41fe9618d705d75724092af49dd5bc5.tar.gz
astro-d5bd23d5f41fe9618d705d75724092af49dd5bc5.tar.zst
astro-d5bd23d5f41fe9618d705d75724092af49dd5bc5.zip
Update templates to avoid devDependencies and :global (#4576)
* devDependencies => dependencies * :global -> is:global * update lockfile * remove unneeded markdown dependency * fix remaining merge conflicts * update lockfile
Diffstat (limited to 'examples/subpath')
-rw-r--r--examples/subpath/package.json8
1 files changed, 3 insertions, 5 deletions
diff --git a/examples/subpath/package.json b/examples/subpath/package.json
index b46b1f7dd..97b96a054 100644
--- a/examples/subpath/package.json
+++ b/examples/subpath/package.json
@@ -9,12 +9,10 @@
"preview": "astro preview",
"astro": "astro"
},
- "devDependencies": {
- "@astrojs/react": "^1.1.1",
- "astro": "^1.1.2"
- },
"dependencies": {
+ "astro": "^1.1.1",
"react": "^18.1.0",
- "react-dom": "^18.1.0"
+ "react-dom": "^18.1.0",
+ "@astrojs/react": "^1.1.0"
}
}