@tapjs/typescript
Advanced tools
Comparing version 0.0.0-10 to 0.0.0-11
@@ -5,3 +5,28 @@ import { TapPlugin } from '@tapjs/core'; | ||
export declare const plugin: TapPlugin<{}>; | ||
/** | ||
* Options added by this plugin | ||
* | ||
* @group Configuration | ||
*/ | ||
export declare const config: { | ||
/** | ||
* flag | ||
* | ||
* Type-check typescript test files, in addition to transpiling and running | ||
* them. | ||
* | ||
* This defaults to being set, and type checking your tests is generally a | ||
* good idea. However, it is also often considerably slower, adding as much | ||
* as half a second to each test suite file, which can be painful if you have | ||
* a lot of test files. | ||
* | ||
* If you find that your typescript tests are taking too long to run, and | ||
* decide to disable type checking, it is best to enable it in CI, for | ||
* example by setting TAP_TYPECHECK=1 in the environment. | ||
* | ||
* The `"skipLibCheck": true` option in tsconfig will also speed things up a | ||
* bit, at the expense of some type safety. | ||
* | ||
* @group Configuration | ||
*/ | ||
typecheck: { | ||
@@ -8,0 +33,0 @@ type: string; |
@@ -24,3 +24,28 @@ "use strict"; | ||
exports.plugin = plugin; | ||
/** | ||
* Options added by this plugin | ||
* | ||
* @group Configuration | ||
*/ | ||
exports.config = { | ||
/** | ||
* flag | ||
* | ||
* Type-check typescript test files, in addition to transpiling and running | ||
* them. | ||
* | ||
* This defaults to being set, and type checking your tests is generally a | ||
* good idea. However, it is also often considerably slower, adding as much | ||
* as half a second to each test suite file, which can be painful if you have | ||
* a lot of test files. | ||
* | ||
* If you find that your typescript tests are taking too long to run, and | ||
* decide to disable type checking, it is best to enable it in CI, for | ||
* example by setting TAP_TYPECHECK=1 in the environment. | ||
* | ||
* The `"skipLibCheck": true` option in tsconfig will also speed things up a | ||
* bit, at the expense of some type safety. | ||
* | ||
* @group Configuration | ||
*/ | ||
typecheck: { | ||
@@ -27,0 +52,0 @@ type: 'boolean', |
@@ -5,3 +5,28 @@ import { TapPlugin } from '@tapjs/core'; | ||
export declare const plugin: TapPlugin<{}>; | ||
/** | ||
* Options added by this plugin | ||
* | ||
* @group Configuration | ||
*/ | ||
export declare const config: { | ||
/** | ||
* flag | ||
* | ||
* Type-check typescript test files, in addition to transpiling and running | ||
* them. | ||
* | ||
* This defaults to being set, and type checking your tests is generally a | ||
* good idea. However, it is also often considerably slower, adding as much | ||
* as half a second to each test suite file, which can be painful if you have | ||
* a lot of test files. | ||
* | ||
* If you find that your typescript tests are taking too long to run, and | ||
* decide to disable type checking, it is best to enable it in CI, for | ||
* example by setting TAP_TYPECHECK=1 in the environment. | ||
* | ||
* The `"skipLibCheck": true` option in tsconfig will also speed things up a | ||
* bit, at the expense of some type safety. | ||
* | ||
* @group Configuration | ||
*/ | ||
typecheck: { | ||
@@ -8,0 +33,0 @@ type: string; |
@@ -20,3 +20,28 @@ import { env } from '@tapjs/core'; | ||
}; | ||
/** | ||
* Options added by this plugin | ||
* | ||
* @group Configuration | ||
*/ | ||
export const config = { | ||
/** | ||
* flag | ||
* | ||
* Type-check typescript test files, in addition to transpiling and running | ||
* them. | ||
* | ||
* This defaults to being set, and type checking your tests is generally a | ||
* good idea. However, it is also often considerably slower, adding as much | ||
* as half a second to each test suite file, which can be painful if you have | ||
* a lot of test files. | ||
* | ||
* If you find that your typescript tests are taking too long to run, and | ||
* decide to disable type checking, it is best to enable it in CI, for | ||
* example by setting TAP_TYPECHECK=1 in the environment. | ||
* | ||
* The `"skipLibCheck": true` option in tsconfig will also speed things up a | ||
* bit, at the expense of some type safety. | ||
* | ||
* @group Configuration | ||
*/ | ||
typecheck: { | ||
@@ -23,0 +48,0 @@ type: 'boolean', |
{ | ||
"name": "@tapjs/typescript", | ||
"version": "0.0.0-10", | ||
"version": "0.0.0-11", | ||
"description": "a built-in tap extension that adds typescript support", | ||
@@ -46,3 +46,3 @@ "type": "module", | ||
"peerDependencies": { | ||
"@tapjs/core": "0.0.0-10" | ||
"@tapjs/core": "0.0.0-11" | ||
}, | ||
@@ -49,0 +49,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17679
204