All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.12.2 - 2024-06-19
createLibraryoptions should be optionalcreateLibraryshould alphabetize module names
0.12.1 - 2023-06-25
- revert back to using
SvelteComponentTyped, sinceSvelteComponentcannot be used in Svelte 3
0.12.0 - 2023-06-25
Breaking Changes
- update generated types to support Svelte 4, while still supporting Svelte version >=3.55
0.11.4 - 2023-02-09
- escape file extension regex for Windows
0.11.3 - 2022-10-01
- use type-only import for
SvelteComponentTypedinterface
0.11.2 - 2022-06-20
- escape icon names beginning with "" in icon index
0.11.1 - 2022-06-19
- remove all spaces/dashes in
IconLibraryregex when searching icon names
0.11.0 - 2022-06-19
- render meta description in
IconLibrarycomponent - disable spellcheck in
IconLibrarysearch input
0.10.1 - 2022-04-03
- generated TypeScript definitions should correctly extend SVG attributes
0.10.0 - 2022-02-19
- add
IconLibrarySvelte component for searching the icon library
0.9.0 - 2022-02-19
- switch library format to CJS only
- rename
Optionsinterface toCreateLibraryOptions - omit trailing line break in generated icon index file
0.8.4 - 2021-12-31
- use
fs.rminstead offs.rmdir
0.8.3 - 2021-12-14
- use
fs.existsSyncmethod to check ifoutDirexists
0.8.2 - 2021-12-14
- check if
outDirfolder exists before removing it
0.8.1 - 2021-11-26
- convert
cli.jsfrom CJS to ESM
0.8.0 - 2021-11-26
- set "type" to "module" in
package.json - allow
createLibrary.appendClassNamesto returnundefined
0.7.0 - 2021-09-11
- add
toModuleNamecallback tocreateLibraryoptions to override the default module name - prefix module name if begins with !
0.6.0 - 2021-09-09
- glob for
*.svgshould account for nested folders**/*.svg - emit success message creating the icon index
0.5.0 - 2021-08-31
- emit success message when creating a library
0.4.0 - 2021-08-28
- preserve underscores (
_) when generating the module name
0.3.2 - 2021-08-28
- avoid duplicate module names in generated
lib/index.js,lib/index.d.ts
0.3.1 - 2021-08-09
- generate
index.d.ts
0.3.0 - 2021-07-31
Features
- add callback
appendClassNamesto add class names provided the filename/module name
Fixes
cli.jsshould convertundefinedvalues totrue
0.2.0 - 2021-07-31
- Add option to generate an icon index in Markdown format
0.1.1 - 2021-07-31
- Use UMD entry in
cli.js
0.1.0 - 2021-07-31
- Initial release