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
|
@@ -3867,7 +3867,7 @@ var SwitchCommander = class extends InheritClass4 {
|
|
|
3867
3867
|
}
|
|
3868
3868
|
generateServiceWorker(appName, dirPrefix = "./") {
|
|
3869
3869
|
const writeContent = /* @__PURE__ */ __name((component) => {
|
|
3870
|
-
const parsedText = component.
|
|
3870
|
+
const parsedText = component.parsedAssignmentText;
|
|
3871
3871
|
logger7.debug("Starting to write the sw file...");
|
|
3872
3872
|
fs2.writeFile(`${dirPrefix}/sw.js`, parsedText, (err) => {
|
|
3873
3873
|
if (err) {
|
|
@@ -3897,6 +3897,7 @@ var SwitchCommander = class extends InheritClass4 {
|
|
|
3897
3897
|
template = "";
|
|
3898
3898
|
constructor({ name, data }) {
|
|
3899
3899
|
super({ name, data });
|
|
3900
|
+
this.data = data;
|
|
3900
3901
|
}
|
|
3901
3902
|
done({ request, component }) {
|
|
3902
3903
|
super.done({ request, component });
|