@storm-software/tsconfig 0.12.0 → 0.14.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
@@ -1,3 +1,17 @@
1
+ ## 0.14.0 (2024-07-17)
2
+
3
+
4
+ ### 🚀 Features
5
+
6
+ - **git-tools:** Added README header template to include table of contents ([6841042e](https://github.com/storm-software/storm-ops/commit/6841042e))
7
+
8
+ ## 0.13.0 (2024-07-12)
9
+
10
+
11
+ ### 🚀 Features
12
+
13
+ - **tsconfig:** Added various new base `tsconfig` file types ([09e5d275](https://github.com/storm-software/storm-ops/commit/09e5d275))
14
+
1
15
  ## 0.12.0 (2024-06-26)
2
16
 
3
17
 
package/README.md CHANGED
@@ -8,9 +8,9 @@
8
8
 
9
9
  <div align="center">
10
10
  <b>
11
- <a href="https://stormsoftware.com" target="_blank">Website</a> •
12
- <a href="https://github.com/storm-software/storm-ops" target="_blank">GitHub</a> •
13
- <a href="https://discord.gg/MQ6YVzakM5">Discord</a> • <a href="https://stormstack.github.io/stormstack/" target="_blank">Docs</a> • <a href="https://stormsoftware.com/contact" target="_blank">Contact</a> •
11
+ <a href="https://stormsoftware.com" target="_blank">Website</a> •
12
+ <a href="https://github.com/storm-software/storm-ops" target="_blank">GitHub</a> •
13
+ <a href="https://discord.gg/MQ6YVzakM5">Discord</a> • <a href="https://stormstack.github.io/stormstack/" target="_blank">Docs</a> • <a href="https://stormsoftware.com/contact" target="_blank">Contact</a> •
14
14
  <a href="https://github.com/storm-software/storm-ops/issues/new?assignees=&labels=bug&template=bug-report.yml&title=Bug Report%3A+">Report a Bug</a>
15
15
  </b>
16
16
  </div>
@@ -21,14 +21,43 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-0.11.1-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
25
- [![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with docusaurus](https://img.shields.io/badge/documented_with-docusaurus-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://docusaurus.io/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-0.13.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
26
25
 
27
- > [!IMPORTANT]
26
+ <!-- prettier-ignore-start -->
27
+ <!-- markdownlint-disable -->
28
+
29
+ > [!IMPORTANT]
28
30
  > This repository, and the apps, libraries, and tools contained within, is still in it's initial development phase. As a result, bugs and issues are expected with it's usage. When the main development phase completes, a proper release will be performed, the packages will be availible through NPM (and other distributions), and this message will be removed. However, in the meantime, please feel free to report any issues you may come across.
29
31
 
32
+ <!-- markdownlint-restore -->
33
+ <!-- prettier-ignore-end -->
34
+
35
+ <div align="center">
36
+ <b>Be sure to ⭐ this repository on <a href="https://github.com/storm-software/storm-ops" target="_blank">GitHub</a> so you can keep up to date on any daily progress!</b>
37
+ </div>
38
+
30
39
  <br />
31
40
 
41
+ <!-- START doctoc -->
42
+ <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
43
+ ## Table of Contents
44
+
45
+ - [Storm TypeScript Configuration (tsconfig.json) Files](#storm-typescript-configuration-tsconfigjson-files)
46
+ - [Installing](#installing)
47
+ - [Building](#building)
48
+ - [Running unit tests](#running-unit-tests)
49
+ - [Storm Workspaces](#storm-workspaces)
50
+ - [Roadmap](#roadmap)
51
+ - [Support](#support)
52
+ - [License](#license)
53
+ - [Changelog](#changelog)
54
+ - [Contributing](#contributing)
55
+ - [Contributors](#contributors)
56
+ - [💻 Visit stormsoftware.com to stay up to date with this developer](#-visit-stormsoftwarecom-to-stay-up-to-date-with-this-developer)
57
+
58
+ <!-- END doctoc -->
59
+
60
+ <br />
32
61
 
33
62
  <!-- markdownlint-restore -->
34
63
  <!-- prettier-ignore-end -->
@@ -40,11 +69,6 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
40
69
  This package combines various base `tsconfig.json` files used to configure
41
70
  TypeScript in a Storm workspace.
42
71
 
43
- <!-- START doctoc generated TOC please keep comment here to allow auto update -->
44
- <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
45
-
46
- <!-- END doctoc generated TOC please keep comment here to allow auto update -->
47
-
48
72
  ## Installing
49
73
 
50
74
  Using [pnpm](http://pnpm.io):
package/app.json ADDED
@@ -0,0 +1,25 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "display": "Storm Software - Application TypeScript Config",
4
+ "compileOnSave": false,
5
+ "compilerOptions": {
6
+ /* Base Options: */
7
+ "esModuleInterop": true,
8
+ "skipLibCheck": true,
9
+ "target": "es2022",
10
+ "allowJs": true,
11
+ "resolveJsonModule": true,
12
+ "moduleDetection": "force",
13
+ "isolatedModules": true,
14
+ "verbatimModuleSyntax": true,
15
+ /* Strictness */
16
+ "strict": true,
17
+ "noUncheckedIndexedAccess": true,
18
+ "noImplicitOverride": true,
19
+ /* If transpiling with TypeScript: */
20
+ "module": "NodeNext",
21
+ "sourceMap": true,
22
+ /* If your code doesn't run in the DOM: */
23
+ "lib": ["es2022"]
24
+ }
25
+ }
package/base.json CHANGED
@@ -31,14 +31,5 @@
31
31
  "skipDefaultLibCheck": true,
32
32
  "esModuleInterop": true,
33
33
  "preserveSymlinks": true
34
- },
35
- "include": [
36
- "**/*.ts",
37
- "**/*.js",
38
- "**/*.tsx",
39
- "**/*.jsx",
40
- "**/*.d.ts",
41
- "**/*.json"
42
- ],
43
- "exclude": ["**/node_modules"]
34
+ }
44
35
  }
package/dom-app.json ADDED
@@ -0,0 +1,25 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "display": "Storm Software - DOM Library TypeScript Config",
4
+ "compileOnSave": false,
5
+ "compilerOptions": {
6
+ /* Base Options: */
7
+ "esModuleInterop": true,
8
+ "skipLibCheck": true,
9
+ "target": "es2022",
10
+ "allowJs": true,
11
+ "resolveJsonModule": true,
12
+ "moduleDetection": "force",
13
+ "isolatedModules": true,
14
+ "verbatimModuleSyntax": true,
15
+ /* Strictness */
16
+ "strict": true,
17
+ "noUncheckedIndexedAccess": true,
18
+ "noImplicitOverride": true,
19
+ /* If transpiling with TypeScript: */
20
+ "module": "NodeNext",
21
+ "sourceMap": true,
22
+ /* If your code runs in the DOM: */
23
+ "lib": ["es2022", "dom", "dom.iterable"]
24
+ }
25
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "display": "Storm Software - DOM Library TypeScript Config",
4
+ "compileOnSave": false,
5
+ "compilerOptions": {
6
+ /* Base Options: */
7
+ "esModuleInterop": true,
8
+ "skipLibCheck": true,
9
+ "target": "es2022",
10
+ "allowJs": true,
11
+ "resolveJsonModule": true,
12
+ "moduleDetection": "force",
13
+ "isolatedModules": true,
14
+ "verbatimModuleSyntax": true,
15
+ /* Strictness */
16
+ "strict": true,
17
+ "noUncheckedIndexedAccess": true,
18
+ "noImplicitOverride": true,
19
+ /* If transpiling with TypeScript: */
20
+ "module": "NodeNext",
21
+ "sourceMap": true,
22
+ /* AND if you're building for a library: */
23
+ "declaration": true,
24
+ /* AND if you're building for a library in a monorepo: */
25
+ "composite": true,
26
+ "declarationMap": true,
27
+ /* If your code runs in the DOM: */
28
+ "lib": ["es2022", "dom", "dom.iterable"]
29
+ }
30
+ }
package/library.json ADDED
@@ -0,0 +1,30 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "display": "Storm Software - Library TypeScript Config",
4
+ "compileOnSave": false,
5
+ "compilerOptions": {
6
+ /* Base Options: */
7
+ "esModuleInterop": true,
8
+ "skipLibCheck": true,
9
+ "target": "es2022",
10
+ "allowJs": true,
11
+ "resolveJsonModule": true,
12
+ "moduleDetection": "force",
13
+ "isolatedModules": true,
14
+ "verbatimModuleSyntax": true,
15
+ /* Strictness */
16
+ "strict": true,
17
+ "noUncheckedIndexedAccess": true,
18
+ "noImplicitOverride": true,
19
+ /* If transpiling with TypeScript: */
20
+ "module": "NodeNext",
21
+ "sourceMap": true,
22
+ /* AND if you're building for a library: */
23
+ "declaration": true,
24
+ /* AND if you're building for a library in a monorepo: */
25
+ "composite": true,
26
+ "declarationMap": true,
27
+ /* If your code doesn't run in the DOM: */
28
+ "lib": ["es2022"]
29
+ }
30
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/tsconfig",
3
- "version": "0.12.0",
3
+ "version": "0.14.0",
4
4
  "description": "⚡ A package containing various linting tools used to validate syntax, enforce design standards, and format code in a Storm workspace.",
5
5
  "repository": {
6
6
  "type": "github",
package/react-native.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "extends": "./base.json",
2
+ "extends": "./react.json",
3
3
  "$schema": "https://json.schemastore.org/tsconfig",
4
4
  "display": "Storm Software - React Native TypeScript Config",
5
5
  "_version": "3.0.2",
@@ -23,24 +23,8 @@
23
23
  "es2022.object",
24
24
  "es2022.string"
25
25
  ],
26
- "allowJs": true,
27
26
  "jsx": "react-native",
28
27
  "noEmit": true,
29
- "isolatedModules": true,
30
- "strict": true,
31
- "moduleResolution": "node",
32
- "resolveJsonModule": true,
33
- "allowSyntheticDefaultImports": true,
34
- "esModuleInterop": true,
35
- "skipLibCheck": true
36
- },
37
- "include": [
38
- "**/*.ts",
39
- "**/*.js",
40
- "**/*.tsx",
41
- "**/*.jsx",
42
- "**/*.d.ts",
43
- "**/*.json"
44
- ],
45
- "exclude": ["**/node_modules"]
28
+ "moduleResolution": "node"
29
+ }
46
30
  }
package/react.json CHANGED
@@ -1,33 +1,43 @@
1
1
  {
2
- "extends": "./base.json",
3
2
  "$schema": "https://json.schemastore.org/tsconfig",
4
- "display": "Storm Software - React (Vite) TypeScript Config",
3
+ "display": "Storm Software - React TypeScript Config",
5
4
  "_version": "3.0.0",
6
5
  "compileOnSave": false,
7
6
  "compilerOptions": {
7
+ "importHelpers": true,
8
+ "isolatedModules": true,
9
+ "allowJs": false,
10
+ "allowSyntheticDefaultImports": true,
11
+ "forceConsistentCasingInFileNames": true,
12
+ "declaration": true,
13
+ "experimentalDecorators": false,
14
+ "emitDecoratorMetadata": false,
15
+ "downlevelIteration": true,
16
+ "strict": true,
17
+ "esModuleInterop": true,
18
+ "inlineSourceMap": true,
19
+ "preserveSymlinks": true,
20
+ "jsx": "react-jsx",
21
+ "module": "System",
22
+ "moduleResolution": "node",
23
+ "noEmitOnError": false,
24
+ "noImplicitAny": false,
25
+ "noImplicitReturns": false,
26
+ "preserveConstEnums": true,
27
+ // DONT DO THIS so jsdoc will remain
28
+ "removeComments": false,
29
+ "skipLibCheck": true,
30
+ "sourceMap": false,
31
+ "strictNullChecks": true,
8
32
  "target": "ES2020",
9
33
  "useDefineForClassFields": true,
10
- "lib": ["ES2020", "DOM", "DOM.Iterable"],
11
- "module": "ESNext",
12
- "skipLibCheck": true,
13
- "moduleResolution": "bundler",
34
+ "lib": ["ESNext", "DOM", "DOM.Iterable"],
35
+ "types": ["node", "react"],
14
36
  "allowImportingTsExtensions": true,
15
37
  "resolveJsonModule": true,
16
- "isolatedModules": true,
17
- "noEmit": true,
18
- "jsx": "react-jsx",
19
- "strict": true,
20
38
  "noUnusedLocals": true,
21
39
  "noUnusedParameters": true,
22
40
  "noFallthroughCasesInSwitch": true
23
41
  },
24
- "include": [
25
- "**/*.ts",
26
- "**/*.js",
27
- "**/*.tsx",
28
- "**/*.jsx",
29
- "**/*.d.ts",
30
- "**/*.json"
31
- ],
32
- "exclude": ["**/node_modules"]
42
+ "exclude": ["test", "tmp", "dist", "types", "**/__tests__", "node_modules"]
33
43
  }