qcobjects-cli 2.5.105-beta → 2.5.106-beta
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 +1 -1
- package/package.json +1 -1
- package/public/browser/index.js +2 -1
- package/public/browser/index.js.map +2 -2
- package/public/browser/org.quickcorp.qcobjects.cli.js +2 -1
- package/public/browser/org.quickcorp.qcobjects.cli.js.map +2 -2
- package/public/browser/qcobjects-cli.js +2 -1
- package/public/browser/qcobjects-cli.js.map +2 -2
- package/public/cjs/index.cjs +2 -1
- package/public/cjs/index.cjs.map +2 -2
- package/public/cjs/org.quickcorp.qcobjects.cli.cjs +2 -1
- package/public/cjs/org.quickcorp.qcobjects.cli.cjs.map +2 -2
- package/public/cjs/qcobjects-cli.cjs +2 -1
- package/public/cjs/qcobjects-cli.cjs.map +2 -2
- package/public/esm/index.mjs +2 -1
- package/public/esm/index.mjs.map +2 -2
- package/public/esm/org.quickcorp.qcobjects.cli.mjs +2 -1
- package/public/esm/org.quickcorp.qcobjects.cli.mjs.map +2 -2
- package/public/esm/qcobjects-cli.mjs +2 -1
- package/public/esm/qcobjects-cli.mjs.map +2 -2
- package/src/org.quickcorp.qcobjects.cli.ts +2 -1
package/public/esm/index.mjs
CHANGED
|
@@ -3859,7 +3859,7 @@ var SwitchCommander = class extends InheritClass4 {
|
|
|
3859
3859
|
}
|
|
3860
3860
|
generateServiceWorker(appName, dirPrefix = "./") {
|
|
3861
3861
|
const writeContent = /* @__PURE__ */ __name((component) => {
|
|
3862
|
-
const parsedText = component.
|
|
3862
|
+
const parsedText = component.parsedAssignmentText;
|
|
3863
3863
|
logger7.debug("Starting to write the sw file...");
|
|
3864
3864
|
fs2.writeFile(`${dirPrefix}/sw.js`, parsedText, (err) => {
|
|
3865
3865
|
if (err) {
|
|
@@ -3889,6 +3889,7 @@ var SwitchCommander = class extends InheritClass4 {
|
|
|
3889
3889
|
template = "";
|
|
3890
3890
|
constructor({ name, data }) {
|
|
3891
3891
|
super({ name, data });
|
|
3892
|
+
this.data = data;
|
|
3892
3893
|
}
|
|
3893
3894
|
done({ request, component }) {
|
|
3894
3895
|
super.done({ request, component });
|