All notable changes to this module will be documented in this file.
The format is based on Keep a Changelog, and this module adheres to Semantic Versioning.
- Remove
dist
directory before build usingrimraf
. - Set
declarationMap
totrue
intsconfig-base.json
for library source code navigation in a monorpeo. - Set
declaratioremoveCommentsnMap
totrue
intsconfig-base.json
.
- npm script
lint
now also automatically fix source code problems. - Engine versions now use caret
^
instead of.x
to preserve the exact version used in template. - Changed the way to set up ESLint configuration files.
- Updated template to use latest LTS Node.js 18 and npm 9.
- Update dependencies version.
- Deprecated npm script
fix
, uselint
instead.
- Avoid
tsc --build test
generate output next to.ts
source code.
3.0.0 - 2022-03-01
- Set
skipLibCheck
totrue
intsconfig-base.json
as it is the default value when runningtsc --init
.
- Source code for testing is now separated from application source code using TypeScript project reference.
- Removed ignore of return code for lint and lint fix, as npm v8 no longer prompt error on error exit.
- Update dependencies version.
- Update
.gitignore
.
2.0.2 - 2021-12-06
- Fix README not updated for Node.js 16.
2.0.1 - 2021-12-01
- Fix
tsconfig.json
not updated for Node.js 16.
2.0.0 - 2021-11-17
- Added lint rule
no-alert
to avoid unintended behavior. - Lint rules
prefer-rest-params
andprefer-spread
are added back, as it is easier for user to remove unwanted rules. - Added the following coding style lint rules:
@typescript-eslint/consistent-type-imports
import/no-default-export
import/order
sort-imports
- Allow non-null assertion in test case files.
- Updated template to use latest LTS Node.js 16 and npm 8.
1.3.0 - 2021-06-11
- Test case must now be suffix with
.test.ts
. - Update dependencies version.
- Dependencies now use caret
^
instead of.x
to preserve the exact version used in template. - Use stricter version of engines specification.
- Lint rules
prefer-rest-params
andprefer-spread
as that only matter style. - Lint rule
strict
as it doesn't seems to make sense in TypeScript. - Removed
.eslintignore
from.npmignore
as we no longer use.eslintignore
.
- Fixed incorrect
ignorePatterns
in.eslintrc.json
to relative path. - Missing lint rule
no-shadow
.
1.2.0 - 2021-02-10
- Move ignore files in
.eslintignore
to.eslintrc.json
. - Remove
./
from path to make path simpler.
1.1.0 - 2020-12-23
- Added lint rule
no-param-reassign
, which is used in TypeScript Cloud Functions project created by Firebase CLI.
1.0.0 - 2020-11-21
- First public release.