@zayne-labs/tsconfig 0.0.6 → 0.0.7

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.
Files changed (2) hide show
  1. package/README.md +18 -18
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -20,8 +20,8 @@ pnpm add -D @zayne-labs/tsconfig
20
20
 
21
21
  ```jsonc
22
22
  {
23
- // When building an app that runs in the DOM with an external bundler
24
- "extends": "@zayne-labs/tsconfig/bundler/dom/app",
23
+ // When building an app that runs in the DOM with an external bundler
24
+ "extends": "@zayne-labs/tsconfig/bundler/dom/app",
25
25
  }
26
26
  ```
27
27
 
@@ -35,13 +35,13 @@ If yes, use this selection of configs:
35
35
 
36
36
  ```jsonc
37
37
  {
38
- // For code that runs in the DOM:
39
- "extends": "@zayne-labs/tsconfig/tsc/dom/app", // For an app
40
- "extends": "@zayne-labs/tsconfig/tsc/dom/library", // For a library
38
+ // For code that runs in the DOM:
39
+ "extends": "@zayne-labs/tsconfig/tsc/dom/app", // For an app
40
+ "extends": "@zayne-labs/tsconfig/tsc/dom/library", // For a library
41
41
 
42
- // For code that doesn't run in the DOM (for instance, in Node.js):
43
- "extends": "@zayne-labs/tsconfig/tsc/no-dom/app", // For an app
44
- "extends": "@zayne-labs/tsconfig/tsc/no-dom/library", // For a library
42
+ // For code that doesn't run in the DOM (for instance, in Node.js):
43
+ "extends": "@zayne-labs/tsconfig/tsc/no-dom/app", // For an app
44
+ "extends": "@zayne-labs/tsconfig/tsc/no-dom/library", // For a library
45
45
  }
46
46
  ```
47
47
 
@@ -51,13 +51,13 @@ If no, you're probably using an external bundler.
51
51
 
52
52
  ```jsonc
53
53
  {
54
- // For code that runs in the DOM:
55
- "extends": "@zayne-labs/tsconfig/bundler/dom/app", // For an app
56
- "extends": "@zayne-labs/tsconfig/bundler/dom/library", // For a library
54
+ // For code that runs in the DOM:
55
+ "extends": "@zayne-labs/tsconfig/bundler/dom/app", // For an app
56
+ "extends": "@zayne-labs/tsconfig/bundler/dom/library", // For a library
57
57
 
58
- // For code that doesn't run in the DOM (for instance, in Node.js):
59
- "extends": "@zayne-labs/tsconfig/bundler/no-dom/app", // For an app
60
- "extends": "@zayne-labs/tsconfig/bundler/no-dom/library", // For a library
58
+ // For code that doesn't run in the DOM (for instance, in Node.js):
59
+ "extends": "@zayne-labs/tsconfig/bundler/no-dom/app", // For an app
60
+ "extends": "@zayne-labs/tsconfig/bundler/no-dom/library", // For a library
61
61
  }
62
62
  ```
63
63
 
@@ -67,10 +67,10 @@ The following are currently supported framework-specific options, will add more
67
67
 
68
68
  ```jsonc
69
69
  {
70
- // For a vite app
71
- "extends": "@zayne-labs/tsconfig/bundler/dom/vite",
70
+ // For a vite app
71
+ "extends": "@zayne-labs/tsconfig/bundler/dom/vite",
72
72
 
73
- // For a nextjs app
74
- "extends": "@zayne-labs/tsconfig/bundler/dom/next",
73
+ // For a nextjs app
74
+ "extends": "@zayne-labs/tsconfig/bundler/dom/next",
75
75
  }
76
76
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zayne-labs/tsconfig",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "A collection of TypeScript configurations for various projects, based on Total TypeScript's TSConfig Cheat Sheet, with a few additions.",
5
5
  "repository": {
6
6
  "type": "git",