@voxpelli/tsconfig
Advanced tools
| { | ||
| "$schema": "https://json.schemastore.org/tsconfig", | ||
| "display": "Base Browser Bare", | ||
| "extends": "./base-node-bare.json", | ||
| "compilerOptions": { | ||
| "lib": ["ES2022", "DOM"], | ||
| "types": [] | ||
| } | ||
| } |
| { | ||
| "$schema": "https://json.schemastore.org/tsconfig", | ||
| "display": "Base Browser JSDoc", | ||
| "extends": [ | ||
| "./base-browser-bare.json", | ||
| "./base-jsdoc.json" | ||
| ] | ||
| } |
| { | ||
| "$schema": "https://json.schemastore.org/tsconfig", | ||
| "display": "Base JSDoc", | ||
| "compilerOptions": { | ||
| "allowJs": true, | ||
| "checkJs": true, | ||
| "maxNodeModuleJsDepth": 0, // Fix when used with jsconfig.json, see https://github.com/voxpelli/types-in-js/discussions/25 | ||
| "noEmit": true, | ||
| "resolveJsonModule": true | ||
| } | ||
| } |
| { | ||
| "$schema": "https://json.schemastore.org/tsconfig", | ||
| "display": "Browser", | ||
| "extends": "./base-browser-jsdoc.json", | ||
| } |
@@ -5,11 +5,6 @@ { | ||
| "extends": "./base-node-bare.json", | ||
| "compilerOptions": { | ||
| "allowJs": true, | ||
| "checkJs": true, | ||
| "maxNodeModuleJsDepth": 0, // Fix when used with jsconfig.json, see https://github.com/voxpelli/types-in-js/discussions/25 | ||
| "noEmit": true, | ||
| "resolveJsonModule": true | ||
| } | ||
| "extends": [ | ||
| "./base-node-bare.json", | ||
| "./base-jsdoc.json" | ||
| ] | ||
| } |
+2
-1
| { | ||
| "name": "@voxpelli/tsconfig", | ||
| "description": "Personal tsconfig bases", | ||
| "version": "16.0.0", | ||
| "version": "16.1.0", | ||
| "license": "MIT", | ||
@@ -17,2 +17,3 @@ "author": "Pelle Wessman <pelle@kodfabrik.se> (http://kodfabrik.se/)", | ||
| "base*.json", | ||
| "browser*.json", | ||
| "node*.json" | ||
@@ -19,0 +20,0 @@ ], |
+11
-3
@@ -31,12 +31,20 @@ # @voxpelli/tsconfig | ||
| ## Available configs | ||
| ### Generic ones | ||
| ### Base ones | ||
| * [`base-node-bare`](base-node-bare.json) – where most of the configuration is set (Node.js focused) | ||
| * [`base-node-jsdoc`](base-node-jsdoc.json) – adds JSDoc related config to `base-node-bare` | ||
| * [`base-jsdoc`](base-jsdoc.json) – adds JSDoc related config (now shared by both Node and Browser bases) | ||
| * [`base-node-jsdoc`](base-node-jsdoc.json) – combines `base-node-bare` and `base-jsdoc` for Node.js+JSDoc | ||
| * [`base-browser-bare`](base-browser-bare.json) – base config for browser environments | ||
| * [`base-browser-jsdoc`](base-browser-jsdoc.json) – combines `base-browser-bare` and `base-jsdoc` for Browser+JSDoc | ||
| ### Browser specific ones | ||
| * [`browser`](browser.json) – main browser config, replicates `base-browser-jsdoc` | ||
| ### Node specific ones | ||
| These extends `base-node-jsdoc` with the correct [`lib`](https://www.typescriptlang.org/tsconfig#lib), [`module`](https://www.typescriptlang.org/tsconfig#module), [`moduleResolution`](https://www.typescriptlang.org/tsconfig#moduleResolution) and [`target`](https://www.typescriptlang.org/tsconfig#target) for each Node.js version. | ||
| These extend `base-node-jsdoc` with the correct [`lib`](https://www.typescriptlang.org/tsconfig#lib), [`module`](https://www.typescriptlang.org/tsconfig#module), [`moduleResolution`](https://www.typescriptlang.org/tsconfig#moduleResolution) and [`target`](https://www.typescriptlang.org/tsconfig#target) for each Node.js version. | ||
@@ -43,0 +51,0 @@ Inspired by [tsconfig/bases](https://github.com/tsconfig/bases). |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
16813
6.86%16
33.33%196
17.37%191
4.37%0
-100%