@taiga-ui/tsconfig 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +42 -0
- package/README.md +30 -0
- package/package.json +18 -0
- package/tsconfig.json +85 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file. See
|
|
4
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
## [0.2.3](https://github.com/taiga-family/linters/compare/@taiga-ui/tsconfig@0.2.2...@taiga-ui/tsconfig@0.2.3) (2023-10-17)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **tsconfig:** ignore preserveConstEnums
|
|
11
|
+
([8cd114a](https://github.com/taiga-family/linters/commit/8cd114a0168c863bfb8c42f90f42aa3b2962f902))
|
|
12
|
+
|
|
13
|
+
# Change Log
|
|
14
|
+
|
|
15
|
+
All notable changes to this project will be documented in this file. See
|
|
16
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
17
|
+
|
|
18
|
+
## [0.2.2](https://github.com/taiga-family/linters/compare/@taiga-ui/tsconfig@0.2.1...@taiga-ui/tsconfig@0.2.2) (2023-10-17)
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
- **tsconfig:** ignore declaration
|
|
23
|
+
([7dd0317](https://github.com/taiga-family/linters/commit/7dd0317b458fee38c0dec956c539f05737c42327))
|
|
24
|
+
|
|
25
|
+
# Change Log
|
|
26
|
+
|
|
27
|
+
All notable changes to this project will be documented in this file. See
|
|
28
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
29
|
+
|
|
30
|
+
## [0.2.1](https://github.com/taiga-family/linters/compare/@taiga-ui/tsconfig@0.2.0...@taiga-ui/tsconfig@0.2.1) (2023-10-17)
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
- **tsconfig:** ignore stripInternal
|
|
35
|
+
([c67e14b](https://github.com/taiga-family/linters/commit/c67e14bf330cb4a962999db169f49ebddb5e8f8c))
|
|
36
|
+
|
|
37
|
+
# 0.2.0 (2023-10-17)
|
|
38
|
+
|
|
39
|
+
### Features
|
|
40
|
+
|
|
41
|
+
- **tsconfig:** add `@taiga-ui/tsconfig`
|
|
42
|
+
([a384eca](https://github.com/taiga-family/linters/commit/a384ecac1e036a66d5a7e95f9bb6790f34a592d9))
|
package/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Shareable TypeScript config for Angular projects
|
|
2
|
+
|
|
3
|
+
[](https://badge.fury.io/js/%40taiga-ui%2Ftsconfig)
|
|
4
|
+
[](https://badge.fury.io/js/%40taiga-ui%2Ftsconfig)
|
|
5
|
+
|
|
6
|
+
### Quick start
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
$ npm install @taiga-ui/tsconfig -D
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Add to your `tsconfig.json`:
|
|
13
|
+
|
|
14
|
+
```json5
|
|
15
|
+
{
|
|
16
|
+
extends: '@taiga-ui/tsconfig',
|
|
17
|
+
angularCompilerOptions: {
|
|
18
|
+
// override shared angularCompilerOptions
|
|
19
|
+
strictTemplates: true,
|
|
20
|
+
disableTypeScriptVersionCheck: true,
|
|
21
|
+
},
|
|
22
|
+
compilerOptions: {
|
|
23
|
+
// override shared compilerOptions
|
|
24
|
+
outDir: 'dist',
|
|
25
|
+
target: 'es2018',
|
|
26
|
+
lib: ['es2018'],
|
|
27
|
+
typeRoots: ['./node_modules/@types'],
|
|
28
|
+
},
|
|
29
|
+
}
|
|
30
|
+
```
|
package/package.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@taiga-ui/tsconfig",
|
|
3
|
+
"version": "0.2.3",
|
|
4
|
+
"description": "Taiga UI tsconfig",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"taiga-ui",
|
|
7
|
+
"tsconfig"
|
|
8
|
+
],
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/taiga-family/linters.git"
|
|
12
|
+
},
|
|
13
|
+
"license": "Apache-2.0",
|
|
14
|
+
"main": "tsconfig.json",
|
|
15
|
+
"publishConfig": {
|
|
16
|
+
"access": "public"
|
|
17
|
+
}
|
|
18
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compileOnSave": false,
|
|
3
|
+
"angularCompilerOptions": {
|
|
4
|
+
"enableIvy": true,
|
|
5
|
+
"compilationMode": "partial",
|
|
6
|
+
"preserveWhitespaces": false,
|
|
7
|
+
"annotateForClosureCompiler": false,
|
|
8
|
+
"skipTemplateCodegen": true,
|
|
9
|
+
"strictMetadataEmit": true,
|
|
10
|
+
"fullTemplateTypeCheck": true,
|
|
11
|
+
"strictInjectionParameters": true,
|
|
12
|
+
"enableResourceInlining": true,
|
|
13
|
+
"strictLiteralTypes": true,
|
|
14
|
+
"strictInputTypes": true,
|
|
15
|
+
"strictInputAccessModifiers": true,
|
|
16
|
+
"strictNullInputTypes": true,
|
|
17
|
+
"strictAttributeTypes": true,
|
|
18
|
+
"strictSafeNavigationTypes": true,
|
|
19
|
+
"strictDomLocalRefTypes": true,
|
|
20
|
+
"strictOutputEventTypes": true,
|
|
21
|
+
"strictDomEventTypes": true,
|
|
22
|
+
"strictContextGenerics": true
|
|
23
|
+
},
|
|
24
|
+
"compilerOptions": {
|
|
25
|
+
"strict": true,
|
|
26
|
+
"baseUrl": "./",
|
|
27
|
+
"outDir": "./dist",
|
|
28
|
+
"target": "es2015",
|
|
29
|
+
"module": "es2020",
|
|
30
|
+
"lib": ["es2017", "es2018.asynciterable", "dom"],
|
|
31
|
+
"typeRoots": ["node_modules/@types", "scripts/types"],
|
|
32
|
+
"types": ["ng-dev-mode", "node"],
|
|
33
|
+
"skipLibCheck": true,
|
|
34
|
+
"downlevelIteration": true,
|
|
35
|
+
"skipDefaultLibCheck": true,
|
|
36
|
+
"declaration": false,
|
|
37
|
+
"declarationMap": false,
|
|
38
|
+
"moduleResolution": "node",
|
|
39
|
+
"experimentalDecorators": true,
|
|
40
|
+
"resolveJsonModule": true,
|
|
41
|
+
"esModuleInterop": true,
|
|
42
|
+
"allowSyntheticDefaultImports": true,
|
|
43
|
+
"importHelpers": true,
|
|
44
|
+
"noFallthroughCasesInSwitch": true,
|
|
45
|
+
"noUnusedLocals": true,
|
|
46
|
+
"noImplicitReturns": true,
|
|
47
|
+
"noUnusedParameters": true,
|
|
48
|
+
"incremental": false,
|
|
49
|
+
"newLine": "lf",
|
|
50
|
+
"alwaysStrict": true,
|
|
51
|
+
"allowUnreachableCode": false,
|
|
52
|
+
"allowUnusedLabels": false,
|
|
53
|
+
"noStrictGenericChecks": false,
|
|
54
|
+
"allowUmdGlobalAccess": true,
|
|
55
|
+
"useDefineForClassFields": false,
|
|
56
|
+
"forceConsistentCasingInFileNames": true,
|
|
57
|
+
"tsBuildInfoFile": null,
|
|
58
|
+
"noImplicitOverride": true,
|
|
59
|
+
"isolatedModules": false,
|
|
60
|
+
"noEmitHelpers": true,
|
|
61
|
+
"pretty": true,
|
|
62
|
+
"stripInternal": false,
|
|
63
|
+
"noUncheckedIndexedAccess": false,
|
|
64
|
+
"importsNotUsedAsValues": "remove",
|
|
65
|
+
"noPropertyAccessFromIndexSignature": false,
|
|
66
|
+
"removeComments": true,
|
|
67
|
+
"noEmitOnError": true,
|
|
68
|
+
"allowJs": true,
|
|
69
|
+
"checkJs": true,
|
|
70
|
+
"disableSizeLimit": true,
|
|
71
|
+
"strictNullChecks": true,
|
|
72
|
+
"preserveSymlinks": true,
|
|
73
|
+
"strictBindCallApply": true,
|
|
74
|
+
"strictFunctionTypes": true,
|
|
75
|
+
"strictPropertyInitialization": true
|
|
76
|
+
},
|
|
77
|
+
"ts-node": {
|
|
78
|
+
"files": true,
|
|
79
|
+
"transpileOnly": true,
|
|
80
|
+
"compilerOptions": {
|
|
81
|
+
"types": ["node"],
|
|
82
|
+
"module": "commonjs"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|