-
Notifications
You must be signed in to change notification settings - Fork 577
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
341f281
commit 709fb42
Showing
7 changed files
with
83 additions
and
51 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,45 @@ | ||
# @builder.io/mitosis-cli | ||
|
||
## 0.5.24 | ||
|
||
### Patch Changes | ||
|
||
- 995eb95: [All] Add new `explicitBuildFileExtensions` to `MitosisConfig`. This allows users to manage the extension of some components explicitly. This is very useful for plugins: | ||
|
||
```ts | ||
/** | ||
* Can be used for cli builds. Preserves explicit filename extensions when regex matches, e.g.: | ||
* { | ||
* explicitBuildFileExtension: { | ||
* ".ts":/*.figma.lite.tsx/g, | ||
* ".md":/*.docs.lite.tsx/g | ||
* } | ||
* } | ||
*/ | ||
explicitBuildFileExtensions?: Record<string, RegExp>; | ||
|
||
``` | ||
|
||
[All] Add new `pluginData` object to `MitosisComponent` which will be filled during build via cli. Users get some additional information to use them for plugins: | ||
|
||
```ts | ||
/** | ||
* This data is filled inside cli to provide more data for plugins | ||
*/ | ||
pluginData?: { | ||
target?: Target; | ||
path?: string; | ||
outputDir?: string; | ||
outputFilePath?: string; | ||
}; | ||
``` | ||
|
||
- 341f281: [All] add additional `build` type for [Plugin](https://github.com/BuilderIO/mitosis/blob/main/packages/core/src/types/plugins.ts) to allow users to run plugins before/after cli build process | ||
- Updated dependencies [995eb95] | ||
- Updated dependencies [341f281] | ||
- Updated dependencies [b387d21] | ||
- @builder.io/[email protected] | ||
|
||
## 0.5.23 | ||
|
||
### Patch Changes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters