This template version uses Vite 5.x and couple of new vite
plugins. Currently, this template is meant to be a custom node
library you can build with. However, we may introduce storybook
and more (big maybe - still working out elegant templating for this type of idea).
Added
vite-plugin-dts
- Automatically generates file such asindex.d.ts
.vite-plugin-eslint
- A new and convenient way to integrateeslint
withvite
, simple and easy - try it out!- Enabled
vitest
UI - I have installed@vitest/ui
and updatedpackage.json
with a new script.
Changed
- Updated
rollup-plugin-visualizer
with new configuration method of latest version. Seevite.config.ts
file. - New
@vitest/coverage-v8
dependency,c8
has been deprecated and for more information see their online documentation. - Updated
tsconfig.json
andpackage.json
file. - Removed
rollup-plugin-typescript-paths
as it is no longer needed, you may reinstall & configure this plugin again for your needs. - Upgraded ALL dependencies. FYI, I recommend using
taze
which I should've used before this release. - Updated Github Actions - Node 14.x / 16.x has been deprecated. Thus, the new
node
engine versions in the workflows, should be building against Node 18.x / 20.x now and beyond (until the next Node versions, this example workflow will be updated).
Thank you for using this template, and happy coding!