@schemastore/chutzpah 0.0.6 → 0.0.8
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/README.md +22 -6
- package/index.d.ts +10 -10
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,12 +1,28 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
1
|
+
# Type definitions for chutzpah
|
|
2
|
+
|
|
3
|
+
## Installation
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
npm i @schemastore/chutzpah
|
|
7
|
+
yarn add @schemastore/chutzpah
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
## Summary
|
|
3
11
|
|
|
4
|
-
# Summary
|
|
5
12
|
This package contains type definitions for chutzpah.
|
|
6
13
|
|
|
7
|
-
##
|
|
8
|
-
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
import * as chutzpah from '@schemastore/chutzpah';
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Note
|
|
21
|
+
|
|
22
|
+
The definitions were auto-generated by [schemastore-updater](https://github.com/ffflorian/schemastore-updater) using [`json-schema-to-typescript`](https://www.npmjs.com/package/json-schema-to-typescript).
|
|
9
23
|
|
|
10
24
|
## Additional Details
|
|
11
|
-
|
|
25
|
+
|
|
26
|
+
* [Schema source](https://github.com/SchemaStore/schemastore/tree/master/src/schemas/json/chutzpah)
|
|
27
|
+
* Last updated: Sat, Jul 19, 2025, 17:01:19 GMT
|
|
12
28
|
* Dependencies: none
|
package/index.d.ts
CHANGED
|
@@ -122,9 +122,9 @@ export interface JSONSchemaForChutzpahTestRunnerSettingsFiles {
|
|
|
122
122
|
* The dictionary of browser name (keys) to corresponding browser arguments (values), i.e.; { 'chrome': '--allow-file-access-from-files' }.
|
|
123
123
|
*/
|
|
124
124
|
BrowserArguments?: {
|
|
125
|
-
[k: string]: unknown;
|
|
125
|
+
[k: string]: unknown | undefined;
|
|
126
126
|
};
|
|
127
|
-
[k: string]: unknown;
|
|
127
|
+
[k: string]: unknown | undefined;
|
|
128
128
|
}
|
|
129
129
|
export interface ReferenceSettings {
|
|
130
130
|
/**
|
|
@@ -148,7 +148,7 @@ export interface ReferenceSettings {
|
|
|
148
148
|
*/
|
|
149
149
|
IsTestFrameworkFile?: boolean;
|
|
150
150
|
TemplateOptions?: TemplateOptions;
|
|
151
|
-
[k: string]: unknown;
|
|
151
|
+
[k: string]: unknown | undefined;
|
|
152
152
|
}
|
|
153
153
|
export interface TemplateOptions {
|
|
154
154
|
/**
|
|
@@ -163,7 +163,7 @@ export interface TemplateOptions {
|
|
|
163
163
|
* If in script mode what Type to place on script tag
|
|
164
164
|
*/
|
|
165
165
|
Type?: string;
|
|
166
|
-
[k: string]: unknown;
|
|
166
|
+
[k: string]: unknown | undefined;
|
|
167
167
|
}
|
|
168
168
|
export interface TestSettings {
|
|
169
169
|
/**
|
|
@@ -178,7 +178,7 @@ export interface TestSettings {
|
|
|
178
178
|
* This is an optional array of exclude glob patterns. Only files not matching the Exclude patterns will be added.
|
|
179
179
|
*/
|
|
180
180
|
Excludes?: string[];
|
|
181
|
-
[k: string]: unknown;
|
|
181
|
+
[k: string]: unknown | undefined;
|
|
182
182
|
}
|
|
183
183
|
/**
|
|
184
184
|
* The options to configure the chosen browser engine for Chutzpah to use.
|
|
@@ -188,7 +188,7 @@ export interface EngineOptions {
|
|
|
188
188
|
* The path to the chrome/chromium executable on the machine
|
|
189
189
|
*/
|
|
190
190
|
ChromeBrowserPath?: string;
|
|
191
|
-
[k: string]: unknown;
|
|
191
|
+
[k: string]: unknown | undefined;
|
|
192
192
|
}
|
|
193
193
|
/**
|
|
194
194
|
* Server settings let you enable to configure Chutzpah web server mode.
|
|
@@ -206,7 +206,7 @@ export interface ServerSettings {
|
|
|
206
206
|
* The root path of the server. All file paths are relative to this and should be in a directory below or equal to this. Defaults to drive root.
|
|
207
207
|
*/
|
|
208
208
|
RootPath?: string;
|
|
209
|
-
[k: string]: unknown;
|
|
209
|
+
[k: string]: unknown | undefined;
|
|
210
210
|
}
|
|
211
211
|
export interface TransformConfig {
|
|
212
212
|
/**
|
|
@@ -217,7 +217,7 @@ export interface TransformConfig {
|
|
|
217
217
|
* The file for the transform to save its output to.
|
|
218
218
|
*/
|
|
219
219
|
Path?: string;
|
|
220
|
-
[k: string]: unknown;
|
|
220
|
+
[k: string]: unknown | undefined;
|
|
221
221
|
}
|
|
222
222
|
/**
|
|
223
223
|
* This setting lets you describe in the Chutzpah.json file how to execute a command which can compile your source files to .js files. You tell Chutzpah what to execute and some information about what your executable does (like where to find the generated .js files). Then after running the executable Chutzpah can associate each source file with each output file to still give the nice behavior of mapping tests back to their original files.
|
|
@@ -267,7 +267,7 @@ export interface CompileSettings {
|
|
|
267
267
|
* Should Chutzpah ignore files it expects to find compiled. If set to true Chutzpah will log an error otherwise it will throw
|
|
268
268
|
*/
|
|
269
269
|
IgnoreMissingFiles?: boolean;
|
|
270
|
-
[k: string]: unknown;
|
|
270
|
+
[k: string]: unknown | undefined;
|
|
271
271
|
}
|
|
272
272
|
export interface CompilePathMap {
|
|
273
273
|
/**
|
|
@@ -282,5 +282,5 @@ export interface CompilePathMap {
|
|
|
282
282
|
* The type (file or folder) that the output path refers to. If not specified Chutzpah will try to take a best guess by assuming it is a file if it has a .js extension
|
|
283
283
|
*/
|
|
284
284
|
OutputPathType?: "File" | "Folder";
|
|
285
|
-
[k: string]: unknown;
|
|
285
|
+
[k: string]: unknown | undefined;
|
|
286
286
|
}
|
package/package.json
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
"name": "@schemastore/chutzpah",
|
|
8
8
|
"repository": "https://github.com/ffflorian/schemastore-updater/tree/main/schemas/chutzpah",
|
|
9
9
|
"scripts": {},
|
|
10
|
-
"
|
|
10
|
+
"typeScriptVersion": "2.2",
|
|
11
11
|
"types": "index.d.ts",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
}
|
|
12
|
+
"typesPublisherContentHash": "21674f1a50ea4790938b8f8fe88f3fe64354d6e7b55f584da98d874a0901c3bb",
|
|
13
|
+
"version": "0.0.8"
|
|
14
|
+
}
|