@voiceflow/tsconfig 1.3.0 → 1.4.2

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.
@@ -0,0 +1,14 @@
1
+ {
2
+ "extends": "./monorepo.json",
3
+ "compilerOptions": {
4
+ "target": "esnext",
5
+ "module": "esnext",
6
+ "moduleResolution": "node",
7
+ "lib": [
8
+ "esnext",
9
+ "dom"
10
+ ],
11
+ "jsx": "react-jsx",
12
+ "isolatedModules": true
13
+ }
14
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "extends": "./monorepo.json",
3
+ "compilerOptions": {
4
+ "declaration": true
5
+ }
6
+ }
package/monorepo.json ADDED
@@ -0,0 +1,16 @@
1
+ {
2
+ "extends": "./root.json",
3
+ "compilerOptions": {
4
+ "composite": true,
5
+ "incremental": true,
6
+ "plugins": [
7
+ {
8
+ "transform": "typescript-transform-paths"
9
+ },
10
+ {
11
+ "transform": "@zoltu/typescript-transformer-append-js-extension/output/index.js",
12
+ "after": true
13
+ }
14
+ ]
15
+ }
16
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@voiceflow/tsconfig",
3
3
  "description": "Standard tsconfig for voiceflow",
4
- "version": "1.3.0",
4
+ "version": "1.4.2",
5
5
  "author": "Ben Teichman",
6
6
  "bugs": {
7
7
  "url": "https://github.com/voiceflow/tsconfig/issues"
@@ -12,14 +12,16 @@
12
12
  }
13
13
  },
14
14
  "dependencies": {
15
- "@zerollup/ts-transform-paths": "1.7.18"
15
+ "@zerollup/ts-transform-paths": "1.7.18",
16
+ "@zoltu/typescript-transformer-append-js-extension": "1.0.1",
17
+ "typescript-transform-paths": "3.3.1"
16
18
  },
17
19
  "devDependencies": {
18
20
  "@commitlint/config-conventional": "^11.0.0",
19
21
  "@voiceflow/commitlint-config": "2.0.0",
20
- "@voiceflow/eslint-config": "6.0.0",
21
- "@voiceflow/git-branch-check": "1.2.0",
22
- "@voiceflow/prettier-config": "1.0.6",
22
+ "@voiceflow/eslint-config": "6.1.0",
23
+ "@voiceflow/git-branch-check": "1.3.0",
24
+ "@voiceflow/prettier-config": "1.2.1",
23
25
  "commitizen": "^4.2.3",
24
26
  "commitlint": "^11.0.0",
25
27
  "cz-conventional-changelog": "^3.3.0",
@@ -30,10 +32,12 @@
30
32
  "prettier": "2.6.0"
31
33
  },
32
34
  "files": [
35
+ "root.json",
33
36
  "tsconfig.json",
34
37
  "web.json",
35
38
  "build.json",
36
- "build.*.json"
39
+ "build.*.json",
40
+ "monorepo*.json"
37
41
  ],
38
42
  "homepage": "https://github.com/voiceflow/tsconfig#readme",
39
43
  "keywords": [
package/root.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "compileOnSave": false,
3
+ "compilerOptions": {
4
+ "target": "es2017",
5
+ "module": "commonjs",
6
+ "moduleResolution": "node",
7
+ "lib": [
8
+ "es2019"
9
+ ],
10
+ "declaration": false,
11
+ "sourceMap": true,
12
+ "esModuleInterop": true,
13
+ /* Strictness Checks */
14
+ "skipLibCheck": false,
15
+ "alwaysStrict": true,
16
+ "noImplicitAny": true,
17
+ "noUnusedLocals": true,
18
+ "noImplicitThis": true,
19
+ "strictNullChecks": true,
20
+ "noUnusedParameters": true,
21
+ "noImplicitReturns": true,
22
+ "strictFunctionTypes": true,
23
+ "strictBindCallApply": true,
24
+ "noFallthroughCasesInSwitch": true,
25
+ "strictPropertyInitialization": true,
26
+ /* Debugging Options */
27
+ "traceResolution": false,
28
+ "listEmittedFiles": false,
29
+ "listFiles": false,
30
+ "pretty": true
31
+ }
32
+ }
package/tsconfig.json CHANGED
@@ -1,35 +1,9 @@
1
1
  {
2
+ "extends": "./root.json",
2
3
  "compileOnSave": false,
3
4
  "compilerOptions": {
4
- "target": "es2017",
5
- "moduleResolution": "node",
6
- "module": "commonjs",
7
- "declaration": false,
8
- "sourceMap": true,
9
- "esModuleInterop": true,
10
5
  "resolveJsonModule": true,
11
6
  "experimentalDecorators": true,
12
- /* Strictness Checks */
13
- "skipLibCheck": false,
14
- "alwaysStrict": true,
15
- "noImplicitAny": true,
16
- "noUnusedLocals": true,
17
- "noImplicitThis": true,
18
- "strictNullChecks": true,
19
- "noUnusedParameters": true,
20
- "noImplicitReturns": true,
21
- "strictFunctionTypes": true,
22
- "strictBindCallApply": true,
23
- "noFallthroughCasesInSwitch": true,
24
- "strictPropertyInitialization": true,
25
- /* Debugging Options */
26
- "traceResolution": false,
27
- "listEmittedFiles": false,
28
- "listFiles": false,
29
- "pretty": true,
30
- "lib": [
31
- "es2019"
32
- ],
33
7
  "types": [
34
8
  "mocha",
35
9
  "chai",