v0.7
v0.7
Breaking changes:
💥 Split check abilities into separate packages
After v0.7, the usage will be like:
package.json
"vite-plugin-checker": "some version",
"@vite-plugin-checker/eslint": "some version",
"eslint": "some version"
vite config
import { defineConfig } from 'vite'
import { checker } from 'vite-plugin-checker'
import { checker as eslint } from '@vite-plugin-checker/eslint'
export default defineConfig({
plugins: [
checker(
[
eslint({
lintCommand: 'eslint ./src --ext .ts',
}),
],
{
enableBuild: false,
}
),
],
})
Why?
- Friendly to user, user does not need to install any low-level packages dependented by ESLint for Stylelint.
- vite-plugin-checker's dependencies will be much cleaner. No useless dependencies will be installed.
- For better extensibility of the plugin, the checker count is scalable.
💥 Remove default export support
After v0.7, no default export will be provided from vite-plugin-checker to reduce ESM and CJS potential issues. The named export checker will be the only one to use. Also, new added checker packages will not provide default export but also a named export checker.
⚠️ No Changeset found
Latest commit: 41d835087269c8e3622797ac486a198d208fbd69
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Deploy Preview for vite-plugin-checker ready!
| Name | Link |
|---|---|
| Latest commit | 41d835087269c8e3622797ac486a198d208fbd69 |
| Latest deploy log | https://app.netlify.com/sites/vite-plugin-checker/deploys/65bd30045197680008fddd98 |
| Deploy Preview | https://deploy-preview-258--vite-plugin-checker.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
v0.7 is set to release with an important fix of compatibility with vue-tsc@2. A lot of changes has made since then. It might be possible to release a v0.8 to compatible with ESLint 9. Then will start a 0.10.0 with separate checkers into different packages. I'll start to do this over again.