@schemastore/bundleconfig 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 +37 -11
  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 bundleconfig.
6
6
 
7
7
  ## Details
8
- Files were exported from https://github.com/ffflorian/schemastore-updater/tree/master/schemas/bundleconfig.
8
+ Files were exported from https://github.com/ffflorian/schemastore-updater/tree/main/schemas/bundleconfig.
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:30 GMT
12
12
  * Dependencies: none
package/index.d.ts CHANGED
@@ -1,11 +1,37 @@
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,
5
5
  * and run json-schema-to-typescript to regenerate this file.
6
6
  */
7
7
 
8
- export type Bundle = JsBundle | CssBundle | HtmlBundle;
8
+ export type Bundle = {
9
+ /**
10
+ * Set to true to include the output file in the project. Doesn't work in some Visual Studio project types like ASP.NET Core applications.
11
+ */
12
+ includeInProject?: boolean;
13
+ /**
14
+ * One or more relative file names or globbing patterns to bundle. Example: "scripts/** /*.js"
15
+ */
16
+ inputFiles: string[];
17
+ /**
18
+ * Specify options for minification of the output file.
19
+ */
20
+ minify?: {
21
+ enabled: boolean;
22
+ /**
23
+ * Produce a .gz file after minification.
24
+ */
25
+ gzip?: boolean;
26
+ [k: string]: unknown;
27
+ };
28
+ /**
29
+ * The relative path to the desired output file name.
30
+ */
31
+ outputFileName: string;
32
+ [k: string]: unknown;
33
+ } & Bundle1;
34
+ export type Bundle1 = JsBundle | CssBundle | HtmlBundle;
9
35
  /**
10
36
  * Schema for bundleconfig.json files
11
37
  */
@@ -13,7 +39,7 @@ export type Bundleconfig = Bundle[];
13
39
 
14
40
  export interface JsBundle {
15
41
  outputFileName?: {
16
- [k: string]: any;
42
+ [k: string]: unknown;
17
43
  };
18
44
  /**
19
45
  * JavaScript only. Set to true to produce a source map.
@@ -24,7 +50,7 @@ export interface JsBundle {
24
50
  */
25
51
  sourceMapRootPath?: string;
26
52
  minify?: AjaxminBaseSettings;
27
- [k: string]: any;
53
+ [k: string]: unknown;
28
54
  }
29
55
  export interface AjaxminBaseSettings {
30
56
  /**
@@ -35,18 +61,18 @@ export interface AjaxminBaseSettings {
35
61
  * SingleLine minifies everything to a single line. MultipleLines breaks the minified code into multiple lines for easier reading.
36
62
  */
37
63
  outputMode?: "multipleLines" | "singleLine" | "none";
38
- [k: string]: any;
64
+ [k: string]: unknown;
39
65
  }
40
66
  export interface CssBundle {
41
67
  outputFileName?: {
42
- [k: string]: any;
68
+ [k: string]: unknown;
43
69
  };
44
70
  minify?: AjaxminBaseSettings;
45
- [k: string]: any;
71
+ [k: string]: unknown;
46
72
  }
47
73
  export interface HtmlBundle {
48
74
  outputFileName?: {
49
- [k: string]: any;
75
+ [k: string]: unknown;
50
76
  };
51
77
  minify?: {
52
78
  /**
@@ -58,7 +84,7 @@ export interface HtmlBundle {
58
84
  */
59
85
  collapseWhitespace?: boolean;
60
86
  /**
61
- * HTML only. Indicating whether the parsing is occuring on an HTML fragment, to avoid creating missing tags (like html, body, head).
87
+ * HTML only. Indicating whether the parsing is occurring on an HTML fragment, to avoid creating missing tags (like html, body, head).
62
88
  */
63
89
  isFragmentOnly?: boolean;
64
90
  /**
@@ -93,7 +119,7 @@ export interface HtmlBundle {
93
119
  * HTML only. Indicating whether to remove quoted attributes when possible.
94
120
  */
95
121
  removeQuotedAttributes?: boolean;
96
- [k: string]: any;
122
+ [k: string]: unknown;
97
123
  };
98
- [k: string]: any;
124
+ [k: string]: unknown;
99
125
  }
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 bundleconfig.",
5
5
  "license": "MIT",
6
6
  "main": "index.d.ts",
7
7
  "name": "@schemastore/bundleconfig",
8
- "repository": "https://github.com/ffflorian/schemastore-updater/tree/master/schemas/bundleconfig",
8
+ "repository": "https://github.com/ffflorian/schemastore-updater/tree/main/schemas/bundleconfig",
9
9
  "scripts": {},
10
- "typesPublisherContentHash": "ffcb7b8e2b5767e4e0c24549ddfd95387739d1d0ed6c4fc1f4d9ff54833fa7d4",
10
+ "typesPublisherContentHash": "31c9c2912414e433fe8ab4b1e3a7900af902854409be227393050184a1d9b1b1",
11
11
  "types": "index.d.ts",
12
- "version": "0.0.3",
12
+ "version": "0.0.5",
13
13
  "typeScriptVersion": "2.2"
14
14
  }