1.0.3 • Published 1 year ago

@kjn/vite-plugin-tsc-typecheck v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@kjn/vite-plugin-tsc-typecheck

semantic-release: angular

npm version

The repo holds the vite plugin for typechecking with typescript.

How to use

npm i @kjn/vite-plugin-tsc-typecheck
import { tscTypecheck } from "@kjn/vite-plugin-tsc-typecheck";

export default defineConfig({
  plugins: [tscTypecheck()],

  /**
   * ...
   * ...
   * The rest of your config
   */
});

Output you'll see in your terminal

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
🕵️‍♂️ [tsc-typecheck] Testing for type errors
✅ [tsc-typecheck] All good
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

Now when autobuilding using vite build --watch an additional typechecking step will be executed. You'll see if there are typescript type errors.

Now when building using vite build the additional typechecking step will be executed. You'll see if there are typescript type errors.

Release

This repo uses semantic-release to auto-release new versions. The semver version number is based on the conventional-commit messages.

  • patches: fix: $MSG will increment the patch version
  • minor: feat: $MSG will increment the minor version
  • major: feat: $MSG \n\n BREAKING CHANGE will increment the major version

Pushing the changes to the main-branch will kick of deployment. The semantic-release bot will add a new commit directly to the repo with the new semver version number in package.json. Therefore after every push, you'd need to pull the repo again.

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago