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
|
@@ -261,7 +261,7 @@ export class SwitchCommander extends InheritClass {
|
|
|
261
261
|
|
|
262
262
|
generateServiceWorker(appName: any, dirPrefix = "./") {
|
|
263
263
|
const writeContent = (component: any) => {
|
|
264
|
-
const parsedText = component.
|
|
264
|
+
const parsedText = component.parsedAssignmentText;
|
|
265
265
|
logger.debug("Starting to write the sw file...");
|
|
266
266
|
fs.writeFile(`${dirPrefix}/sw.js`, parsedText, (err: string | undefined) => {
|
|
267
267
|
if (err) {
|
|
@@ -292,6 +292,7 @@ export class SwitchCommander extends InheritClass {
|
|
|
292
292
|
|
|
293
293
|
constructor({name, data}:{name:string, data:any}){
|
|
294
294
|
super({name, data});
|
|
295
|
+
this.data = data;
|
|
295
296
|
}
|
|
296
297
|
|
|
297
298
|
done({ request, component }:{request:any, component:any}) {
|