@schemastore/bundleconfig 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 +1 -1
- package/README.md +1 -1
- package/index.d.ts +37 -11
- package/package.json +5 -5
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) Florian
|
|
3
|
+
Copyright (c) Florian Imdahl. All rights reserved.
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -8,5 +8,5 @@ This package contains type definitions for bundleconfig.
|
|
|
8
8
|
Files were exported from https://github.com/ffflorian/schemastore-updater/tree/main/schemas/bundleconfig.
|
|
9
9
|
|
|
10
10
|
## Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Thu, Apr 27, 2023, 09:50:34 GMT
|
|
12
12
|
* Dependencies: none
|
package/index.d.ts
CHANGED
|
@@ -1,11 +1,37 @@
|
|
|
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,
|
|
5
5
|
* and run json-schema-to-typescript to regenerate this file.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
export type Bundle =
|
|
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 | undefined;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* The relative path to the desired output file name.
|
|
30
|
+
*/
|
|
31
|
+
outputFileName: string;
|
|
32
|
+
[k: string]: unknown | undefined;
|
|
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]: unknown;
|
|
42
|
+
[k: string]: unknown | undefined;
|
|
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]: unknown;
|
|
53
|
+
[k: string]: unknown | undefined;
|
|
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]: unknown;
|
|
64
|
+
[k: string]: unknown | undefined;
|
|
39
65
|
}
|
|
40
66
|
export interface CssBundle {
|
|
41
67
|
outputFileName?: {
|
|
42
|
-
[k: string]: unknown;
|
|
68
|
+
[k: string]: unknown | undefined;
|
|
43
69
|
};
|
|
44
70
|
minify?: AjaxminBaseSettings;
|
|
45
|
-
[k: string]: unknown;
|
|
71
|
+
[k: string]: unknown | undefined;
|
|
46
72
|
}
|
|
47
73
|
export interface HtmlBundle {
|
|
48
74
|
outputFileName?: {
|
|
49
|
-
[k: string]: unknown;
|
|
75
|
+
[k: string]: unknown | undefined;
|
|
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
|
|
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]: unknown;
|
|
122
|
+
[k: string]: unknown | undefined;
|
|
97
123
|
};
|
|
98
|
-
[k: string]: unknown;
|
|
124
|
+
[k: string]: unknown | undefined;
|
|
99
125
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"author": "Florian
|
|
2
|
+
"author": "Florian Imdahl <git@ffflorian.de>",
|
|
3
3
|
"dependencies": {},
|
|
4
4
|
"description": "TypeScript definitions for bundleconfig.",
|
|
5
5
|
"license": "MIT",
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
"name": "@schemastore/bundleconfig",
|
|
8
8
|
"repository": "https://github.com/ffflorian/schemastore-updater/tree/main/schemas/bundleconfig",
|
|
9
9
|
"scripts": {},
|
|
10
|
-
"
|
|
10
|
+
"typeScriptVersion": "2.2",
|
|
11
11
|
"types": "index.d.ts",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
}
|
|
12
|
+
"typesPublisherContentHash": "389af74d1684491b58f812e2b9460651cb576715de118f381d6cc29dbce2f464",
|
|
13
|
+
"version": "0.0.6"
|
|
14
|
+
}
|