@taiga-ui/tsconfig 0.4.1 → 0.6.0
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/@types/ng-dev-mode/index.d.ts +19 -0
- package/CHANGELOG.md +24 -0
- package/package.json +1 -1
- package/tsconfig.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Values of ngDevMode
|
|
3
|
+
* Depending on the current state of the application, ngDevMode may have one of several values.
|
|
4
|
+
*
|
|
5
|
+
* For convenience, the “truthy” value which enables dev mode is also an object which contains
|
|
6
|
+
* Angular’s performance counters. This is not necessary, but cuts down on boilerplate for the
|
|
7
|
+
* perf counters.
|
|
8
|
+
*
|
|
9
|
+
* ngDevMode may also be set to false. This can happen in one of a few ways:
|
|
10
|
+
* - The user explicitly sets `window.ngDevMode = false` somewhere in their app.
|
|
11
|
+
* - The user calls `enableProdMode()`.
|
|
12
|
+
* - The URL contains a `ngDevMode=false` text.
|
|
13
|
+
* Finally, ngDevMode may not have been defined at all.
|
|
14
|
+
*
|
|
15
|
+
*
|
|
16
|
+
* This will be provided through Terser global definitions by Angular CLI. This will
|
|
17
|
+
* help to tree-shake away the code unneeded for production bundles.
|
|
18
|
+
*/
|
|
19
|
+
declare const ngDevMode: boolean | {} | undefined | null;
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See
|
|
4
4
|
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [0.6.0](https://github.com/taiga-family/linters/compare/@taiga-ui/tsconfig@0.5.0...@taiga-ui/tsconfig@0.6.0) (2023-11-25)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **tsconfig:** add `ngDevMode` type
|
|
11
|
+
([e32cabe](https://github.com/taiga-family/linters/commit/e32cabe575ee3c5921faa71200e4ffe397ef4ba8))
|
|
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.5.0 (2023-11-14)
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
- **eslint-plugin-experience:** use single config
|
|
23
|
+
([e06d134](https://github.com/taiga-family/linters/commit/e06d134e3ae2e4d88dcdfbedb488a8e19336d953))
|
|
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
|
+
|
|
6
30
|
## 0.4.1 (2023-11-14)
|
|
7
31
|
|
|
8
32
|
**Note:** Version bump only for package @taiga-ui/tsconfig
|
package/package.json
CHANGED
package/tsconfig.json
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"target": "es2015",
|
|
30
30
|
"module": "es2020",
|
|
31
31
|
"lib": ["es2017", "es2018.asynciterable", "dom"],
|
|
32
|
-
"typeRoots": ["node_modules/@types", "
|
|
32
|
+
"typeRoots": ["node_modules/@types", "node_modules/@taiga-ui/tsconfig/@types"],
|
|
33
33
|
"types": ["ng-dev-mode", "node"],
|
|
34
34
|
"skipLibCheck": true,
|
|
35
35
|
"downlevelIteration": true,
|