Skip to content

Releases: firefoxic/optimize

Release v2.0.0

13 Jun 16:26

Choose a tag to compare

Changed

  • The favicons command no longer depends on the following options:
    • -i — the path to the directory with the files to be processed is now specified with the -p option;
    • -o — new files are created in the same directory as the original files (i.e., the directory specified by the -p option);
    • -r — the original favicon files are now always deleted after processing is complete.
  • The favicons command now places only the favicon.ico, manifest.webmanifest, and Links.md files in the specified directory, with all other files being placed in the favicons subdirectory. This eliminates the need to manually move the listed files up one level. You only need to extract the link tags code from the Links.md file into your HTML layout and then delete the Links.md file.

Added

  • New CLI option -p (--publicDirectory) for the favicons command, allowing you to specify a directory (public by default) with static assets where the source SVG files for generating favicons are expected.
  • New CLI flag -m (--addMetaData), enabling which when processing raster images additionally generates metadata files in JSON and JS formats.

Release v1.0.3

24 May 10:04

Choose a tag to compare

Fixed

  • The path to icon-180.png (Apple touch icon) is now correctly generated in Links.md.

Release v1.0.2

06 May 13:08

Choose a tag to compare

Fixed

  • Paths in the webmanifest are now generated correctly on Windows.

Release v1.0.1

06 May 12:37

Choose a tag to compare

Fixed

  • The conjure favicons command now works fine on Windows.
  • The webmanifest is now generated with a final newline.

Release v1.0.0

19 Apr 20:26

Choose a tag to compare

Changed

  • Now the conjure favicons command does not generate the entire set of files for each SVG found, including those nested in subdirectories. Instead, this command only works with files in the specified directory and expects at least one of touch.svg, 32.svg and 16.svg (preferably only the first two, and the third only if there is such a version in the design). See README.md for details on preparing and working with these files.
  • Now the -r (--removeOrigin) option also applies to the conjure favicons command.

Added

  • Gereration of Links.md file with advice on the code of links for generated files, moving files, and fixing paths to files.

Release v0.1.2

17 Apr 05:05

Choose a tag to compare

Fixed

  • No longer requires pnpm for package users.

Release v0.1.1

10 Apr 20:44

Choose a tag to compare

Fixed

  • Paths to icons in the generated webmanifest.

Release v0.1.0

05 Apr 16:47

Choose a tag to compare

Added

  • Basic functionality.