diff --git a/CHANGELOG.md b/CHANGELOG.md index d2f1c28..bcf89ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ## Unreleased +## 3.3.1 + +- Add `type: module` to package.json ([#101](https://github.com/vitejs/vite-plugin-react-swc/pull/101)). Because the library already publish `.cjs` & `.mjs` files, the only change is for typing when using the node16 module resolution (fixes [#95](https://github.com/vitejs/vite-plugin-react-swc/issues/95)) +- Throw an error when the MDX plugin is after this one ([#100](https://github.com/vitejs/vite-plugin-react-swc/pull/100)). This is an expected breaking change added in `3.2.0` and this should people that were using both plugins before this version to migrate. + ## 3.3.0 - Support TS/JSX in node_modules to help the community experiment with it. Note that for now this not supported by TS and errors from these files cannot be silenced if the user is using a stricter configuration than the library author: https://github.com/microsoft/TypeScript/issues/30511. I advise to use it only for internal libraries for now (fixes #53) diff --git a/package.json b/package.json index 088abaf..0cdfe8c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vitejs/plugin-react-swc-monorepo", - "version": "3.3.0", + "version": "3.3.1", "type": "module", "private": true, "scripts": { diff --git a/scripts/publish.ts b/scripts/publish.ts index ab34e1e..8e72f49 100644 --- a/scripts/publish.ts +++ b/scripts/publish.ts @@ -3,4 +3,5 @@ import { publish } from "@vitejs/release-scripts"; publish({ defaultPackage: "plugin-react-swc", getPkgDir: () => "dist", + provenance: true, });