@checkdigit/typescript-config v7.0.1
checkdigit/typescript-config
Copyright (c) 2023 Check Digit, LLC
Introduction
This module contains the standard Check Digit Typescript configuration.
- requires Node 18 or above
- emits ES2022
- uses
esnext
fortarget
andmodule
- uses the
moduleResoltion
ofbundler
- all compiler options set for maximum strictness
A note about versioning
Strict semver is a little complicated, as Typescript itself does not adhere to semver. So our "best effort" policy is:
- Each new target (e.g.
ES2019
toES2020
) will result in a new major version of this module. We coordinate this with whatever the latest LTS version of Node is currently supported by Amazon Lambda, Google Cloud Functions and Azure Functions. - Each new major version of Typescript (e.g.
4.2.x
to4.3.x
) will result in a new minor version of this module. - Each new minor update of Typescript (e.g.
4.3.1
to4.3.2
) will result in a new patch version of this module.
Bear in mind, any update of Typescript can potentially break your build. But hopefully in a way that's useful.
Installation
npm add -D @checkdigit/typescript-config
Note: you do not need to explicitly install Typescript itself, as it comes in as a peer dependency of @checkdigit/typescript-config
.
Make sure your project's tsconfig.json
extends @checkdigit/typescript-config
.
Example tsconfig.json
{
"extends": "@checkdigit/typescript-config",
"compilerOptions": {
"rootDir": "src",
"outDir": "build"
},
"exclude": [
"node_modules",
"build"
]
}
License
MIT
3 days ago
4 days ago
10 days ago
10 days ago
15 days ago
15 days ago
15 days ago
15 days ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
6 months ago
6 months ago
6 months ago
8 months ago
9 months ago
6 months ago
7 months ago
9 months ago
9 months ago
9 months ago
9 months ago
10 months ago
9 months ago
8 months ago
8 months ago
9 months ago
8 months ago
10 months ago
6 months ago
6 months ago
10 months ago
8 months ago
8 months ago
7 months ago
6 months ago
6 months ago
7 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
7 months ago
6 months ago
7 months ago
8 months ago
8 months ago
8 months ago
6 months ago
9 months ago
7 months ago
9 months ago
6 months ago
6 months ago
8 months ago
7 months ago
7 months ago
10 months ago
9 months ago
10 months ago
6 months ago
8 months ago
6 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
12 months ago
12 months ago
12 months ago
1 year ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
1 year ago
12 months ago
12 months ago
12 months ago
1 year ago
1 year ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
1 year ago
11 months ago
1 year ago
12 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago