@zetavg/tsconfig 0.0.1

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 (3) hide show
  1. package/README.md +25 -0
  2. package/package.json +12 -0
  3. package/tsconfig.json +20 -0
package/README.md ADDED
@@ -0,0 +1,25 @@
1
+ # TypeScript Config
2
+
3
+ This package provides some shared TypeScript configurations for all workspaces in the monorepo.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ yarn add @zetavg/tsconfig --dev && yarn constraints --fix && yarn
9
+ ```
10
+
11
+ Then, add the following to your `tsconfig.json`:
12
+
13
+ ```json5
14
+ {
15
+ "extends": "@zetavg/tsconfig",
16
+ "compilerOptions": {
17
+ "paths": {
18
+ "@/*": ["./src/*"] // Optional path mappings
19
+ }
20
+ },
21
+ "include": [
22
+ "**/*.ts"
23
+ ]
24
+ }
25
+ ```
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "@zetavg/tsconfig",
3
+ "peerDependencies": {
4
+ "typescript": "^5"
5
+ },
6
+ "scripts": {
7
+ "pack-package": "yarn pack",
8
+ "publish-packed-package": "npm publish package.tgz --access public",
9
+ "clean": "rm -rf package.tgz"
10
+ },
11
+ "version": "0.0.1"
12
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,20 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "es6",
4
+ "strict": true,
5
+ "noUncheckedIndexedAccess": true,
6
+ "lib": [
7
+ "ES2019",
8
+ "ES2021.String"
9
+ ],
10
+ "esModuleInterop": true,
11
+ "allowJs": true,
12
+ "allowSyntheticDefaultImports": true,
13
+ "moduleResolution": "node",
14
+ "module": "commonjs",
15
+ "resolveJsonModule": true,
16
+ "skipLibCheck": true,
17
+ "isolatedModules": true,
18
+ "declaration": true
19
+ }
20
+ }