qcobjectsnewapp 2.4.25 → 2.4.27

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/VERSION CHANGED
@@ -1 +1 @@
1
- 2.4.25
1
+ 2.4.27
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qcobjectsnewapp",
3
- "version": "2.4.25",
3
+ "version": "2.4.27",
4
4
  "description": "App template for New App in QCObjects",
5
5
  "targets": {
6
6
  "default": {
@@ -70,7 +70,8 @@
70
70
  "cli:help": "qcobjects --help",
71
71
  "start:dev": "npm-watch start",
72
72
  "build:dev": "npm-watch build",
73
- "tree": "tree -d --gitignore"
73
+ "tree": "tree -d --gitignore",
74
+ "lighthouse": "lighthouse https://127.0.0.1:8443/ --quiet --chrome-flags=\"--ignore-certificate-errors\" --budget-path=./lighthouse-budget.json --output html --output-path ./lighthouse/lighthouse-report.html --view"
74
75
  },
75
76
  "repository": {
76
77
  "type": "file",
@@ -109,6 +110,7 @@
109
110
  "hint": "^2.0.0",
110
111
  "husky": "^8.0.3",
111
112
  "jasmine": "^3.99.0",
113
+ "lighthouse": "^10.1.1",
112
114
  "lint-staged": "^13.2.1",
113
115
  "npm-run-all": "^4.1.5",
114
116
  "parcel": "^2.8.3",
@@ -125,9 +127,9 @@
125
127
  "grunt-contrib-jasmine": "^4.0.0",
126
128
  "npm-watch": "^0.11.0",
127
129
  "nyc": "^15.1.0",
128
- "qcobjects": "^2.4.73",
130
+ "qcobjects": "^2.4.74",
129
131
  "qcobjects-handler-hello-world": "^1.0.0",
130
- "qcobjects-sdk": "^2.4.35"
132
+ "qcobjects-sdk": "^2.4.37"
131
133
  },
132
134
  "engines": {
133
135
  "npm": ">=8",
package/src/js/config.ts CHANGED
@@ -15,6 +15,7 @@ CONFIG.set("useLocalSDK", true); // on the frontend side you can chose whether t
15
15
  CONFIG.set("tplextension", "tpl.html"); // this is the file extension to locate the template files (if component.name = 'main' then template name will be main.tpl.html)
16
16
  CONFIG.set("asynchronousImportsLoad", true); // it is recommended to load the Import declarations in an asyncronous way
17
17
  CONFIG.set("serviceWorkerURI", "/sw.js"); // QCObjects will register an launch this service worker automatically to work offline
18
+ CONFIG.set("overrideComponentTag", true);
18
19
 
19
20
  // if Component.cached is true, all the Class('Component') declarations will save the template in a localStorage cache
20
21
  // until a cached=false attribute is found in a <component> html declaration