Aktualisiere Paketnamen und -titel auf "accordion-web-part" in Konfigurationsdateien

This commit is contained in:
Torsten Brendgen
2026-08-24 10:36:03 +02:00
parent 4426893c8b
commit 200825c4af
4 changed files with 10 additions and 8 deletions
+4
View File
@@ -22,6 +22,10 @@ assert(packageJson.version === '1.0.0', 'Package version must be 1.0.0.');
assert(solution.version === '1.0.0.0', 'Solution version must be 1.0.0.0.');
assert(solution.includeClientSideAssets === true, 'Client-side assets must be included.');
assert(solution.skipFeatureDeployment === true, 'Solution must support central deployment.');
assert(packageJson.name === 'accordion-web-part' && solution.name === 'accordion-web-part' &&
solution.title === 'accordion-web-part', 'Accordion package naming is inconsistent.');
assert(json('config/package-solution.json').paths.zippedPackage === 'solution/accordion-web-part.sppkg',
'Accordion package file name is inconsistent.');
assert(manifest.componentType === 'WebPart', 'Component must be a web part.');
assert(!!config.bundles['accordion-web-part'], 'Accordion bundle is missing.');
assert(webPart.indexOf("PropertyPaneDropdown('listId'") >= 0, 'Dynamic list selection is missing.');