Skip to content

Commit

Permalink
feat(rust-plugins): 🎸 modular UI component build plugin for Farm. (#101)
Browse files Browse the repository at this point in the history
* feat(rust-plugins): 🎸 Added @farmfe/plugin-component

* feat(rust-plugins): 🎸 Update options.d.ts

* feat(rust-plugins): 🎸 Update playground

* docs(rust-plugins): ✏️ Update README

* docs(rust-plugins): ✏️ Update README

* feat(rust-plugins): 🎸 Update plugin version

* feat(rust-plugins): 🎸 add @farmfe/plugin-modular-import

* perf(rust-plugins): ⚡️ remove unuse file

* refactor(rust-plugins): 💡 Update to camelCase options

---------

Co-authored-by: xiongjie.xue <xiongjie.xue@lkcoffee.com>
  • Loading branch information
asasugar and xiongjie.xue authored Dec 30, 2024
1 parent cfaed10 commit fc1487d
Show file tree
Hide file tree
Showing 51 changed files with 8,505 additions and 3,558 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,9 @@ jobs:
name: ${{ github.sha }}-${{ matrix.settings.abi }}-worker
path: ./rust-plugins/worker/npm/${{ matrix.settings.abi }}/index.farm
if-no-files-found: ignore
- name: Upload Plugin modular-import
uses: actions/upload-artifact@v3
with:
name: ${{ github.sha }}-${{ matrix.settings.abi }}-modular-import
path: ./rust-plugins/modular-import/npm/${{ matrix.settings.abi }}/index.farm
if-no-files-found: ignore
2 changes: 1 addition & 1 deletion .github/workflows/release-rust-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: |
for abi in linux-x64-gnu linux-x64-musl darwin-x64 win32-x64-msvc linux-arm64-musl linux-arm64-gnu darwin-arm64 win32-ia32-msvc win32-arm64-msvc
do
for package in dsv react-components virtual yaml strip image url icons auto-import mdx wasm worker svgr
for package in dsv react-components virtual yaml strip image url icons auto-import mdx wasm worker svgr modular-import
do
folder_path="/tmp/artifacts/${{github.sha}}-${abi}-${package}"
if [ -d "${folder_path}" ] && [ -n "$(ls -A $folder_path)" ]; then
Expand Down
12 changes: 12 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
| [icons](rust-plugins/icons) | Load Access thousands of icons as components on-demand universally. (Inspired by [unplugin-icons](https://github.com/unplugin/unplugin-icons)) |
| [wasm](rust-plugins/wasm) | Add WebAssembly ESM integration support generated modules. |
| [worker](rust-plugins/worker) | A web worker script can be imported using new Worker() and new SharedWorker().(Inspired by [vite](https://github.com/vitejs/vite)) |
| [component](rust-plugins/component) | Modular UI library build plugin for Farm. |
| | |

### JavaScript plugins
Expand Down Expand Up @@ -56,4 +57,3 @@ Thanks to:
## Star History

[![Star History Chart](https://api.star-history.com/svg?repos=farm-fe/plugins&type=Timeline)](https://star-history.com/#farm-fe/plugins&Timeline)

Loading

0 comments on commit fc1487d

Please sign in to comment.