@fireberry/cli 0.0.5-beta.0 → 0.0.5-beta.3
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/dist/commands/create.js
CHANGED
|
@@ -45,7 +45,7 @@ export async function runCreate({ name }) {
|
|
|
45
45
|
const htmlTemplate = await fs.readFile(path.join(templatesDir, "index.html"), "utf-8");
|
|
46
46
|
const manifestContent = manifestTemplate
|
|
47
47
|
.replace(/{{appName}}/g, appName)
|
|
48
|
-
.replace(/{
|
|
48
|
+
.replace(/{{appId}}/g, appId);
|
|
49
49
|
const htmlContent = htmlTemplate.replace(/{{appName}}/g, appName);
|
|
50
50
|
await fs.writeFile(path.join(appDir, "manifest.yml"), manifestContent);
|
|
51
51
|
await fs.writeFile(path.join(appDir, "index.html"), htmlContent);
|
package/package.json
CHANGED
package/src/commands/create.ts
CHANGED
|
@@ -68,7 +68,7 @@ export async function runCreate({ name }: CreateOptions): Promise<void> {
|
|
|
68
68
|
|
|
69
69
|
const manifestContent = manifestTemplate
|
|
70
70
|
.replace(/{{appName}}/g, appName)
|
|
71
|
-
.replace(/{
|
|
71
|
+
.replace(/{{appId}}/g, appId);
|
|
72
72
|
|
|
73
73
|
const htmlContent = htmlTemplate.replace(/{{appName}}/g, appName);
|
|
74
74
|
|