@forge/cli
14.1.014.2.0-next.11-experimental-e03cc85
out/service/module-service.js~
out/service/module-service.jsModified+2−2
Index: package/out/service/module-service.js
===================================================================
--- package/out/service/module-service.js
+++ package/out/service/module-service.js
@@ -7,9 +7,9 @@
const path_1 = tslib_1.__importDefault(require("path"));
const yaml_1 = tslib_1.__importDefault(require("yaml"));
const manifest_1 = require("@forge/manifest");
const cli_shared_1 = require("@forge/cli-shared");
-const manifest_schema_json_1 = tslib_1.__importDefault(require("@forge/manifest/out/schema/manifest-schema.json"));
+const schema_json_1 = tslib_1.__importDefault(require("@forge/manifest/schema.json"));
const VALIDATION_KEYWORD_BY_VAR = {
moduleKey: /\bkey\b/,
functionKey: /\bfunction\b/,
resourceKey: /\bresources?\b/,
@@ -154,9 +154,9 @@
filePath: manifestPath,
yamlContent: merged,
yamlContentByLine: yamlString.split('\n')
};
- const schemaResult = await new manifest_1.SchemaValidator(manifest_schema_json_1.default).validate(validatorInput);
+ const schemaResult = await new manifest_1.SchemaValidator(schema_json_1.default).validate(validatorInput);
const modulesResult = await new manifest_1.ModulesValidator().validate({
...validatorInput,
typedContent: merged
});