@voiceflow/tsconfig 1.4.7 → 1.5.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/package.json CHANGED
@@ -1,63 +1,24 @@
1
1
  {
2
2
  "name": "@voiceflow/tsconfig",
3
- "description": "Standard tsconfig for voiceflow",
4
- "version": "1.4.7",
5
- "author": "Ben Teichman",
6
- "bugs": {
7
- "url": "https://github.com/voiceflow/tsconfig/issues"
8
- },
9
- "config": {
10
- "commitizen": {
11
- "path": "./node_modules/cz-conventional-changelog"
12
- }
13
- },
14
- "dependencies": {
15
- "@zerollup/ts-transform-paths": "1.7.18"
16
- },
17
- "devDependencies": {
18
- "@commitlint/config-conventional": "^11.0.0",
19
- "@voiceflow/commitlint-config": "2.0.0",
20
- "@voiceflow/eslint-config": "6.1.0",
21
- "@voiceflow/git-branch-check": "1.4.0",
22
- "@voiceflow/prettier-config": "1.2.1",
23
- "commitizen": "^4.2.3",
24
- "commitlint": "^11.0.0",
25
- "cz-conventional-changelog": "^3.3.0",
26
- "eslint": "8.11.0",
27
- "fixpack": "^4.0.0",
28
- "husky": "^4.3.8",
29
- "lint-staged": "12.3.7",
30
- "prettier": "2.6.0"
31
- },
3
+ "version": "1.5.0",
4
+ "main": "tsconfig.json",
32
5
  "files": [
33
- "root.json",
34
- "tsconfig.json",
35
- "web.json",
36
- "build.json",
37
- "build.*.json",
38
- "monorepo*.json"
39
- ],
40
- "homepage": "https://github.com/voiceflow/tsconfig#readme",
41
- "keywords": [
42
- "config",
43
- "semantic-release"
6
+ "tsconfig.json"
44
7
  ],
45
- "license": "MIT",
46
- "main": "tsconfig.json",
47
- "peerDependencies": {
48
- "typescript": "^4.1.5"
8
+ "scripts": {
9
+ "lint": "yarn lint:prettier",
10
+ "lint:fix": "yarn g:prettier --write",
11
+ "lint:prettier": "yarn g:prettier --check"
49
12
  },
50
13
  "prettier": "@voiceflow/prettier-config",
51
- "repository": {
52
- "type": "git",
53
- "url": "git+https://github.com/voiceflow/tsconfig.git"
14
+ "devDependencies": {
15
+ "@voiceflow/prettier-config": "1.4.0"
54
16
  },
55
- "scripts": {
56
- "commit": "git-cz",
57
- "lint": "eslint \"./**/*.{js,ts}\"",
58
- "lint:fix": "yarn lint --fix",
59
- "lint:quiet": "yarn lint --quiet",
60
- "lint:report": "yarn lint --format json -o sonar/report.json",
61
- "test": "echo \"Error: no test specified\" && exit 1"
62
- }
17
+ "engines": {
18
+ "node": "20"
19
+ },
20
+ "volta": {
21
+ "extends": "../../package.json"
22
+ },
23
+ "gitHead": "ca46718f7b4bbac9c11e5bc57047eb6181156e47"
63
24
  }
package/tsconfig.json CHANGED
@@ -1,13 +1,33 @@
1
1
  {
2
- "extends": "./root.json",
3
- "compileOnSave": false,
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "display": "Default",
4
4
  "compilerOptions": {
5
- "resolveJsonModule": true,
6
- "experimentalDecorators": true,
7
- "types": [
8
- "mocha",
9
- "chai",
10
- "node"
11
- ]
5
+ /* input */
6
+
7
+ "moduleResolution": "Node",
8
+ "isolatedModules": true,
9
+ "composite": false,
10
+ "paths": {
11
+ "@/*": ["./src/*"]
12
+ },
13
+
14
+ /* output */
15
+
16
+ "target": "ES2021",
17
+ "module": "ESNext",
18
+ "declaration": true,
19
+ "declarationMap": true,
20
+ "inlineSources": false,
21
+ "esModuleInterop": true,
22
+ "preserveWatchOutput": true,
23
+
24
+ /* strictness */
25
+
26
+ "strict": true,
27
+ "skipLibCheck": true,
28
+ "noImplicitAny": true,
29
+ "noUnusedLocals": false,
30
+ "noUnusedParameters": false,
31
+ "forceConsistentCasingInFileNames": true
12
32
  }
13
33
  }
package/README.md DELETED
@@ -1,9 +0,0 @@
1
- # tsconfig
2
-
3
- Standard `tsconfig` configuration.
4
-
5
- ## Install
6
-
7
- ```bash
8
- npm i -S @voiceflow/tsconfig
9
- ```
package/build.cjs.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "extends": "./build.json",
3
- "compilerOptions": {
4
- "module": "commonjs",
5
- "declaration": true
6
- }
7
- }
package/build.esm.json DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "extends": "./build.json",
3
- "compilerOptions": {
4
- "module": "esnext"
5
- }
6
- }
package/build.json DELETED
@@ -1,10 +0,0 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "plugins": [
5
- {
6
- "transform": "@zerollup/ts-transform-paths"
7
- }
8
- ]
9
- }
10
- }
package/monorepo-web.json DELETED
@@ -1,14 +0,0 @@
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
- }
package/monorepo.json DELETED
@@ -1,13 +0,0 @@
1
- {
2
- "extends": "./root.json",
3
- "compilerOptions": {
4
- "composite": true,
5
- "incremental": true,
6
- "declaration": true,
7
- "plugins": [
8
- {
9
- "transform": "@zerollup/ts-transform-paths"
10
- }
11
- ]
12
- }
13
- }
package/root.json DELETED
@@ -1,32 +0,0 @@
1
- {
2
- "compileOnSave": false,
3
- "compilerOptions": {
4
- "target": "es2017",
5
- "module": "commonjs",
6
- "moduleResolution": "node",
7
- "lib": [
8
- "es2019"
9
- ],
10
- /* Language Features */
11
- "experimentalDecorators": true,
12
- "emitDecoratorMetadata": true,
13
- /* Emit Options */
14
- "sourceMap": true,
15
- "declaration": false,
16
- "esModuleInterop": true,
17
- /* Strictness Checks */
18
- "strict": true,
19
- "skipLibCheck": false,
20
- "noUnusedLocals": true,
21
- "noImplicitReturns": true,
22
- "noUnusedParameters": true,
23
- "exactOptionalPropertyTypes": true,
24
- "noFallthroughCasesInSwitch": true,
25
- "forceConsistentCasingInFileNames": true,
26
- /* Debugging Options */
27
- "traceResolution": false,
28
- "listEmittedFiles": false,
29
- "listFiles": false,
30
- "pretty": true
31
- }
32
- }
package/web.json DELETED
@@ -1,11 +0,0 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "module": "esnext",
5
- "jsx": "react",
6
- "lib": [
7
- "dom",
8
- "es2019"
9
- ]
10
- }
11
- }