Skip to content

Latest commit

 

History

History
136 lines (76 loc) · 4.55 KB

File metadata and controls

136 lines (76 loc) · 4.55 KB

Changelog

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

  • createLibrary options should be optional
  • createLibrary should alphabetize module names

0.12.1 - 2023-06-25

  • revert back to using SvelteComponentTyped, since SvelteComponent cannot 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 SvelteComponentTyped interface

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 IconLibrary regex when searching icon names

0.11.0 - 2022-06-19

  • render meta description in IconLibrary component
  • disable spellcheck in IconLibrary search input

0.10.1 - 2022-04-03

  • generated TypeScript definitions should correctly extend SVG attributes

0.10.0 - 2022-02-19

  • add IconLibrary Svelte component for searching the icon library

0.9.0 - 2022-02-19

  • switch library format to CJS only
  • rename Options interface to CreateLibraryOptions
  • omit trailing line break in generated icon index file

0.8.4 - 2021-12-31

  • use fs.rm instead of fs.rmdir

0.8.3 - 2021-12-14

  • use fs.existsSync method to check if outDir exists

0.8.2 - 2021-12-14

  • check if outDir folder exists before removing it

0.8.1 - 2021-11-26

  • convert cli.js from CJS to ESM

0.8.0 - 2021-11-26

  • set "type" to "module" in package.json
  • allow createLibrary.appendClassNames to return undefined

0.7.0 - 2021-09-11

  • add toModuleName callback to createLibrary options to override the default module name
  • prefix module name if begins with !

0.6.0 - 2021-09-09

  • glob for *.svg should 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 appendClassNames to add class names provided the filename/module name

Fixes

  • cli.js should convert undefined values to true

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