diff --git a/.changeset/plenty-kids-own.md b/.changeset/plenty-kids-own.md deleted file mode 100644 index 56ce7ca13..000000000 --- a/.changeset/plenty-kids-own.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes define:vars w/ styles used inside of components diff --git a/examples/basics/package.json b/examples/basics/package.json index 0a2cc3108..a0295bc6e 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^1.0.0-beta.56" + "astro": "^1.0.0-beta.57" } } diff --git a/examples/blog-multiple-authors/package.json b/examples/blog-multiple-authors/package.json index 53c390051..426dc59d2 100644 --- a/examples/blog-multiple-authors/package.json +++ b/examples/blog-multiple-authors/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.2.0", - "astro": "^1.0.0-beta.56", + "astro": "^1.0.0-beta.57", "sass": "^1.52.2" }, "dependencies": { diff --git a/examples/blog/package.json b/examples/blog/package.json index 1d7766d26..7994b7b20 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.2.0", - "astro": "^1.0.0-beta.56" + "astro": "^1.0.0-beta.57" }, "dependencies": { "preact": "^10.7.3" diff --git a/examples/component/demo/package.json b/examples/component/demo/package.json index ee8009805..1fae61292 100644 --- a/examples/component/demo/package.json +++ b/examples/component/demo/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@example/my-component": "workspace:*", - "astro": "^1.0.0-beta.56" + "astro": "^1.0.0-beta.57" } } diff --git a/examples/component/package.json b/examples/component/package.json index b43bf9757..23460b133 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -8,6 +8,6 @@ "serve": "astro --root demo preview" }, "devDependencies": { - "astro": "^1.0.0-beta.56" + "astro": "^1.0.0-beta.57" } } diff --git a/examples/docs/package.json b/examples/docs/package.json index a271c57d3..281c374ba 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -20,6 +20,6 @@ "devDependencies": { "@astrojs/preact": "^0.2.0", "@astrojs/react": "^0.2.0", - "astro": "^1.0.0-beta.56" + "astro": "^1.0.0-beta.57" } } diff --git a/examples/env-vars/package.json b/examples/env-vars/package.json index 6de1fc5d2..34194f025 100644 --- a/examples/env-vars/package.json +++ b/examples/env-vars/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^1.0.0-beta.56" + "astro": "^1.0.0-beta.57" } } diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 2f2276407..9ff43bb8d 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^1.0.0-beta.56" + "astro": "^1.0.0-beta.57" }, "dependencies": { "alpinejs": "^3.10.2" diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index 1887ffa30..b9f5085ea 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/lit": "^0.3.0", - "astro": "^1.0.0-beta.56" + "astro": "^1.0.0-beta.57" }, "dependencies": { "@webcomponents/template-shadowroot": "^0.1.0", diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index d5d9011a8..9e5265dd7 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -15,7 +15,7 @@ "@astrojs/solid-js": "^0.2.0", "@astrojs/svelte": "^0.2.0", "@astrojs/vue": "^0.2.0", - "astro": "^1.0.0-beta.56" + "astro": "^1.0.0-beta.57" }, "dependencies": { "@webcomponents/template-shadowroot": "^0.1.0", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 643bc3c68..e4e7f84b6 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.2.0", - "astro": "^1.0.0-beta.56" + "astro": "^1.0.0-beta.57" }, "dependencies": { "preact": "^10.7.3" diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index aede2e7f5..c951c3523 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -12,7 +12,7 @@ "@astrojs/react": "^0.2.0", "@types/react": "^18.0.10", "@types/react-dom": "^18.0.5", - "astro": "^1.0.0-beta.56" + "astro": "^1.0.0-beta.57" }, "dependencies": { "react": "^18.1.0", diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 2a94d4395..ac9e4919b 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/solid-js": "^0.2.0", - "astro": "^1.0.0-beta.56" + "astro": "^1.0.0-beta.57" }, "dependencies": { "solid-js": "^1.4.3" diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 8cc81ea1d..0502ee30c 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/svelte": "^0.2.0", - "astro": "^1.0.0-beta.56" + "astro": "^1.0.0-beta.57" }, "dependencies": { "svelte": "^3.48.0" diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 654e4d7b6..e4adf3c8c 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/vue": "^0.2.0", - "astro": "^1.0.0-beta.56" + "astro": "^1.0.0-beta.57" }, "dependencies": { "vue": "^3.2.36" diff --git a/examples/integrations-playground/package.json b/examples/integrations-playground/package.json index 172830d88..4a5a8b9fa 100644 --- a/examples/integrations-playground/package.json +++ b/examples/integrations-playground/package.json @@ -16,7 +16,7 @@ "@astrojs/solid-js": "0.2.0", "@astrojs/tailwind": "^0.2.1", "@astrojs/turbolinks": "^0.1.3", - "astro": "^1.0.0-beta.56", + "astro": "^1.0.0-beta.57", "solid-js": "^1.4.3" }, "dependencies": { diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 8a2fb24ed..6bec9c0ac 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^1.0.0-beta.56" + "astro": "^1.0.0-beta.57" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index de71eed41..d3a51e119 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^1.0.0-beta.56" + "astro": "^1.0.0-beta.57" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index f056fb372..5376afc7a 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.2.0", - "astro": "^1.0.0-beta.56", + "astro": "^1.0.0-beta.57", "sass": "^1.52.2" }, "dependencies": { diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 10f42adf0..3814829db 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -11,7 +11,7 @@ "devDependencies": { "@astrojs/node": "^0.1.2", "@astrojs/svelte": "^0.2.0", - "astro": "^1.0.0-beta.56", + "astro": "^1.0.0-beta.57", "concurrently": "^7.2.1", "lightcookie": "^1.0.25", "unocss": "^0.15.6", diff --git a/examples/starter/package.json b/examples/starter/package.json index caf5f377b..8ea6703c0 100644 --- a/examples/starter/package.json +++ b/examples/starter/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^1.0.0-beta.56" + "astro": "^1.0.0-beta.57" } } diff --git a/examples/subpath/package.json b/examples/subpath/package.json index 62724ef2d..277662639 100644 --- a/examples/subpath/package.json +++ b/examples/subpath/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/react": "^0.2.0", - "astro": "^1.0.0-beta.56", + "astro": "^1.0.0-beta.57", "sass": "^1.52.2" }, "dependencies": { diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index aaa433475..063a572c7 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/markdown-remark": "^0.11.3", - "astro": "^1.0.0-beta.56", + "astro": "^1.0.0-beta.57", "hast-util-select": "5.0.1", "rehype-autolink-headings": "^6.1.1", "rehype-slug": "^5.0.1", diff --git a/examples/with-markdown-shiki/package.json b/examples/with-markdown-shiki/package.json index cb214e252..1e9ad4902 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/markdown-remark": "^0.11.3", - "astro": "^1.0.0-beta.56" + "astro": "^1.0.0-beta.57" } } diff --git a/examples/with-markdown/package.json b/examples/with-markdown/package.json index 0f1fddfbf..6e749e548 100644 --- a/examples/with-markdown/package.json +++ b/examples/with-markdown/package.json @@ -14,7 +14,7 @@ "@astrojs/react": "^0.2.0", "@astrojs/svelte": "^0.2.0", "@astrojs/vue": "^0.2.0", - "astro": "^1.0.0-beta.56" + "astro": "^1.0.0-beta.57" }, "dependencies": { "preact": "^10.7.3", diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 5141c4e5a..773149fc8 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -25,6 +25,6 @@ "@astrojs/solid-js": "^0.2.0", "@astrojs/svelte": "^0.2.0", "@astrojs/vue": "^0.2.0", - "astro": "^1.0.0-beta.56" + "astro": "^1.0.0-beta.57" } } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 54ed31a2c..a3d089a7b 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/tailwind": "^0.2.1", - "astro": "^1.0.0-beta.56", + "astro": "^1.0.0-beta.57", "autoprefixer": "^10.4.7", "canvas-confetti": "^1.5.1", "postcss": "^8.4.14", diff --git a/examples/with-vite-plugin-pwa/package.json b/examples/with-vite-plugin-pwa/package.json index b642b2d1f..eba6235e5 100644 --- a/examples/with-vite-plugin-pwa/package.json +++ b/examples/with-vite-plugin-pwa/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^1.0.0-beta.56", + "astro": "^1.0.0-beta.57", "vite-plugin-pwa": "0.11.11", "workbox-window": "^6.5.3" } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 8ff78be21..6ac878934 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,11 @@ # astro +## 1.0.0-beta.57 + +### Patch Changes + +- [#3724](https://github.com/withastro/astro/pull/3724) [`86635e03`](https://github.com/withastro/astro/commit/86635e035b209845b4e1cdf370a4c78451271b70) Thanks [@matthewp](https://github.com/matthewp)! - Fixes define:vars w/ styles used inside of components + ## 1.0.0-beta.56 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 1a35c6bb7..2c61ba25b 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "1.0.0-beta.56", + "version": "1.0.0-beta.57", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d17f780d0..66dc6fd88 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -49,14 +49,14 @@ importers: examples/basics: specifiers: - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 devDependencies: astro: link:../../packages/astro examples/blog: specifiers: '@astrojs/preact': ^0.2.0 - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 preact: ^10.7.3 dependencies: preact: 10.7.3 @@ -67,7 +67,7 @@ importers: examples/blog-multiple-authors: specifiers: '@astrojs/preact': ^0.2.0 - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 preact: ^10.7.3 sass: ^1.52.2 dependencies: @@ -79,14 +79,14 @@ importers: examples/component: specifiers: - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 devDependencies: astro: link:../../packages/astro examples/component/demo: specifiers: '@example/my-component': workspace:* - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 devDependencies: '@example/my-component': link:../packages/my-component astro: link:../../../packages/astro @@ -102,7 +102,7 @@ importers: '@docsearch/css': ^3.1.0 '@docsearch/react': ^3.1.0 '@types/react': ^17.0.45 - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 preact: ^10.7.3 react: ^18.1.0 react-dom: ^18.1.0 @@ -121,14 +121,14 @@ importers: examples/env-vars: specifiers: - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 devDependencies: astro: link:../../packages/astro examples/framework-alpine: specifiers: alpinejs: ^3.10.2 - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 dependencies: alpinejs: 3.10.2 devDependencies: @@ -138,7 +138,7 @@ importers: specifiers: '@astrojs/lit': ^0.3.0 '@webcomponents/template-shadowroot': ^0.1.0 - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 lit: ^2.2.5 dependencies: '@webcomponents/template-shadowroot': 0.1.0 @@ -156,7 +156,7 @@ importers: '@astrojs/svelte': ^0.2.0 '@astrojs/vue': ^0.2.0 '@webcomponents/template-shadowroot': ^0.1.0 - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 lit: ^2.2.5 preact: ^10.7.3 react: ^18.1.0 @@ -185,7 +185,7 @@ importers: examples/framework-preact: specifiers: '@astrojs/preact': ^0.2.0 - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 preact: ^10.7.3 dependencies: preact: 10.7.3 @@ -198,7 +198,7 @@ importers: '@astrojs/react': ^0.2.0 '@types/react': ^18.0.10 '@types/react-dom': ^18.0.5 - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 react: ^18.1.0 react-dom: ^18.1.0 dependencies: @@ -213,7 +213,7 @@ importers: examples/framework-solid: specifiers: '@astrojs/solid-js': ^0.2.0 - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 solid-js: ^1.4.3 dependencies: solid-js: 1.4.3 @@ -224,7 +224,7 @@ importers: examples/framework-svelte: specifiers: '@astrojs/svelte': ^0.2.0 - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 svelte: ^3.48.0 dependencies: svelte: 3.48.0 @@ -235,7 +235,7 @@ importers: examples/framework-vue: specifiers: '@astrojs/vue': ^0.2.0 - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 vue: ^3.2.36 dependencies: vue: 3.2.37 @@ -253,7 +253,7 @@ importers: '@astrojs/tailwind': ^0.2.1 '@astrojs/turbolinks': ^0.1.3 '@webcomponents/template-shadowroot': ^0.1.0 - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 lit: ^2.2.5 preact: ^10.7.3 react: ^18.1.0 @@ -282,20 +282,20 @@ importers: examples/minimal: specifiers: - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 devDependencies: astro: link:../../packages/astro examples/non-html-pages: specifiers: - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 devDependencies: astro: link:../../packages/astro examples/portfolio: specifiers: '@astrojs/preact': ^0.2.0 - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 preact: ^10.7.3 sass: ^1.52.2 dependencies: @@ -309,7 +309,7 @@ importers: specifiers: '@astrojs/node': ^0.1.2 '@astrojs/svelte': ^0.2.0 - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 concurrently: ^7.2.1 lightcookie: ^1.0.25 svelte: ^3.48.0 @@ -328,14 +328,14 @@ importers: examples/starter: specifiers: - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 devDependencies: astro: link:../../packages/astro examples/subpath: specifiers: '@astrojs/react': ^0.2.0 - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 react: ^18.1.0 react-dom: ^18.1.0 sass: ^1.52.2 @@ -354,7 +354,7 @@ importers: '@astrojs/react': ^0.2.0 '@astrojs/svelte': ^0.2.0 '@astrojs/vue': ^0.2.0 - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 preact: ^10.7.3 react: ^18.1.0 react-dom: ^18.1.0 @@ -377,7 +377,7 @@ importers: examples/with-markdown-plugins: specifiers: '@astrojs/markdown-remark': ^0.11.3 - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 hast-util-select: 5.0.1 rehype-autolink-headings: ^6.1.1 rehype-slug: ^5.0.1 @@ -395,7 +395,7 @@ importers: examples/with-markdown-shiki: specifiers: '@astrojs/markdown-remark': ^0.11.3 - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 devDependencies: '@astrojs/markdown-remark': link:../../packages/markdown/remark astro: link:../../packages/astro @@ -410,7 +410,7 @@ importers: '@nanostores/preact': ^0.1.3 '@nanostores/react': ^0.1.5 '@nanostores/vue': ^0.4.1 - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 nanostores: ^0.5.12 preact: ^10.7.3 react: ^18.1.0 @@ -438,7 +438,7 @@ importers: examples/with-tailwindcss: specifiers: '@astrojs/tailwind': ^0.2.1 - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 autoprefixer: ^10.4.7 canvas-confetti: ^1.5.1 postcss: ^8.4.14 @@ -453,7 +453,7 @@ importers: examples/with-vite-plugin-pwa: specifiers: - astro: ^1.0.0-beta.56 + astro: ^1.0.0-beta.57 vite-plugin-pwa: 0.11.11 workbox-window: ^6.5.3 devDependencies: @@ -8554,11 +8554,6 @@ packages: /debug/3.2.7: resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true dependencies: ms: 2.1.3 dev: false @@ -11440,8 +11435,6 @@ packages: debug: 3.2.7 iconv-lite: 0.4.24 sax: 1.2.4 - transitivePeerDependencies: - - supports-color dev: false /netmask/2.0.2: @@ -11525,8 +11518,6 @@ packages: rimraf: 2.7.1 semver: 5.7.1 tar: 4.4.19 - transitivePeerDependencies: - - supports-color dev: false /node-releases/2.0.5: