@forge/manifest
13.3.0-next.1013.3.0-next.11
~
Modified (5 files)
Index: package/out/validators/resources-validator.js
===================================================================
--- package/out/validators/resources-validator.js
+++ package/out/validators/resources-validator.js
@@ -65,9 +65,9 @@
...(0, utils_1.findPosition)(moduleKey, yamlContentByLine)
});
return;
}
- if (module.render === 'native' && !resource.package && this.isHtmlEntryFile(entryPath)) {
+ if (module.render === 'native' && !resource.bundler && this.isHtmlEntryFile(entryPath)) {
validationErrors.push({
message: text_1.errors.resources.invalidUiKitEntryFileType(displayEntryPath, moduleKey),
reference: text_1.References.Resources,
level: 'error',
@@ -111,9 +111,9 @@
if (!resourceType) {
return;
}
Object.entries(entryMap).forEach(([entryKey, entryPath]) => {
- if (resourceType === 'native' && !resource.package && this.isHtmlEntryFile(entryPath)) {
+ if (resourceType === 'native' && !resource.bundler && this.isHtmlEntryFile(entryPath)) {
validationErrors.push({
message: text_1.errors.resources.invalidUiKitResourceEntryFileType(resource.key, entryKey, entryPath),
reference: text_1.References.Resources,
level: 'error',
@@ -189,9 +189,9 @@
const resourcePathDir = (0, path_1.resolve)(manifestDir, resourcePath);
if (!fs_1.default.existsSync(resourcePathDir)) {
return;
}
- if (module.render === 'native' && !resource.package) {
+ if (module.render === 'native' && !resource.bundler) {
if (fs_1.default.lstatSync(resourcePathDir).isDirectory()) {
validationErrors.push({
message: text_1.errors.modules.wrongResourceType(resourcePath),
reference: text_1.References.Resources, File too large for inline diff
Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
{
"name": "@forge/manifest",
- "version": "13.3.0-next.10",
+ "version": "13.3.0-next.11",
"description": "Definitions and validations of the Forge manifest",
"main": "out/index.js",
"scripts": {
"build": "yarn run compile", File too large for inline diff
File too large for inline diff