@taiga-ui/tsconfig 0.5.0 → 0.7.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/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.7.0](https://github.com/taiga-family/linters/compare/@taiga-ui/tsconfig@0.6.0...@taiga-ui/tsconfig@0.7.0) (2023-12-04)
7
+
8
+ ### Features
9
+
10
+ - **tsconfig:** enable isolatedModules
11
+ ([1f0c456](https://github.com/taiga-family/linters/commit/1f0c4564039986745b54e82602c0c39a1a05de31))
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.6.0](https://github.com/taiga-family/linters/compare/@taiga-ui/tsconfig@0.5.0...@taiga-ui/tsconfig@0.6.0) (2023-11-25)
19
+
20
+ ### Features
21
+
22
+ - **tsconfig:** add `ngDevMode` type
23
+ ([e32cabe](https://github.com/taiga-family/linters/commit/e32cabe575ee3c5921faa71200e4ffe397ef4ba8))
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.5.0 (2023-11-14)
7
31
 
8
32
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/tsconfig",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "description": "Taiga UI tsconfig",
5
5
  "keywords": [
6
6
  "taiga-ui",
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", "scripts/types"],
32
+ "typeRoots": ["node_modules/@types", "types"],
33
33
  "types": ["ng-dev-mode", "node"],
34
34
  "skipLibCheck": true,
35
35
  "downlevelIteration": true,
@@ -55,7 +55,7 @@
55
55
  "useDefineForClassFields": false,
56
56
  "forceConsistentCasingInFileNames": true,
57
57
  "noImplicitOverride": true,
58
- "isolatedModules": false,
58
+ "isolatedModules": true,
59
59
  "noEmitHelpers": true,
60
60
  "pretty": true,
61
61
  "stripInternal": false,
@@ -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;