This is a Yeoman generator plugin to scaffold widgets as part of the Widget Development Kit. Using this generator, developers can quickly set up a new client-side widget project with sensible defaults and best practices.
This package is part of the Widget Development Kit, which is a collection of NPM packages that empower developers to create widgets for Ichicraft Boards.
All notable changes to this project will be documented here.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Optimized the sample code and the UI
- Optimized the questions asked by the generator
- Italian 🇮🇹 is now included as one of the default languages
- Polish 🇵🇱 is now included as one of the default languages
- Norwegian is removed as one of the default languages
-
deps: upped version of
@ichicraft/widgets-widget-base
to include latest features and properties in context object
- compiler target updated from ES5 to ES6 to focus on modern browsers only and reduce bundle size
- an issue where, during npm install, errors and warnings appeared related to peer dependencies
- some minor improvements to the questions asked to the user and to the scaffolded widget
- an option to scaffold a new widget that includes a bunch of code samples, showcasing some of the features of the Widget Development Kit
- fixed an issue that caused
npm run start
to fail with errorfsevents.watch is not a function
- fixed all warnings related to Sass using deprecated functionality
- fixed an issue that resulted in a failing build in the scaffolded widget, caused by a breaking change we recently made in the widget base class
- some updates and improvements were made to the Prettier and ESLint configuration
- fixed an issue that made the generator fail when not picking configuration options
- updated manifest.config.ts to upgrade @fluentui/react version in
externals
section - updated manifest.config.ts to set
widgetBoardCompatibilityVersion
to7
-
deps: upped version of
@ichicraft/widgets-widget-base
to include latest features
- updated manifest.config.ts to use new iconName property instead of preview_small
- added configuration in .eslintrc.json to prevent invalid React warnings
- some minor changes in manifest.config.ts
-
deps: upped version of
@ichicraft/widgets-widget-base
to include latest features - deps: upped version of most other dependencies to fully support Node v16
- included a new option "Use Prettier and ESLint" to keep everything tidy and compliant
-
deps: upped version of
@ichicraft/widgets-widget-base
to include latest features -
deps: upped version of
webpack
loaders
- Removed example for sending notifications: this feature will soon be deprecated and replaced with new functionality
- Fixed self signed certificate usage based on new cert location in newer SPFx versions
-
deps: upped version of
@ichicraft/widgets-widget-base
to include latest features
- Included new properties in manifest.config.ts:
externals
andmanifestVersion
-
manifestVersion
with value2
can be used together with newexternals
property to load dependencies from CDN - Check out our wiki for instructions on how to migrate your existing widgets to V2
-
deps: upped version of
@ichicraft/widgets-widget-base
to include latest features -
deps: migrated from
office-ui-fabric-react
to@fluentui/react
-
deps: migrated from
@uifabric/styling
to@fluentui/common-styles
-
deps: upped versions of
i18next
andi18next-react
-
deps: upped versions of
react
andreact-dom
-
deps: migrated from
uglifyjs-webpack-plugin
toterser-webpack-plugin
- added example implementation to scaffolded
App.tsx
of registering a custom command bar item to explain this new feature - deps: removed dependency @pnp/logging
- deps: upped version of @ichicraft/widgets-widget-base to include latest features
-
scriptUrl
is a new and required property of the manifest. Be sure to set it correctly before registering your widget in the widget board administration. -
deps: update dependency @ichicraft/widgets-widget-base to v1.0.5 to support
scriptUrl
property
No changelog was maintained for the earlier versions.