@schemastore/compilerdefaults 0.0.5 → 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.
Files changed (3) hide show
  1. package/README.md +22 -6
  2. package/index.d.ts +11 -11
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -1,12 +1,28 @@
1
- # Installation
2
- > `npm install --save @schemastore/compilerdefaults`
1
+ # Type definitions for compilerdefaults
2
+
3
+ ## Installation
4
+
5
+ ```
6
+ npm i @schemastore/compilerdefaults
7
+ yarn add @schemastore/compilerdefaults
8
+ ```
9
+
10
+ ## Summary
3
11
 
4
- # Summary
5
12
  This package contains type definitions for compilerdefaults.
6
13
 
7
- ## Details
8
- Files were exported from https://github.com/ffflorian/schemastore-updater/tree/main/schemas/compilerdefaults.
14
+ ## Usage
15
+
16
+ ```ts
17
+ import * as compilerdefaults from '@schemastore/compilerdefaults';
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
- * Last updated: Fri, Feb 24, 2023, 11:23:32 GMT
25
+
26
+ * [Schema source](https://github.com/SchemaStore/schemastore/tree/master/src/schemas/json/compilerdefaults)
27
+ * Last updated: Fri, Jun 30, 2023, 21:03:58 GMT
12
28
  * Dependencies: none
package/index.d.ts CHANGED
@@ -15,14 +15,14 @@ export interface HttpsJsonSchemastoreOrgCompilerdefaultsJson {
15
15
  stylus?: Stylus;
16
16
  coffeescript?: CoffeeScript;
17
17
  handlebars?: Handlebars;
18
- [k: string]: unknown;
18
+ [k: string]: unknown | undefined;
19
19
  };
20
20
  minifiers?: {
21
21
  css?: BaseMinify & CssMinify;
22
22
  javascript?: BaseMinify & JavascriptMinify;
23
- [k: string]: unknown;
23
+ [k: string]: unknown | undefined;
24
24
  };
25
- [k: string]: unknown;
25
+ [k: string]: unknown | undefined;
26
26
  }
27
27
  /**
28
28
  * Specify options for the compiler.
@@ -72,7 +72,7 @@ export interface Less {
72
72
  * Scss only. This is the opposite of the rootpath option, it specifies a path which should be removed from the output paths.
73
73
  */
74
74
  sourceMapBasePath?: string;
75
- [k: string]: unknown;
75
+ [k: string]: unknown | undefined;
76
76
  }
77
77
  /**
78
78
  * Specify options for the compiler.
@@ -114,7 +114,7 @@ export interface Sass {
114
114
  * Scss only. Base path, will be emitted in source-map as is.
115
115
  */
116
116
  sourceMapRoot?: string;
117
- [k: string]: unknown;
117
+ [k: string]: unknown | undefined;
118
118
  }
119
119
  /**
120
120
  * Specify options for the compiler.
@@ -124,7 +124,7 @@ export interface Stylus {
124
124
  * Generates a base64 encoded source map at the bottom of the output.
125
125
  */
126
126
  sourceMap?: boolean;
127
- [k: string]: unknown;
127
+ [k: string]: unknown | undefined;
128
128
  }
129
129
  /**
130
130
  * Specify options for the compiler.
@@ -142,7 +142,7 @@ export interface CoffeeScript {
142
142
  * Generates a source map file.
143
143
  */
144
144
  sourceMap?: boolean;
145
- [k: string]: unknown;
145
+ [k: string]: unknown | undefined;
146
146
  }
147
147
  /**
148
148
  * Specify options for the compiler.
@@ -177,7 +177,7 @@ export interface Handlebars {
177
177
  * Exports amd style (require.js), this option has priority to commonjs.
178
178
  */
179
179
  amd?: boolean;
180
- [k: string]: unknown;
180
+ [k: string]: unknown | undefined;
181
181
  }
182
182
  export interface BaseMinify {
183
183
  enabled?: boolean;
@@ -193,7 +193,7 @@ export interface BaseMinify {
193
193
  * SingleLine minifies everything to a single line. MultipleLines breaks the minified code into multiple lines for easier reading.
194
194
  */
195
195
  outputMode?: "multipleLines" | "singleLine" | "none";
196
- [k: string]: unknown;
196
+ [k: string]: unknown | undefined;
197
197
  }
198
198
  export interface CssMinify {
199
199
  /**
@@ -208,7 +208,7 @@ export interface CssMinify {
208
208
  * Forces all rules to be terminated with semicolons if set to true.
209
209
  */
210
210
  termSemicolons?: boolean;
211
- [k: string]: unknown;
211
+ [k: string]: unknown | undefined;
212
212
  }
213
213
  export interface JavascriptMinify {
214
214
  /**
@@ -227,5 +227,5 @@ export interface JavascriptMinify {
227
227
  * Forces all rules to be terminated with semicolons if set to true.
228
228
  */
229
229
  termSemicolons?: boolean;
230
- [k: string]: unknown;
230
+ [k: string]: unknown | undefined;
231
231
  }
package/package.json CHANGED
@@ -7,8 +7,8 @@
7
7
  "name": "@schemastore/compilerdefaults",
8
8
  "repository": "https://github.com/ffflorian/schemastore-updater/tree/main/schemas/compilerdefaults",
9
9
  "scripts": {},
10
- "typesPublisherContentHash": "ea6ab194b65d2217fb25a6d9d855ac089a78f9c582999cf5e716a20674f0a509",
10
+ "typeScriptVersion": "2.2",
11
11
  "types": "index.d.ts",
12
- "version": "0.0.5",
13
- "typeScriptVersion": "2.2"
14
- }
12
+ "typesPublisherContentHash": "8429ff08b016460459562a5acbd81250b3ea7cf9f6b94fdda67a148ec3900cc4",
13
+ "version": "0.0.6"
14
+ }