@schemastore/chutzpah 0.0.4 → 0.0.6
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/LICENSE +21 -0
- package/README.md +2 -2
- package/index.d.ts +13 -13
- package/package.json +4 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Florian Imdahl. All rights reserved.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE
|
package/README.md
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
This package contains type definitions for chutzpah.
|
|
6
6
|
|
|
7
7
|
## Details
|
|
8
|
-
Files were exported from https://github.com/ffflorian/schemastore-updater/tree/
|
|
8
|
+
Files were exported from https://github.com/ffflorian/schemastore-updater/tree/main/schemas/chutzpah.
|
|
9
9
|
|
|
10
10
|
## Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Fri, Feb 24, 2023, 11:23:31 GMT
|
|
12
12
|
* Dependencies: none
|
package/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/* eslint-disable */
|
|
2
2
|
/**
|
|
3
3
|
* This file was automatically generated by json-schema-to-typescript.
|
|
4
4
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
@@ -83,7 +83,7 @@ export interface JSONSchemaForChutzpahTestRunnerSettingsFiles {
|
|
|
83
83
|
*/
|
|
84
84
|
AMDBaseUrl?: string;
|
|
85
85
|
/**
|
|
86
|
-
* Sets the root directory for your AMD paths. This is only needed if your baseUrl is a different location than your source directory. This is common if you are compiling from another language to JavaScript and copying those compiled files to a different folder. For example if you have all your .ts files in /src and you compile them to a /out
|
|
86
|
+
* Sets the root directory for your AMD paths. This is only needed if your baseUrl is a different location than your source directory. This is common if you are compiling from another language to JavaScript and copying those compiled files to a different folder. For example if you have all your .ts files in /src and you compile them to a /out directory then your AMDBaseUrl is /out and AMDAppDirectory is /src. Defaults to the test harness directory if not set.
|
|
87
87
|
*/
|
|
88
88
|
AMDAppDirectory?: string;
|
|
89
89
|
/**
|
|
@@ -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]:
|
|
125
|
+
[k: string]: unknown;
|
|
126
126
|
};
|
|
127
|
-
[k: string]:
|
|
127
|
+
[k: string]: unknown;
|
|
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]:
|
|
151
|
+
[k: string]: unknown;
|
|
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]:
|
|
166
|
+
[k: string]: unknown;
|
|
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]:
|
|
181
|
+
[k: string]: unknown;
|
|
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]:
|
|
191
|
+
[k: string]: unknown;
|
|
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]:
|
|
209
|
+
[k: string]: unknown;
|
|
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]:
|
|
220
|
+
[k: string]: unknown;
|
|
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]:
|
|
270
|
+
[k: string]: unknown;
|
|
271
271
|
}
|
|
272
272
|
export interface CompilePathMap {
|
|
273
273
|
/**
|
|
@@ -275,12 +275,12 @@ export interface CompilePathMap {
|
|
|
275
275
|
*/
|
|
276
276
|
SourcePath?: string;
|
|
277
277
|
/**
|
|
278
|
-
* The file/directory that source file/directory is mapped to. Specifying a file OutputPath and a directory for SourcePath indicated the files are being
|
|
278
|
+
* The file/directory that source file/directory is mapped to. Specifying a file OutputPath and a directory for SourcePath indicated the files are being concatenated into one large file
|
|
279
279
|
*/
|
|
280
280
|
OutputPath?: string;
|
|
281
281
|
/**
|
|
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]:
|
|
285
|
+
[k: string]: unknown;
|
|
286
286
|
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
-
"author": "Florian
|
|
2
|
+
"author": "Florian Imdahl <git@ffflorian.de>",
|
|
3
3
|
"dependencies": {},
|
|
4
4
|
"description": "TypeScript definitions for chutzpah.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "index.d.ts",
|
|
7
7
|
"name": "@schemastore/chutzpah",
|
|
8
|
-
"repository": "https://github.com/ffflorian/schemastore-updater/tree/
|
|
8
|
+
"repository": "https://github.com/ffflorian/schemastore-updater/tree/main/schemas/chutzpah",
|
|
9
9
|
"scripts": {},
|
|
10
|
-
"typesPublisherContentHash": "
|
|
10
|
+
"typesPublisherContentHash": "21674f1a50ea4790938b8f8fe88f3fe64354d6e7b55f584da98d874a0901c3bb",
|
|
11
11
|
"types": "index.d.ts",
|
|
12
|
-
"version": "0.0.
|
|
12
|
+
"version": "0.0.6",
|
|
13
13
|
"typeScriptVersion": "2.2"
|
|
14
14
|
}
|