Aktualisiere Paketnamen und -pfade auf "dynamic-poll-web-part" in Konfigurationsdateien
This commit is contained in:
@@ -17,6 +17,10 @@ var styles = read('src/webparts/dynamicPoll/components/DynamicPoll.module.scss')
|
||||
|
||||
assert(packageJson.version === '1.0.0' && solution.version === '1.0.0.0', 'Version mismatch.');
|
||||
assert(solution.includeClientSideAssets === true && solution.skipFeatureDeployment === true, 'Central deployment missing.');
|
||||
assert(packageJson.name === 'dynamic-poll-web-part' && solution.name === 'dynamic-poll-web-part' &&
|
||||
solution.title === 'dynamic-poll-web-part', 'Dynamic Poll package naming is inconsistent.');
|
||||
assert(json('config/package-solution.json').paths.zippedPackage === 'solution/dynamic-poll-web-part.sppkg',
|
||||
'Dynamic Poll package file name is inconsistent.');
|
||||
assert(manifest.componentType === 'WebPart', 'Component is not a web part.');
|
||||
assert(webPart.indexOf("PropertyPaneDropdown('pollListId'") >= 0 && webPart.indexOf("PropertyPaneDropdown('answerListId'") >= 0,
|
||||
'List selection is missing.');
|
||||
|
||||
Reference in New Issue
Block a user