Aktualisiere Version auf 1.2.1, passe die Handhabung des WebPart-Titels an und aktualisiere die Versionsnummern in den Konfigurationsdateien
This commit is contained in:
@@ -18,8 +18,8 @@ var component = read('src/webparts/accordion/components/Accordion.tsx');
|
||||
var sanitizer = read('src/webparts/accordion/AccordionHtmlSanitizer.ts');
|
||||
var styles = read('src/webparts/accordion/components/Accordion.module.scss');
|
||||
|
||||
assert(packageJson.version === '1.2.0', 'Package version must be 1.2.0.');
|
||||
assert(solution.version === '1.2.0.0', 'Solution version must be 1.2.0.0.');
|
||||
assert(packageJson.version === '1.2.1', 'Package version must be 1.2.1.');
|
||||
assert(solution.version === '1.2.1.0', 'Solution version must be 1.2.1.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' &&
|
||||
@@ -32,6 +32,8 @@ assert(webPart.indexOf("PropertyPaneDropdown('listId'") >= 0, 'Dynamic list sele
|
||||
assert(webPart.indexOf("PropertyPaneTextField('title'") >= 0 &&
|
||||
component.indexOf('styles.webPartHeading') >= 0,
|
||||
'Configurable web part title is missing.');
|
||||
assert(webPart.indexOf("String(this.properties.title || '').trim()") >= 0,
|
||||
'An empty web part title must remain hidden.');
|
||||
assert(webPart.indexOf("PropertyPaneDropdown('contentField'") >= 0, 'Dynamic content field selection is missing.');
|
||||
assert(webPart.indexOf("PropertyPaneDropdown('categoryField'") >= 0, 'Category field selection is missing.');
|
||||
assert(webPart.indexOf("PropertyPaneDropdown('selectedCategory'") >= 0, 'Category value filter is missing.');
|
||||
|
||||
Reference in New Issue
Block a user