@nu-art/build-and-install 0.204.68 → 0.204.69
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/package.json
CHANGED
|
@@ -179,7 +179,7 @@ class Unit_FirebaseFunctionsApp extends core_1.Unit_TypescriptLib {
|
|
|
179
179
|
async createAppVersionFile() {
|
|
180
180
|
//Writing the file to the package source instead of the output is fine,
|
|
181
181
|
//copyAssetsToOutput will move the file to output
|
|
182
|
-
const targetPath = `${this.runtime.pathTo.pkg}/${CONST_VersionApp}`;
|
|
182
|
+
const targetPath = `${this.runtime.pathTo.pkg}/src/main/${CONST_VersionApp}`;
|
|
183
183
|
const appVersion = RunnerParams_1.MemKey_ProjectConfig.get().projectVersion;
|
|
184
184
|
const fileContent = JSON.stringify({ version: appVersion }, null, 2);
|
|
185
185
|
await fs_1.promises.writeFile(targetPath, fileContent, { encoding: 'utf-8' });
|
|
@@ -99,7 +99,7 @@ class Unit_FirebaseHostingApp extends core_1.Unit_TypescriptLib {
|
|
|
99
99
|
async createAppVersionFile() {
|
|
100
100
|
//Writing the file to the package source instead of the output is fine,
|
|
101
101
|
//Webpack bundles files into the output automatically!
|
|
102
|
-
const targetPath = `${this.runtime.pathTo.pkg}/${CONST_VersionApp}`;
|
|
102
|
+
const targetPath = `${this.runtime.pathTo.pkg}/src/main/${CONST_VersionApp}`;
|
|
103
103
|
const appVersion = RunnerParams_1.MemKey_ProjectConfig.get().projectVersion;
|
|
104
104
|
const fileContent = JSON.stringify({ version: appVersion }, null, 2);
|
|
105
105
|
await fs_1.promises.writeFile(targetPath, fileContent, { encoding: 'utf-8' });
|