UNPKG

archetypes-rules

Version:

Move conditional logic out of source code and database triggers and into a reusable package, where explicit rules can be independently defined and managed.

196 lines (104 loc) 7.03 kB
# Changelog ## [1.2.2](https://github.com/commonality/archetypes-rules/compare/v1.2.1...v1.2.2) (2020-02-07) ## [1.2.1](https://github.com/commonality/archetypes-rules/compare/v1.2.0...v1.2.1) (2020-02-06) # [1.2.0](https://github.com/commonality/archetypes-rules/compare/v1.1.3...v1.2.0) (2019-06-19) ### Features * **operator:** pass factory and constructor options ([d46ff3a](https://github.com/commonality/archetypes-rules/commit/d46ff3a)), closes [#76](https://github.com/commonality/archetypes-rules/issues/76) ## [1.1.3](https://github.com/commonality/archetypes-rules/compare/v1.1.2...v1.1.3) (2019-06-14) ## [1.1.2](https://github.com/commonality/archetypes-rules/compare/v1.1.1...v1.1.2) (2019-06-02) ## [1.1.1](https://github.com/commonality/archetypes-rules/compare/v1.1.0...v1.1.1) (2019-05-21) ### Bug Fixes * **dist:** import module error ([c22a8ef](https://github.com/commonality/archetypes-rules/commit/c22a8ef)), closes [#38](https://github.com/commonality/archetypes-rules/issues/38) [#38](https://github.com/commonality/archetypes-rules/issues/38) [#38](https://github.com/commonality/archetypes-rules/issues/38) [#35](https://github.com/commonality/archetypes-rules/issues/35) [#36](https://github.com/commonality/archetypes-rules/issues/36) [#37](https://github.com/commonality/archetypes-rules/issues/37) [#39](https://github.com/commonality/archetypes-rules/issues/39) # [1.1.0](https://github.com/commonality/archetypes-rules/compare/v1.0.20...v1.1.0) (2019-05-20) ### Features * **variable:** extend string-variable ([3e51767](https://github.com/commonality/archetypes-rules/commit/3e51767)), closes [#33](https://github.com/commonality/archetypes-rules/issues/33) ## [1.0.20](https://github.com/commonality/archetypes-rules/compare/v1.0.19...v1.0.20) (2019-05-19) ## Build **development-dependency**: bump eslint-config-prettier from 4.2.0 to 4.3.0 (#32) ## [1.0.19](https://github.com/commonality/archetypes-rules/compare/v1.0.18...v1.0.19) (2019-05-19) ## Build **development-dependency**: bump rollup-plugin-node-resolve from 4.2.4 to 5.0.0 (#31) ## [1.0.18](https://github.com/commonality/archetypes-rules/compare/v1.0.17...v1.0.18) (2019-05-19) ## Build **development-dependency**: bump lint-staged from 8.1.6 to 8.1.7 (#29) ## [1.0.17](https://github.com/commonality/archetypes-rules/compare/v1.0.16...v1.0.17) (2019-05-19) ## Build **development-dependency**: bump rollup from 1.11.3 to 1.12.1 (#30) ## [1.0.16](https://github.com/commonality/archetypes-rules/compare/v1.0.15...v1.0.16) (2019-05-18) ## Build **development-dependency**: bump husky from 2.2.0 to 2.3.0 (#27) ## [1.0.15](https://github.com/commonality/archetypes-rules/compare/v1.0.14...v1.0.15) (2019-05-17) ## Build **development-dependency**: bump prettier from 1.17.0 to 1.17.1 (#26) ## [1.0.14](https://github.com/commonality/archetypes-rules/compare/v1.0.13...v1.0.14) (2019-05-15) ## Build **production-dependency**: bump ow from 0.13.0 to 0.13.1 (#25) ## [1.0.13](https://github.com/commonality/archetypes-rules/compare/v1.0.12...v1.0.13) (2019-05-14) ## Build **production-dependency**: bump fs-extra from 8.0.0 to 8.0.1 (#24) ## [1.0.12](https://github.com/commonality/archetypes-rules/compare/v1.0.11...v1.0.12) (2019-05-14) ## Build - **production-dependency**: bump @sindresorhus/is from 0.16.0 to 0.17.0 (#23) - **production-dependency**: bump fs-extra from 7.0.1 to 8.0.0 (#21) - **production-dependency**: bump ow from 0.12.0 to 0.13.0 (#20) - **development-dependency**: bump eslint-plugin-prettier from 3.0.1 to 3.1.0 (#22) - **development-dependency**: bump rollup-plugin-node-resolve from 4.2.3 to 4.2.4 (#19) ## [1.0.11](https://github.com/commonality/archetypes-rules/compare/v1.0.10...v1.0.11) (2019-05-13) ## Build **development-dependency**: bump jsdoc from 3.6.1 to 3.6.2 (#18) ## [1.0.10](https://github.com/commonality/archetypes-rules/compare/v1.0.9...v1.0.10) (2019-05-09) ## Build **development-dependency**: bump all-contributors-cli from 6.3.1 to 6.4.0 (#17) ## [1.0.9](https://github.com/commonality/archetypes-rules/compare/v1.0.8...v1.0.9) (2019-05-08) ## Build - **development-dependency**: bump eslint-plugin-node from 8.0.1 to 9.0.1 (#11) - **development-dependency**: bump jsdoc from 3.5.5 to 3.6.1 (#15) ## [1.0.8](https://github.com/commonality/archetypes-rules/compare/v1.0.7...v1.0.8) (2019-05-08) ## Build **development-dependency**: bump jest from 24.7.1 to 24.8.0 (#16) ## [1.0.7](https://github.com/commonality/archetypes-rules/compare/v1.0.6...v1.0.7) (2019-05-08) ## Build **development-dependency**: bump dictionary-en-us from 2.0.0 to 2.1.1 (#14) ## [1.0.6](https://github.com/commonality/archetypes-rules/compare/v1.0.5...v1.0.6) (2019-05-07) ## Build **development-dependency**: bump @sindresorhus/is from 0.15.0 to 0.16.0 (#13) ## [1.0.5](https://github.com/commonality/archetypes-rules/compare/v1.0.4...v1.0.5) (2019-05-07) ## Build **development-dependency**: bump lint-staged from 8.1.5 to 8.1.6 (#12) ## [1.0.4](https://github.com/commonality/archetypes-rules/compare/v1.0.3...v1.0.4) (2019-05-07) ## Build **development-dependency**: bump rollup from 1.10.1 to 1.11.3 (#10) ## [1.0.3](https://github.com/commonality/archetypes-rules/compare/v1.0.2...v1.0.3) (2019-05-03) ## Build **development-dependency**: bump jest-junit from 6.3.0 to 6.4.0 (#8) ## [1.0.2](https://github.com/commonality/archetypes-rules/compare/v1.0.1...v1.0.2) (2019-05-02) ## Build **development-dependency**: bump husky from 2.1.0 to 2.2.0 (#7) ## [1.0.1](https://github.com/commonality/archetypes-rules/compare/v1.0.0...v1.0.1) (2019-05-02) ## Refactor **helpers**: reduce complexity (#6, #4) ### Summary of changes 1. test(qa): add sonar scanning - Add `sonarqube-scanner` for PR and Refactoring templates - Add `dotenv-extended` for 12-factor-style config strategy - Replace all copy/paste repo refs with this org/repo 1. test(config): cover env-config 1. refactor(complexity): remove unused functions - Replace all possible "lodash.is*" functions with "@sindresorhus/is.*" - Remove unused lodash dependencies - Reduce variable-factory's cyclomatic complexity 1. docs(readme): fix appveyor badge 1. ci(travis): fix npm-script 1. ci(windows): modify test config and expectations - Appveyor is not configured to load secret environment variables, so simply check to ensure the key counts match. - Appveyor doesn't have as many ENV VARs, so assert with "toBeLessThanOrEqual". # 1.0.0 (2019-04-30) ### Bug Fixes * **dependency:** update audit failures ([5957d53](https://github.com/commonality/archetypes-rules/commit/5957d53)) ### Features * **inspection:** add type-inspector ([a53cb7d](https://github.com/commonality/archetypes-rules/commit/a53cb7d)) * **rules:** initial import ([77ee7bc](https://github.com/commonality/archetypes-rules/commit/77ee7bc)) [octicon-calendar]: https://cdnjs.cloudflare.com/ajax/libs/octicons/8.5.0/svg/calendar.svg