Releases: codfish/cod-scripts
Releases · codfish/cod-scripts
v12.1.0
v12.0.0
v11.0.0
11.0.0 (2022-08-12)
Bug Fixes
setupFilesAfterEnv
must be an array (#221) (7632e98)- use
modulePaths
to improve Jest 27 imports (#220) (438ed61)
Features
- bump deps (c5851db)
- bump eslint-config-codfish (cd63195)
- deps: update all dependencies (791bbfe)
- jest: add esmodules support (becb8dc)
- prettier jsxBracketSameLine -> bracketSameLine (fc6c23a)
- update dependencies (#217) (32f3cfb)
- update dependencies (#225) (7e7a463)
- update dependencies (#226) (c485fc0)
- update dependencies (#227) (4b01d0f)
BREAKING CHANGES
- drop Node 12 support
- Requires Node@^12.22.0 || ^14.17.0 || >=16.0.0
- ESLint v8.x will now be used to lint your code
v10.0.0
10.0.0 (2021-08-19)
Bug Fixes
- update the resolveBin fn call in the commitlint script (6d457c9)
- lint-staged: run .ts files through eslint rather than prettier (be8ca5f)
Features
- add more checks for local lint-staged config files (4bd3f7d)
- create root lintstagedrc.js to easily extend config (751f363)
- create root lintstagedrc.js to easily extend config (fc605c6)
- migrate to husky v7 (863c25a)
BREAKING CHANGES
- husky config has been totally removed and
huskys v4 setup no longer works. You will need to migrate to
v7. More info: https://github.com/typicode/husky-4-to-8 & https://typicode.github.io/husky/#/?id=migrate-from-v4-to-v8
TL;DR
Run the following:
npx husky-init \
&& npm exec -- github:typicode/husky-4-to-8 --remove-v4-config
- You will need to edit
.husky/commit-msg
after running the above command. Preface commands withnpx --no-install
. - Change
-E HUSKY_GIT_PARAMS
-->--edit $1
.
v9.2.0
v9.1.1
v9.1.0
v9.0.0
9.0.0 (2021-06-02)
Bug Fixes
Features
- babelrc: update browsersConfig (#207) (5c18a73)
- add 'jest-snapshot-serializer-raw/always' as default snapshotSerializer (#206) (78611f1)
- bump deps and backmerge upstream (60207d2)
- require node 12.13 (dbe4d8f)
BREAKING CHANGES
- release: Upgrades kcd-scripts to jest v27
- Requires >=12.13.0, first LTS release of Erbium
because it is a requirement of lint-staged@11 - snapshots will now be serialized by 'jest-snapshot-serializer-raw/always'
- snapshots will now be serialized by 'jest-snapshot-serializer-raw/always'
v8.0.0
8.0.0 (2021-04-26)
Bug Fixes
- build: wait for build to finish before exiting (e507091)
- remove dash from environment variables (#195) (9539ba2)
- husky: husky 5 is alpha (5d34c54)
- lint: update eslint-config-kentcdodds (b10bbda)
Features
- add .gql files in lintstagedrc (#198) (b4bbe72)
- add all file extensions from lintstagedrc as default for format script (#199) (6dda70c)
- add tests for Node 16 (#202) (59ef5c4)
- bump deps (92a123b)
- bump deps (fc14169)
- copy .d.ts files (3f315a7)
- improve workspaces support (#193) (3b4b884)
- update dependencies (#201) (1ca348c)
- update deps (ad47578)
- update node engine requirement to >=12.0.0 (064acfa)
- update node engine requirement to >=12.0.0 (c4298f4)
BREAKING CHANGES
- Require node v12
- eslint-plugin-testing-library will now report aggressively
when linting (change from eslint-config-codfish v10) - This release removes rollup-plugin-size-snapshot. If
you'd like to keep that feature, you'll need to extend the built-in
config yourself. - If you're getting Husky errors, you may need to re-init husky.
Trynpx husky init
to see if the errors go away. If not, see
https://github.com/typicode/husky/releases/tag/v6.0.0 for more details.