@schemastore/compilerdefaults 0.0.3 → 0.0.5

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.
Files changed (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +2 -2
  3. package/index.d.ts +53 -13
  4. 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 compilerdefaults.
6
6
 
7
7
  ## Details
8
- Files were exported from https://github.com/ffflorian/schemastore-updater/tree/master/schemas/compilerdefaults.
8
+ Files were exported from https://github.com/ffflorian/schemastore-updater/tree/main/schemas/compilerdefaults.
9
9
 
10
10
  ## Additional Details
11
- * Last updated: Thu, Jul 25, 2019, 17:59:05 GMT
11
+ * Last updated: Fri, Feb 24, 2023, 11:23:32 GMT
12
12
  * Dependencies: none
package/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /* tslint:disable */
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,
@@ -8,20 +8,21 @@
8
8
  /**
9
9
  * Schema for bundleconfig.json files
10
10
  */
11
- export interface Compilerdefaults {
11
+ export interface HttpsJsonSchemastoreOrgCompilerdefaultsJson {
12
12
  compilers?: {
13
13
  less?: Less;
14
14
  sass?: Sass;
15
15
  stylus?: Stylus;
16
16
  coffeescript?: CoffeeScript;
17
- [k: string]: any;
17
+ handlebars?: Handlebars;
18
+ [k: string]: unknown;
18
19
  };
19
20
  minifiers?: {
20
21
  css?: BaseMinify & CssMinify;
21
22
  javascript?: BaseMinify & JavascriptMinify;
22
- [k: string]: any;
23
+ [k: string]: unknown;
23
24
  };
24
- [k: string]: any;
25
+ [k: string]: unknown;
25
26
  }
26
27
  /**
27
28
  * Specify options for the compiler.
@@ -39,12 +40,16 @@ export interface Less {
39
40
  * LESS only. Currently only used for the data-uri function to ensure that images aren't created that are too large for the browser to handle.
40
41
  */
41
42
  ieCompat?: boolean;
43
+ /**
44
+ * LESS only. Specifies which mode Less will use to process the math in your CSS.
45
+ */
46
+ math?: "always" | "parens-division" | "parens" | "strict" | "strict-legacy";
42
47
  /**
43
48
  * Generates a base64 encoded source map at the bottom of the output.
44
49
  */
45
50
  sourceMap?: boolean;
46
51
  /**
47
- * LESS only. Without this option on Less will try and process all maths in your CSS.
52
+ * (DEPRECATED: Use 'math' instead) LESS only. Without this option on Less will try and process all maths in your CSS.
48
53
  */
49
54
  strictMath?: boolean;
50
55
  /**
@@ -67,7 +72,7 @@ export interface Less {
67
72
  * Scss only. This is the opposite of the rootpath option, it specifies a path which should be removed from the output paths.
68
73
  */
69
74
  sourceMapBasePath?: string;
70
- [k: string]: any;
75
+ [k: string]: unknown;
71
76
  }
72
77
  /**
73
78
  * Specify options for the compiler.
@@ -109,7 +114,7 @@ export interface Sass {
109
114
  * Scss only. Base path, will be emitted in source-map as is.
110
115
  */
111
116
  sourceMapRoot?: string;
112
- [k: string]: any;
117
+ [k: string]: unknown;
113
118
  }
114
119
  /**
115
120
  * Specify options for the compiler.
@@ -119,7 +124,7 @@ export interface Stylus {
119
124
  * Generates a base64 encoded source map at the bottom of the output.
120
125
  */
121
126
  sourceMap?: boolean;
122
- [k: string]: any;
127
+ [k: string]: unknown;
123
128
  }
124
129
  /**
125
130
  * Specify options for the compiler.
@@ -137,7 +142,42 @@ export interface CoffeeScript {
137
142
  * Generates a source map file.
138
143
  */
139
144
  sourceMap?: boolean;
140
- [k: string]: any;
145
+ [k: string]: unknown;
146
+ }
147
+ /**
148
+ * Specify options for the compiler.
149
+ */
150
+ export interface Handlebars {
151
+ enabled?: boolean;
152
+ /**
153
+ * Removes the BOM (Byte Order Mark) from the beginning of the templates.
154
+ */
155
+ noBOM?: boolean;
156
+ /**
157
+ * Template namespace
158
+ */
159
+ namespace?: string;
160
+ /**
161
+ * Template root. Base value that will be stripped from template names.
162
+ */
163
+ root?: string;
164
+ /**
165
+ * List of known helpers for a more optimized output (comma separated)
166
+ */
167
+ knownHelpers?: string;
168
+ /**
169
+ * Compile with known helpers only
170
+ */
171
+ knownHelpersOnly?: boolean;
172
+ /**
173
+ * Path to the Handlebars module to export CommonJS style
174
+ */
175
+ commonjs?: string;
176
+ /**
177
+ * Exports amd style (require.js), this option has priority to commonjs.
178
+ */
179
+ amd?: boolean;
180
+ [k: string]: unknown;
141
181
  }
142
182
  export interface BaseMinify {
143
183
  enabled?: boolean;
@@ -153,7 +193,7 @@ export interface BaseMinify {
153
193
  * SingleLine minifies everything to a single line. MultipleLines breaks the minified code into multiple lines for easier reading.
154
194
  */
155
195
  outputMode?: "multipleLines" | "singleLine" | "none";
156
- [k: string]: any;
196
+ [k: string]: unknown;
157
197
  }
158
198
  export interface CssMinify {
159
199
  /**
@@ -168,7 +208,7 @@ export interface CssMinify {
168
208
  * Forces all rules to be terminated with semicolons if set to true.
169
209
  */
170
210
  termSemicolons?: boolean;
171
- [k: string]: any;
211
+ [k: string]: unknown;
172
212
  }
173
213
  export interface JavascriptMinify {
174
214
  /**
@@ -187,5 +227,5 @@ export interface JavascriptMinify {
187
227
  * Forces all rules to be terminated with semicolons if set to true.
188
228
  */
189
229
  termSemicolons?: boolean;
190
- [k: string]: any;
230
+ [k: string]: unknown;
191
231
  }
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
- "author": "Florian Keller <github@floriankeller.de>",
2
+ "author": "Florian Imdahl <git@ffflorian.de>",
3
3
  "dependencies": {},
4
4
  "description": "TypeScript definitions for compilerdefaults.",
5
5
  "license": "MIT",
6
6
  "main": "index.d.ts",
7
7
  "name": "@schemastore/compilerdefaults",
8
- "repository": "https://github.com/ffflorian/schemastore-updater/tree/master/schemas/compilerdefaults",
8
+ "repository": "https://github.com/ffflorian/schemastore-updater/tree/main/schemas/compilerdefaults",
9
9
  "scripts": {},
10
- "typesPublisherContentHash": "b400c5764e21695d23dea02f2ae0033d7f7f2b754bc4b24e6c1c65f359f2be9f",
10
+ "typesPublisherContentHash": "ea6ab194b65d2217fb25a6d9d855ac089a78f9c582999cf5e716a20674f0a509",
11
11
  "types": "index.d.ts",
12
- "version": "0.0.3",
12
+ "version": "0.0.5",
13
13
  "typeScriptVersion": "2.2"
14
14
  }