diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml deleted file mode 100644 index 9e89c0efc86..00000000000 --- a/.github/workflows/deploy-website.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Deploy rollupjs.org - -on: - push: - branches: - - documentation-published - -permissions: - contents: read - -jobs: - deploy: - name: 'Deploy to Netlify' - runs-on: ubuntu-latest - steps: - - name: Checkout Commit - uses: actions/checkout@v3 - - name: Setup Node - uses: actions/setup-node@v3 - with: - node-version: '18' - - name: Install dependencies - run: npm ci --ignore-scripts && npm rebuild puppeteer - - name: Build docs - run: npm run build:docs - - name: Deploy to Netlify - uses: nwtgck/actions-netlify@v2 - with: - publish-dir: './docs/.vitepress/dist/' - production-branch: documentation-published - github-token: ${{ secrets.GITHUB_TOKEN }} - deploy-message: "Deploy from GitHub Actions" - enable-pull-request-comment: false - enable-commit-comment: true - env: - NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} - timeout-minutes: 3 diff --git a/CHANGELOG.md b/CHANGELOG.md index b753dcb41a5..7f65af7e90e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # rollup changelog +## 3.20.5 + +_2023-04-18_ + +### Bug Fixes + +- Handle import and export names that are not valid JavaScript identifiers (#4939) + +### Pull Requests + +- [#4939](https://github.com/rollup/rollup/pull/4939): Fixed imports/exports that are illegal identifiers in the es output (@Andarist) +- [#4941](https://github.com/rollup/rollup/pull/4941): Reinstate global styles (@lukastaegert) + ## 3.20.4 _2023-04-17_ diff --git a/browser/package.json b/browser/package.json index 54cb073dfab..f86515687cb 100644 --- a/browser/package.json +++ b/browser/package.json @@ -1,6 +1,6 @@ { "name": "@rollup/browser", - "version": "3.20.4", + "version": "3.20.5", "description": "Next-generation ES module bundler browser build", "main": "dist/rollup.browser.js", "module": "dist/es/rollup.browser.js", diff --git a/docs/repl/components/BundleOptions.vue b/docs/repl/components/BundleOptions.vue index cb5891e9eb2..bf8cb40f643 100644 --- a/docs/repl/components/BundleOptions.vue +++ b/docs/repl/components/BundleOptions.vue @@ -6,11 +6,11 @@ {{ option.name }} - + @@ -102,7 +102,7 @@ const getLinkForOption = (option: string) => } h3 { - padding: 0 0.5rem; + padding: 0 0 0 0.5rem; margin: 6px 0 2px; font-size: 14px; font-weight: 500; @@ -167,10 +167,10 @@ select { appearance: none; background: var(--vp-c-bg); padding-right: 20px; - width: 100px; + width: 94px; } -.icon-plus { +.repl-icon-plus { font-size: 0.8em; position: absolute; right: 0; @@ -181,7 +181,7 @@ button.remove { font-family: inherit; font-size: 14px; font-weight: 500; - padding: 0.2em; + padding: 0.2em 0 0.2em 0.2em; margin: 0; background-color: transparent; border: none; @@ -195,6 +195,7 @@ button.remove { button.remove .label { opacity: 0; transition: all 0.2s; + padding-right: 0.2em; } button.remove:hover, diff --git a/docs/repl/components/InputHeader.vue b/docs/repl/components/InputHeader.vue index b5ea42c64f8..a7414813587 100644 --- a/docs/repl/components/InputHeader.vue +++ b/docs/repl/components/InputHeader.vue @@ -6,7 +6,7 @@ {{ example.title }} - + diff --git a/docs/repl/components/OutputStatus.vue b/docs/repl/components/OutputStatus.vue index 099ea2b74fe..f71f5221040 100644 --- a/docs/repl/components/OutputStatus.vue +++ b/docs/repl/components/OutputStatus.vue @@ -4,12 +4,12 @@ :class="waiting ? 'waiting' : error ? 'error' : warnings.length > 0 ? 'warnings' : 'success'" > - + Loading Rollup... - + Rollup completed with warnings:
  • @@ -18,7 +18,7 @@
- + Rollup successful! diff --git a/docs/repl/components/ReplInput.vue b/docs/repl/components/ReplInput.vue index 821b9137c31..7cd6ba96beb 100644 --- a/docs/repl/components/ReplInput.vue +++ b/docs/repl/components/ReplInput.vue @@ -13,8 +13,8 @@ /> - diff --git a/docs/repl/components/ReplMain.vue b/docs/repl/components/ReplMain.vue index 976810a77d3..d9298a18d58 100644 --- a/docs/repl/components/ReplMain.vue +++ b/docs/repl/components/ReplMain.vue @@ -44,8 +44,9 @@ onUnmounted(() => { }); - diff --git a/docs/repl/components/ReplModule.vue b/docs/repl/components/ReplModule.vue index 7f73b68f333..767868d6079 100644 --- a/docs/repl/components/ReplModule.vue +++ b/docs/repl/components/ReplModule.vue @@ -4,14 +4,14 @@
- - @@ -161,11 +161,11 @@ button .label { opacity: 1; } -.entry-module button.toggle-entry .icon-minus { +.entry-module button.toggle-entry .repl-icon-minus { opacity: 0.6; } -.entry-module button.toggle-entry:hover .icon-minus { +.entry-module button.toggle-entry:hover .repl-icon-minus { opacity: 1; } @@ -178,9 +178,9 @@ button:active .label { opacity: 1; } -.icon-cancel, -.icon-plus, -.icon-minus { +.repl-icon-cancel, +.repl-icon-plus, +.repl-icon-minus { font-size: 0.8em; transition: all 0.2s; } diff --git a/docs/repl/components/SelectOption.vue b/docs/repl/components/SelectOption.vue index 4ff2236a02c..e43e4bfd812 100644 --- a/docs/repl/components/SelectOption.vue +++ b/docs/repl/components/SelectOption.vue @@ -3,6 +3,7 @@