@forge/manifest 13.3.0-next.10 → 13.3.0-next.11
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/CHANGELOG.md
CHANGED
|
@@ -33517,7 +33517,7 @@
|
|
|
33517
33517
|
"path": {
|
|
33518
33518
|
"type": "string"
|
|
33519
33519
|
},
|
|
33520
|
-
"
|
|
33520
|
+
"bundler": {
|
|
33521
33521
|
"type": "string",
|
|
33522
33522
|
"enum": [
|
|
33523
33523
|
"manual@2026"
|
package/out/schema/manifest.d.ts
CHANGED
|
@@ -76728,7 +76728,7 @@ export interface HostedResourcesSchema {
|
|
|
76728
76728
|
/**
|
|
76729
76729
|
* For UI Kit resources only. When set, the CLI treats the resource path as already-built output.
|
|
76730
76730
|
*/
|
|
76731
|
-
|
|
76731
|
+
bundler?: 'manual@2026';
|
|
76732
76732
|
entry?: {
|
|
76733
76733
|
[k: string]: string;
|
|
76734
76734
|
};
|
|
@@ -66,7 +66,7 @@ class ResourcesValidator {
|
|
|
66
66
|
});
|
|
67
67
|
return;
|
|
68
68
|
}
|
|
69
|
-
if (module.render === 'native' && !resource.
|
|
69
|
+
if (module.render === 'native' && !resource.bundler && this.isHtmlEntryFile(entryPath)) {
|
|
70
70
|
validationErrors.push({
|
|
71
71
|
message: text_1.errors.resources.invalidUiKitEntryFileType(displayEntryPath, moduleKey),
|
|
72
72
|
reference: text_1.References.Resources,
|
|
@@ -112,7 +112,7 @@ class ResourcesValidator {
|
|
|
112
112
|
return;
|
|
113
113
|
}
|
|
114
114
|
Object.entries(entryMap).forEach(([entryKey, entryPath]) => {
|
|
115
|
-
if (resourceType === 'native' && !resource.
|
|
115
|
+
if (resourceType === 'native' && !resource.bundler && this.isHtmlEntryFile(entryPath)) {
|
|
116
116
|
validationErrors.push({
|
|
117
117
|
message: text_1.errors.resources.invalidUiKitResourceEntryFileType(resource.key, entryKey, entryPath),
|
|
118
118
|
reference: text_1.References.Resources,
|
|
@@ -190,7 +190,7 @@ class ResourcesValidator {
|
|
|
190
190
|
if (!fs_1.default.existsSync(resourcePathDir)) {
|
|
191
191
|
return;
|
|
192
192
|
}
|
|
193
|
-
if (module.render === 'native' && !resource.
|
|
193
|
+
if (module.render === 'native' && !resource.bundler) {
|
|
194
194
|
if (fs_1.default.lstatSync(resourcePathDir).isDirectory()) {
|
|
195
195
|
validationErrors.push({
|
|
196
196
|
message: text_1.errors.modules.wrongResourceType(resourcePath),
|