Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
@twilio/flex-plugin-core-utils
Advanced tools
Node utility package that helps migrate Flex plugins to use Flex Declarative Component APIs
A core utility package written in Node TypeScript which helps build plugins for Flex.
It uses Facebook's JSCodeshift to parse through Flex plugin code and perform different operations like migration/validation.
Validates the given plugin files (TSX/JSX/TS/JS) for violation of a list of rules for a given Flex UI version. These rules include checks against the following:
validate(filePaths: string[], rules: Rules, config: RunnerConfig)
filePaths
- Paths to plugin files which needs to be validatedrules
- List of rules to check violations for in the given plugin filesconfig
- JSCodeshift runner configuration optionsMigrates the given plugin files (TSX/JSX/TS/JS) to use the latest Flex Declarative Component API used to build on top of Flex.
migrate(filePaths: string[], config: RunnerConfig)
filePaths
- Paths to plugin files which needs to be migratedconfig
- JSCodeshift runner configuration optionsThis is an utility package used by Twilio Flex Plugin Builder internally and is not meant to be used as a stand-alone package. We do not support it for use outside of Twilio.
FAQs
Node utility package that helps migrate Flex plugins to use Flex Declarative Component APIs
The npm package @twilio/flex-plugin-core-utils receives a total of 1 weekly downloads. As such, @twilio/flex-plugin-core-utils popularity was classified as not popular.
We found that @twilio/flex-plugin-core-utils demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.