-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
<!-- You can erase any parts of this template not applicable to your Pull Request. --> **Fixes or implements VF-2968** ### Brief description. What is this change? - fo not check the `.d.ts` files via `skipLibCheck` - remove built-in types (node, mocha, etc) definitions via `"types": []` - include only used googleapis types - build metrics package into commonjs and esm ```logs lerna success run Ran npm script 'build' in 10 packages in 29.3s: lerna success - @voiceflow/alexa-types lerna success - @voiceflow/api-sdk lerna success - @voiceflow/base-types lerna success - @voiceflow/chat-types lerna success - @voiceflow/common lerna success - @voiceflow/google-dfes-types lerna success - @voiceflow/google-types lerna success - @voiceflow/metrics lerna success - @voiceflow/voice-types lerna success - @voiceflow/voiceflow-types ✨ Done in 29.94s. ``` vs ``` lerna success run Ran npm script 'build' in 10 packages in 88.5s: lerna success - @voiceflow/alexa-types lerna success - @voiceflow/api-sdk lerna success - @voiceflow/base-types lerna success - @voiceflow/chat-types lerna success - @voiceflow/common lerna success - @voiceflow/google-dfes-types lerna success - @voiceflow/google-types lerna success - @voiceflow/metrics lerna success - @voiceflow/voice-types lerna success - @voiceflow/voiceflow-types ✨ Done in 89.12s. ```
- Loading branch information
Showing
26 changed files
with
752 additions
and
733 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,26 @@ | ||
{ | ||
"extends": "@voiceflow/tsconfig", | ||
"compilerOptions": { | ||
"baseUrl": "..", | ||
"lib": ["es2020"], | ||
"strict": true, | ||
"baseUrl": ".", | ||
"sourceMap": false, | ||
"paths": { | ||
"@voiceflow/common": [ | ||
"common/src" | ||
], | ||
"@alexa-types/*": ["src/*"], | ||
|
||
"@voiceflow/common": ["../common/src"], | ||
"@voiceflow/base-types": ["../base-types/src"], | ||
"@voiceflow/voice-types": ["../voice-types/src"], | ||
"@voiceflow/voiceflow-types": ["../voiceflow-types/src"], | ||
|
||
// only used to fix intra-monorepo resolution | ||
"@common/*": [ | ||
"common/src/*" | ||
], | ||
"@voiceflow/base-types": [ | ||
"base-types/src" | ||
], | ||
// only used to fix intra-monorepo resolution | ||
"@base-types/*": [ | ||
"base-types/src/*" | ||
], | ||
"@voiceflow/voice-types": [ | ||
"voice-types/src" | ||
], | ||
// only used to fix intra-monorepo resolution | ||
"@voice-types/*": [ | ||
"voice-types/src/*" | ||
], | ||
"@voiceflow/voiceflow-types": [ | ||
"voiceflow-types/src" | ||
], | ||
// only used to fix intra-monorepo resolution | ||
"@voiceflow-types/*": [ | ||
"voiceflow-types/src/*" | ||
], | ||
"@alexa-types/*": [ | ||
"alexa-types/src/*" | ||
] | ||
} | ||
"@common/*": ["../common/src/*"], | ||
"@base-types/*": ["../base-types/src/*"], | ||
"@voice-types/*": ["../voice-types/src/*"], | ||
"@voiceflow-types/*": ["../voiceflow-types/src/*"] | ||
}, | ||
"types": ["mocha"] | ||
}, | ||
"exclude": [ | ||
"node_modules/**/*", | ||
"build/**/*" | ||
] | ||
"include": ["src", "tests", "typings"], | ||
"exclude": ["**/node_modules", "**/.*/"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,21 @@ | ||
{ | ||
"extends": "@voiceflow/tsconfig", | ||
"compilerOptions": { | ||
"baseUrl": "..", | ||
"lib": ["es2020"], | ||
"strict": true, | ||
"baseUrl": ".", | ||
"sourceMap": false, | ||
"paths": { | ||
"@api-sdk/*": ["src/*"], | ||
|
||
"@voiceflow/base-types": ["../base-types/src"], | ||
|
||
// only used to fix intra-monorepo resolution | ||
"@common/*": [ | ||
"common/src/*" | ||
], | ||
"@voiceflow/base-types": [ | ||
"base-types/src" | ||
], | ||
// only used to fix intra-monorepo resolution | ||
"@base-types/*": [ | ||
"base-types/src/*" | ||
], | ||
"@api-sdk/*": [ | ||
"api-sdk/src/*" | ||
] | ||
} | ||
"@common/*": ["../common/src/*"], | ||
"@base-types/*": ["../base-types/src/*"] | ||
}, | ||
"types": ["mocha"] | ||
}, | ||
"exclude": [ | ||
"node_modules/**/*", | ||
"build/**/*" | ||
] | ||
"include": ["src", "tests", "typings"], | ||
"exclude": ["**/node_modules", "**/.*/"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,20 @@ | ||
{ | ||
"extends": "@voiceflow/tsconfig", | ||
"compilerOptions": { | ||
"baseUrl": "..", | ||
"lib": ["es2020"], | ||
"strict": true, | ||
"baseUrl": ".", | ||
"sourceMap": false, | ||
"paths": { | ||
"@voiceflow/common": [ | ||
"common/src" | ||
], | ||
"@base-types/*": ["src/*"], | ||
|
||
"@voiceflow/common": ["../common/src"], | ||
|
||
// only used to fix intra-monorepo resolution | ||
"@common/*": [ | ||
"common/src/*" | ||
], | ||
"@base-types/*": [ | ||
"base-types/src/*" | ||
] | ||
} | ||
"@common/*": ["../common/src/*"] | ||
}, | ||
"types": ["mocha"] | ||
}, | ||
"exclude": [ | ||
"node_modules/**/*", | ||
"build/**/*" | ||
] | ||
"include": ["src", "tests", "typings"], | ||
"exclude": ["**/node_modules", "**/.*/"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,21 @@ | ||
{ | ||
"extends": "@voiceflow/tsconfig", | ||
"compilerOptions": { | ||
"baseUrl": "..", | ||
"lib": ["es2020"], | ||
"strict": true, | ||
"baseUrl": ".", | ||
"sourceMap": false, | ||
"paths": { | ||
"@chat-types/*": ["src/*"], | ||
|
||
"@voiceflow/base-types": ["../base-types/src"], | ||
|
||
// only used to fix intra-monorepo resolution | ||
"@common/*": [ | ||
"common/src/*" | ||
], | ||
"@voiceflow/base-types": [ | ||
"base-types/src" | ||
], | ||
// only used to fix intra-monorepo resolution | ||
"@base-types/*": [ | ||
"base-types/src/*" | ||
], | ||
"@chat-types/*": [ | ||
"chat-types/src/*" | ||
] | ||
} | ||
"@common/*": ["../common/src/*"], | ||
"@base-types/*": ["../base-types/src/*"] | ||
}, | ||
"types": ["mocha"] | ||
}, | ||
"exclude": [ | ||
"node_modules/**/*", | ||
"build/**/*" | ||
] | ||
"include": ["src", "tests", "typings"], | ||
"exclude": ["**/node_modules", "**/.*/"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
{ | ||
"extends": "@voiceflow/tsconfig", | ||
"compilerOptions": { | ||
"lib": [ | ||
"es2020" | ||
], | ||
"lib": ["es2020"], | ||
"strict": true, | ||
"baseUrl": ".", | ||
"sourceMap": false, | ||
"paths": { | ||
"@common/*": [ | ||
"src/*" | ||
] | ||
} | ||
"@common/*": ["src/*"] | ||
}, | ||
"types": ["mocha"] | ||
}, | ||
"exclude": [ | ||
"node_modules/**/*", | ||
"build/**/*" | ||
] | ||
"include": ["src", "tests", "typings"], | ||
"exclude": ["**/node_modules", "**/.*/"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.