@vixoniccom/module-packager 2.11.0-dev.9 → 2.11.0-just4dev.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/.babelrc +3 -0
- package/.eslintrc +3 -0
- package/CHANGELOG.md +492 -0
- package/electron.js +52 -0
- package/index.html +64 -0
- package/main.js +182 -0
- package/package.json +94 -51
- package/tsconfig.json +16 -0
- package/webpack.config.js +154 -0
- package/dist/electron.js +0 -58
- package/dist/launcher.html +0 -86
- package/dist/main.js +0 -323
- package/dist/webpack.config.js +0 -153
package/.babelrc
ADDED
package/.eslintrc
ADDED
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,492 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
|
+
|
|
5
|
+
## [2.11.0-just4dev.0](https://github.com/Vixonic/store-module-packager/compare/v2.10.1...v2.11.0-just4dev.0) (2025-04-02)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* site isolation disabled ([fa1478f](https://github.com/Vixonic/store-module-packager/commit/fa1478f43820ce848a265b53ffea19dd1b6294a6))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* package.json changes ([3e4cb74](https://github.com/Vixonic/store-module-packager/commit/3e4cb740c97d171a4277747dd2294fda11e7e90d))
|
|
16
|
+
* package.json release script added ([1100458](https://github.com/Vixonic/store-module-packager/commit/11004588e07eee55618bb43a30a265e1f21ee720))
|
|
17
|
+
* package.json version change ([823b6d5](https://github.com/Vixonic/store-module-packager/commit/823b6d553e9163b631a8e7406d06b8551fc95bc0))
|
|
18
|
+
|
|
19
|
+
### [2.10.1](https://bitbucket.org/vixonic_dev/module-packager/compare/v2.10.1-dev.2...v2.10.1) (2025-02-17)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* modules were upgrated to 2.20.0 ([9f12e57](https://bitbucket.org/vixonic_dev/module-packager/commit/9f12e57d84d52911b954e35be5888d3d93b5b12b))
|
|
25
|
+
|
|
26
|
+
### [2.10.1-dev.2](https://bitbucket.org/vixonic_dev/module-packager/compare/v2.10.1-dev.1...v2.10.1-dev.2) (2025-02-11)
|
|
27
|
+
|
|
28
|
+
### [2.10.1-dev.1](https://bitbucket.org/vixonic_dev/module-packager/compare/v2.10.1-dev.0...v2.10.1-dev.1) (2025-01-29)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Bug Fixes
|
|
32
|
+
|
|
33
|
+
* second update @vixoniccom/modules version ([1ba37d7](https://bitbucket.org/vixonic_dev/module-packager/commit/1ba37d76f8ed8e9d4cda24058ca4efb68c49134a))
|
|
34
|
+
|
|
35
|
+
### [2.10.1-dev.0](https://bitbucket.org/vixonic_dev/module-packager/compare/v2.10.0...v2.10.1-dev.0) (2025-01-29)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Bug Fixes
|
|
39
|
+
|
|
40
|
+
* update @vixoniccom/modules version ([a7a5d8f](https://bitbucket.org/vixonic_dev/module-packager/commit/a7a5d8f4e009da41c230d92485ba92fda3b55813))
|
|
41
|
+
|
|
42
|
+
## [2.10.0](https://bitbucket.org/vixonic_dev/module-packager/compare/v2.10.0-dev.0...v2.10.0) (2024-11-29)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Features
|
|
46
|
+
|
|
47
|
+
* @vixoniccom/modules was updated to v2.19 ([0907eb3](https://bitbucket.org/vixonic_dev/module-packager/commit/0907eb3df966093b908c47fbe6d2d3e2c11edc06))
|
|
48
|
+
|
|
49
|
+
## [2.10.0-dev.0](https://bitbucket.org/vixonic_dev/module-packager/compare/v2.9.1...v2.10.0-dev.0) (2024-07-17)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
### Features
|
|
53
|
+
|
|
54
|
+
* ISC license was added to the project ([78a67b2](https://bitbucket.org/vixonic_dev/module-packager/commit/78a67b28740c8ae90bbb6fd556bcd5a2335343ed))
|
|
55
|
+
|
|
56
|
+
### [2.9.1](https://bitbucket.org/vixonic_dev/module-packager/compare/v2.9.1-test.4...v2.9.1) (2024-05-10)
|
|
57
|
+
|
|
58
|
+
### [2.9.1-test.4](https://bitbucket.org/vixonic_dev/module-packager/compare/v2.9.1-test.2...v2.9.1-test.4) (2024-04-18)
|
|
59
|
+
|
|
60
|
+
### [2.9.1-test.3](https://bitbucket.org/vixonic_dev/module-packager/compare/v2.9.1-test.2...v2.9.1-test.3) (2024-04-17)
|
|
61
|
+
|
|
62
|
+
### [2.9.1-test.2](https://bitbucket.org/vixonic_dev/module-packager/compare/v2.9.1-test.1...v2.9.1-test.2) (2024-04-15)
|
|
63
|
+
|
|
64
|
+
### [2.9.1-test.1](https://bitbucket.org/vixonic_dev/module-packager/compare/v2.9.1-test.0...v2.9.1-test.1) (2024-04-12)
|
|
65
|
+
|
|
66
|
+
### [2.9.1-test.0](https://bitbucket.org/vixonic_dev/module-packager/compare/v2.9.0...v2.9.1-test.0) (2024-04-03)
|
|
67
|
+
|
|
68
|
+
## [2.9.0](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.9.0-dev.2...v2.9.0) (2022-11-09)
|
|
69
|
+
|
|
70
|
+
## [2.9.0-dev.2](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.9.0-dev.1...v2.9.0-dev.2) (2022-10-03)
|
|
71
|
+
|
|
72
|
+
## [2.9.0-dev.1](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.9.0-dev.0...v2.9.0-dev.1) (2022-08-25)
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
### Bug Fixes
|
|
76
|
+
|
|
77
|
+
* **release:** hints false was added to webpack conf ([17c3c77](https://gitlab.com/mandomedio/vixonic/module-packager/commit/17c3c77ab9b114f9cb7fcd32c22ffe68a256d5b2))
|
|
78
|
+
|
|
79
|
+
## [2.9.0-dev.0](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.8.1...v2.9.0-dev.0) (2022-08-25)
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
### Features
|
|
83
|
+
|
|
84
|
+
* **release:** modules with timezoneService was added to the project ([13ed978](https://gitlab.com/mandomedio/vixonic/module-packager/commit/13ed9785e4f50408c5e104c36cc80a86aca4f547))
|
|
85
|
+
|
|
86
|
+
### [2.8.1](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.8.1-dev.1...v2.8.1) (2022-08-10)
|
|
87
|
+
|
|
88
|
+
### [2.8.1-dev.1](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0...v2.8.1-dev.1) (2022-07-21)
|
|
89
|
+
|
|
90
|
+
## [2.8.1-dev.0](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.6.3-dev.0...v2.8.1-dev.0) (2022-07-18)
|
|
91
|
+
|
|
92
|
+
## [2.7.0](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.17...v2.7.0) (2022-07-21)
|
|
93
|
+
|
|
94
|
+
## [2.7.0-test.17](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.16...v2.7.0-test.17) (2022-07-19)
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
### Bug Fixes
|
|
98
|
+
|
|
99
|
+
* **release:** json-loader package was removed ([52e59eb](https://gitlab.com/mandomedio/vixonic/module-packager/commit/52e59ebde04e7186433c891adbd53c17348108fd))
|
|
100
|
+
|
|
101
|
+
## [2.7.0-test.16](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.15...v2.7.0-test.16) (2022-07-19)
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
### Bug Fixes
|
|
105
|
+
|
|
106
|
+
* **release:** json-loader was added to modules loaders ([55fc98f](https://gitlab.com/mandomedio/vixonic/module-packager/commit/55fc98fb8638b4ea796007345045b4ca3efb7db2))
|
|
107
|
+
|
|
108
|
+
## [2.7.0-test.15](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.14...v2.7.0-test.15) (2022-07-15)
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
### Bug Fixes
|
|
112
|
+
|
|
113
|
+
* **release:** some comments and console.logs were removed ([d717b11](https://gitlab.com/mandomedio/vixonic/module-packager/commit/d717b1177718410498ad60fe933cb28675cd5373))
|
|
114
|
+
|
|
115
|
+
## [2.7.0-test.14](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.13...v2.7.0-test.14) (2022-07-15)
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
### Bug Fixes
|
|
119
|
+
|
|
120
|
+
* **reease:** imports changes were reverted ([a449420](https://gitlab.com/mandomedio/vixonic/module-packager/commit/a449420bc9e48695aba99576caa592e209ba33ca))
|
|
121
|
+
|
|
122
|
+
## [2.7.0-test.13](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.12...v2.7.0-test.13) (2022-07-15)
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
### Bug Fixes
|
|
126
|
+
|
|
127
|
+
* **release:** all requires were updated by imports and also new webpack properties were added to the configuration ([d9a73d6](https://gitlab.com/mandomedio/vixonic/module-packager/commit/d9a73d6e7f2ae31cbbdb475a38bd07fa7159e7ca))
|
|
128
|
+
|
|
129
|
+
## [2.7.0-test.12](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.11...v2.7.0-test.12) (2022-07-15)
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
### Bug Fixes
|
|
133
|
+
|
|
134
|
+
* **release:** copy-webpack-plugin was upgrated ([291d1b9](https://gitlab.com/mandomedio/vixonic/module-packager/commit/291d1b9d5dda24a220cf2eabfef6d31059ca3d4f))
|
|
135
|
+
|
|
136
|
+
## [2.7.0-test.11](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.10...v2.7.0-test.11) (2022-07-15)
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
### Bug Fixes
|
|
140
|
+
|
|
141
|
+
* **release:** html-webpack-plugin was updated ([ae99388](https://gitlab.com/mandomedio/vixonic/module-packager/commit/ae99388e82ba7fe16ffca89f2f7cbc842dbb6739))
|
|
142
|
+
|
|
143
|
+
## [2.7.0-test.10](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.9...v2.7.0-test.10) (2022-07-15)
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
### Bug Fixes
|
|
147
|
+
|
|
148
|
+
* **release:** exclude variable was updated ([a40d017](https://gitlab.com/mandomedio/vixonic/module-packager/commit/a40d017ad5744ecfae966e5e60edeaaa167a2265))
|
|
149
|
+
|
|
150
|
+
## [2.7.0-test.9](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.8...v2.7.0-test.9) (2022-07-15)
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
### Bug Fixes
|
|
154
|
+
|
|
155
|
+
* **release:** __dirname was removed ([cad88bb](https://gitlab.com/mandomedio/vixonic/module-packager/commit/cad88bba27d41590fdecab04dddf511dc9fb1df1))
|
|
156
|
+
|
|
157
|
+
## [2.7.0-test.8](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.7...v2.7.0-test.8) (2022-07-15)
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
### Bug Fixes
|
|
161
|
+
|
|
162
|
+
* **release:** exclude variable was updated ([6eca779](https://gitlab.com/mandomedio/vixonic/module-packager/commit/6eca7795b42e32e84afeffe74a98bb7e4b970dd1))
|
|
163
|
+
|
|
164
|
+
## [2.7.0-test.7](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.6...v2.7.0-test.7) (2022-07-15)
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
### Bug Fixes
|
|
168
|
+
|
|
169
|
+
* **Release:** revert __dirname changes ([bb25fe1](https://gitlab.com/mandomedio/vixonic/module-packager/commit/bb25fe10ed9a9368c145530aecdc91f539877a26))
|
|
170
|
+
|
|
171
|
+
## [2.7.0-test.6](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.5...v2.7.0-test.6) (2022-07-15)
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
### Bug Fixes
|
|
175
|
+
|
|
176
|
+
* **release:** contentBase porperty was removed ([8b364cc](https://gitlab.com/mandomedio/vixonic/module-packager/commit/8b364cc84298210491844856564ada198c356561))
|
|
177
|
+
|
|
178
|
+
## [2.7.0-test.5](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.4...v2.7.0-test.5) (2022-07-15)
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
### Bug Fixes
|
|
182
|
+
|
|
183
|
+
* **Release:** default value of config in options variable was reverted ([9c75fac](https://gitlab.com/mandomedio/vixonic/module-packager/commit/9c75fac9c189bfe5a7857c9a5f68ef50dcc3cc6b))
|
|
184
|
+
|
|
185
|
+
## [2.7.0-test.4](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.3...v2.7.0-test.4) (2022-07-15)
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
### Bug Fixes
|
|
189
|
+
|
|
190
|
+
* **release:** __dirname was added to path resolves and joins ([7312c9a](https://gitlab.com/mandomedio/vixonic/module-packager/commit/7312c9a316c4039dd63c979754d97733c6159a90))
|
|
191
|
+
|
|
192
|
+
## [2.7.0-test.3](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.2...v2.7.0-test.3) (2022-07-15)
|
|
193
|
+
|
|
194
|
+
## [2.7.0-test.2](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.1...v2.7.0-test.2) (2022-07-15)
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
### Bug Fixes
|
|
198
|
+
|
|
199
|
+
* **Release:** ts-node and ts-loader versions were changed ([e108c3f](https://gitlab.com/mandomedio/vixonic/module-packager/commit/e108c3f4e1983ed59d932cfc5db0754a6500088a))
|
|
200
|
+
|
|
201
|
+
## [2.7.0-test.1](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.0...v2.7.0-test.1) (2022-07-15)
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
### Bug Fixes
|
|
205
|
+
|
|
206
|
+
* **release:** loaders module was changed by rules in webpack config ([5de2994](https://gitlab.com/mandomedio/vixonic/module-packager/commit/5de29944e6f1bb7e634bf9d6c1a0acb5b7c10ae5))
|
|
207
|
+
|
|
208
|
+
## [2.7.0-test.0](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-dev.2...v2.7.0-test.0) (2022-07-15)
|
|
209
|
+
|
|
210
|
+
## [2.7.0-dev.2](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-dev.1...v2.7.0-dev.2) (2022-07-15)
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
### Features
|
|
214
|
+
|
|
215
|
+
* **release:** awesome-typescript-loader was replaced by ts-loader ([f0829ec](https://gitlab.com/mandomedio/vixonic/module-packager/commit/f0829ecd7640232be95ea029bd415ca9bfb83e10))
|
|
216
|
+
|
|
217
|
+
## [2.7.0-dev.1](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.6.2...v2.7.0-dev.1) (2022-07-15)
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
### Features
|
|
221
|
+
|
|
222
|
+
* **release:** a new vixoniccom/modules was added to the project ([d2cb117](https://gitlab.com/mandomedio/vixonic/module-packager/commit/d2cb117eb368391a1c4307602fd18741655943c6))
|
|
223
|
+
|
|
224
|
+
## [2.7.0-dev.0](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.6.1...v2.7.0-dev.0) (2022-06-16)
|
|
225
|
+
|
|
226
|
+
### Features
|
|
227
|
+
|
|
228
|
+
* **release:** a new vixoniccom/modules was added to the project ([0f4e503](https://gitlab.com/mandomedio/vixonic/module-packager/commit/0f4e50326d8c8e2582347f690705bc4ecb619c5a))
|
|
229
|
+
|
|
230
|
+
### [2.6.3-dev.0](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.6.2...v2.6.3-dev.0) (2022-07-13)
|
|
231
|
+
|
|
232
|
+
### [2.6.2](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.6.1...v2.6.2) (2022-06-24)
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
### Bug Fixes
|
|
236
|
+
|
|
237
|
+
* **release:** awesome-typescript was downgrade to v4 ([0437594](https://gitlab.com/mandomedio/vixonic/module-packager/commit/0437594af08a645d563c61aafe36599ad755e8ec))
|
|
238
|
+
* **release:** awesome-typescript-loader was updated to last version ([f79248c](https://gitlab.com/mandomedio/vixonic/module-packager/commit/f79248c80902d8dffc91ad20525f48b12ac3f244))
|
|
239
|
+
* **release:** ts-node was upgrated to 10.8.1 ([f3c977f](https://gitlab.com/mandomedio/vixonic/module-packager/commit/f3c977fae37c56e53ae54d3e899e10aef80a45cf))
|
|
240
|
+
* **Release:** typescript was upgrated to the last version - 4.7.3 ([d7329a1](https://gitlab.com/mandomedio/vixonic/module-packager/commit/d7329a13b93ed9dd812c8b9b281559c8058a708b))
|
|
241
|
+
|
|
242
|
+
### [2.6.2-test.3](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.6.2-test.2...v2.6.2-test.3) (2022-06-14)
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
### Bug Fixes
|
|
246
|
+
|
|
247
|
+
* **release:** awesome-typescript was downgrade to v4 ([bd275f5](https://gitlab.com/mandomedio/vixonic/module-packager/commit/bd275f5098bec782fa9155da6077d0f79b885465))
|
|
248
|
+
|
|
249
|
+
### [2.6.2-test.2](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.6.2-test.1...v2.6.2-test.2) (2022-06-14)
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
### Bug Fixes
|
|
253
|
+
|
|
254
|
+
* **release:** awesome-typescript-loader was updated to last version ([8b18685](https://gitlab.com/mandomedio/vixonic/module-packager/commit/8b18685f5f70345cd00b5358421be7902fa73168))
|
|
255
|
+
|
|
256
|
+
### [2.6.2-test.1](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.6.2-test.0...v2.6.2-test.1) (2022-06-14)
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
### Bug Fixes
|
|
260
|
+
|
|
261
|
+
* **release:** ts-node was upgrated to 10.8.1 ([36f9a88](https://gitlab.com/mandomedio/vixonic/module-packager/commit/36f9a883779cfcbd453384a5894381f5cb3c7e12))
|
|
262
|
+
|
|
263
|
+
### [2.6.2-test.0](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.6.1...v2.6.2-test.0) (2022-06-14)
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
### Bug Fixes
|
|
267
|
+
|
|
268
|
+
### [2.6.1](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.6.1-dev.0...v2.6.1) (2022-05-16)
|
|
269
|
+
|
|
270
|
+
### [2.6.1-dev.0](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.6.0...v2.6.1-dev.0) (2022-04-07)
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
### Bug Fixes
|
|
274
|
+
|
|
275
|
+
* **release:** UglifyJsPlugin downgraded to v1 ([7c762cb](https://gitlab.com/mandomedio/vixonic/module-packager/commit/7c762cb21a24a2263be8110b7d045a8f02b15b98))
|
|
276
|
+
* **release:** UglifyJsPlugin was added ([0a904e3](https://gitlab.com/mandomedio/vixonic/module-packager/commit/0a904e33d250ac774a85a34e6befc685177a409c))
|
|
277
|
+
* **release:** UglifyJsPlugin was added - v2 ([4d73a8d](https://gitlab.com/mandomedio/vixonic/module-packager/commit/4d73a8d6fa60ad024792fff96ff7da535c8bd830))
|
|
278
|
+
|
|
279
|
+
### [2.5.2-test.4](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.2-test.3...v2.5.2-test.4) (2022-03-31)
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
### Bug Fixes
|
|
283
|
+
|
|
284
|
+
* **release:** UglifyJsPlugin downgraded to v1 ([c69b3b5](https://gitlab.com/mandomedio/vixonic/module-packager/commit/c69b3b55328f7233e838fdbfd7c61edaed5ca53c))
|
|
285
|
+
|
|
286
|
+
### [2.5.2-test.3](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.2-test.2...v2.5.2-test.3) (2022-03-31)
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
### Bug Fixes
|
|
290
|
+
|
|
291
|
+
* **release:** UglifyJsPlugin was added - v2 ([0e32e2f](https://gitlab.com/mandomedio/vixonic/module-packager/commit/0e32e2f4f3fa5e47320b53ec8e6fef3f50c9bdd5))
|
|
292
|
+
|
|
293
|
+
### [2.5.2-test.2](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.2-test.1...v2.5.2-test.2) (2022-03-31)
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
### Bug Fixes
|
|
297
|
+
|
|
298
|
+
* **release:** UglifyJsPlugin was added ([da15fbe](https://gitlab.com/mandomedio/vixonic/module-packager/commit/da15fbe78714e302bbd1c8071f268b97ae9d9bf9))
|
|
299
|
+
|
|
300
|
+
### [2.5.2-test.1](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.2-test.0...v2.5.2-test.1) (2022-03-31)
|
|
301
|
+
|
|
302
|
+
### [2.5.2-test.0](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.1...v2.5.2-test.0) (2022-03-31)
|
|
303
|
+
|
|
304
|
+
## [2.6.0](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.6.0-rc.0...v2.6.0) (2022-04-07)
|
|
305
|
+
|
|
306
|
+
## [2.6.0-rc.0](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.6.0-dev.3...v2.6.0-rc.0) (2022-03-10)
|
|
307
|
+
|
|
308
|
+
## [2.6.0-dev.3](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.6.0-dev.2...v2.6.0-dev.3) (2022-03-01)
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
### Bug Fixes
|
|
312
|
+
|
|
313
|
+
* **release:** new modules package version was added to this project ([57711fe](https://gitlab.com/mandomedio/vixonic/module-packager/commit/57711fefd448e128a2465fa0f5483666e43d579c))
|
|
314
|
+
|
|
315
|
+
## [2.6.0-dev.2](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.6.0-dev.1...v2.6.0-dev.2) (2022-03-01)
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
### Bug Fixes
|
|
319
|
+
|
|
320
|
+
* **release:** modules package was updated again ([0f229b8](https://gitlab.com/mandomedio/vixonic/module-packager/commit/0f229b84bf46be6eb9e4534ee9fe03a8cb1885b8))
|
|
321
|
+
|
|
322
|
+
## [2.6.0-dev.1](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.6.0-dev.0...v2.6.0-dev.1) (2022-03-01)
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
### Bug Fixes
|
|
326
|
+
|
|
327
|
+
* **release:** modules was updated ([6f0d4e1](https://gitlab.com/mandomedio/vixonic/module-packager/commit/6f0d4e16aa23405114a1738a1be8d337499ea433))
|
|
328
|
+
|
|
329
|
+
## [2.6.0-dev.0](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.1...v2.6.0-dev.0) (2022-03-01)
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
### Features
|
|
333
|
+
|
|
334
|
+
### [2.5.1](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.1-dev.0...v2.5.1) (2021-11-12)
|
|
335
|
+
|
|
336
|
+
### [2.5.1-dev.0](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0...v2.5.1-dev.0) (2021-10-20)
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
### Bug Fixes
|
|
340
|
+
|
|
341
|
+
* **release:** modules was upgrated to 2.12.1-rc.0 ([c73c236](https://gitlab.com/mandomedio/vixonic/module-packager/commit/c73c236abaa240a4aa4f0ae53687625e33abbb82))
|
|
342
|
+
|
|
343
|
+
## [2.5.0](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-rc.2...v2.5.0) (2021-09-13)
|
|
344
|
+
|
|
345
|
+
## [2.5.0-rc.2](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.54...v2.5.0-rc.2) (2021-08-25)
|
|
346
|
+
|
|
347
|
+
## [2.5.0-dev.54](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.53...v2.5.0-dev.54) (2021-08-25)
|
|
348
|
+
|
|
349
|
+
## [2.5.0-dev.53](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-rc.1...v2.5.0-dev.53) (2021-08-25)
|
|
350
|
+
|
|
351
|
+
## [2.5.0-rc.1](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.49...v2.5.0-rc.1) (2021-08-24)
|
|
352
|
+
|
|
353
|
+
## [2.5.0-dev.49](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.48...v2.5.0-dev.49) (2021-08-24)
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
### Bug Fixes
|
|
357
|
+
|
|
358
|
+
* **release:** revert copy-wapack-plugin version ([a563590](https://gitlab.com/mandomedio/vixonic/module-packager/commit/a563590477d5c9a1d16c8ab237124c854ffa8884))
|
|
359
|
+
|
|
360
|
+
## [2.5.0-dev.48](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-rc.0...v2.5.0-dev.48) (2021-08-24)
|
|
361
|
+
|
|
362
|
+
## [2.5.0-rc.0](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.44...v2.5.0-rc.0) (2021-08-24)
|
|
363
|
+
|
|
364
|
+
## [2.5.0-dev.44](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.43...v2.5.0-dev.44) (2021-08-23)
|
|
365
|
+
|
|
366
|
+
## [2.5.0-dev.43](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.42...v2.5.0-dev.43) (2021-08-23)
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
### Bug Fixes
|
|
370
|
+
|
|
371
|
+
* **release:** enableRemoteModule was added to webPreferences in Browser window ([a716409](https://gitlab.com/mandomedio/vixonic/module-packager/commit/a7164091e883c6d12f8442a79cba8b1c0571219d))
|
|
372
|
+
|
|
373
|
+
## [2.5.0-dev.42](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.41...v2.5.0-dev.42) (2021-08-23)
|
|
374
|
+
|
|
375
|
+
## [2.5.0-dev.41](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.40...v2.5.0-dev.41) (2021-08-23)
|
|
376
|
+
|
|
377
|
+
## [2.5.0-dev.40](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.39...v2.5.0-dev.40) (2021-08-23)
|
|
378
|
+
|
|
379
|
+
## [2.5.0-dev.39](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.38...v2.5.0-dev.39) (2021-08-23)
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
### Bug Fixes
|
|
383
|
+
|
|
384
|
+
* **release:** webpreferences were added in webview tag ([20fd01c](https://gitlab.com/mandomedio/vixonic/module-packager/commit/20fd01c1c04ae79d5241320f62a3333e387ad271))
|
|
385
|
+
|
|
386
|
+
## [2.5.0-dev.38](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.37...v2.5.0-dev.38) (2021-08-23)
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
### Bug Fixes
|
|
390
|
+
|
|
391
|
+
* **release:** webpreferences electron were added in browserWindow ([415e1b7](https://gitlab.com/mandomedio/vixonic/module-packager/commit/415e1b7129c9f77a5d84b90a7822025ae77a5e4b))
|
|
392
|
+
|
|
393
|
+
## [2.5.0-dev.37](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.36...v2.5.0-dev.37) (2021-08-23)
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
### Bug Fixes
|
|
397
|
+
|
|
398
|
+
* **release:** nodeintegration was added to webview tag ([763d5db](https://gitlab.com/mandomedio/vixonic/module-packager/commit/763d5db5947a6640c40afe5858d9904357b6abd5))
|
|
399
|
+
|
|
400
|
+
## [2.5.0-dev.36](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.35...v2.5.0-dev.36) (2021-08-23)
|
|
401
|
+
|
|
402
|
+
## [2.5.0-dev.35](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.31...v2.5.0-dev.35) (2021-08-23)
|
|
403
|
+
|
|
404
|
+
## [2.5.0-dev.31](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.4.2...v2.5.0-dev.31) (2021-08-23)
|
|
405
|
+
|
|
406
|
+
<a name="2.4.2"></a>
|
|
407
|
+
## 2.4.2 (2019-07-11)
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
<a name="2.4.0"></a>
|
|
412
|
+
# [2.4.0](https://bitbucket.org/vixonicmodules/module-packager/compare/v2.3.1...v2.4.0) (2019-06-14)
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
### Features
|
|
416
|
+
|
|
417
|
+
* added transpileOnly and tsOverride options ([a7227de](https://bitbucket.org/vixonicmodules/module-packager/commits/a7227de))
|
|
418
|
+
* update typescript ([95f7b64](https://bitbucket.org/vixonicmodules/module-packager/commits/95f7b64))
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
<a name="2.3.1"></a>
|
|
423
|
+
## [2.3.1](https://bitbucket.org/vixonicmodules/module-packager/compare/v2.3.0...v2.3.1) (2018-11-07)
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
<a name="2.3.0"></a>
|
|
428
|
+
# 2.3.0 (2018-09-24)
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
### Bug Fixes
|
|
432
|
+
|
|
433
|
+
* conflicts resolved ([ab8264e](https://bitbucket.org/vixonicmodules/module-packager/commits/ab8264e))
|
|
434
|
+
* escaped downloadsPath in windows. ([11347b8](https://bitbucket.org/vixonicmodules/module-packager/commits/11347b8))
|
|
435
|
+
* externals not working with npm 3. ([6ad554a](https://bitbucket.org/vixonicmodules/module-packager/commits/6ad554a))
|
|
436
|
+
* merge conflict ([2829371](https://bitbucket.org/vixonicmodules/module-packager/commits/2829371))
|
|
437
|
+
* merge duplicated node property ([abc0232](https://bitbucket.org/vixonicmodules/module-packager/commits/abc0232))
|
|
438
|
+
* missing dependencies and default tsconfig modules mode set to es2015 ([12cbc21](https://bitbucket.org/vixonicmodules/module-packager/commits/12cbc21))
|
|
439
|
+
* package-lock error ([8c7f54c](https://bitbucket.org/vixonicmodules/module-packager/commits/8c7f54c))
|
|
440
|
+
* prevent installing externals if target is not electron-renderer ([49aa362](https://bitbucket.org/vixonicmodules/module-packager/commits/49aa362))
|
|
441
|
+
* ts-node configuration chechJs set to false ([648b0a8](https://bitbucket.org/vixonicmodules/module-packager/commits/648b0a8))
|
|
442
|
+
* updated dependencies ([bbc7c20](https://bitbucket.org/vixonicmodules/module-packager/commits/bbc7c20))
|
|
443
|
+
* watch paths not relative to filesystem. ([f91d680](https://bitbucket.org/vixonicmodules/module-packager/commits/f91d680))
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
### Features
|
|
447
|
+
|
|
448
|
+
* added babel env and polyfill. ([95c8a8a](https://bitbucket.org/vixonicmodules/module-packager/commits/95c8a8a))
|
|
449
|
+
* added default tsconfig. ([64c85a4](https://bitbucket.org/vixonicmodules/module-packager/commits/64c85a4))
|
|
450
|
+
* added target as an option. ([8a0ea52](https://bitbucket.org/vixonicmodules/module-packager/commits/8a0ea52))
|
|
451
|
+
* added typescript loader and changed to webpack 2. ([651d805](https://bitbucket.org/vixonicmodules/module-packager/commits/651d805))
|
|
452
|
+
* added typescript loader. ([5b3eddf](https://bitbucket.org/vixonicmodules/module-packager/commits/5b3eddf))
|
|
453
|
+
* added vixonic modules definition. ([de80168](https://bitbucket.org/vixonicmodules/module-packager/commits/de80168))
|
|
454
|
+
* added web mode to generate Android compatible apps. ([80431a9](https://bitbucket.org/vixonicmodules/module-packager/commits/80431a9))
|
|
455
|
+
* duration calculation ([19175f6](https://bitbucket.org/vixonicmodules/module-packager/commits/19175f6))
|
|
456
|
+
* electron 2.0.2 + vixonic modules 1.1.0 ([dcd6b67](https://bitbucket.org/vixonicmodules/module-packager/commits/dcd6b67))
|
|
457
|
+
* tsx support and hot loading ([dc6c03e](https://bitbucket.org/vixonicmodules/module-packager/commits/dc6c03e))
|
|
458
|
+
* updated [@vixonic](https://bitbucket.org/vixonic)/modules dependency ([dc92913](https://bitbucket.org/vixonicmodules/module-packager/commits/dc92913))
|
|
459
|
+
* upgrade module-controler dependency ([8502347](https://bitbucket.org/vixonicmodules/module-packager/commits/8502347))
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
<a name="2.2.0"></a>
|
|
464
|
+
# 2.2.0 (2018-08-22)
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
### Bug Fixes
|
|
468
|
+
|
|
469
|
+
* conflicts resolved ([ab8264e](https://bitbucket.org/vixonicmodules/module-packager/commits/ab8264e))
|
|
470
|
+
* escaped downloadsPath in windows. ([11347b8](https://bitbucket.org/vixonicmodules/module-packager/commits/11347b8))
|
|
471
|
+
* externals not working with npm 3. ([6ad554a](https://bitbucket.org/vixonicmodules/module-packager/commits/6ad554a))
|
|
472
|
+
* merge conflict ([2829371](https://bitbucket.org/vixonicmodules/module-packager/commits/2829371))
|
|
473
|
+
* merge duplicated node property ([abc0232](https://bitbucket.org/vixonicmodules/module-packager/commits/abc0232))
|
|
474
|
+
* missing dependencies and default tsconfig modules mode set to es2015 ([12cbc21](https://bitbucket.org/vixonicmodules/module-packager/commits/12cbc21))
|
|
475
|
+
* package-lock error ([8c7f54c](https://bitbucket.org/vixonicmodules/module-packager/commits/8c7f54c))
|
|
476
|
+
* prevent installing externals if target is not electron-renderer ([49aa362](https://bitbucket.org/vixonicmodules/module-packager/commits/49aa362))
|
|
477
|
+
* updated dependencies ([bbc7c20](https://bitbucket.org/vixonicmodules/module-packager/commits/bbc7c20))
|
|
478
|
+
* watch paths not relative to filesystem. ([f91d680](https://bitbucket.org/vixonicmodules/module-packager/commits/f91d680))
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
### Features
|
|
482
|
+
|
|
483
|
+
* added babel env and polyfill. ([95c8a8a](https://bitbucket.org/vixonicmodules/module-packager/commits/95c8a8a))
|
|
484
|
+
* added default tsconfig. ([64c85a4](https://bitbucket.org/vixonicmodules/module-packager/commits/64c85a4))
|
|
485
|
+
* added target as an option. ([8a0ea52](https://bitbucket.org/vixonicmodules/module-packager/commits/8a0ea52))
|
|
486
|
+
* added typescript loader and changed to webpack 2. ([651d805](https://bitbucket.org/vixonicmodules/module-packager/commits/651d805))
|
|
487
|
+
* added typescript loader. ([5b3eddf](https://bitbucket.org/vixonicmodules/module-packager/commits/5b3eddf))
|
|
488
|
+
* added vixonic modules definition. ([de80168](https://bitbucket.org/vixonicmodules/module-packager/commits/de80168))
|
|
489
|
+
* added web mode to generate Android compatible apps. ([80431a9](https://bitbucket.org/vixonicmodules/module-packager/commits/80431a9))
|
|
490
|
+
* electron 2.0.2 + vixonic modules 1.1.0 ([dcd6b67](https://bitbucket.org/vixonicmodules/module-packager/commits/dcd6b67))
|
|
491
|
+
* tsx support and hot loading ([dc6c03e](https://bitbucket.org/vixonicmodules/module-packager/commits/dc6c03e))
|
|
492
|
+
* upgrade module-controler dependency ([8502347](https://bitbucket.org/vixonicmodules/module-packager/commits/8502347))
|
package/electron.js
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
const { app, BrowserWindow } = require('electron')
|
|
3
|
+
|
|
4
|
+
let mainWindow = null
|
|
5
|
+
|
|
6
|
+
const path = require('path')
|
|
7
|
+
const commandLineArgs = require('command-line-args')
|
|
8
|
+
const optionDefinitions = [
|
|
9
|
+
{ name: 'externals', type: String, defaultValue: [], multiple: true },
|
|
10
|
+
{ name: 'src', type: String, defaultValue: '../../src' },
|
|
11
|
+
{ name: 'build', type: String, defaultValue: '../../build' },
|
|
12
|
+
{ name: 'config', type: String, defaultValue: './webpack.config.js' },
|
|
13
|
+
{ name: 'port', type: Number, defaultValue: 8080 },
|
|
14
|
+
{ name: 'mode', type: String, defaultValue: 'build' }
|
|
15
|
+
]
|
|
16
|
+
const options = commandLineArgs(optionDefinitions)
|
|
17
|
+
|
|
18
|
+
if (options.mode === 'watch') {
|
|
19
|
+
require('electron-debug')()
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
app.commandLine.appendSwitch('disable-site-isolation-trials');
|
|
23
|
+
|
|
24
|
+
app.on('window-all-closed', () => {
|
|
25
|
+
app.quit()
|
|
26
|
+
})
|
|
27
|
+
|
|
28
|
+
app.on('ready', () => {
|
|
29
|
+
mainWindow = new BrowserWindow({
|
|
30
|
+
show: false,
|
|
31
|
+
width: 600,
|
|
32
|
+
height: 400,
|
|
33
|
+
plugins: true,
|
|
34
|
+
webPreferences: {
|
|
35
|
+
nodeIntegration: true,
|
|
36
|
+
plugins: true,
|
|
37
|
+
webSecurity: false,
|
|
38
|
+
enableRemoteModule: true,
|
|
39
|
+
webviewTag: true
|
|
40
|
+
}
|
|
41
|
+
})
|
|
42
|
+
|
|
43
|
+
mainWindow.loadURL(`file://${path.join(__dirname, 'index.html')}`)
|
|
44
|
+
|
|
45
|
+
mainWindow.webContents.on('did-finish-load', () => {
|
|
46
|
+
mainWindow.webContents.send('init', options)
|
|
47
|
+
})
|
|
48
|
+
|
|
49
|
+
mainWindow.on('closed', () => {
|
|
50
|
+
mainWindow = null
|
|
51
|
+
})
|
|
52
|
+
})
|
package/index.html
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html style="width: 100%; height: 100%; margin: 0; padding: 0;">
|
|
3
|
+
<head>
|
|
4
|
+
<title></title>
|
|
5
|
+
</head>
|
|
6
|
+
<body style="width: 100%; height: 100%; margin: 0; padding: 0;">
|
|
7
|
+
<webview style="width: 100%; height: 100%; margin: 0; padding: 0;" id="webview" nodeintegration autosize plugins disablewebsecurity></webview>
|
|
8
|
+
<script type="text/javascript">
|
|
9
|
+
const path = require('path')
|
|
10
|
+
const ModuleController = require('@vixoniccom/module-controller')
|
|
11
|
+
const { ipcRenderer, remote } = require('electron')
|
|
12
|
+
|
|
13
|
+
ipcRenderer.on('init', (event, options) => {
|
|
14
|
+
let webview = document.getElementById('webview')
|
|
15
|
+
let win = remote.getCurrentWindow()
|
|
16
|
+
|
|
17
|
+
webview.addEventListener('did-finish-load', () => {
|
|
18
|
+
win.show()
|
|
19
|
+
win.focus()
|
|
20
|
+
})
|
|
21
|
+
webview.src = options.mode === 'watch' ? `http://localhost:${options.port}/index.html` : `file://${path.join(options.build, 'index.html')}`
|
|
22
|
+
|
|
23
|
+
function getData () {
|
|
24
|
+
let data = {}
|
|
25
|
+
try {
|
|
26
|
+
data.parameters = require(path.join(options.src, '/test/parameters.json')).parameters
|
|
27
|
+
} catch (err) {
|
|
28
|
+
console.log('No parameters.')
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
let escaped = path.join(options.mode === 'watch' ? options.src : options.build, 'test', 'downloads')
|
|
32
|
+
|
|
33
|
+
// Add file:// to watch because in this mode the app will be in a localhost hosted environment.
|
|
34
|
+
if (options.mode === 'watch') escaped = `file://${escaped}`
|
|
35
|
+
escaped = escaped.replace(/\\/g, '/')
|
|
36
|
+
|
|
37
|
+
data.downloadsPath = escaped
|
|
38
|
+
|
|
39
|
+
try {
|
|
40
|
+
data.services = require(path.join(options.src, '/test/services.json')).services
|
|
41
|
+
console.log(data.services)
|
|
42
|
+
} catch (err) {
|
|
43
|
+
console.log('No services.')
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
return data
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
function getSchema () {
|
|
50
|
+
let data = {}
|
|
51
|
+
try {
|
|
52
|
+
data = require(path.join(options.src, '../configuration.json')).schema
|
|
53
|
+
} catch (err) {
|
|
54
|
+
console.log('No schema.')
|
|
55
|
+
}
|
|
56
|
+
return data
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
ModuleController.init(win, webview, getData(), getSchema(), options.mode === 'watch')
|
|
60
|
+
})
|
|
61
|
+
</script>
|
|
62
|
+
|
|
63
|
+
</body>
|
|
64
|
+
</html>
|