npm package diff
Package: @forge/cli-shared
Versions: 5.3.1-next.0-experimental-10722bc - 5.5.0-next.13
File: package/out/config/config-file.js
Index: package/out/config/config-file.js
===================================================================
--- package/out/config/config-file.js
+++ package/out/config/config-file.js
@@ -29,9 +29,9 @@
manifestParser;
constructor(fileReader, fileWriter) {
this.fileReader = fileReader;
this.fileWriter = fileWriter;
- this.manifestParser = new manifest_1.ManifestParser(process.env);
+ this.manifestParser = new manifest_1.ManifestParserBuilder().withInterpolators().build();
}
async getAppHandlers() {
const config = await this.readConfig();
const functions = config.modules?.function ?? [];
@@ -113,9 +113,9 @@
this.writeManifest(currentConfigDoc);
}
getHostedResourceModules(modules) {
const modulesArray = (0, shared_1.flat)(Object.values(modules));
- return modulesArray.filter((module) => (0, config_1.isHostedResourceModule)(module));
+ return modulesArray.filter(config_1.isHostedResourceModule);
}
assertNoMissingResources(modules, resources) {
const missingResources = modules.filter(({ resource }) => !resources.some(({ key }) => resource === key));
if (missingResources.length > 0) {