@hanzogui/types 7.0.0 → 8.0.0
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/package.json +3 -4
- package/types.ts +9 -9
- package/LICENSE +0 -21
package/package.json
CHANGED
package/types.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
export interface GuiBuildOptions {
|
|
2
2
|
/**
|
|
3
|
-
* module paths you want to compile with
|
|
3
|
+
* module paths you want to compile with hanzogui (for example ['hanzogui'])
|
|
4
4
|
* */
|
|
5
5
|
components?: string[]
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
* relative path to your
|
|
8
|
+
* relative path to your hanzogui.config.ts
|
|
9
9
|
*/
|
|
10
10
|
config?: string
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
* Use the new ThemeBuilder in `@
|
|
14
|
-
* see docs at https://
|
|
13
|
+
* Use the new ThemeBuilder in `@hanzogui/create-theme` to create beautiful theme sets,
|
|
14
|
+
* see docs at https://hanzogui.dev/docs/guides/theme-builder
|
|
15
15
|
* This helps you automate generating the build themes typescript file which loads fastere
|
|
16
16
|
* and has smaller bundle size.
|
|
17
17
|
*/
|
|
@@ -74,7 +74,7 @@ export interface GuiBuildOptions {
|
|
|
74
74
|
enableDynamicEvaluation?: boolean
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
|
-
* Completely disable
|
|
77
|
+
* Completely disable hanzogui for these files
|
|
78
78
|
*/
|
|
79
79
|
disable?: boolean | string[]
|
|
80
80
|
|
|
@@ -106,12 +106,12 @@ export interface GuiBuildOptions {
|
|
|
106
106
|
disableExtractVariables?: boolean | 'theme'
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
|
-
* (Advanced) Disables the initial build and attempts to load from the .
|
|
109
|
+
* (Advanced) Disables the initial build and attempts to load from the .hanzogui directory
|
|
110
110
|
*/
|
|
111
111
|
disableInitialBuild?: boolean
|
|
112
112
|
|
|
113
113
|
/**
|
|
114
|
-
* If you have a
|
|
114
|
+
* If you have a hanzogui.build.ts file that describes your compiler setup, you can set it here
|
|
115
115
|
*/
|
|
116
116
|
buildFile?: string
|
|
117
117
|
|
|
@@ -145,7 +145,7 @@ export type CLIUserOptions = {
|
|
|
145
145
|
root?: string
|
|
146
146
|
host?: string
|
|
147
147
|
tsconfigPath?: string
|
|
148
|
-
|
|
148
|
+
hanzoguiOptions: Partial<GuiOptions>
|
|
149
149
|
debug?: boolean | 'verbose'
|
|
150
150
|
loadGuiOptions?: boolean
|
|
151
151
|
}
|
|
@@ -157,7 +157,7 @@ export type CLIResolvedOptions = {
|
|
|
157
157
|
mode: 'development' | 'production'
|
|
158
158
|
debug?: CLIUserOptions['debug']
|
|
159
159
|
tsconfigPath: string
|
|
160
|
-
|
|
160
|
+
hanzoguiOptions: GuiOptions
|
|
161
161
|
pkgJson: {
|
|
162
162
|
name?: string
|
|
163
163
|
main?: string
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2020 Nate Wienert
|
|
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.
|