All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
- Fixed: search config if not present in CLI arguments.
- Fixed:
template
option now respected from config.
- Fixed: potential crash with memory allocation when using
fs
for read files.
- Added:
glyphTransformFn
option for transform glyph metadata before transferred in style template.
- Fixed: exit code can be not number.
- Fixed: arguments for svgicons2svgfont (missing font prefix).
- Chore: improved output of help in
CLI
.
- Added:
template
option insteadcss
,cssFormat
,srcCssTemplate
. - Added:
destStyles
options insteaddestCssTemplate
. - Added:
styles
property to result. - Fixed: throw error on empty
svg
files. - Removed:
css
option. - Removed:
cssFormat
option. - Removed:
srcCssTemplate
option. - Removed:
css
property from result. - Removed:
destCssTemplate
argument fromcli
. - Tests: improved tests (relative and absolute path to template).
- Fixed: regression bug with passed arguments to template.
- Fixed: validate
xml
of glyphs. - Chore: minimum required
eslint-plugin-ava
version is now^2.2.0
. - Chore: minimum required
eslint-plugin-itgalaxy
version is now^26.0.0
. - Chore: minimum required
eslint-plugin-jsx-a11y
version is now^3.0.0
. - Chore: minimum required
eslint-plugin-react
version is now^6.6.0
. - Chore: refactoring code.
- Fixed: use
reject
insteadPromise.reject
in glyphserror
callback. - Fixed: use callback
finish
insteadend
forsvgicons2svgfont
stream. - Tests: improve tests on bad examples.
- Fixed: add
error
event toglyph
stream. - Fixed: don't create
new Error
where this is not necessary. - Chore: minimum required
nunjucks
version is now^3.0.0
. - Chore: minimum required
eslint
version is now^3.9.1
. - Chore: minimum required
eslint-plugin-ava
version is now^4.0.0
. - Chore: minimum required
eslint-plugin-itgalaxy
version is now^25.0.0
. - Chore: minimum required
eslint-plugin-node
version is now^3.0.0
. - Chore: minimum required
eslint-plugin-promise
version is now^3.3.0
. - Chore: minimum required
eslint-plugin-react
version is now^6.5.0
. - Tests: improve tests on bad examples.
- Added: support
nodejs
7
. - Added:
verbose
argument for verbose output. - Remove:
quite
argument. - Chore: improve
README.md
. - Chore: improve
description
inpackage.json
.
- Fixed: wrong
CSS
syntax when not all format are selected. - Chore(SEMVER-MAJOR): rename extension for all templates from
nunjucks
tonjk
.
- Fixed: CLI
fontName
andformats
arguments bug. - Chore: minimum required
ajv-cli
version is now^1.1.0
. - Chore: minimum required
remark-preset-lint-itgalaxy
version is now^2.0.0
. - Chore: minimum required
nunjucks
from2.0.0
to2.5.0
. - Chore: minimum required
eslint-plugin-import
version is now^2.0.0
. - Chore: minimum required
eslint-plugin-promise
version is now^3.0.0
. - Chore: minimum required
eslint-plugin-lodash
version is now^2.1.0
. - Chore: rename
eslint-plugin-xo
toeslint-plugin-unicorn
. - Chore: minimum required
eslint-plugin-unicorn
version is now^1.0.0
. - Chore: minimum required
eslint-plugin-itgalaxy
version is now^23.0.0
. - Chore: minimum required
cosmiconfig
version is now^2.0.0
.
- Changed: all style templates for font now have
nunjucks
extension. - Chore(package): remove extra
files
frompackage.json
. - Chore(package): install all
peerDependencies
foreslint-plugin-itgalaxy
. - Chore(package): update a minimal version
ava
from0.15.0
to0.16.0
. - Chore(package): update a minimal version
eslint-plugin-ava
from2.5.0
to3.0.0
. - Chore(package): update a minimal version
npm-run-all
from2.3.0
to3.0.0
. - Chore(package): update a minimal version
eslint-plugin-itgalaxy
from8.0.0
to11.0.0
. - Chore(package): update a minimal version
nyc
from7.0.0
to8.0.0
. - Chore(package): remove
nyc
settings, now fine works without their. - Chore(package): use
^
instead~
frombabel-preset-stage-0
. - Chore(package): use
remark-preset-lint-itgalaxy
insteadremark-lint-config-itgalaxy
. - Chore(package): use right version for
eslint-plugin-*
andeslint
. - Chore: improved
README.md
. - Chore: fix glob pattern for
lint:remark
script command.
- Fixed:
--css-template-font-path
now get also fromcosmiconfig
.
- Added: support
cosmiconfig
. - Changed: change function arguments in
standalone
. - Chore: refactoring.
- Chore: sorting alphabetically
dependencies
anddevDependencies
. - Chore: remove unused
eslint-*
plugins fromdevDependencies
. - Chore: update minimal version
eslint-plugin-itgalaxy
to8.0.0
. - Chore: check is valid fonts in tests.
- Chore: add more tests.
- Chore: sharable config for
remark-lint
. - Chore: add
nodejs
v5 to.travis.yml
.
- Chore: improved
description
andkeywords
inpackage.json
.
- Fixed:
svg2ttf
now correctly generatesttf
font. - Fixed:
ttf2eot
now correctly generateseot
font. - Fixed:
ttf2woff
now correctly generateswoff
font. - Fixed:
svg2ttf
now correctly accepts option. - Chore: more readable name tests.
- Chore: rename extension
templates
.
- Chore: update
globby
to6.0.0
. - Chore: update minimal version
babel-cli
to6.11.0
. - Chore: update minimal version
babel-core
to6.11.0
. - Chore: update
eslint-plugin-itgalaxy
to6.0.0
.
- Added:
--src-css-template
agument. - Added:
--css-template-class-name
argument. - Added:
--css-template-font-path
argument. - Added:
--css-template-font-name
argument. - Changed: remove
--css-template-format
argument, now format is taken from--dest-css-template
. - Changed: remove
--css
argument, css now generated if you use--dest-css-template
argument. - Changed: rename
--css-template-dest
argument to--dest-css-template
. - Remove:
--css-template
argument.
- Fixed: get
fontId
fromfontName
, iffontId
isnull
orundefined
.
- Initial release.