@wavemaker/angular-app 11.8.0-rc.5868 → 11.10.0-next.25079

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/angular.json CHANGED
@@ -28,12 +28,8 @@
28
28
  "tsConfig": "src/tsconfig.app.json",
29
29
  "assets": [
30
30
  "src/favicon.ico",
31
+ "src/favicon.png",
31
32
  "src/assets",
32
- {
33
- "glob": "print.css",
34
- "input": "src/assets/",
35
- "output": "."
36
- },
37
33
  {
38
34
  "glob": "**/*",
39
35
  "input": "libraries/locales/",
@@ -43,6 +39,19 @@
43
39
  "glob": "**/*",
44
40
  "input": "node_modules/@wavemaker/app-ng-runtime/locales/",
45
41
  "output": "/locales/"
42
+ },
43
+ {
44
+ "glob": "**/*",
45
+ "input": "src/servicedefs",
46
+ "output": "/servicedefs/"
47
+ },
48
+ {
49
+ "glob": "**/*",
50
+ "input": "resources",
51
+ "output": "/resources/",
52
+ "ignore": [
53
+ "**/*.txt"
54
+ ]
46
55
  }
47
56
  ],
48
57
  "styles": [
@@ -58,6 +67,11 @@
58
67
  "input": "src/assets/app.css",
59
68
  "inject": false,
60
69
  "bundleName": "wm-styles"
70
+ },
71
+ {
72
+ "input": "src/assets/print.css",
73
+ "inject": false,
74
+ "bundleName": "print"
61
75
  }
62
76
  ],
63
77
  "scripts": [
@@ -65,6 +79,7 @@
65
79
  "./node_modules/d3/dist/d3.min.js",
66
80
  "./node_modules/@wavemaker/nvd3/build/nv.d3.min.js",
67
81
  "./node_modules/jquery/dist/jquery.min.js",
82
+ "./node_modules/lodash/lodash.min.js",
68
83
  "./node_modules/jquery-ui/ui/disable-selection.js",
69
84
  "./node_modules/jquery-ui/ui/version.js",
70
85
  "./node_modules/jquery-ui/ui/widget.js",
@@ -188,18 +203,29 @@
188
203
  "tsConfig": "src/tsconfig.app.json",
189
204
  "assets": [
190
205
  "src/favicon.ico",
206
+ "src/favicon.png",
191
207
  "src/assets",
192
208
  {
193
- "glob": "print.css",
194
- "input": "src/assets/",
195
- "output": "."
209
+ "glob": "**/*",
210
+ "input": "src/servicedefs",
211
+ "output": "/servicedefs/"
212
+ },
213
+ {
214
+ "glob": "**/*",
215
+ "input": "src/resources",
216
+ "output": "/resources/"
196
217
  }
197
218
  ],
198
219
  "styles": [
199
220
  "src/styles.css",
200
221
  "src/assets/styles/css/wm-style.css",
201
222
  "src/assets/themes/material/style.css",
202
- "src/assets/app.css"
223
+ "src/assets/app.css",
224
+ {
225
+ "input": "src/assets/print.css",
226
+ "inject": false,
227
+ "bundleName": "print"
228
+ }
203
229
  ],
204
230
  "scripts": [
205
231
  "./node_modules/x2js/x2js.js",
@@ -294,6 +294,8 @@ const generateSha1 = (content) => {
294
294
 
295
295
  //this is required to download all the assets
296
296
  $('head').append(`<meta name="deployUrl" content=${deployUrl} />`);
297
+ $('script[src$="services/application/wmProperties.js"]').remove();
298
+ $('link[href$="favicon.png"]').attr('href', './ng-bundle/favicon.png');
297
299
 
298
300
  const htmlContent = $.html();
299
301
  await writeFile(`./dist/index.html`, htmlContent);