From 2e9978f02ad77d7c2f66529b094982c99fd4a445 Mon Sep 17 00:00:00 2001 From: Nate Moore Date: Fri, 29 Oct 2021 13:54:05 -0500 Subject: [PATCH] chore: prerelease under `next` tag --- .changeset/pre.json | 50 +++++++++++++++++++ .github/workflows/release-next.yml | 30 ----------- docs/package.json | 2 +- examples/blog-multiple-authors/package.json | 2 +- examples/blog/package.json | 2 +- examples/docs/package.json | 2 +- examples/framework-lit/package.json | 4 +- examples/framework-multiple/package.json | 4 +- examples/framework-preact/package.json | 2 +- examples/framework-react/package.json | 2 +- examples/framework-solid/package.json | 4 +- examples/framework-svelte/package.json | 2 +- examples/framework-vue/package.json | 2 +- examples/minimal/package.json | 2 +- examples/portfolio/package.json | 2 +- examples/starter/package.json | 2 +- examples/with-markdown-plugins/package.json | 2 +- examples/with-markdown/package.json | 2 +- examples/with-nanostores/package.json | 4 +- examples/with-tailwindcss/package.json | 2 +- package.json | 3 +- packages/astro/CHANGELOG.md | 23 +++++++++ packages/astro/package.json | 12 ++--- packages/markdown/remark/CHANGELOG.md | 6 +++ packages/markdown/remark/package.json | 2 +- packages/renderers/renderer-lit/CHANGELOG.md | 7 +++ packages/renderers/renderer-lit/package.json | 2 +- .../renderers/renderer-preact/CHANGELOG.md | 12 +++++ .../renderers/renderer-preact/package.json | 2 +- .../renderers/renderer-react/CHANGELOG.md | 12 +++++ .../renderers/renderer-react/package.json | 2 +- .../renderers/renderer-solid/CHANGELOG.md | 11 ++++ .../renderers/renderer-solid/package.json | 2 +- .../renderers/renderer-svelte/CHANGELOG.md | 11 ++++ .../renderers/renderer-svelte/package.json | 2 +- packages/renderers/renderer-vue/CHANGELOG.md | 11 ++++ packages/renderers/renderer-vue/package.json | 2 +- www/package.json | 2 +- 38 files changed, 180 insertions(+), 68 deletions(-) create mode 100644 .changeset/pre.json delete mode 100644 .github/workflows/release-next.yml diff --git a/.changeset/pre.json b/.changeset/pre.json new file mode 100644 index 000000000..c63ec344a --- /dev/null +++ b/.changeset/pre.json @@ -0,0 +1,50 @@ +{ + "mode": "pre", + "tag": "next", + "initialVersions": { + "docs": "0.0.7", + "@example/blog": "0.0.1", + "@example/blog-multiple-authors": "0.0.1", + "@example/docs": "0.0.1", + "@example/framework-lit": "0.0.1", + "@example/framework-multiple": "0.0.1", + "@example/framework-preact": "0.0.1", + "@example/framework-react": "0.0.1", + "@example/framework-solid": "0.0.1", + "@example/framework-svelte": "0.0.1", + "@example/framework-vue": "0.0.1", + "@example/minimal": "0.0.1", + "@example/portfolio": "0.0.1", + "@example/starter": "0.0.1", + "@example/with-markdown": "0.0.1", + "@example/with-markdown-plugins": "0.0.2", + "@example/with-nanostores": "0.0.1", + "@example/with-tailwindcss": "0.0.1", + "astro": "0.20.12", + "@astrojs/parser": "0.20.2", + "@astrojs/prism": "0.2.2", + "@astrojs/astro-test-builtins-dep": "0.0.1", + "@astrojs/test-custom-element-renderer": "0.0.1", + "create-astro": "0.6.6", + "@astrojs/markdown-remark": "0.3.1", + "@astrojs/renderer-lit": "0.1.2", + "@astrojs/renderer-preact": "0.2.2", + "@astrojs/renderer-react": "0.2.2", + "@astrojs/renderer-solid": "0.1.1", + "@astrojs/renderer-svelte": "0.1.2", + "@astrojs/renderer-vue": "0.1.9", + "astro-scripts": "0.0.1", + "www": "1.1.0" + }, + "changesets": [ + "hungry-wolves-shave", + "ninety-terms-raise", + "pink-trainers-learn", + "silly-apples-build", + "tall-crabs-care", + "tidy-mirrors-drum", + "tiny-bulldogs-lie", + "twenty-maps-listen", + "witty-cups-wave" + ] +} diff --git a/.github/workflows/release-next.yml b/.github/workflows/release-next.yml deleted file mode 100644 index 10ce81992..000000000 --- a/.github/workflows/release-next.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: release astro@next--compiler - -on: - push: - branches: - - next - -jobs: - release: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - with: - node-version: 16.x - - run: yarn - - # 1. create new snapshot version - run: yarn changeset version --snapshot compiler - - # 2. discard examples/docs/www changes (just in case) - run: git checkout -- examples/ docs/ www/ - - # 3: use compiler--next renderers (but don’t commit) - run: | - cd packages/astro - yarn add @astrojs/renderer-preact@next--compiler @astrojs/renderer-react@next--compiler @astrojs/renderer-svelte@next--compiler @astrojs/renderer-vue@next--compiler - cd ../.. - - # 4: auth - run: echo '//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}' > ${{ github.workspace }}/.npmrc - - # 5: publish! - run: yarn release --tag next--compiler - diff --git a/docs/package.json b/docs/package.json index ddec81a13..cd2e38f68 100644 --- a/docs/package.json +++ b/docs/package.json @@ -17,7 +17,7 @@ }, "devDependencies": { "@snowpack/plugin-dotenv": "^2.1.0", - "astro": "^0.20.6", + "astro": "^0.21.0-next.0", "broken-link-checker": "^0.7.8", "npm-run-all": "^4.1.5", "pa11y-ci": "^2.4.2", diff --git a/examples/blog-multiple-authors/package.json b/examples/blog-multiple-authors/package.json index 9964ef6e4..5a2375667 100644 --- a/examples/blog-multiple-authors/package.json +++ b/examples/blog-multiple-authors/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.20.12" + "astro": "^0.21.0-next.0" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 3deb4aca0..2d04f5949 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.20.12" + "astro": "^0.21.0-next.0" } } diff --git a/examples/docs/package.json b/examples/docs/package.json index acba905ee..dd59d84b4 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -12,7 +12,7 @@ "@docsearch/react": "^1.0.0-alpha.27" }, "devDependencies": { - "astro": "^0.20.12", + "astro": "^0.21.0-next.0", "@snowpack/plugin-dotenv": "^2.1.0" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index bc0606cda..f711c8f26 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/renderer-lit": "^0.1.2", - "astro": "^0.20.12" + "@astrojs/renderer-lit": "^0.1.3-next.0", + "astro": "^0.21.0-next.0" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 096e53977..49b332fa9 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/renderer-solid": "^0.1.1", - "astro": "^0.20.12" + "@astrojs/renderer-solid": "^0.2.0-next.0", + "astro": "^0.21.0-next.0" } } diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index fa472f48a..06529be34 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.20.12" + "astro": "^0.21.0-next.0" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index d83a8526d..948e91647 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.20.12" + "astro": "^0.21.0-next.0" } } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 168455f9e..3291f0f42 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/renderer-solid": "^0.1.1", - "astro": "^0.20.12" + "@astrojs/renderer-solid": "^0.2.0-next.0", + "astro": "^0.21.0-next.0" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index b74b8416b..79594fe81 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.20.12" + "astro": "^0.21.0-next.0" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 343f0a712..90f8f88ee 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.20.12" + "astro": "^0.21.0-next.0" } } diff --git a/examples/minimal/package.json b/examples/minimal/package.json index f6d10c8af..58d4153d9 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.20.12" + "astro": "^0.21.0-next.0" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 8e3c39940..be6a05d07 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.20.12" + "astro": "^0.21.0-next.0" } } diff --git a/examples/starter/package.json b/examples/starter/package.json index 95b369a27..bf417ad79 100644 --- a/examples/starter/package.json +++ b/examples/starter/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.20.12" + "astro": "^0.21.0-next.0" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index cec212962..49f69333f 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.20.12", + "astro": "^0.21.0-next.0", "rehype-add-classes": "^1.0.0", "rehype-autolink-headings": "^6.1.0", "rehype-toc": "^3.0.2", diff --git a/examples/with-markdown/package.json b/examples/with-markdown/package.json index 2b83fe6e3..df3038d05 100644 --- a/examples/with-markdown/package.json +++ b/examples/with-markdown/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.20.12" + "astro": "^0.21.0-next.0" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 5146ac922..706bdeffe 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -12,7 +12,7 @@ "nanostores": "^0.3.3" }, "devDependencies": { - "@astrojs/renderer-solid": "^0.1.1", - "astro": "^0.20.12" + "@astrojs/renderer-solid": "^0.2.0-next.0", + "astro": "^0.21.0-next.0" } } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 0af749c58..617c225ce 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.20.12", + "astro": "^0.21.0-next.0", "autoprefixer": "^10.3.7", "tailwindcss": "^2.2.17" } diff --git a/package.json b/package.json index d4e112a9f..68d63d586 100644 --- a/package.json +++ b/package.json @@ -23,10 +23,9 @@ "test:templates": "lerna run test --scope create-astro --stream" }, "workspaces": [ - "compiled/*", + "packages/*", "packages/markdown/*", "packages/renderers/*", - "packages/*", "examples/*", "scripts", "www", diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 87224b372..e9263b1a6 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,28 @@ # astro +## 0.21.0-next.0 + +### Minor Changes + +- 1d2da117: Use new compiler, move Astro to Vite + +### Patch Changes + +- d2bcbbca: Fix logger locale parsing +- 2c157956: Improve renderer APIs for Vite +- d1a73e4c: Feat: add CSS preprocessors in Astro Next +- Updated dependencies [a38460ca] +- Updated dependencies [e50cfa7b] +- Updated dependencies [cb733cf6] +- Updated dependencies [2c157956] +- Updated dependencies [26240770] +- Updated dependencies [bd2ac137] + - @astrojs/renderer-preact@0.3.0-next.0 + - @astrojs/renderer-react@0.3.0-next.0 + - @astrojs/renderer-svelte@0.2.0-next.0 + - @astrojs/renderer-vue@0.2.0-next.0 + - @astrojs/markdown-remark@0.3.2-next.0 + ## 0.20.12 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 18dce519a..136ee574a 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "0.20.12", + "version": "0.21.0-next.0", "author": "Skypack", "license": "MIT", "type": "module", @@ -54,13 +54,13 @@ "dependencies": { "@astrojs/compiler": "^0.2.23", "@astrojs/language-server": "^0.7.16", - "@astrojs/markdown-remark": "^0.3.1", + "@astrojs/markdown-remark": "^0.3.2-next.0", "@astrojs/markdown-support": "0.3.1", "@astrojs/prism": "0.2.2", - "@astrojs/renderer-preact": "^0.2.2", - "@astrojs/renderer-react": "0.2.2", - "@astrojs/renderer-svelte": "0.1.2", - "@astrojs/renderer-vue": "0.1.9", + "@astrojs/renderer-preact": "^0.3.0-next.0", + "@astrojs/renderer-react": "0.3.0-next.0", + "@astrojs/renderer-svelte": "0.2.0-next.0", + "@astrojs/renderer-vue": "0.2.0-next.0", "@babel/core": "^7.15.8", "@babel/traverse": "^7.15.4", "@web/rollup-plugin-html": "^1.10.1", diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md index eff4e46a6..5ffa572ff 100644 --- a/packages/markdown/remark/CHANGELOG.md +++ b/packages/markdown/remark/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/markdown-support +## 0.3.2-next.0 + +### Patch Changes + +- e50cfa7b: Adds prism support within the plugin + ## 0.3.1 ### Patch Changes diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json index fad9ef317..c7eb0fbad 100644 --- a/packages/markdown/remark/package.json +++ b/packages/markdown/remark/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/markdown-remark", - "version": "0.3.1", + "version": "0.3.2-next.0", "main": "./dist/index.js", "type": "module", "repository": { diff --git a/packages/renderers/renderer-lit/CHANGELOG.md b/packages/renderers/renderer-lit/CHANGELOG.md index 86c158b5c..3d41f7c91 100644 --- a/packages/renderers/renderer-lit/CHANGELOG.md +++ b/packages/renderers/renderer-lit/CHANGELOG.md @@ -1,5 +1,12 @@ # @astrojs/renderer-lit +## 0.1.3-next.0 + +### Patch Changes + +- a38460ca: Point renderer entrypoints to resolved JS files +- 2c157956: Improve renderer APIs for Vite + ## 0.1.2 ### Patch Changes diff --git a/packages/renderers/renderer-lit/package.json b/packages/renderers/renderer-lit/package.json index c0f942507..c2a3ce50e 100644 --- a/packages/renderers/renderer-lit/package.json +++ b/packages/renderers/renderer-lit/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/renderer-lit", - "version": "0.1.2", + "version": "0.1.3-next.0", "description": "A Lit renderer for Astro", "type": "module", "exports": { diff --git a/packages/renderers/renderer-preact/CHANGELOG.md b/packages/renderers/renderer-preact/CHANGELOG.md index 4856d3f0b..d8d24e006 100644 --- a/packages/renderers/renderer-preact/CHANGELOG.md +++ b/packages/renderers/renderer-preact/CHANGELOG.md @@ -1,5 +1,17 @@ # @astrojs/renderer-preact +## 0.3.0-next.0 + +### Minor Changes + +- 26240770: Update renderers for Vite +- bd2ac137: Add `@astrojs/renderer-preact/compat` entry point + +### Patch Changes + +- a38460ca: Point renderer entrypoints to resolved JS files +- 2c157956: Improve renderer APIs for Vite + ## 0.2.2 ### Patch Changes diff --git a/packages/renderers/renderer-preact/package.json b/packages/renderers/renderer-preact/package.json index ebd7c61dc..fbc32750c 100644 --- a/packages/renderers/renderer-preact/package.json +++ b/packages/renderers/renderer-preact/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/renderer-preact", - "version": "0.2.2", + "version": "0.3.0-next.0", "type": "module", "exports": { ".": "./index.js", diff --git a/packages/renderers/renderer-react/CHANGELOG.md b/packages/renderers/renderer-react/CHANGELOG.md index 27dc16185..12854a41a 100644 --- a/packages/renderers/renderer-react/CHANGELOG.md +++ b/packages/renderers/renderer-react/CHANGELOG.md @@ -1,5 +1,17 @@ # @astrojs/renderer-react +## 0.3.0-next.0 + +### Minor Changes + +- 26240770: Update renderers for Vite + +### Patch Changes + +- a38460ca: Point renderer entrypoints to resolved JS files +- cb733cf6: Improve support for third-party React packages +- 2c157956: Improve renderer APIs for Vite + ## 0.2.2 ### Patch Changes diff --git a/packages/renderers/renderer-react/package.json b/packages/renderers/renderer-react/package.json index de7a41892..5ab761a33 100644 --- a/packages/renderers/renderer-react/package.json +++ b/packages/renderers/renderer-react/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/renderer-react", - "version": "0.2.2", + "version": "0.3.0-next.0", "type": "module", "exports": { ".": "./index.js", diff --git a/packages/renderers/renderer-solid/CHANGELOG.md b/packages/renderers/renderer-solid/CHANGELOG.md index 14f82ea94..88b4d833c 100644 --- a/packages/renderers/renderer-solid/CHANGELOG.md +++ b/packages/renderers/renderer-solid/CHANGELOG.md @@ -1,5 +1,16 @@ # @astrojs/renderer-solid +## 0.2.0-next.0 + +### Minor Changes + +- 26240770: Update renderers for Vite + +### Patch Changes + +- a38460ca: Point renderer entrypoints to resolved JS files +- 2c157956: Improve renderer APIs for Vite + ## 0.1.1 ### Patch Changes diff --git a/packages/renderers/renderer-solid/package.json b/packages/renderers/renderer-solid/package.json index c24b24bc6..49b3c5638 100644 --- a/packages/renderers/renderer-solid/package.json +++ b/packages/renderers/renderer-solid/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/renderer-solid", - "version": "0.1.1", + "version": "0.2.0-next.0", "type": "module", "exports": { ".": "./index.js", diff --git a/packages/renderers/renderer-svelte/CHANGELOG.md b/packages/renderers/renderer-svelte/CHANGELOG.md index 287c7e1ef..35128af68 100644 --- a/packages/renderers/renderer-svelte/CHANGELOG.md +++ b/packages/renderers/renderer-svelte/CHANGELOG.md @@ -1,5 +1,16 @@ # @astrojs/renderer-svelte +## 0.2.0-next.0 + +### Minor Changes + +- 26240770: Update renderers for Vite + +### Patch Changes + +- a38460ca: Point renderer entrypoints to resolved JS files +- 2c157956: Improve renderer APIs for Vite + ## 0.1.2 ### Patch Changes diff --git a/packages/renderers/renderer-svelte/package.json b/packages/renderers/renderer-svelte/package.json index c573cb911..9ac4e9147 100644 --- a/packages/renderers/renderer-svelte/package.json +++ b/packages/renderers/renderer-svelte/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/renderer-svelte", - "version": "0.1.2", + "version": "0.2.0-next.0", "type": "module", "exports": { ".": "./index.js", diff --git a/packages/renderers/renderer-vue/CHANGELOG.md b/packages/renderers/renderer-vue/CHANGELOG.md index ef1650304..99b9659b7 100644 --- a/packages/renderers/renderer-vue/CHANGELOG.md +++ b/packages/renderers/renderer-vue/CHANGELOG.md @@ -1,5 +1,16 @@ # @astrojs/renderer-vue +## 0.2.0-next.0 + +### Minor Changes + +- 26240770: Update renderers for Vite + +### Patch Changes + +- a38460ca: Point renderer entrypoints to resolved JS files +- 2c157956: Improve renderer APIs for Vite + ## 0.1.9 ### Patch Changes diff --git a/packages/renderers/renderer-vue/package.json b/packages/renderers/renderer-vue/package.json index 68c99b39d..8b3d6bbe5 100644 --- a/packages/renderers/renderer-vue/package.json +++ b/packages/renderers/renderer-vue/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/renderer-vue", - "version": "0.1.9", + "version": "0.2.0-next.0", "type": "module", "exports": { ".": "./index.js", diff --git a/www/package.json b/www/package.json index 0dd608de8..a8da4059c 100644 --- a/www/package.json +++ b/www/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.20.12" + "astro": "^0.21.0-next.0" } }