Updates
Package
- Update package.json to use type
module
- Support Node 20.x with 18.x as min version
- Add DEVELOPER.md
- Add CONTRIBUTING.md
- Add COC.md (Code of Conduct)
Development
- Upgrade
Svelte 3.x
to4.x
- Replace
Rollup
withVite
- Replace
Jest
withVitest
- Replace
npm
withpnpm
- Update
TSConfig
config - Update
Prettier
config - Update
ESLint
config - Update to
Storybook 7.6.5
- Add
precommit
hooks for development usingHusky
+lintstaged
CI/CD
- Storybook (UI Components)
- Unit tests (Vitest)
- Publish (NPM)
- Release tagging (GitHub)
Source
- Update exports and test patterns
- Modularize components (component, test, story, type def, snapshot, etc.)
- Add snapshots to tests
- Update TypeScript definitions
- Migrate stories to new format
API Changes
<Dropdown>
propertyautoClose
mirrors Bootstrap'sinside
andoutside
.- Included
keyboard
props for<Modal>
and<Offcanvas>
- Additional updates legacy issues are listed before
Resolves
Pull requests
- bestguy/sveltestrap#418
- bestguy/sveltestrap#459
- bestguy/sveltestrap#491
- bestguy/sveltestrap#531
- bestguy/sveltestrap#534
- bestguy/sveltestrap#574
- bestguy/sveltestrap#575
Issues