All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- tsconfigs
- Fixed tsconfig.website.browser.json missing from npm package
- tsconfigs
- Fixed bug where moduleResolution needs to be defined with module
- tsconfigs
- Support typescript >=5.2.0
- Dropping support for anything before node16 (es2022)
- Changed what you should use ase your base configs. This may or maynot be breaking so be aware
- Updated tsconfig moduleResolution to 16
- Added major version checks for eslint, prettier, and sortier during config load
- Updated exec-if-exists@beta
- Removed optional dependencies as they seem to be getting installed downstream
- Improved and cleaned up lint-staged config
- Requires sortier 2.0.0-beta.0 or higher
- Requires [email protected] or higher
- Fixed jest config to apply to tsx files
- Fixed release-it jsdoc comments
- Dropped node 12 and 14 support
- Fixed
tsconfig.website.browser.[dev|prod].json
having a broken base config reference
- Removed include, exclude, rootdir, declarationdir, and outdir from tsconfig files
- Tsconfig
- Moved tsconfig.json to tsconfig.base.json though you should probably not use this directly anymore... See documentation on the README about typescript configs
- Tsconfig - Fixed missing tsconfig file
- Husky - BREAKING
- Removed husky config as it's an anti-pattern. To see how to migrate away from this config, see the PR that added this entry. You can also try the following script, just verify the
prepare
script looks correct after running:npm ci npm set-script prepare "npx --no husky install" npm set-script husky:commit-msg "npx --no commitlint -- --edit" npm set-script husky:pre-commit "npx --no lint-staged" npm set-script husky:pre-push "npm test" npm install -D -E husky@latest npm run prepare npx husky set .husky/commit-msg "npm run husky:commit-msg" npx husky set .husky/pre-commit "npm run husky:pre-commit" npx husky set .husky/pre-push "npm run husky:pre-push" rm .huskyrc.cjs rm .huskyrc.js rm .huskyrc.mjs rm .huskyrc.ts npm i
- Removed husky config as it's an anti-pattern. To see how to migrate away from this config, see the PR that added this entry. You can also try the following script, just verify the
- Tsconfig - BREAKING
module
now inherits it's value from Typescript (should resolve to ES2015)target
updated to ES2020
- eslint - BREAKING
- Moved to a builder function
buildEslintConfig
that takes in a options object
- Moved to a builder function
- Release-it
- Added brand new config
- Updated renovate config
- Limited version of husky to 4.x.x
- Updated tsconfig.json
- noFallthroughCasesInSwitch = false (tracked via eslint)
- Fixed typescript config to allow for unused parameters
Breaking:
- Removed tslint in favor of eslint + eslint-typescript
- Updated tsconfig.json
- noImplicitAny = true
- noImplicitThis = true
- preserveConstEnums = default
- Made
ts-jest
dependency more flexible as it supports 24 and 25 - Upgraded lint-stage to the v10 configuration
- Added azureAutoComplete=true to default renovate config
- Updated ts-jest integration for jest config
- Changed renovate config to extend from their group:monorepos and group:recommended configs
- Fixed lintstage config for [email protected]
- Renovate: Automerge all PRs once approved
- Fixed
renovate.config
inheritence
- Breaking: tsconfig
- Enabled
strict
mode - Enabled
noFallthroughCasesInSwitch
- Enabled
preserveConstEnums
to decrease compile size - Added
tslib
as a dependency and setimportHelpers
to true as it should be default for all applications
- Enabled
- Fixed
renovate.config
to not reference self - Updated
.npmignore
to omit all test related files so all files can be included in the build
- Added autofixing of lint errors
- Added eslint to javascript
- Fixed lint-staged not running on
*.md
files
- Updated .gitignore and .npmignore to be more generic so they can be the base standard across repositories
- Added jest config
- Integrated
exec-if-exists
to skip cli commands that aren't available (creating an opt in experience for git commit hooks)
- Migrated package from renovate-config-snowcoders to @snowcoders/renovate-config
- Added a husky config
- Added a ling-staged config
- Added a prettier config
- Added a sortier config