Skip to content

Commit

Permalink
Fix out-of-date example dependencies (#7248)
Browse files Browse the repository at this point in the history
* revert changeset patch

* deps: bump astro across examples

* deps: bump @astrojs packages across examples

* deps: bump @astrojs/markdoc
  • Loading branch information
bholmesdev authored May 30, 2023
1 parent ba865f5 commit 290e344
Show file tree
Hide file tree
Showing 33 changed files with 211 additions and 198 deletions.
23 changes: 0 additions & 23 deletions .prettierrc.cjs

This file was deleted.

32 changes: 32 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// Heads up: This file should be renamed to `.cjs`, however if we did that, changesets wouldn't be able to load it
module.exports = {
printWidth: 100,
semi: true,
singleQuote: true,
tabWidth: 2,
trailingComma: 'es5',
useTabs: true,
plugins: ['./node_modules/prettier-plugin-astro'],
overrides: [
{
// Changesets run Prettier using our configuration, however it uses a very old version of Prettier that does
// not support our plugin and it ends up doing more harm than good. As such, we'll disable our plugin for changelogs
files: ['CHANGELOG.md'],
options: {
plugins: [],
},
},
{
files: ['.*', '*.json', '*.md', '*.toml', '*.yml'],
options: {
useTabs: false,
},
},
{
files: ['**/*.astro'],
options: {
parser: 'astro',
},
},
],
};
2 changes: 1 addition & 1 deletion examples/basics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.4.1"
"astro": "^2.5.6"
}
}
8 changes: 4 additions & 4 deletions examples/blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/mdx": "^0.19.1",
"@astrojs/rss": "^2.4.1",
"@astrojs/sitemap": "^1.3.0",
"astro": "^2.4.1"
"@astrojs/mdx": "^0.19.5",
"@astrojs/rss": "^2.4.3",
"@astrojs/sitemap": "^1.3.2",
"astro": "^2.5.6"
}
}
2 changes: 1 addition & 1 deletion examples/component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
"astro": "^2.4.1"
"astro": "^2.5.6"
},
"peerDependencies": {
"astro": "^2.0.0-beta.0"
Expand Down
4 changes: 2 additions & 2 deletions examples/deno/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.4.1"
"astro": "^2.5.6"
},
"devDependencies": {
"@astrojs/deno": "^4.1.0"
"@astrojs/deno": "^4.1.1"
}
}
6 changes: 3 additions & 3 deletions examples/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
},
"dependencies": {
"@algolia/client-search": "^4.17.0",
"@astrojs/preact": "^2.1.0",
"@astrojs/react": "^2.1.3",
"@astrojs/preact": "^2.2.1",
"@astrojs/react": "^2.2.1",
"@docsearch/css": "^3.3.4",
"@docsearch/react": "^3.3.4",
"@types/node": "^18.16.3",
"@types/react": "^18.2.5",
"@types/react-dom": "^18.2.3",
"astro": "^2.4.1",
"astro": "^2.5.6",
"preact": "^10.13.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand Down
4 changes: 2 additions & 2 deletions examples/framework-alpine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/alpinejs": "^0.2.1",
"@astrojs/alpinejs": "^0.2.2",
"@types/alpinejs": "^3.7.1",
"alpinejs": "^3.12.0",
"astro": "^2.4.1"
"astro": "^2.5.6"
}
}
4 changes: 2 additions & 2 deletions examples/framework-lit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/lit": "^2.0.1",
"@astrojs/lit": "^2.0.2",
"@webcomponents/template-shadowroot": "^0.2.1",
"astro": "^2.4.1",
"astro": "^2.5.6",
"lit": "^2.7.4"
}
}
12 changes: 6 additions & 6 deletions examples/framework-multiple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/preact": "^2.1.0",
"@astrojs/react": "^2.1.3",
"@astrojs/solid-js": "^2.1.1",
"@astrojs/svelte": "^2.1.1",
"@astrojs/vue": "^2.1.1",
"astro": "^2.4.1",
"@astrojs/preact": "^2.2.1",
"@astrojs/react": "^2.2.1",
"@astrojs/solid-js": "^2.2.0",
"@astrojs/svelte": "^2.2.0",
"@astrojs/vue": "^2.2.1",
"astro": "^2.5.6",
"preact": "^10.13.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
4 changes: 2 additions & 2 deletions examples/framework-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/preact": "^2.1.0",
"@astrojs/preact": "^2.2.1",
"@preact/signals": "^1.1.3",
"astro": "^2.4.1",
"astro": "^2.5.6",
"preact": "^10.13.2"
}
}
4 changes: 2 additions & 2 deletions examples/framework-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/react": "^2.1.3",
"@astrojs/react": "^2.2.1",
"@types/react": "^18.2.5",
"@types/react-dom": "^18.2.3",
"astro": "^2.4.1",
"astro": "^2.5.6",
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
Expand Down
4 changes: 2 additions & 2 deletions examples/framework-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/solid-js": "^2.1.1",
"astro": "^2.4.1",
"@astrojs/solid-js": "^2.2.0",
"astro": "^2.5.6",
"solid-js": "^1.7.4"
}
}
4 changes: 2 additions & 2 deletions examples/framework-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/svelte": "^2.1.1",
"astro": "^2.4.1",
"@astrojs/svelte": "^2.2.0",
"astro": "^2.5.6",
"svelte": "^3.58.0"
}
}
4 changes: 2 additions & 2 deletions examples/framework-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/vue": "^2.1.1",
"astro": "^2.4.1",
"@astrojs/vue": "^2.2.1",
"astro": "^2.5.6",
"vue": "^3.2.47"
}
}
4 changes: 2 additions & 2 deletions examples/hackernews/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/node": "^5.1.2",
"astro": "^2.4.1"
"@astrojs/node": "^5.1.4",
"astro": "^2.5.6"
}
}
2 changes: 1 addition & 1 deletion examples/integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
"astro": "^2.4.1"
"astro": "^2.5.6"
},
"peerDependencies": {
"astro": "^2.0.0-beta.0"
Expand Down
4 changes: 2 additions & 2 deletions examples/middleware/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"server": "node dist/server/entry.mjs"
},
"dependencies": {
"@astrojs/node": "^5.1.2",
"astro": "^2.4.1",
"@astrojs/node": "^5.1.4",
"astro": "^2.5.6",
"html-minifier": "^4.0.0"
}
}
2 changes: 1 addition & 1 deletion examples/minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.4.1"
"astro": "^2.5.6"
}
}
2 changes: 1 addition & 1 deletion examples/non-html-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.4.1"
"astro": "^2.5.6"
}
}
2 changes: 1 addition & 1 deletion examples/portfolio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.4.1"
"astro": "^2.5.6"
}
}
6 changes: 3 additions & 3 deletions examples/ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"server": "node dist/server/entry.mjs"
},
"dependencies": {
"@astrojs/node": "^5.1.2",
"@astrojs/svelte": "^2.1.1",
"astro": "^2.4.1",
"@astrojs/node": "^5.1.4",
"@astrojs/svelte": "^2.2.0",
"astro": "^2.5.6",
"svelte": "^3.58.0"
}
}
4 changes: 2 additions & 2 deletions examples/with-markdoc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/markdoc": "^0.2.0",
"astro": "^2.4.1",
"@astrojs/markdoc": "^0.3.0",
"astro": "^2.5.6",
"kleur": "^4.1.5"
}
}
4 changes: 2 additions & 2 deletions examples/with-markdown-plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/markdown-remark": "^2.2.0",
"astro": "^2.4.1",
"@astrojs/markdown-remark": "^2.2.1",
"astro": "^2.5.6",
"hast-util-select": "^5.0.5",
"rehype-autolink-headings": "^6.1.1",
"rehype-slug": "^5.1.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-markdown-shiki/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.4.1"
"astro": "^2.5.6"
}
}
6 changes: 3 additions & 3 deletions examples/with-mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/mdx": "^0.19.1",
"@astrojs/preact": "^2.1.0",
"astro": "^2.4.1",
"@astrojs/mdx": "^0.19.5",
"@astrojs/preact": "^2.2.1",
"astro": "^2.5.6",
"preact": "^10.13.2"
}
}
4 changes: 2 additions & 2 deletions examples/with-nanostores/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/preact": "^2.1.0",
"@astrojs/preact": "^2.2.1",
"@nanostores/preact": "^0.4.1",
"astro": "^2.4.1",
"astro": "^2.5.6",
"nanostores": "^0.8.1",
"preact": "^10.13.2"
}
Expand Down
6 changes: 3 additions & 3 deletions examples/with-tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/mdx": "^0.19.1",
"@astrojs/tailwind": "^3.1.2",
"@astrojs/mdx": "^0.19.5",
"@astrojs/tailwind": "^3.1.3",
"@types/canvas-confetti": "^1.6.0",
"astro": "^2.4.1",
"astro": "^2.5.6",
"autoprefixer": "^10.4.14",
"canvas-confetti": "^1.6.0",
"postcss": "^8.4.23",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-vite-plugin-pwa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.4.1",
"astro": "^2.5.6",
"vite-plugin-pwa": "0.14.7",
"workbox-window": "^6.5.4"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/with-vitest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"test": "vitest"
},
"dependencies": {
"astro": "^2.4.1",
"astro": "^2.5.6",
"vitest": "^0.31.0"
}
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,16 @@
]
},
"patchedDependencies": {
"@changesets/cli@2.26.1": "patches/@changesets__cli@2.26.1.patch"
"@changesets/cli@2.23.0": "patches/@changesets__cli@2.23.0.patch"
}
},
"dependencies": {
"@astrojs/webapi": "workspace:*",
"astro-benchmark": "workspace:*"
},
"devDependencies": {
"@changesets/changelog-github": "0.4.8",
"@changesets/cli": "2.26.1",
"@changesets/changelog-github": "0.4.4",
"@changesets/cli": "2.23.0",
"@types/node": "^18.7.21",
"@typescript-eslint/eslint-plugin": "^5.58.0",
"@typescript-eslint/parser": "^5.58.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/dist/cli.cjs.dev.js b/dist/cli.cjs.dev.js
index 73ab02a861b1f5a8e1bf10984340a0a6b1518b15..2309d78fb1ff07428bc76136d9eb4f4d8d6571cc 100644
index 5511d0c05d3b7472876dcc8410e938ccf612654f..aa75e3982b68e1226ba1877a7f32017e517480f5 100644
--- a/dist/cli.cjs.dev.js
+++ b/dist/cli.cjs.dev.js
@@ -279,6 +279,9 @@ async function confirmMajorRelease(pkgJSON) {
Expand Down
Loading

0 comments on commit 290e344

Please sign in to comment.