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
|
@@ -3888,7 +3888,7 @@ var SwitchCommander = class extends InheritClass4 {
|
|
|
3888
3888
|
}
|
|
3889
3889
|
generateServiceWorker(appName, dirPrefix = "./") {
|
|
3890
3890
|
const writeContent = /* @__PURE__ */ __name((component) => {
|
|
3891
|
-
const parsedText = component.
|
|
3891
|
+
const parsedText = component.parsedAssignmentText;
|
|
3892
3892
|
logger7.debug("Starting to write the sw file...");
|
|
3893
3893
|
fs2.writeFile(`${dirPrefix}/sw.js`, parsedText, (err) => {
|
|
3894
3894
|
if (err) {
|
|
@@ -3918,6 +3918,7 @@ var SwitchCommander = class extends InheritClass4 {
|
|
|
3918
3918
|
template = "";
|
|
3919
3919
|
constructor({ name, data }) {
|
|
3920
3920
|
super({ name, data });
|
|
3921
|
+
this.data = data;
|
|
3921
3922
|
}
|
|
3922
3923
|
done({ request, component }) {
|
|
3923
3924
|
super.done({ request, component });
|