10.7.5 (2024-10-28)
- force a release (2ef782a)
10.8.0-alpha.1 (2024-10-22)
10.7.4 (2024-09-18)
- warn user for unfixable properties (2c4134c)
10.7.3 (2024-05-28)
- run stylelint before prettier (f098adf)
10.7.2 (2024-05-27)
- set basedir for plugin resolution (83e8d43)
10.7.1 (2024-05-22)
10.7.0 (2024-05-22)
10.6.0 (2024-05-15)
10.5.2 (2024-05-06)
10.5.1 (2022-12-20)
- netlify: add installation paths for new workflows (437cda9)
10.5.0 (2022-12-19)
- netlify: add new netlify deploy workflows (7d6d0d4)
10.4.3 (2022-11-07)
10.4.2 (2022-10-12)
- ignore skip release commits for commitlint (3d277df)
10.4.1 (2022-04-27)
- move commit linting to separate workflow (cafd53c)
10.4.0 (2022-04-25)
- add project config for checking pr title (054ca54)
10.3.0 (2022-04-21)
- deprecate semantic pr check (812896f)
- add workflow for checking pr title (b5255a1)
10.2.0 (2022-03-15)
- eslint: add react hooks plugin configuration (be0616e)
10.1.2 (2021-12-07)
10.1.1 (2021-11-04)
- do not run tools without configs (7d62a7d)
10.1.0 (2021-10-29)
- add: add project config for dhis2-artifacts workflow (469c542)
- ls-lint: improve configuration template to fit most projects (bd7ced7)
- ls-lint: improve ls-lint.yml so it works for normal and mono-repos (d31e854)
- renovate: add renovate configuration setup (89c9cc9)
10.0.0 (2021-09-20)
- prettier: update configuration to latest (b40f6e7)
- eslint: enforce file extensions within the import path (8f38ad1)
- eslint: import statements must specify the extension and will now throw an error. The only exception is package imports.
9.3.1 (2021-09-29)
- add: add project config for dhis2-artifacts workflow (469c542)
9.3.0 (2021-09-28)
- renovate: add renovate configuration setup (89c9cc9)
9.2.2 (2021-09-20)
- ls-lint: improve configuration template to fit most projects (bd7ced7)
- ls-lint: improve ls-lint.yml so it works for normal and mono-repos (d31e854)
9.2.1 (2021-09-20)
- print summary error message (59618b7)
9.2.0 (2021-08-11)
- publish-metadata: add workflow to publish Metadata to S3 (5c77e88)
9.1.0 (2021-07-21)
- add 'curly' eslint rule to enforce braces around single-line blocks (6090466)
9.0.1 (2021-06-14)
- paths: if no project root is found, use consuming root (c27bceb)
9.0.0 (2021-06-14)
- remove node 10 support (a4d9c8c)
- New minimum version for NodeJS is 12.x.
8.4.1 (2021-06-08)
- deps: release log levels updates from helpers-engine (2ebf5bd)
8.4.0 (2021-06-04)
- preview-pr: add workflow to preview PR on Netlify (f0b2aed)
8.3.0 (2021-05-21)
- tools: adds add/remove commands for tools (20d2150)
8.2.1 (2021-05-20)
- dependabot: change defaults to 5 open prs (430c6fa)
8.2.0 (2021-05-10)
- support multiple patterns (054881c)
8.1.1 (2021-05-10)
- cli-43: skip git ops when not a git repo (0617519)
- cli-43: skip git ops when not a git repo (#398) (6488144)
8.1.0 (2021-05-07)
8.0.1 (2021-05-06)
8.0.0 (2021-05-05)
- allow eslint to print colors (#384) (c95a184)
- ignore .d2 directory (#386) (6a473f2)
- match files from project root (b77ef35)
- wrong hooks where installed by default (#385) (3ac82f4)
- remove husky (752b944)
- commit check can read from a custom file (366be0c)
- delete deprecated configuration files (c961647)
- lint file system for consistent names (#379) (2bfb5ef)
- new and improved d2-style (#378) (f8279e5)
- opt-in git hooks (#333) (a3bc415)
- show eslint warnings (#368) (abe4668)
- The verb (check/apply) is now moved to the top-level. E.g. "d2-style js check" becomes "d2-style check js". This is to allow all checkers to run with a single command: "d2-style check"
- "d2-style install" is no longer used to set up linters. As of husky@5 the tool is vastly simplified and much faster. Hooks can be installed manually with "d2-style install". Configuration is added to the project with the "d2-style add" command.
- Husky has been removed from cli-style. You will need to remove hooks that reference husky.sh in .git/hooks.
8.0.0-alpha.10 (2021-04-22)
8.0.0-alpha.9 (2021-04-21)
8.0.0-alpha.8 (2021-04-08)
8.0.0-alpha.7 (2021-04-07)
- delete deprecated configuration files (c961647)
8.0.0-alpha.6 (2021-04-07)
- match files from project root (b77ef35)
8.0.0-alpha.5 (2021-04-07)
- The verb (check/apply) is now moved to the top-level. E.g. "d2-style js check" becomes "d2-style check js". This is to allow all checkers to run with a single command: "d2-style check"
- "d2-style install" is no longer used to set up linters. As of husky@5 the tool is vastly simplified and much faster. Hooks can be installed manually with "d2-style install", but is also run as a "post-install" script that we control for consistency. Configuration is added to the project with the "d2-style add" command.
8.0.0-alpha.4 (2021-03-15)
8.0.0-alpha.2 (2020-12-16)
8.0.0-alpha.3 (2020-12-16)
8.0.0-alpha.2 (2020-12-16)
8.0.0-alpha.1 (2020-12-16)
- remove husky (752b944)
- Husky has been removed from cli-style. You will need to remove hooks that reference husky.sh in .git/hooks.
7.3.0 (2020-12-16)
8.0.0-alpha.2 (2020-12-16)
8.0.0-alpha.1 (2020-12-16)
- remove husky (752b944)
- Husky has been removed from cli-style. You will need to remove hooks that reference husky.sh in .git/hooks.
7.2.3 (2020-12-16)
7.2.2 (2020-11-06)
- cut release to finalize jira migration (51bde26)
7.2.1 (2020-10-28)
- resolve relative paths to staged files (db142b6)
7.2.0 (2020-10-14)
- eslint-import: switch to recommended import settings (cb892d2)
- declare import as a plugin (f771a87)
- disabled missingExports by default (7bce47d)
- execute the tools in the current dir (7e05f84)
- remove ignoreExports from no-unused-modules (97f4f46), closes #248
- resolve eslint plugins internally first (75cbad0)
- run the command from inside node_modules (fd620c5)
- use the nearest bin folder to exec cmds (761611f)
- eslint: add no-unused-modules rule (2b5db3f)
7.2.0-alpha.1 (2020-10-13)
- eslint-import: switch to recommended import settings (cb892d2)
- declare import as a plugin (f771a87)
- disabled missingExports by default (7bce47d)
- execute the tools in the current dir (7e05f84)
- remove ignoreExports from no-unused-modules (97f4f46), closes #248
- resolve eslint plugins internally first (75cbad0)
- run the command from inside node_modules (fd620c5)
- use the nearest bin folder to exec cmds (761611f)
- eslint: add no-unused-modules rule (2b5db3f)
7.1.0 (2020-10-13)
- install: prompt to choose project from list (99a3692)
7.0.0 (2020-04-02)
- update node engine to >= 10 (ccb267a)
- Require Node version 10 or above.
6.0.0 (2020-01-31)
- semantic-release: trigger major version bump (6fbf5f3)
- semantic-release: Deprecate configuration switches. Refer to the "Overrides" section in the documentation for information how to use custom rules.
5.2.0 (2020-01-31)
- use eslint to run prettier (183d671)
5.1.1 (2020-01-31)
- eslint: suppress warning logs (a81dd68)
5.1.0 (2019-12-16)
- ignorefiles: add consistency to the ignorefiles that are respected (fdba06e)
5.0.4 (2019-12-16)
- eslint: do not add an unignore pattern to the cli command (7f0e5da)
5.0.3 (2019-12-02)
- husky: load husky config before spreading (f593085)
5.0.2 (2019-11-25)
- add es6 env to eslint config (c1d9092)
5.0.1 (2019-11-22)
- update README (and trigger release) (b220402)
5.0.0 (2019-11-22)
- add CHANGELOG.md to blacklist (4a59f25)
- improve logging for common situations (0b435db)
- order of type and count (bdf10a4)
- rework internals and external api (4d1a4eb)
- allow eslint-react config to be bundled (ab63b9b)
- Removes LintStaged, renames
setup
toinstall
, removesvalidate
command. Uses a different way to match files and filters out results instead.
4.2.1 (2019-11-22)
- ignore .d2 directory (c4c384b)
4.2.0 (2019-10-10)
- semantic: enforce validation on commits and pr title (7f8e21d)
4.1.3 (2019-10-04)
4.1.2 (2019-09-30)
4.1.1 (2019-07-17)
4.1.0 (2019-07-15)
4.0.0 (2019-07-14)
- Changes multiple defaults for
d2-style
, removes theinstall
command, adds extendable configs, only executes style checks on staged files by default, and more.
-
d2-style js apply
no longer stages files by default, use--stage
to stage fixed files. The intended usage for this function is primarily to apply the js code standards to files in general, e.g. unstaged/staged files or an entire repo. -
d2-style validate
has changed to by default run--fix
, and uses lint-staged to only apply code standards to staged files and/or hunks. -
d2-style validate --all
no longer exists, validate only operates on staged files and is intended to be used as a pre-commit check. Used2-style js check
or apply with--all
instead. -
d2-style validate
output has changed. It no longer gives detailed information during a run. It only prints errors when it fails. -
d2-style js install
has been removed, and the clean-up functions have also been removed. -
d2-style setup
no longer installsall
by default, instead prints available groups when command is run. -
It is now possible to stage hunks (
git add -p
) and only style check those hunks. -
It is now possible to extend configuration for lint-staged, eslint, etc.
-
Husky hooks included out of the box with
d2-style setup git/husky
3.3.4 (2019-06-14)
3.3.3 (2019-06-13)
3.3.2 (2019-06-12)
3.3.1 (2019-06-07)
3.3.0 (2019-06-07)
3.2.2 (2019-05-14)
3.2.1 (2019-05-14)
3.2.0 (2019-05-14)
3.1.3 (2019-05-09)
3.1.2 (2019-05-09)
3.1.1 (2019-04-24)
3.1.0 (2019-04-24)
3.0.1 (2019-03-28)
- link to build in readme and actually trigger a build (16fcfca)
3.0.0 (2019-03-25)
- bump to 3.x (6a99cb8)
- Need to get away from the old versions on npm.
2.0.0 (2019-03-25)
- add 'target' to blacklisted folders (#9) (d6170b9)
- add apply/check command to js (3da7d5c)
- change to debug msg (5be1ad2)
- clean up js filter mechanism (#21) (ece8c53)
- do not put a scary error message when checking files (#27) (4cecb27)
- make the messages more meaningful (#25) (d2ae8af)
- only the apply command was properly whitelisted (#19) (8a7556a)
- only whitelist js under js subcommand (9dc010a)
- reset prettier and browserslists (d1eab91)
- resolve cli-style path by using dirname (3a61532)
- update help text (f820a66)
- update pre-hook (6988cf9)
- use reporter from helpers-engine (ef79104)
- use the new release script (#31) (2e2e454)
- use two-param version for pkg to identify assets (284ce0b)
- add ability to pass in files to check and apply (2e7fcdd)
- add editorconfig (#13) (8b0c392)
- add option to not stage formatted files (00d5bc7)
- allow check/apply commands for commit msgs (aca257f)
- convert to @dhis2/cli format (d95179c)
- set an exit code if js check fails (#18) (3833bea)
- stop auto-install of prettier and other config files (#29) (8c030b1)
- removes the binaries for
code-style.js
andcommit-style.js
and instead exposes a binary namedd2-style
which is the subcommand which thed2
cli will use.
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.2.2 (2019-03-07)
- clean up js filter mechanism (#21) (ece8c53)
- do not put a scary error message when checking files (#27) (4cecb27)
- make the messages more meaningful (#25) (d2ae8af)
2.2.1 (2019-03-05)
2.2.0 (2019-03-05)
2.1.0 (2019-03-04)
- only whitelist js under js subcommand (9dc010a)
2.0.1 (2019-02-08)
2.0.0 (2019-02-08)
- add apply/check command to js (3da7d5c)
- resolve cli-style path by using dirname (3a61532)
- update help text (f820a66)
- update pre-hook (6988cf9)
- use reporter from helpers-engine (ef79104)
- use two-param version for pkg to identify assets (284ce0b)
- add ability to pass in files to check and apply (2e7fcdd)
- add option to not stage formatted files (00d5bc7)
- allow check/apply commands for commit msgs (aca257f)
- convert to @dhis2/cli format (d95179c)
- removes the binaries for
code-style.js
andcommit-style.js
and instead exposes a binary namedd2-style
which is the subcommand which thed2
cli will use.
1.7.1 (2018-12-12)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.