@schemastore/compilerconfig 0.0.3 → 0.0.4
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 +23 -23
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,12 +1,28 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
1
|
+
# Type definitions for compilerconfig
|
|
2
|
+
|
|
3
|
+
## Installation
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
npm i @schemastore/compilerconfig
|
|
7
|
+
yarn add @schemastore/compilerconfig
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
## Summary
|
|
3
11
|
|
|
4
|
-
# Summary
|
|
5
12
|
This package contains type definitions for compilerconfig.
|
|
6
13
|
|
|
7
|
-
##
|
|
8
|
-
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
import * as compilerconfig from '@schemastore/compilerconfig';
|
|
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/compilerconfig)
|
|
27
|
+
* Last updated: Fri, Jun 30, 2023, 21:03:58 GMT
|
|
12
28
|
* Dependencies: none
|
package/index.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export type Config = {
|
|
|
26
26
|
* DEPRECATED! Use 'options/sourceMap' instead.
|
|
27
27
|
*/
|
|
28
28
|
sourceMap?: boolean;
|
|
29
|
-
[k: string]: unknown;
|
|
29
|
+
[k: string]: unknown | undefined;
|
|
30
30
|
} & Config1;
|
|
31
31
|
export type Config1 =
|
|
32
32
|
| LessOptions
|
|
@@ -55,15 +55,15 @@ export interface BaseMinify {
|
|
|
55
55
|
* SingleLine minifies everything to a single line. MultipleLines breaks the minified code into multiple lines for easier reading.
|
|
56
56
|
*/
|
|
57
57
|
outputMode?: "multipleLines" | "singleLine" | "none";
|
|
58
|
-
[k: string]: unknown;
|
|
58
|
+
[k: string]: unknown | undefined;
|
|
59
59
|
}
|
|
60
60
|
export interface LessOptions {
|
|
61
61
|
inputFile?: {
|
|
62
|
-
[k: string]: unknown;
|
|
62
|
+
[k: string]: unknown | undefined;
|
|
63
63
|
};
|
|
64
64
|
options?: Less;
|
|
65
65
|
minify?: CssMinify;
|
|
66
|
-
[k: string]: unknown;
|
|
66
|
+
[k: string]: unknown | undefined;
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
69
|
* Specify options for the compiler.
|
|
@@ -113,7 +113,7 @@ export interface Less {
|
|
|
113
113
|
* Scss only. This is the opposite of the rootpath option, it specifies a path which should be removed from the output paths.
|
|
114
114
|
*/
|
|
115
115
|
sourceMapBasePath?: string;
|
|
116
|
-
[k: string]: unknown;
|
|
116
|
+
[k: string]: unknown | undefined;
|
|
117
117
|
}
|
|
118
118
|
export interface CssMinify {
|
|
119
119
|
/**
|
|
@@ -128,15 +128,15 @@ export interface CssMinify {
|
|
|
128
128
|
* Forces all rules to be terminated with semicolons if set to true.
|
|
129
129
|
*/
|
|
130
130
|
termSemicolons?: boolean;
|
|
131
|
-
[k: string]: unknown;
|
|
131
|
+
[k: string]: unknown | undefined;
|
|
132
132
|
}
|
|
133
133
|
export interface SassOptions {
|
|
134
134
|
inputFile?: {
|
|
135
|
-
[k: string]: unknown;
|
|
135
|
+
[k: string]: unknown | undefined;
|
|
136
136
|
};
|
|
137
137
|
options?: Sass;
|
|
138
138
|
minify?: CssMinify;
|
|
139
|
-
[k: string]: unknown;
|
|
139
|
+
[k: string]: unknown | undefined;
|
|
140
140
|
}
|
|
141
141
|
/**
|
|
142
142
|
* Specify options for the compiler.
|
|
@@ -178,15 +178,15 @@ export interface Sass {
|
|
|
178
178
|
* Scss only. Base path, will be emitted in source-map as is.
|
|
179
179
|
*/
|
|
180
180
|
sourceMapRoot?: string;
|
|
181
|
-
[k: string]: unknown;
|
|
181
|
+
[k: string]: unknown | undefined;
|
|
182
182
|
}
|
|
183
183
|
export interface StylusOptions {
|
|
184
184
|
inputFile?: {
|
|
185
|
-
[k: string]: unknown;
|
|
185
|
+
[k: string]: unknown | undefined;
|
|
186
186
|
};
|
|
187
187
|
options?: Stylus;
|
|
188
188
|
minify?: CssMinify;
|
|
189
|
-
[k: string]: unknown;
|
|
189
|
+
[k: string]: unknown | undefined;
|
|
190
190
|
}
|
|
191
191
|
/**
|
|
192
192
|
* Specify options for the compiler.
|
|
@@ -196,15 +196,15 @@ export interface Stylus {
|
|
|
196
196
|
* Generates a base64 encoded source map at the bottom of the output.
|
|
197
197
|
*/
|
|
198
198
|
sourceMap?: boolean;
|
|
199
|
-
[k: string]: unknown;
|
|
199
|
+
[k: string]: unknown | undefined;
|
|
200
200
|
}
|
|
201
201
|
export interface CoffeeScriptOptions {
|
|
202
202
|
inputFile?: {
|
|
203
|
-
[k: string]: unknown;
|
|
203
|
+
[k: string]: unknown | undefined;
|
|
204
204
|
};
|
|
205
205
|
options?: CoffeeScript;
|
|
206
206
|
minify?: JavascriptMinify;
|
|
207
|
-
[k: string]: unknown;
|
|
207
|
+
[k: string]: unknown | undefined;
|
|
208
208
|
}
|
|
209
209
|
/**
|
|
210
210
|
* Specify options for the compiler.
|
|
@@ -222,7 +222,7 @@ export interface CoffeeScript {
|
|
|
222
222
|
* Generates a source map file.
|
|
223
223
|
*/
|
|
224
224
|
sourceMap?: boolean;
|
|
225
|
-
[k: string]: unknown;
|
|
225
|
+
[k: string]: unknown | undefined;
|
|
226
226
|
}
|
|
227
227
|
export interface JavascriptMinify {
|
|
228
228
|
/**
|
|
@@ -241,30 +241,30 @@ export interface JavascriptMinify {
|
|
|
241
241
|
* Forces all rules to be terminated with semicolons if set to true.
|
|
242
242
|
*/
|
|
243
243
|
termSemicolons?: boolean;
|
|
244
|
-
[k: string]: unknown;
|
|
244
|
+
[k: string]: unknown | undefined;
|
|
245
245
|
}
|
|
246
246
|
export interface IcedCoffeeScriptOptions {
|
|
247
247
|
inputFile?: {
|
|
248
|
-
[k: string]: unknown;
|
|
248
|
+
[k: string]: unknown | undefined;
|
|
249
249
|
};
|
|
250
250
|
options?: CoffeeScript;
|
|
251
251
|
minify?: JavascriptMinify;
|
|
252
|
-
[k: string]: unknown;
|
|
252
|
+
[k: string]: unknown | undefined;
|
|
253
253
|
}
|
|
254
254
|
export interface BabelOptions {
|
|
255
255
|
inputFile?: {
|
|
256
|
-
[k: string]: unknown;
|
|
256
|
+
[k: string]: unknown | undefined;
|
|
257
257
|
};
|
|
258
258
|
minify?: JavascriptMinify;
|
|
259
|
-
[k: string]: unknown;
|
|
259
|
+
[k: string]: unknown | undefined;
|
|
260
260
|
}
|
|
261
261
|
export interface HandlebarsOptions {
|
|
262
262
|
inputFile?: {
|
|
263
|
-
[k: string]: unknown;
|
|
263
|
+
[k: string]: unknown | undefined;
|
|
264
264
|
};
|
|
265
265
|
options?: Handlebars;
|
|
266
266
|
minify?: JavascriptMinify;
|
|
267
|
-
[k: string]: unknown;
|
|
267
|
+
[k: string]: unknown | undefined;
|
|
268
268
|
}
|
|
269
269
|
/**
|
|
270
270
|
* Specify options for the compiler.
|
|
@@ -299,5 +299,5 @@ export interface Handlebars {
|
|
|
299
299
|
* Exports amd style (require.js), this option has priority to commonjs.
|
|
300
300
|
*/
|
|
301
301
|
amd?: boolean;
|
|
302
|
-
[k: string]: unknown;
|
|
302
|
+
[k: string]: unknown | undefined;
|
|
303
303
|
}
|
package/package.json
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
"name": "@schemastore/compilerconfig",
|
|
8
8
|
"repository": "https://github.com/ffflorian/schemastore-updater/tree/main/schemas/compilerconfig",
|
|
9
9
|
"scripts": {},
|
|
10
|
-
"
|
|
10
|
+
"typeScriptVersion": "2.2",
|
|
11
11
|
"types": "index.d.ts",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
}
|
|
12
|
+
"typesPublisherContentHash": "e524dee5ac6fd41a134599fb64ed0bfde8cc5de07b4201730d86a5fe2a9c3425",
|
|
13
|
+
"version": "0.0.4"
|
|
14
|
+
}
|