forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests typescript migration (elastic#31234)
* add typescript support for functional tests
- Loading branch information
Showing
15 changed files
with
210 additions
and
93 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,17 +1,21 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"declaration": true, | ||
"declarationDir": "./target/types", | ||
"outDir": "./target/out", | ||
"stripInternal": true, | ||
"declarationMap": true | ||
}, | ||
"include": [ | ||
"./types/joi.d.ts", | ||
"./src/**/*.ts" | ||
], | ||
"exclude": [ | ||
"target" | ||
] | ||
} | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"declaration": true, | ||
"declarationDir": "./target/types", | ||
"outDir": "./target/out", | ||
"stripInternal": true, | ||
"declarationMap": true, | ||
"types": [ | ||
"jest", | ||
"node" | ||
] | ||
}, | ||
"include": [ | ||
"./types/joi.d.ts", | ||
"./src/**/*.ts" | ||
], | ||
"exclude": [ | ||
"target" | ||
] | ||
} |
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,16 +1,20 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"include": [ | ||
"src/**/*.ts", | ||
"src/**/*.tsx", | ||
"types/intl_format_cache.d.ts", | ||
"types/intl_relativeformat.d.ts" | ||
], | ||
"exclude": [ | ||
"target" | ||
], | ||
"compilerOptions": { | ||
"declaration": true, | ||
"declarationDir": "./target/types", | ||
} | ||
} | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"include": [ | ||
"src/**/*.ts", | ||
"src/**/*.tsx", | ||
"types/intl_format_cache.d.ts", | ||
"types/intl_relativeformat.d.ts" | ||
], | ||
"exclude": [ | ||
"target" | ||
], | ||
"compilerOptions": { | ||
"declaration": true, | ||
"declarationDir": "./target/types", | ||
"types": [ | ||
"jest", | ||
"node" | ||
] | ||
} | ||
} |
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,10 +1,16 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"exclude": [ | ||
"dist" | ||
], | ||
"include": [ | ||
"./src/**/*.ts", | ||
"./types/index.d.ts" | ||
] | ||
} | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"exclude": [ | ||
"dist" | ||
], | ||
"include": [ | ||
"./src/**/*.ts", | ||
"./types/index.d.ts" | ||
], | ||
"compilerOptions": { | ||
"types": [ | ||
"jest", | ||
"node" | ||
] | ||
} | ||
} |
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
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
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"extends": "../tsconfig.json", | ||
"compilerOptions": { | ||
"module": "commonjs", | ||
"allowJs": true, | ||
"outDir": "target", | ||
"baseUrl": "./", | ||
"paths": { | ||
"*":[ | ||
"*" | ||
] | ||
}, | ||
"types": [ | ||
"node", | ||
"mocha" | ||
] | ||
}, | ||
"include": [ | ||
"**/*.ts" | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
* Licensed to Elasticsearch B.V. under one or more contributor | ||
* license agreements. See the NOTICE file distributed with | ||
* this work for additional information regarding copyright | ||
* ownership. Elasticsearch B.V. licenses this file to you under | ||
* the Apache License, Version 2.0 (the "License"); you may | ||
* not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
|
||
export * from './wrapper'; |
Oops, something went wrong.