├── .husky ├── pre-commit └── commit-msg ├── js-plugins ├── copy │ ├── src │ │ └── type.d.ts │ └── CHANGELOG.md ├── babel │ └── CHANGELOG.md └── react-compiler │ └── CHANGELOG.md ├── .npmrc ├── rust-plugins ├── icons │ ├── types │ │ ├── vue.d.ts │ │ ├── svelte.d.ts │ │ ├── index.d.ts │ │ ├── raw.d.ts │ │ ├── web-components.d.ts │ │ ├── svelte3.d.ts │ │ ├── astro.d.ts │ │ ├── preact.d.ts │ │ └── qwik.d.ts │ ├── playground-react │ │ ├── index.js │ │ ├── src │ │ │ ├── typings.d.ts │ │ │ ├── assets │ │ │ │ └── logo.png │ │ │ └── index.tsx │ │ ├── postcss.config.mjs │ │ ├── tsconfig.node.json │ │ ├── index.html │ │ └── uno.config.ts │ ├── scripts │ │ ├── watch.sh │ │ ├── func.js │ │ └── index.d.ts │ ├── playground-vue │ │ ├── src │ │ │ ├── env.d.ts │ │ │ ├── assets │ │ │ │ ├── logo.png │ │ │ │ └── vue.svg │ │ │ └── index.ts │ │ ├── public │ │ │ └── favicon.ico │ │ ├── tsconfig.node.json │ │ ├── .gitignore │ │ ├── index.html │ │ └── README.md │ ├── pnpm-workspace.yaml │ ├── npm │ │ ├── darwin-x64 │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── darwin-arm64 │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-x64-gnu │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-ia32-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-x64-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-arm64-gnu │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-x64-musl │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-arm64-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ └── linux-arm64-musl │ │ │ ├── README.md │ │ │ └── package.json │ └── src │ │ ├── loader │ │ └── mod.rs │ │ └── compiler │ │ ├── react.rs │ │ ├── preact.rs │ │ └── solid.rs ├── image │ ├── playground │ │ ├── index.js │ │ ├── src │ │ │ ├── typings.d.ts │ │ │ ├── assets │ │ │ │ └── logo.png │ │ │ └── index.tsx │ │ ├── tsconfig.node.json │ │ ├── farm.config.ts │ │ └── index.html │ ├── scripts │ │ ├── watch.sh │ │ ├── func.js │ │ └── index.d.ts │ ├── pnpm-workspace.yaml │ ├── npm │ │ ├── darwin-x64 │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── darwin-arm64 │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-x64-gnu │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-ia32-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-x64-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-arm64-gnu │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-x64-musl │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-arm64-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ └── linux-arm64-musl │ │ │ ├── README.md │ │ │ └── package.json │ └── Cargo.toml ├── svgr │ ├── playground │ │ ├── index.js │ │ ├── src │ │ │ ├── typings.d.ts │ │ │ ├── assets │ │ │ │ └── logo.png │ │ │ └── index.tsx │ │ ├── public │ │ │ └── favicon.ico │ │ ├── tsconfig.node.json │ │ ├── farm.config.ts │ │ └── index.html │ ├── scripts │ │ ├── watch.sh │ │ ├── func.js │ │ └── index.d.ts │ ├── pnpm-workspace.yaml │ ├── npm │ │ ├── darwin-x64 │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── darwin-arm64 │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-ia32-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-x64-gnu │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-x64-musl │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-arm64-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-x64-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-arm64-gnu │ │ │ ├── README.md │ │ │ └── package.json │ │ └── linux-arm64-musl │ │ │ ├── README.md │ │ │ └── package.json │ ├── options.d.ts │ ├── src │ │ └── options.rs │ ├── CHANGELOG.md │ └── Cargo.toml ├── url │ ├── playground │ │ ├── index.js │ │ ├── src │ │ │ ├── typings.d.ts │ │ │ ├── assets │ │ │ │ └── logo.png │ │ │ └── index.tsx │ │ ├── tsconfig.node.json │ │ ├── index.html │ │ └── README.md │ ├── scripts │ │ ├── watch.sh │ │ ├── func.js │ │ └── index.d.ts │ ├── pnpm-workspace.yaml │ ├── npm │ │ ├── darwin-x64 │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── darwin-arm64 │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-ia32-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-x64-gnu │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-arm64-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-x64-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-arm64-gnu │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-x64-musl │ │ │ ├── README.md │ │ │ └── package.json │ │ └── linux-arm64-musl │ │ │ ├── README.md │ │ │ └── package.json │ └── options.d.ts ├── worker │ ├── playground │ │ ├── index.js │ │ ├── src │ │ │ ├── worker │ │ │ │ ├── util.ts │ │ │ │ ├── comlink.worker.ts │ │ │ │ ├── vue.worker.ts │ │ │ │ └── test.worker.ts │ │ │ ├── typings.d.ts │ │ │ └── assets │ │ │ │ └── logo.png │ │ ├── public │ │ │ └── favicon.ico │ │ ├── tsconfig.node.json │ │ └── index.html │ ├── scripts │ │ ├── watch.sh │ │ ├── func.js │ │ └── index.d.ts │ ├── pnpm-workspace.yaml │ ├── npm │ │ ├── darwin-x64 │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── darwin-arm64 │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-ia32-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-x64-gnu │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-arm64-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-x64-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-arm64-gnu │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-x64-musl │ │ │ ├── README.md │ │ │ └── package.json │ │ └── linux-arm64-musl │ │ │ ├── README.md │ │ │ └── package.json │ ├── options.d.ts │ └── Cargo.toml ├── auto-import │ ├── src │ │ ├── addons │ │ │ └── mod.rs │ │ ├── parser │ │ │ ├── mod.rs │ │ │ └── stringify_imports.rs │ │ └── presets │ │ │ ├── vue_router.rs │ │ │ ├── react.rs │ │ │ └── react_router_dom.rs │ ├── playground-react │ │ ├── index.js │ │ ├── src │ │ │ ├── typings.d.ts │ │ │ ├── apis │ │ │ │ ├── index.ts │ │ │ │ ├── css │ │ │ │ │ └── index.ts │ │ │ │ └── auth │ │ │ │ │ └── login.ts │ │ │ ├── assets │ │ │ │ └── logo.png │ │ │ └── index.tsx │ │ ├── public │ │ │ └── favicon.ico │ │ ├── tsconfig.node.json │ │ └── index.html │ ├── scripts │ │ ├── watch.sh │ │ ├── func.js │ │ └── index.d.ts │ ├── playground-vue │ │ ├── src │ │ │ ├── apis │ │ │ │ ├── name.ts │ │ │ │ └── index.ts │ │ │ ├── env.d.ts │ │ │ ├── assets │ │ │ │ ├── logo.png │ │ │ │ └── vue.svg │ │ │ └── index.ts │ │ ├── public │ │ │ └── favicon.ico │ │ ├── tsconfig.node.json │ │ ├── .gitignore │ │ └── index.html │ ├── pnpm-workspace.yaml │ ├── npm │ │ ├── darwin-x64 │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── darwin-arm64 │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-ia32-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-x64-gnu │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-arm64-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-x64-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-arm64-gnu │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-x64-musl │ │ │ ├── README.md │ │ │ └── package.json │ │ └── linux-arm64-musl │ │ │ ├── README.md │ │ │ └── package.json │ └── Cargo.toml ├── compress │ ├── playground │ │ ├── index.js │ │ ├── src │ │ │ ├── typings.d.ts │ │ │ ├── assets │ │ │ │ └── logo.png │ │ │ └── index.tsx │ │ ├── public │ │ │ └── favicon.ico │ │ ├── tsconfig.node.json │ │ ├── index.html │ │ └── README.md │ ├── scripts │ │ ├── watch.sh │ │ ├── func.js │ │ └── index.d.ts │ ├── pnpm-workspace.yaml │ ├── npm │ │ ├── darwin-x64 │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── darwin-arm64 │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-ia32-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-x64-gnu │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-arm64-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-x64-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-arm64-gnu │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-x64-musl │ │ │ ├── README.md │ │ │ └── package.json │ │ └── linux-arm64-musl │ │ │ ├── README.md │ │ │ └── package.json │ ├── CHANGELOG.md │ └── Cargo.toml ├── dsv │ ├── scripts │ │ ├── watch.sh │ │ ├── func.js │ │ └── index.d.ts │ ├── npm │ │ ├── darwin-x64 │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── darwin-arm64 │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-ia32-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-x64-gnu │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-arm64-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-x64-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-arm64-gnu │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-x64-musl │ │ │ ├── README.md │ │ │ └── package.json │ │ └── linux-arm64-musl │ │ │ ├── README.md │ │ │ └── package.json │ └── Cargo.toml ├── mdx │ ├── scripts │ │ ├── watch.sh │ │ ├── func.js │ │ └── index.d.ts │ ├── npm │ │ ├── darwin-x64 │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── darwin-arm64 │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-ia32-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-x64-gnu │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-arm64-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-x64-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-arm64-gnu │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-x64-musl │ │ │ ├── README.md │ │ │ └── package.json │ │ └── linux-arm64-musl │ │ │ ├── README.md │ │ │ └── package.json │ ├── options.d.ts │ └── Cargo.toml ├── modular-import │ ├── playground │ │ ├── index.js │ │ ├── public │ │ │ └── favicon.ico │ │ ├── src │ │ │ ├── assets │ │ │ │ └── logo.png │ │ │ └── main.js │ │ ├── tsconfig.node.json │ │ └── index.html │ ├── rustfmt.toml │ ├── scripts │ │ ├── watch.sh │ │ ├── func.js │ │ └── index.d.ts │ ├── pnpm-workspace.yaml │ ├── npm │ │ ├── darwin-x64 │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── darwin-arm64 │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-ia32-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-x64-gnu │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-x64-musl │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-arm64-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-x64-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-arm64-gnu │ │ │ ├── README.md │ │ │ └── package.json │ │ └── linux-arm64-musl │ │ │ ├── README.md │ │ │ └── package.json │ ├── options.d.ts │ ├── CHANGELOG.md │ ├── src │ │ └── default.rs │ └── Cargo.toml ├── react-components │ ├── playground │ │ ├── index.js │ │ ├── src │ │ │ ├── typings.d.ts │ │ │ ├── assets │ │ │ │ ├── com.d.ts │ │ │ │ └── logo.png │ │ │ ├── components │ │ │ │ ├── ComponentB.tsx │ │ │ │ ├── ComponentA.tsx │ │ │ │ ├── ComponentC.tsx │ │ │ │ ├── ComponentD.tsx │ │ │ │ └── ComponentE.tsx │ │ │ └── index.tsx │ │ ├── tsconfig.node.json │ │ └── index.html │ ├── scripts │ │ ├── watch.sh │ │ ├── func.js │ │ └── index.d.ts │ ├── pnpm-workspace.yaml │ └── npm │ │ ├── darwin-x64 │ │ ├── README.md │ │ └── package.json │ │ ├── darwin-arm64 │ │ ├── README.md │ │ └── package.json │ │ ├── win32-ia32-msvc │ │ ├── README.md │ │ └── package.json │ │ ├── linux-x64-gnu │ │ ├── README.md │ │ └── package.json │ │ ├── win32-arm64-msvc │ │ ├── README.md │ │ └── package.json │ │ ├── win32-x64-msvc │ │ ├── README.md │ │ └── package.json │ │ ├── linux-arm64-gnu │ │ ├── README.md │ │ └── package.json │ │ ├── linux-x64-musl │ │ ├── README.md │ │ └── package.json │ │ └── linux-arm64-musl │ │ ├── README.md │ │ └── package.json ├── wasm │ ├── scripts │ │ ├── watch.sh │ │ ├── func.js │ │ └── index.d.ts │ ├── options.d.ts │ ├── pnpm-workspace.yaml │ ├── rust-wasm │ │ ├── .gitignore │ │ ├── src │ │ │ └── lib.rs │ │ └── Cargo.toml │ ├── playground │ │ ├── src │ │ │ ├── typings.d.ts │ │ │ ├── assets │ │ │ │ ├── logo.png │ │ │ │ └── json_typegen_wasm_bg.wasm │ │ │ └── index.tsx │ │ ├── public │ │ │ └── favicon.ico │ │ ├── tsconfig.node.json │ │ └── index.html │ ├── npm │ │ ├── darwin-x64 │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── darwin-arm64 │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-ia32-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-x64-gnu │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-x64-musl │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-arm64-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-x64-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-arm64-gnu │ │ │ ├── README.md │ │ │ └── package.json │ │ └── linux-arm64-musl │ │ │ ├── README.md │ │ │ └── package.json │ ├── types │ │ └── index.d.ts │ └── Cargo.toml ├── yaml │ ├── scripts │ │ ├── watch.sh │ │ ├── func.js │ │ └── index.d.ts │ ├── options.d.ts │ ├── npm │ │ ├── darwin-x64 │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── darwin-arm64 │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-ia32-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-x64-gnu │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-x64-musl │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-arm64-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-x64-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-arm64-gnu │ │ │ ├── README.md │ │ │ └── package.json │ │ └── linux-arm64-musl │ │ │ ├── README.md │ │ │ └── package.json │ └── Cargo.toml ├── strip │ ├── pnpm-workspace.yaml │ ├── scripts │ │ ├── func.js │ │ └── index.d.ts │ ├── playground │ │ ├── src │ │ │ ├── typings.d.ts │ │ │ └── assets │ │ │ │ └── logo.png │ │ ├── public │ │ │ └── favicon.ico │ │ ├── tsconfig.node.json │ │ ├── .gitignore │ │ └── index.html │ ├── npm │ │ ├── darwin-x64 │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── darwin-arm64 │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-x64-gnu │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-ia32-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-x64-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-arm64-gnu │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── linux-x64-musl │ │ │ ├── README.md │ │ │ └── package.json │ │ ├── win32-arm64-msvc │ │ │ ├── README.md │ │ │ └── package.json │ │ └── linux-arm64-musl │ │ │ ├── README.md │ │ │ └── package.json │ ├── options.d.ts │ └── Cargo.toml └── virtual │ ├── pnpm-workspace.yaml │ ├── scripts │ ├── func.js │ └── index.d.ts │ ├── playground │ ├── src │ │ ├── typings.d.ts │ │ ├── assets │ │ │ └── logo.png │ │ └── index.tsx │ ├── public │ │ └── favicon.ico │ ├── tsconfig.node.json │ ├── .gitignore │ ├── farm.config.ts │ └── index.html │ ├── npm │ ├── darwin-x64 │ │ ├── README.md │ │ └── package.json │ ├── darwin-arm64 │ │ ├── README.md │ │ └── package.json │ ├── win32-ia32-msvc │ │ ├── README.md │ │ └── package.json │ ├── linux-x64-gnu │ │ ├── README.md │ │ └── package.json │ ├── linux-x64-musl │ │ ├── README.md │ │ └── package.json │ ├── win32-arm64-msvc │ │ ├── README.md │ │ └── package.json │ ├── win32-x64-msvc │ │ ├── README.md │ │ └── package.json │ ├── linux-arm64-gnu │ │ ├── README.md │ │ └── package.json │ └── linux-arm64-musl │ │ ├── README.md │ │ └── package.json │ └── Cargo.toml ├── rustfmt.toml ├── examples ├── mdx │ ├── src │ │ ├── 01.mdx │ │ ├── assets │ │ │ └── logo.png │ │ ├── typings.d.ts │ │ └── index.tsx │ ├── public │ │ └── favicon.ico │ ├── CHANGELOG.md │ ├── tsconfig.node.json │ ├── .gitignore │ ├── farm.config.ts │ ├── index.html │ └── README.md ├── vuetify │ ├── env.d.ts │ ├── .browserslistrc │ ├── src │ │ ├── env.d.ts │ │ ├── assets │ │ │ ├── logo.png │ │ │ └── logo.svg │ │ ├── plugins │ │ │ ├── README.md │ │ │ ├── index.ts │ │ │ └── vuetify.ts │ │ ├── App.vue │ │ └── main.ts │ ├── public │ │ └── favicon.ico │ ├── .editorconfig │ ├── tsconfig.json │ ├── .gitignore │ ├── components.d.ts │ ├── index.html │ ├── tsconfig.app.json │ └── tsconfig.node.json ├── virtual │ ├── src │ │ ├── typings.d.ts │ │ ├── assets │ │ │ └── logo.png │ │ └── index.tsx │ ├── public │ │ └── favicon.ico │ ├── farm.config.ts │ ├── tsconfig.node.json │ ├── .gitignore │ ├── index.html │ └── README.md └── babel-react-compiler │ ├── src │ ├── index.jsx │ └── App.jsx │ ├── index.html │ ├── CHANGELOG.md │ └── farm.config.ts ├── .editorconfig ├── .vscode ├── settings.json └── extensions.json ├── pnpm-workspace.yaml ├── .changeset ├── tender-cats-swim.md ├── beige-eyes-repeat.md ├── late-moles-decide.md ├── config.json ├── config.v1.json ├── README.md └── brown-turkeys-clean.md ├── rust-toolchain.toml ├── Cargo.toml └── .github └── workflows └── ci.yaml /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /js-plugins/copy/src/type.d.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | registry=https://registry.npmjs.org/ 2 | -------------------------------------------------------------------------------- /rust-plugins/icons/types/vue.d.ts: -------------------------------------------------------------------------------- 1 | import './vue3' 2 | -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- 1 | tab_spaces = 2 2 | edition = "2021" 3 | -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- 1 | npx --no-install commitlint --edit "$1" -------------------------------------------------------------------------------- /examples/mdx/src/01.mdx: -------------------------------------------------------------------------------- 1 | # hello world1 2 | 3 | ## hello world2 -------------------------------------------------------------------------------- /rust-plugins/image/playground/index.js: -------------------------------------------------------------------------------- 1 | console.log("lib") 2 | -------------------------------------------------------------------------------- /rust-plugins/svgr/playground/index.js: -------------------------------------------------------------------------------- 1 | console.log("lib") 2 | -------------------------------------------------------------------------------- /rust-plugins/url/playground/index.js: -------------------------------------------------------------------------------- 1 | console.log("lib") 2 | -------------------------------------------------------------------------------- /rust-plugins/worker/playground/index.js: -------------------------------------------------------------------------------- 1 | console.log("lib") 2 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | [*] 2 | indent_size = 2 3 | indent_style = space 4 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "cSpell.words": ["Svgr"] 3 | } 4 | -------------------------------------------------------------------------------- /examples/vuetify/env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/src/addons/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod vue_template; 2 | -------------------------------------------------------------------------------- /rust-plugins/compress/playground/index.js: -------------------------------------------------------------------------------- 1 | console.log("lib") 2 | -------------------------------------------------------------------------------- /rust-plugins/icons/playground-react/index.js: -------------------------------------------------------------------------------- 1 | console.log("lib") 2 | -------------------------------------------------------------------------------- /rust-plugins/icons/types/svelte.d.ts: -------------------------------------------------------------------------------- 1 | import './svelte4.d.ts' 2 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/playground-react/index.js: -------------------------------------------------------------------------------- 1 | console.log("lib") 2 | -------------------------------------------------------------------------------- /rust-plugins/dsv/scripts/watch.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | npm run build 4 | -------------------------------------------------------------------------------- /rust-plugins/mdx/scripts/watch.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | npm run build 4 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/playground/index.js: -------------------------------------------------------------------------------- 1 | console.log("lib") 2 | -------------------------------------------------------------------------------- /rust-plugins/react-components/playground/index.js: -------------------------------------------------------------------------------- 1 | console.log("lib") 2 | -------------------------------------------------------------------------------- /rust-plugins/svgr/scripts/watch.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | npm run build 4 | -------------------------------------------------------------------------------- /rust-plugins/url/scripts/watch.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | npm run build 4 | -------------------------------------------------------------------------------- /rust-plugins/wasm/scripts/watch.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | npm run build 4 | -------------------------------------------------------------------------------- /rust-plugins/yaml/scripts/watch.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | npm run build 4 | -------------------------------------------------------------------------------- /rust-plugins/compress/scripts/watch.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | npm run build 4 | -------------------------------------------------------------------------------- /rust-plugins/icons/scripts/watch.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | npm run build 4 | -------------------------------------------------------------------------------- /rust-plugins/image/scripts/watch.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | npm run build 4 | -------------------------------------------------------------------------------- /rust-plugins/worker/scripts/watch.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | npm run build 4 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/scripts/watch.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | npm run build 4 | -------------------------------------------------------------------------------- /rust-plugins/icons/types/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from '../dist/types' 2 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/rustfmt.toml: -------------------------------------------------------------------------------- 1 | tab_spaces = 2 2 | edition = "2021" 3 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/scripts/watch.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | npm run build 4 | -------------------------------------------------------------------------------- /rust-plugins/svgr/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - '.' 3 | - playground 4 | -------------------------------------------------------------------------------- /rust-plugins/url/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - '.' 3 | - playground 4 | -------------------------------------------------------------------------------- /rust-plugins/wasm/options.d.ts: -------------------------------------------------------------------------------- 1 | export interface IPluginOptions { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /rust-plugins/wasm/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - '.' 3 | - playground 4 | -------------------------------------------------------------------------------- /rust-plugins/yaml/options.d.ts: -------------------------------------------------------------------------------- 1 | export interface IPluginOptions { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /examples/vuetify/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | not ie 11 5 | -------------------------------------------------------------------------------- /rust-plugins/compress/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - '.' 3 | - playground 4 | -------------------------------------------------------------------------------- /rust-plugins/image/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - '.' 3 | - playground 4 | -------------------------------------------------------------------------------- /rust-plugins/react-components/scripts/watch.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | npm run build 4 | -------------------------------------------------------------------------------- /rust-plugins/strip/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - '.' 3 | - playground 4 | -------------------------------------------------------------------------------- /rust-plugins/virtual/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - '.' 3 | - playground 4 | -------------------------------------------------------------------------------- /rust-plugins/worker/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - '.' 3 | - playground 4 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - '.' 3 | - playground 4 | -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - rust-plugins/* 3 | - examples/* 4 | - js-plugins/* 5 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/playground-vue/src/apis/name.ts: -------------------------------------------------------------------------------- 1 | export default function name() {} 2 | -------------------------------------------------------------------------------- /rust-plugins/react-components/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - '.' 3 | - playground 4 | -------------------------------------------------------------------------------- /rust-plugins/icons/playground-vue/src/env.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.vue'; 2 | declare module '*.svg'; 3 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": [ 3 | "rust-lang.rust-analyzer" 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/playground-vue/src/env.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.vue'; 2 | declare module '*.svg'; 3 | -------------------------------------------------------------------------------- /rust-plugins/worker/playground/src/worker/util.ts: -------------------------------------------------------------------------------- 1 | export const count = (a: number, b: number) => a + b; 2 | -------------------------------------------------------------------------------- /examples/mdx/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/examples/mdx/public/favicon.ico -------------------------------------------------------------------------------- /examples/vuetify/src/env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | 3 | declare module '*.vue'; 4 | -------------------------------------------------------------------------------- /rust-plugins/icons/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - '.' 3 | - playground-react 4 | - playground-vue 5 | -------------------------------------------------------------------------------- /.changeset/tender-cats-swim.md: -------------------------------------------------------------------------------- 1 | --- 2 | "@farmfe/plugin-virtual": patch 3 | --- 4 | 5 | fix: camelCase StructValue 6 | -------------------------------------------------------------------------------- /examples/mdx/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # mdx 2 | 3 | ## 1.0.1 4 | 5 | ### Patch Changes 6 | 7 | - chore: update farm version 8 | -------------------------------------------------------------------------------- /examples/mdx/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/examples/mdx/src/assets/logo.png -------------------------------------------------------------------------------- /examples/virtual/src/typings.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.svg'; 2 | declare module '*.png'; 3 | declare module '*.css'; 4 | -------------------------------------------------------------------------------- /rust-plugins/wasm/rust-wasm/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | **/*.rs.bk 3 | Cargo.lock 4 | bin/ 5 | pkg/ 6 | wasm-pack.log 7 | -------------------------------------------------------------------------------- /examples/virtual/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/examples/virtual/public/favicon.ico -------------------------------------------------------------------------------- /examples/virtual/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/examples/virtual/src/assets/logo.png -------------------------------------------------------------------------------- /examples/vuetify/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/examples/vuetify/public/favicon.ico -------------------------------------------------------------------------------- /examples/vuetify/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/examples/vuetify/src/assets/logo.png -------------------------------------------------------------------------------- /rust-plugins/auto-import/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - '.' 3 | - playground-vue 4 | - playground-react 5 | -------------------------------------------------------------------------------- /.changeset/beige-eyes-repeat.md: -------------------------------------------------------------------------------- 1 | --- 2 | "@farmfe/plugin-virtual": patch 3 | --- 4 | 5 | fix(virtual): options camelCase 6 | -------------------------------------------------------------------------------- /.changeset/late-moles-decide.md: -------------------------------------------------------------------------------- 1 | --- 2 | "@farmfe/plugin-worker": patch 3 | --- 4 | 5 | Fix invalid worker output extension 6 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/playground-vue/src/apis/index.ts: -------------------------------------------------------------------------------- 1 | export const getName = () => { 2 | console.log("getName"); 3 | } 4 | -------------------------------------------------------------------------------- /rust-plugins/dsv/scripts/func.js: -------------------------------------------------------------------------------- 1 | import binPath from "./index.js"; 2 | 3 | export default (options)=>[binPath,options]; 4 | -------------------------------------------------------------------------------- /rust-plugins/icons/scripts/func.js: -------------------------------------------------------------------------------- 1 | import binPath from "./index.js"; 2 | 3 | export default (options)=>[binPath,options]; 4 | -------------------------------------------------------------------------------- /rust-plugins/image/scripts/func.js: -------------------------------------------------------------------------------- 1 | import binPath from "./index.js"; 2 | 3 | export default (options)=>[binPath,options]; 4 | -------------------------------------------------------------------------------- /rust-plugins/mdx/scripts/func.js: -------------------------------------------------------------------------------- 1 | import binPath from "./index.js"; 2 | 3 | export default (options)=>[binPath,options]; 4 | -------------------------------------------------------------------------------- /rust-plugins/strip/scripts/func.js: -------------------------------------------------------------------------------- 1 | import binPath from "./index.js"; 2 | 3 | export default (options)=>[binPath,options]; 4 | -------------------------------------------------------------------------------- /rust-plugins/svgr/scripts/func.js: -------------------------------------------------------------------------------- 1 | import binPath from "./index.js"; 2 | 3 | export default (options)=>[binPath,options]; 4 | -------------------------------------------------------------------------------- /rust-plugins/url/playground/src/typings.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.svg'; 2 | declare module '*.png'; 3 | declare module '*.css'; 4 | -------------------------------------------------------------------------------- /rust-plugins/url/scripts/func.js: -------------------------------------------------------------------------------- 1 | import binPath from "./index.js"; 2 | 3 | export default (options)=>[binPath,options]; 4 | -------------------------------------------------------------------------------- /rust-plugins/virtual/scripts/func.js: -------------------------------------------------------------------------------- 1 | import binPath from "./index.js"; 2 | 3 | export default (options)=>[binPath,options]; 4 | -------------------------------------------------------------------------------- /rust-plugins/wasm/scripts/func.js: -------------------------------------------------------------------------------- 1 | import binPath from "./index.js"; 2 | 3 | export default (options)=>[binPath,options]; 4 | -------------------------------------------------------------------------------- /rust-plugins/worker/scripts/func.js: -------------------------------------------------------------------------------- 1 | import binPath from "./index.js"; 2 | 3 | export default (options)=>[binPath,options]; 4 | -------------------------------------------------------------------------------- /rust-plugins/yaml/scripts/func.js: -------------------------------------------------------------------------------- 1 | import binPath from "./index.js"; 2 | 3 | export default (options)=>[binPath,options]; 4 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/scripts/func.js: -------------------------------------------------------------------------------- 1 | import binPath from "./index.js"; 2 | 3 | export default (options)=>[binPath,options]; 4 | -------------------------------------------------------------------------------- /rust-plugins/compress/playground/src/typings.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.svg'; 2 | declare module '*.png'; 3 | declare module '*.css'; 4 | -------------------------------------------------------------------------------- /rust-plugins/compress/scripts/func.js: -------------------------------------------------------------------------------- 1 | import binPath from "./index.js"; 2 | 3 | export default (options)=>[binPath,options]; 4 | -------------------------------------------------------------------------------- /rust-plugins/image/playground/src/typings.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.svg'; 2 | declare module '*.png'; 3 | declare module '*.css'; 4 | -------------------------------------------------------------------------------- /rust-plugins/strip/playground/src/typings.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.svg'; 2 | declare module '*.png'; 3 | declare module '*.css'; 4 | -------------------------------------------------------------------------------- /rust-plugins/svgr/playground/src/typings.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.svg'; 2 | declare module '*.png'; 3 | declare module '*.css'; 4 | -------------------------------------------------------------------------------- /rust-plugins/virtual/playground/src/typings.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.svg'; 2 | declare module '*.png'; 3 | declare module '*.css'; 4 | -------------------------------------------------------------------------------- /rust-plugins/wasm/playground/src/typings.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.svg'; 2 | declare module '*.png'; 3 | declare module '*.css'; 4 | -------------------------------------------------------------------------------- /rust-plugins/worker/playground/src/typings.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.svg'; 2 | declare module '*.png'; 3 | declare module '*.css'; 4 | -------------------------------------------------------------------------------- /rust-plugins/icons/playground-react/src/typings.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.svg'; 2 | declare module '*.png'; 3 | declare module '*.css'; 4 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/scripts/func.js: -------------------------------------------------------------------------------- 1 | import binPath from "./index.js"; 2 | 3 | export default (options)=>[binPath,options]; 4 | -------------------------------------------------------------------------------- /rust-plugins/react-components/scripts/func.js: -------------------------------------------------------------------------------- 1 | import binPath from "./index.js"; 2 | 3 | export default (options)=>[binPath,options]; 4 | -------------------------------------------------------------------------------- /rust-toolchain.toml: -------------------------------------------------------------------------------- 1 | [toolchain] 2 | channel = "nightly-2025-05-06" 3 | components = ["clippy", "rustfmt", "rust-src", "rustc-dev"] 4 | -------------------------------------------------------------------------------- /examples/mdx/src/typings.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.svg'; 2 | declare module '*.png'; 3 | declare module '*.css'; 4 | declare module '*.mdx'; 5 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/playground-react/src/typings.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.svg'; 2 | declare module '*.png'; 3 | declare module '*.css'; 4 | -------------------------------------------------------------------------------- /rust-plugins/react-components/playground/src/typings.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.svg'; 2 | declare module '*.png'; 3 | declare module '*.css'; 4 | -------------------------------------------------------------------------------- /rust-plugins/strip/playground/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/rust-plugins/strip/playground/public/favicon.ico -------------------------------------------------------------------------------- /rust-plugins/svgr/playground/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/rust-plugins/svgr/playground/public/favicon.ico -------------------------------------------------------------------------------- /rust-plugins/svgr/playground/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/rust-plugins/svgr/playground/src/assets/logo.png -------------------------------------------------------------------------------- /rust-plugins/url/playground/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/rust-plugins/url/playground/src/assets/logo.png -------------------------------------------------------------------------------- /rust-plugins/wasm/playground/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/rust-plugins/wasm/playground/public/favicon.ico -------------------------------------------------------------------------------- /rust-plugins/wasm/playground/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/rust-plugins/wasm/playground/src/assets/logo.png -------------------------------------------------------------------------------- /rust-plugins/compress/playground/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/rust-plugins/compress/playground/public/favicon.ico -------------------------------------------------------------------------------- /rust-plugins/image/playground/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/rust-plugins/image/playground/src/assets/logo.png -------------------------------------------------------------------------------- /rust-plugins/mdx/npm/darwin-x64/README.md: -------------------------------------------------------------------------------- 1 | # `farm-plugin-mdx-darwin-x64` 2 | 3 | This is the **x86_64-apple-darwin** binary for `farm-plugin-mdx` 4 | -------------------------------------------------------------------------------- /rust-plugins/strip/playground/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/rust-plugins/strip/playground/src/assets/logo.png -------------------------------------------------------------------------------- /rust-plugins/virtual/playground/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/rust-plugins/virtual/playground/public/favicon.ico -------------------------------------------------------------------------------- /rust-plugins/virtual/playground/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/rust-plugins/virtual/playground/src/assets/logo.png -------------------------------------------------------------------------------- /rust-plugins/worker/playground/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/rust-plugins/worker/playground/public/favicon.ico -------------------------------------------------------------------------------- /rust-plugins/worker/playground/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/rust-plugins/worker/playground/src/assets/logo.png -------------------------------------------------------------------------------- /rust-plugins/auto-import/playground-react/src/apis/index.ts: -------------------------------------------------------------------------------- 1 | export const getName = ()=>{ 2 | return login().name 3 | } 4 | 5 | export * from "./css" 6 | -------------------------------------------------------------------------------- /rust-plugins/compress/playground/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/rust-plugins/compress/playground/src/assets/logo.png -------------------------------------------------------------------------------- /rust-plugins/dsv/npm/darwin-x64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-dsv-darwin-x64` 2 | 3 | This is the **x86_64-apple-darwin** binary for `@farmfe/plugin-dsv` 4 | -------------------------------------------------------------------------------- /rust-plugins/icons/playground-vue/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/rust-plugins/icons/playground-vue/public/favicon.ico -------------------------------------------------------------------------------- /rust-plugins/icons/playground-vue/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/rust-plugins/icons/playground-vue/src/assets/logo.png -------------------------------------------------------------------------------- /rust-plugins/mdx/npm/darwin-arm64/README.md: -------------------------------------------------------------------------------- 1 | # `farm-plugin-mdx-darwin-arm64` 2 | 3 | This is the **aarch64-apple-darwin** binary for `farm-plugin-mdx` 4 | -------------------------------------------------------------------------------- /rust-plugins/mdx/npm/win32-ia32-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `farm-plugin-mdx-win32-ia32-msvc` 2 | 3 | This is the i686-pc-windows-msvc binary for `farm-plugin-mdx` 4 | -------------------------------------------------------------------------------- /rust-plugins/react-components/playground/src/assets/com.d.ts: -------------------------------------------------------------------------------- 1 | /* generated by farm_plugin_react_components */ 2 | export {} 3 | declare global { 4 | } 5 | -------------------------------------------------------------------------------- /rust-plugins/react-components/playground/src/components/ComponentB.tsx: -------------------------------------------------------------------------------- 1 | export const ComponentB = () => { 2 | return 3 | } 4 | -------------------------------------------------------------------------------- /rust-plugins/url/npm/darwin-x64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-url-darwin-x64` 2 | 3 | This is the **x86_64-apple-darwin** binary for `@farmfe/plugin-url` 4 | -------------------------------------------------------------------------------- /rust-plugins/dsv/npm/darwin-arm64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-dsv-darwin-arm64` 2 | 3 | This is the **aarch64-apple-darwin** binary for `@farmfe/plugin-dsv` 4 | -------------------------------------------------------------------------------- /rust-plugins/dsv/npm/win32-ia32-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-dsv-win32-ia32-msvc` 2 | 3 | This is the i686-pc-windows-msvc binary for `@farmfe/plugin-dsv` 4 | -------------------------------------------------------------------------------- /rust-plugins/icons/npm/darwin-x64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-icons-darwin-x64` 2 | 3 | This is the **x86_64-apple-darwin** binary for `@farmfe/plugin-icons` 4 | -------------------------------------------------------------------------------- /rust-plugins/icons/playground-react/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/rust-plugins/icons/playground-react/src/assets/logo.png -------------------------------------------------------------------------------- /rust-plugins/image/npm/darwin-x64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-image-darwin-x64` 2 | 3 | This is the **x86_64-apple-darwin** binary for `@farmfe/plugin-image` 4 | -------------------------------------------------------------------------------- /rust-plugins/mdx/npm/linux-x64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `farm-plugin-mdx-linux-x64-gnu` 2 | 3 | This is the **x86_64-unknown-linux-gnu** binary for `farm-plugin-mdx` 4 | -------------------------------------------------------------------------------- /rust-plugins/mdx/npm/win32-arm64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `farm-plugin-mdx-win32-arm64-msvc` 2 | 3 | This is the aarch64-pc-windows-msvc binary for `farm-plugin-mdx` 4 | -------------------------------------------------------------------------------- /rust-plugins/mdx/npm/win32-x64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `farm-plugin-mdx-win32-x64-msvc` 2 | 3 | This is the **x86_64-pc-windows-msvc** binary for `farm-plugin-mdx` 4 | -------------------------------------------------------------------------------- /rust-plugins/strip/npm/darwin-x64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-strip-darwin-x64` 2 | 3 | This is the **x86_64-apple-darwin** binary for `@farmfe/plugin-strip` 4 | -------------------------------------------------------------------------------- /rust-plugins/svgr/npm/darwin-x64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-svgr-darwin-x64` 2 | 3 | This is the **x86_64-apple-darwin** binary for `@farmfe/plugin-svgr` 4 | -------------------------------------------------------------------------------- /rust-plugins/url/npm/darwin-arm64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-url-darwin-arm64` 2 | 3 | This is the **aarch64-apple-darwin** binary for `@farmfe/plugin-url` 4 | -------------------------------------------------------------------------------- /rust-plugins/url/npm/win32-ia32-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-url-win32-ia32-msvc` 2 | 3 | This is the i686-pc-windows-msvc binary for `@farmfe/plugin-url` 4 | -------------------------------------------------------------------------------- /rust-plugins/wasm/npm/darwin-x64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-wasm-darwin-x64` 2 | 3 | This is the **x86_64-apple-darwin** binary for `@farmfe/plugin-wasm` 4 | -------------------------------------------------------------------------------- /rust-plugins/yaml/npm/darwin-x64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-yaml-darwin-x64` 2 | 3 | This is the **x86_64-apple-darwin** binary for `@farmfe/plugin-yaml` 4 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/playground-vue/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/rust-plugins/auto-import/playground-vue/public/favicon.ico -------------------------------------------------------------------------------- /rust-plugins/dsv/npm/linux-x64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-dsv-linux-x64-gnu` 2 | 3 | This is the **x86_64-unknown-linux-gnu** binary for `@farmfe/plugin-dsv` 4 | -------------------------------------------------------------------------------- /rust-plugins/dsv/npm/win32-arm64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-dsv-win32-arm64-msvc` 2 | 3 | This is the aarch64-pc-windows-msvc binary for `@farmfe/plugin-dsv` 4 | -------------------------------------------------------------------------------- /rust-plugins/dsv/npm/win32-x64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-dsv-win32-x64-msvc` 2 | 3 | This is the **x86_64-pc-windows-msvc** binary for `@farmfe/plugin-dsv` 4 | -------------------------------------------------------------------------------- /rust-plugins/icons/npm/darwin-arm64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-icons-darwin-arm64` 2 | 3 | This is the **aarch64-apple-darwin** binary for `@farmfe/plugin-icons` 4 | -------------------------------------------------------------------------------- /rust-plugins/image/npm/darwin-arm64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-image-darwin-arm64` 2 | 3 | This is the **aarch64-apple-darwin** binary for `@farmfe/plugin-image` 4 | -------------------------------------------------------------------------------- /rust-plugins/mdx/npm/linux-arm64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `farm-plugin-mdx-linux-arm64-gnu` 2 | 3 | This is the **aarch64-unknown-linux-gnu** binary for `farm-plugin-mdx` 4 | -------------------------------------------------------------------------------- /rust-plugins/mdx/npm/linux-x64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `farm-plugin-mdx-linux-x64-musl` 2 | 3 | This is the **x86_64-unknown-linux-musl** binary for `farm-plugin-mdx` 4 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/playground/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/rust-plugins/modular-import/playground/public/favicon.ico -------------------------------------------------------------------------------- /rust-plugins/modular-import/playground/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/rust-plugins/modular-import/playground/src/assets/logo.png -------------------------------------------------------------------------------- /rust-plugins/strip/npm/darwin-arm64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-strip-darwin-arm64` 2 | 3 | This is the **aarch64-apple-darwin** binary for `@farmfe/plugin-strip` 4 | -------------------------------------------------------------------------------- /rust-plugins/svgr/npm/darwin-arm64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-svgr-darwin-arm64` 2 | 3 | This is the **aarch64-apple-darwin** binary for `@farmfe/plugin-svgr` 4 | -------------------------------------------------------------------------------- /rust-plugins/svgr/npm/win32-ia32-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-svgr-win32-ia32-msvc` 2 | 3 | This is the i686-pc-windows-msvc binary for `@farmfe/plugin-svgr` 4 | -------------------------------------------------------------------------------- /rust-plugins/url/npm/linux-x64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-url-linux-x64-gnu` 2 | 3 | This is the **x86_64-unknown-linux-gnu** binary for `@farmfe/plugin-url` 4 | -------------------------------------------------------------------------------- /rust-plugins/url/npm/win32-arm64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-url-win32-arm64-msvc` 2 | 3 | This is the aarch64-pc-windows-msvc binary for `@farmfe/plugin-url` 4 | -------------------------------------------------------------------------------- /rust-plugins/url/npm/win32-x64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-url-win32-x64-msvc` 2 | 3 | This is the **x86_64-pc-windows-msvc** binary for `@farmfe/plugin-url` 4 | -------------------------------------------------------------------------------- /rust-plugins/virtual/npm/darwin-x64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-virtual-darwin-x64` 2 | 3 | This is the **x86_64-apple-darwin** binary for `@farmfe/plugin-virtual` 4 | -------------------------------------------------------------------------------- /rust-plugins/wasm/npm/darwin-arm64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-wasm-darwin-arm64` 2 | 3 | This is the **aarch64-apple-darwin** binary for `@farmfe/plugin-wasm` 4 | -------------------------------------------------------------------------------- /rust-plugins/wasm/npm/win32-ia32-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-wasm-win32-ia32-msvc` 2 | 3 | This is the i686-pc-windows-msvc binary for `@farmfe/plugin-wasm` 4 | -------------------------------------------------------------------------------- /rust-plugins/worker/npm/darwin-x64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-worker-darwin-x64` 2 | 3 | This is the **x86_64-apple-darwin** binary for `@farmfe/plugin-worker` 4 | -------------------------------------------------------------------------------- /rust-plugins/yaml/npm/darwin-arm64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-yaml-darwin-arm64` 2 | 3 | This is the **aarch64-apple-darwin** binary for `@farmfe/plugin-yaml` 4 | -------------------------------------------------------------------------------- /rust-plugins/yaml/npm/win32-ia32-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-yaml-win32-ia32-msvc` 2 | 3 | This is the i686-pc-windows-msvc binary for `@farmfe/plugin-yaml` 4 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/playground-react/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/rust-plugins/auto-import/playground-react/public/favicon.ico -------------------------------------------------------------------------------- /rust-plugins/auto-import/playground-react/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/rust-plugins/auto-import/playground-react/src/assets/logo.png -------------------------------------------------------------------------------- /rust-plugins/auto-import/playground-vue/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/rust-plugins/auto-import/playground-vue/src/assets/logo.png -------------------------------------------------------------------------------- /rust-plugins/compress/npm/darwin-x64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-compress-darwin-x64` 2 | 3 | This is the **x86_64-apple-darwin** binary for `@farmfe/plugin-compress` 4 | -------------------------------------------------------------------------------- /rust-plugins/dsv/npm/linux-arm64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-dsv-linux-arm64-gnu` 2 | 3 | This is the **aarch64-unknown-linux-gnu** binary for `@farmfe/plugin-dsv` 4 | -------------------------------------------------------------------------------- /rust-plugins/dsv/npm/linux-x64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-dsv-linux-x64-musl` 2 | 3 | This is the **x86_64-unknown-linux-musl** binary for `@farmfe/plugin-dsv` 4 | -------------------------------------------------------------------------------- /rust-plugins/icons/npm/linux-x64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-icons-linux-x64-gnu` 2 | 3 | This is the **x86_64-unknown-linux-gnu** binary for `@farmfe/plugin-icons` 4 | -------------------------------------------------------------------------------- /rust-plugins/icons/npm/win32-ia32-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-icons-win32-ia32-msvc` 2 | 3 | This is the i686-pc-windows-msvc binary for `@farmfe/plugin-icons` 4 | -------------------------------------------------------------------------------- /rust-plugins/icons/npm/win32-x64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-icons-win32-x64-msvc` 2 | 3 | This is the **x86_64-pc-windows-msvc** binary for `@farmfe/plugin-icons` 4 | -------------------------------------------------------------------------------- /rust-plugins/image/npm/linux-x64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-image-linux-x64-gnu` 2 | 3 | This is the **x86_64-unknown-linux-gnu** binary for `@farmfe/plugin-image` 4 | -------------------------------------------------------------------------------- /rust-plugins/image/npm/win32-ia32-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-image-win32-ia32-msvc` 2 | 3 | This is the i686-pc-windows-msvc binary for `@farmfe/plugin-image` 4 | -------------------------------------------------------------------------------- /rust-plugins/image/npm/win32-x64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-image-win32-x64-msvc` 2 | 3 | This is the **x86_64-pc-windows-msvc** binary for `@farmfe/plugin-image` 4 | -------------------------------------------------------------------------------- /rust-plugins/mdx/npm/linux-arm64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `farm-plugin-mdx-linux-arm64-musl` 2 | 3 | This is the **aarch64-unknown-linux-musl** binary for `farm-plugin-mdx` 4 | -------------------------------------------------------------------------------- /rust-plugins/react-components/playground/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/rust-plugins/react-components/playground/src/assets/logo.png -------------------------------------------------------------------------------- /rust-plugins/strip/npm/linux-x64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-strip-linux-x64-gnu` 2 | 3 | This is the **x86_64-unknown-linux-gnu** binary for `@farmfe/plugin-strip` 4 | -------------------------------------------------------------------------------- /rust-plugins/strip/npm/win32-ia32-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-strip-win32-ia32-msvc` 2 | 3 | This is the i686-pc-windows-msvc binary for `@farmfe/plugin-strip` 4 | -------------------------------------------------------------------------------- /rust-plugins/strip/npm/win32-x64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-strip-win32-x64-msvc` 2 | 3 | This is the **x86_64-pc-windows-msvc** binary for `@farmfe/plugin-strip` 4 | -------------------------------------------------------------------------------- /rust-plugins/svgr/npm/linux-x64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-svgr-linux-x64-gnu` 2 | 3 | This is the **x86_64-unknown-linux-gnu** binary for `@farmfe/plugin-svgr` 4 | -------------------------------------------------------------------------------- /rust-plugins/svgr/npm/linux-x64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-svgr-linux-x64-musl` 2 | 3 | This is the **x86_64-unknown-linux-musl** binary for `@farmfe/plugin-svgr` 4 | -------------------------------------------------------------------------------- /rust-plugins/svgr/npm/win32-arm64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-svgr-win32-arm64-msvc` 2 | 3 | This is the aarch64-pc-windows-msvc binary for `@farmfe/plugin-svgr` 4 | -------------------------------------------------------------------------------- /rust-plugins/svgr/npm/win32-x64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-svgr-win32-x64-msvc` 2 | 3 | This is the **x86_64-pc-windows-msvc** binary for `@farmfe/plugin-svgr` 4 | -------------------------------------------------------------------------------- /rust-plugins/url/npm/linux-arm64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-url-linux-arm64-gnu` 2 | 3 | This is the **aarch64-unknown-linux-gnu** binary for `@farmfe/plugin-url` 4 | -------------------------------------------------------------------------------- /rust-plugins/url/npm/linux-x64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-url-linux-x64-musl` 2 | 3 | This is the **x86_64-unknown-linux-musl** binary for `@farmfe/plugin-url` 4 | -------------------------------------------------------------------------------- /rust-plugins/virtual/npm/darwin-arm64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-virtual-darwin-arm64` 2 | 3 | This is the **aarch64-apple-darwin** binary for `@farmfe/plugin-virtual` 4 | -------------------------------------------------------------------------------- /rust-plugins/wasm/npm/linux-x64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-wasm-linux-x64-gnu` 2 | 3 | This is the **x86_64-unknown-linux-gnu** binary for `@farmfe/plugin-wasm` 4 | -------------------------------------------------------------------------------- /rust-plugins/wasm/npm/linux-x64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-wasm-linux-x64-musl` 2 | 3 | This is the **x86_64-unknown-linux-musl** binary for `@farmfe/plugin-wasm` 4 | -------------------------------------------------------------------------------- /rust-plugins/wasm/npm/win32-arm64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-wasm-win32-arm64-msvc` 2 | 3 | This is the aarch64-pc-windows-msvc binary for `@farmfe/plugin-wasm` 4 | -------------------------------------------------------------------------------- /rust-plugins/wasm/npm/win32-x64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-wasm-win32-x64-msvc` 2 | 3 | This is the **x86_64-pc-windows-msvc** binary for `@farmfe/plugin-wasm` 4 | -------------------------------------------------------------------------------- /rust-plugins/worker/npm/darwin-arm64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-worker-darwin-arm64` 2 | 3 | This is the **aarch64-apple-darwin** binary for `@farmfe/plugin-worker` 4 | -------------------------------------------------------------------------------- /rust-plugins/worker/npm/win32-ia32-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-worker-win32-ia32-msvc` 2 | 3 | This is the i686-pc-windows-msvc binary for `@farmfe/plugin-worker` 4 | -------------------------------------------------------------------------------- /rust-plugins/yaml/npm/linux-x64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-yaml-linux-x64-gnu` 2 | 3 | This is the **x86_64-unknown-linux-gnu** binary for `@farmfe/plugin-yaml` 4 | -------------------------------------------------------------------------------- /rust-plugins/yaml/npm/linux-x64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-yaml-linux-x64-musl` 2 | 3 | This is the **x86_64-unknown-linux-musl** binary for `@farmfe/plugin-yaml` 4 | -------------------------------------------------------------------------------- /rust-plugins/yaml/npm/win32-arm64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-yaml-win32-arm64-msvc` 2 | 3 | This is the aarch64-pc-windows-msvc binary for `@farmfe/plugin-yaml` 4 | -------------------------------------------------------------------------------- /rust-plugins/yaml/npm/win32-x64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-yaml-win32-x64-msvc` 2 | 3 | This is the **x86_64-pc-windows-msvc** binary for `@farmfe/plugin-yaml` 4 | -------------------------------------------------------------------------------- /rust-plugins/compress/npm/darwin-arm64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-compress-darwin-arm64` 2 | 3 | This is the **aarch64-apple-darwin** binary for `@farmfe/plugin-compress` 4 | -------------------------------------------------------------------------------- /rust-plugins/compress/npm/win32-ia32-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-compress-win32-ia32-msvc` 2 | 3 | This is the i686-pc-windows-msvc binary for `@farmfe/plugin-compress` 4 | -------------------------------------------------------------------------------- /rust-plugins/dsv/npm/linux-arm64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-dsv-linux-arm64-musl` 2 | 3 | This is the **aarch64-unknown-linux-musl** binary for `@farmfe/plugin-dsv` 4 | -------------------------------------------------------------------------------- /rust-plugins/icons/npm/linux-arm64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-icons-linux-arm64-gnu` 2 | 3 | This is the **aarch64-unknown-linux-gnu** binary for `@farmfe/plugin-icons` 4 | -------------------------------------------------------------------------------- /rust-plugins/icons/npm/linux-x64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-icons-linux-x64-musl` 2 | 3 | This is the **x86_64-unknown-linux-musl** binary for `@farmfe/plugin-icons` 4 | -------------------------------------------------------------------------------- /rust-plugins/icons/npm/win32-arm64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-icons-win32-arm64-msvc` 2 | 3 | This is the aarch64-pc-windows-msvc binary for `@farmfe/plugin-icons` 4 | -------------------------------------------------------------------------------- /rust-plugins/image/npm/linux-arm64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-image-linux-arm64-gnu` 2 | 3 | This is the **aarch64-unknown-linux-gnu** binary for `@farmfe/plugin-image` 4 | -------------------------------------------------------------------------------- /rust-plugins/image/npm/linux-x64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-image-linux-x64-musl` 2 | 3 | This is the **x86_64-unknown-linux-musl** binary for `@farmfe/plugin-image` 4 | -------------------------------------------------------------------------------- /rust-plugins/image/npm/win32-arm64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-image-win32-arm64-msvc` 2 | 3 | This is the aarch64-pc-windows-msvc binary for `@farmfe/plugin-image` 4 | -------------------------------------------------------------------------------- /rust-plugins/strip/npm/linux-arm64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-strip-linux-arm64-gnu` 2 | 3 | This is the **aarch64-unknown-linux-gnu** binary for `@farmfe/plugin-strip` 4 | -------------------------------------------------------------------------------- /rust-plugins/strip/npm/linux-x64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-strip-linux-x64-musl` 2 | 3 | This is the **x86_64-unknown-linux-musl** binary for `@farmfe/plugin-strip` 4 | -------------------------------------------------------------------------------- /rust-plugins/strip/npm/win32-arm64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-strip-win32-arm64-msvc` 2 | 3 | This is the aarch64-pc-windows-msvc binary for `@farmfe/plugin-strip` 4 | -------------------------------------------------------------------------------- /rust-plugins/svgr/npm/linux-arm64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-svgr-linux-arm64-gnu` 2 | 3 | This is the **aarch64-unknown-linux-gnu** binary for `@farmfe/plugin-svgr` 4 | -------------------------------------------------------------------------------- /rust-plugins/svgr/npm/linux-arm64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-svgr-linux-arm64-musl` 2 | 3 | This is the **aarch64-unknown-linux-musl** binary for `@farmfe/plugin-svgr` 4 | -------------------------------------------------------------------------------- /rust-plugins/url/npm/linux-arm64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-url-linux-arm64-musl` 2 | 3 | This is the **aarch64-unknown-linux-musl** binary for `@farmfe/plugin-url` 4 | -------------------------------------------------------------------------------- /rust-plugins/virtual/npm/win32-ia32-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-virtual-win32-ia32-msvc` 2 | 3 | This is the i686-pc-windows-msvc binary for `@farmfe/plugin-virtual` 4 | -------------------------------------------------------------------------------- /rust-plugins/wasm/npm/linux-arm64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-wasm-linux-arm64-gnu` 2 | 3 | This is the **aarch64-unknown-linux-gnu** binary for `@farmfe/plugin-wasm` 4 | -------------------------------------------------------------------------------- /rust-plugins/wasm/npm/linux-arm64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-wasm-linux-arm64-musl` 2 | 3 | This is the **aarch64-unknown-linux-musl** binary for `@farmfe/plugin-wasm` 4 | -------------------------------------------------------------------------------- /rust-plugins/worker/npm/linux-x64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-worker-linux-x64-gnu` 2 | 3 | This is the **x86_64-unknown-linux-gnu** binary for `@farmfe/plugin-worker` 4 | -------------------------------------------------------------------------------- /rust-plugins/worker/npm/win32-arm64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-worker-win32-arm64-msvc` 2 | 3 | This is the aarch64-pc-windows-msvc binary for `@farmfe/plugin-worker` 4 | -------------------------------------------------------------------------------- /rust-plugins/worker/npm/win32-x64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-worker-win32-x64-msvc` 2 | 3 | This is the **x86_64-pc-windows-msvc** binary for `@farmfe/plugin-worker` 4 | -------------------------------------------------------------------------------- /rust-plugins/yaml/npm/linux-arm64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-yaml-linux-arm64-gnu` 2 | 3 | This is the **aarch64-unknown-linux-gnu** binary for `@farmfe/plugin-yaml` 4 | -------------------------------------------------------------------------------- /rust-plugins/yaml/npm/linux-arm64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-yaml-linux-arm64-musl` 2 | 3 | This is the **aarch64-unknown-linux-musl** binary for `@farmfe/plugin-yaml` 4 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/npm/darwin-x64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-auto-import-darwin-x64` 2 | 3 | This is the **x86_64-apple-darwin** binary for `@farmfe/plugin-auto-import` 4 | -------------------------------------------------------------------------------- /rust-plugins/compress/npm/linux-x64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-compress-linux-x64-gnu` 2 | 3 | This is the **x86_64-unknown-linux-gnu** binary for `@farmfe/plugin-compress` 4 | -------------------------------------------------------------------------------- /rust-plugins/compress/npm/win32-arm64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-compress-win32-arm64-msvc` 2 | 3 | This is the aarch64-pc-windows-msvc binary for `@farmfe/plugin-compress` 4 | -------------------------------------------------------------------------------- /rust-plugins/compress/npm/win32-x64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-compress-win32-x64-msvc` 2 | 3 | This is the **x86_64-pc-windows-msvc** binary for `@farmfe/plugin-compress` 4 | -------------------------------------------------------------------------------- /rust-plugins/icons/npm/linux-arm64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-icons-linux-arm64-musl` 2 | 3 | This is the **aarch64-unknown-linux-musl** binary for `@farmfe/plugin-icons` 4 | -------------------------------------------------------------------------------- /rust-plugins/icons/playground-vue/src/index.ts: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue'; 2 | import './style.css'; 3 | import App from './App.vue'; 4 | 5 | createApp(App).mount('#app'); 6 | -------------------------------------------------------------------------------- /rust-plugins/image/npm/linux-arm64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-image-linux-arm64-musl` 2 | 3 | This is the **aarch64-unknown-linux-musl** binary for `@farmfe/plugin-image` 4 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/playground/src/main.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | 3 | import App from './App.vue'; 4 | 5 | new Vue({ 6 | render: (h) => h(App) 7 | }).$mount('#app'); -------------------------------------------------------------------------------- /rust-plugins/react-components/playground/src/components/ComponentA.tsx: -------------------------------------------------------------------------------- 1 | const ComponentA = () => { 2 | return 3 | } 4 | 5 | export default ComponentA 6 | -------------------------------------------------------------------------------- /rust-plugins/strip/npm/linux-arm64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-strip-linux-arm64-musl` 2 | 3 | This is the **aarch64-unknown-linux-musl** binary for `@farmfe/plugin-strip` 4 | -------------------------------------------------------------------------------- /rust-plugins/virtual/npm/linux-x64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-virtual-linux-x64-gnu` 2 | 3 | This is the **x86_64-unknown-linux-gnu** binary for `@farmfe/plugin-virtual` 4 | -------------------------------------------------------------------------------- /rust-plugins/virtual/npm/linux-x64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-virtual-linux-x64-musl` 2 | 3 | This is the **x86_64-unknown-linux-musl** binary for `@farmfe/plugin-virtual` 4 | -------------------------------------------------------------------------------- /rust-plugins/virtual/npm/win32-arm64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-virtual-win32-arm64-msvc` 2 | 3 | This is the aarch64-pc-windows-msvc binary for `@farmfe/plugin-virtual` 4 | -------------------------------------------------------------------------------- /rust-plugins/virtual/npm/win32-x64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-virtual-win32-x64-msvc` 2 | 3 | This is the **x86_64-pc-windows-msvc** binary for `@farmfe/plugin-virtual` 4 | -------------------------------------------------------------------------------- /rust-plugins/wasm/playground/src/assets/json_typegen_wasm_bg.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farm-fe/plugins/HEAD/rust-plugins/wasm/playground/src/assets/json_typegen_wasm_bg.wasm -------------------------------------------------------------------------------- /rust-plugins/worker/npm/linux-arm64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-worker-linux-arm64-gnu` 2 | 3 | This is the **aarch64-unknown-linux-gnu** binary for `@farmfe/plugin-worker` 4 | -------------------------------------------------------------------------------- /rust-plugins/worker/npm/linux-x64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-worker-linux-x64-musl` 2 | 3 | This is the **x86_64-unknown-linux-musl** binary for `@farmfe/plugin-worker` 4 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/npm/darwin-arm64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-auto-import-darwin-arm64` 2 | 3 | This is the **aarch64-apple-darwin** binary for `@farmfe/plugin-auto-import` 4 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/npm/win32-ia32-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-auto-import-win32-ia32-msvc` 2 | 3 | This is the i686-pc-windows-msvc binary for `@farmfe/plugin-auto-import` 4 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/playground-vue/src/index.ts: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue'; 2 | import './style.css'; 3 | import App from './App.vue'; 4 | 5 | createApp(App).mount('#app'); 6 | -------------------------------------------------------------------------------- /rust-plugins/compress/npm/linux-arm64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-compress-linux-arm64-gnu` 2 | 3 | This is the **aarch64-unknown-linux-gnu** binary for `@farmfe/plugin-compress` 4 | -------------------------------------------------------------------------------- /rust-plugins/compress/npm/linux-x64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-compress-linux-x64-musl` 2 | 3 | This is the **x86_64-unknown-linux-musl** binary for `@farmfe/plugin-compress` 4 | -------------------------------------------------------------------------------- /rust-plugins/icons/src/loader/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod common; 2 | pub mod svg_builder; 3 | pub mod icon_data; 4 | pub mod struct_config; 5 | pub mod icon_to_svg; 6 | pub mod calculate_size; 7 | -------------------------------------------------------------------------------- /rust-plugins/svgr/options.d.ts: -------------------------------------------------------------------------------- 1 | export interface IPluginOptions { 2 | include?: string[]; 3 | exclude?: string[]; 4 | defaultClass?: string; 5 | defaultStyle?: string; 6 | } 7 | -------------------------------------------------------------------------------- /rust-plugins/virtual/npm/linux-arm64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-virtual-linux-arm64-gnu` 2 | 3 | This is the **aarch64-unknown-linux-gnu** binary for `@farmfe/plugin-virtual` 4 | -------------------------------------------------------------------------------- /rust-plugins/virtual/npm/linux-arm64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-virtual-linux-arm64-musl` 2 | 3 | This is the **aarch64-unknown-linux-musl** binary for `@farmfe/plugin-virtual` 4 | -------------------------------------------------------------------------------- /rust-plugins/worker/npm/linux-arm64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-worker-linux-arm64-musl` 2 | 3 | This is the **aarch64-unknown-linux-musl** binary for `@farmfe/plugin-worker` 4 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/npm/linux-x64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-auto-import-linux-x64-gnu` 2 | 3 | This is the **x86_64-unknown-linux-gnu** binary for `@farmfe/plugin-auto-import` 4 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/npm/win32-arm64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-auto-import-win32-arm64-msvc` 2 | 3 | This is the aarch64-pc-windows-msvc binary for `@farmfe/plugin-auto-import` 4 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/npm/win32-x64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-auto-import-win32-x64-msvc` 2 | 3 | This is the **x86_64-pc-windows-msvc** binary for `@farmfe/plugin-auto-import` 4 | -------------------------------------------------------------------------------- /rust-plugins/compress/npm/linux-arm64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-compress-linux-arm64-musl` 2 | 3 | This is the **aarch64-unknown-linux-musl** binary for `@farmfe/plugin-compress` 4 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/npm/darwin-x64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-modular-import-darwin-x64` 2 | 3 | This is the **x86_64-apple-darwin** binary for `@farmfe/plugin-modular-import` 4 | -------------------------------------------------------------------------------- /rust-plugins/react-components/playground/src/components/ComponentC.tsx: -------------------------------------------------------------------------------- 1 | const ComponentC = () => { 2 | return 3 | } 4 | 5 | export { 6 | ComponentC 7 | } 8 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/npm/linux-arm64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-auto-import-linux-arm64-gnu` 2 | 3 | This is the **aarch64-unknown-linux-gnu** binary for `@farmfe/plugin-auto-import` 4 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/npm/linux-x64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-auto-import-linux-x64-musl` 2 | 3 | This is the **x86_64-unknown-linux-musl** binary for `@farmfe/plugin-auto-import` 4 | -------------------------------------------------------------------------------- /rust-plugins/icons/playground-react/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | // postcss.config.mjs 2 | import UnoCSS from '@unocss/postcss' 3 | 4 | export default { 5 | plugins: [ 6 | UnoCSS(), 7 | ], 8 | } 9 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/npm/darwin-arm64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-modular-import-darwin-arm64` 2 | 3 | This is the **aarch64-apple-darwin** binary for `@farmfe/plugin-modular-import` 4 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/npm/win32-ia32-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-modular-import-win32-ia32-msvc` 2 | 3 | This is the i686-pc-windows-msvc binary for `@farmfe/plugin-modular-import` 4 | -------------------------------------------------------------------------------- /rust-plugins/react-components/npm/darwin-x64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-react-components-darwin-x64` 2 | 3 | This is the **x86_64-apple-darwin** binary for `@farmfe/plugin-react-components` 4 | -------------------------------------------------------------------------------- /examples/vuetify/src/plugins/README.md: -------------------------------------------------------------------------------- 1 | # Plugins 2 | 3 | Plugins are a way to extend the functionality of your Vue application. Use this folder for registering plugins that you want to use globally. 4 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/npm/linux-arm64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-auto-import-linux-arm64-musl` 2 | 3 | This is the **aarch64-unknown-linux-musl** binary for `@farmfe/plugin-auto-import` 4 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/src/parser/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod parse; 2 | pub mod scan_dirs_exports; 3 | pub mod scan_exports; 4 | pub mod stringify_imports; 5 | pub mod inject_imports; 6 | pub mod generate_dts; 7 | -------------------------------------------------------------------------------- /rust-plugins/dsv/scripts/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { IPluginOptions } from '../options'; 2 | declare const binPath: (options?: IPluginOptions) => [string, IPluginOptions]; 3 | export default binPath; 4 | -------------------------------------------------------------------------------- /rust-plugins/image/scripts/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { IPluginOptions } from '../options'; 2 | declare const binPath: (options?: IPluginOptions) => [string, IPluginOptions]; 3 | export default binPath; 4 | -------------------------------------------------------------------------------- /rust-plugins/mdx/scripts/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { IPluginOptions } from '../options.d'; 2 | declare const binPath: (options?: IPluginOptions) => [string, IPluginOptions]; 3 | export default binPath; 4 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/npm/linux-x64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-modular-import-linux-x64-gnu` 2 | 3 | This is the **x86_64-unknown-linux-gnu** binary for `@farmfe/plugin-modular-import` 4 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/npm/linux-x64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-modular-import-linux-x64-musl` 2 | 3 | This is the **x86_64-unknown-linux-musl** binary for `@farmfe/plugin-modular-import` 4 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/npm/win32-arm64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-modular-import-win32-arm64-msvc` 2 | 3 | This is the aarch64-pc-windows-msvc binary for `@farmfe/plugin-modular-import` 4 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/npm/win32-x64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-modular-import-win32-x64-msvc` 2 | 3 | This is the **x86_64-pc-windows-msvc** binary for `@farmfe/plugin-modular-import` 4 | -------------------------------------------------------------------------------- /rust-plugins/react-components/npm/darwin-arm64/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-react-components-darwin-arm64` 2 | 3 | This is the **aarch64-apple-darwin** binary for `@farmfe/plugin-react-components` 4 | -------------------------------------------------------------------------------- /rust-plugins/react-components/npm/win32-ia32-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-react-components-win32-ia32-msvc` 2 | 3 | This is the i686-pc-windows-msvc binary for `@farmfe/plugin-react-components` 4 | -------------------------------------------------------------------------------- /rust-plugins/strip/scripts/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { IPluginOptions } from '../options'; 2 | declare const binPath: (options?: IPluginOptions) => [string, IPluginOptions]; 3 | export default binPath; 4 | -------------------------------------------------------------------------------- /rust-plugins/svgr/scripts/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { IPluginOptions } from '../options'; 2 | declare const binPath: (options?: IPluginOptions) => [string, IPluginOptions]; 3 | export default binPath; 4 | -------------------------------------------------------------------------------- /rust-plugins/url/scripts/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { IPluginOptions } from '../options'; 2 | declare const binPath: (options?: IPluginOptions) => [string, IPluginOptions]; 3 | export default binPath; 4 | -------------------------------------------------------------------------------- /rust-plugins/wasm/scripts/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { IPluginOptions } from '../options.d'; 2 | declare const binPath: (options?: IPluginOptions) => [string, IPluginOptions]; 3 | export default binPath; 4 | -------------------------------------------------------------------------------- /rust-plugins/worker/options.d.ts: -------------------------------------------------------------------------------- 1 | import type { UserConfig } from "@farmfe/core" 2 | export interface IPluginOptions { 3 | isBuild?: boolean 4 | compilerConfig?: UserConfig['compilation'] 5 | } 6 | -------------------------------------------------------------------------------- /rust-plugins/yaml/scripts/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { IPluginOptions } from '../options'; 2 | declare const binPath: (options?: IPluginOptions) => [string, IPluginOptions]; 3 | export default binPath; 4 | -------------------------------------------------------------------------------- /examples/vuetify/.editorconfig: -------------------------------------------------------------------------------- 1 | [*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue}] 2 | charset = utf-8 3 | indent_size = 2 4 | indent_style = space 5 | insert_final_newline = true 6 | trim_trailing_whitespace = true 7 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/scripts/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { IPluginOptions } from '../options'; 2 | declare const binPath: (options?: IPluginOptions) => [string, IPluginOptions]; 3 | export default binPath; 4 | -------------------------------------------------------------------------------- /rust-plugins/compress/scripts/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { IPluginOptions } from '../options.d'; 2 | declare const binPath: (options?: IPluginOptions) => [string, IPluginOptions]; 3 | export default binPath; 4 | -------------------------------------------------------------------------------- /rust-plugins/icons/scripts/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { IPluginOptions } from '../options.d'; 2 | declare const binPath: (options?: IPluginOptions) => [string, IPluginOptions]; 3 | export default binPath; 4 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/npm/linux-arm64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-modular-import-linux-arm64-gnu` 2 | 3 | This is the **aarch64-unknown-linux-gnu** binary for `@farmfe/plugin-modular-import` 4 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/npm/linux-arm64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-modular-import-linux-arm64-musl` 2 | 3 | This is the **aarch64-unknown-linux-musl** binary for `@farmfe/plugin-modular-import` 4 | -------------------------------------------------------------------------------- /rust-plugins/react-components/npm/linux-x64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-react-components-linux-x64-gnu` 2 | 3 | This is the **x86_64-unknown-linux-gnu** binary for `@farmfe/plugin-react-components` 4 | -------------------------------------------------------------------------------- /rust-plugins/react-components/npm/win32-arm64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-react-components-win32-arm64-msvc` 2 | 3 | This is the aarch64-pc-windows-msvc binary for `@farmfe/plugin-react-components` 4 | -------------------------------------------------------------------------------- /rust-plugins/react-components/npm/win32-x64-msvc/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-react-components-win32-x64-msvc` 2 | 3 | This is the **x86_64-pc-windows-msvc** binary for `@farmfe/plugin-react-components` 4 | -------------------------------------------------------------------------------- /rust-plugins/virtual/scripts/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { IPluginOptions } from '../options.d'; 2 | declare const binPath: (options?: IPluginOptions) => [string, IPluginOptions]; 3 | export default binPath; 4 | -------------------------------------------------------------------------------- /rust-plugins/worker/scripts/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { IPluginOptions } from '../options.d'; 2 | declare const binPath: (options?: IPluginOptions) => [string, IPluginOptions]; 3 | export default binPath; 4 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/scripts/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { IPluginOptions } from '../options'; 2 | declare const binPath: (options?: IPluginOptions) => [string, IPluginOptions]; 3 | export default binPath; 4 | -------------------------------------------------------------------------------- /rust-plugins/react-components/npm/linux-arm64-gnu/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-react-components-linux-arm64-gnu` 2 | 3 | This is the **aarch64-unknown-linux-gnu** binary for `@farmfe/plugin-react-components` 4 | -------------------------------------------------------------------------------- /rust-plugins/react-components/npm/linux-x64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-react-components-linux-x64-musl` 2 | 3 | This is the **x86_64-unknown-linux-musl** binary for `@farmfe/plugin-react-components` 4 | -------------------------------------------------------------------------------- /rust-plugins/react-components/scripts/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { IPluginOptions } from '../options'; 2 | declare const binPath: (options?: IPluginOptions) => [string, IPluginOptions]; 3 | export default binPath; 4 | -------------------------------------------------------------------------------- /rust-plugins/wasm/types/index.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.wasm?init' { 2 | const initWasm: ( 3 | options?: WebAssembly.Imports, 4 | ) => Promise 5 | export default initWasm 6 | } 7 | -------------------------------------------------------------------------------- /examples/vuetify/src/App.vue: -------------------------------------------------------------------------------- 1 | 8 | 9 | 12 | -------------------------------------------------------------------------------- /rust-plugins/react-components/npm/linux-arm64-musl/README.md: -------------------------------------------------------------------------------- 1 | # `@farmfe/plugin-react-components-linux-arm64-musl` 2 | 3 | This is the **aarch64-unknown-linux-musl** binary for `@farmfe/plugin-react-components` 4 | -------------------------------------------------------------------------------- /examples/babel-react-compiler/src/index.jsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { createRoot } from 'react-dom/client'; 3 | import App from './App'; 4 | 5 | createRoot(document.getElementById('root')).render(); 6 | -------------------------------------------------------------------------------- /examples/vuetify/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "files": [], 3 | "references": [ 4 | { 5 | "path": "./tsconfig.node.json" 6 | }, 7 | { 8 | "path": "./tsconfig.app.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /rust-plugins/strip/options.d.ts: -------------------------------------------------------------------------------- 1 | export interface IPluginOptions { 2 | include?: string[]; 3 | exclude?: string[]; 4 | labels?: string[]; 5 | functions?: string[]; 6 | sourceMap?: boolean; 7 | debugger?: boolean; 8 | } 9 | -------------------------------------------------------------------------------- /rust-plugins/icons/types/raw.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'virtual:icons/*' { 2 | const component: string 3 | export default string 4 | } 5 | declare module '~icons/*' { 6 | const component: string 7 | export default component 8 | } 9 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/playground-react/src/apis/css/index.ts: -------------------------------------------------------------------------------- 1 | export const getCss = () => { 2 | return { 3 | css: { 4 | color: 'red', 5 | }, 6 | css2: { 7 | color: 'blue', 8 | }, 9 | }; 10 | } 11 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/playground-react/src/apis/auth/login.ts: -------------------------------------------------------------------------------- 1 | export const getData = () => { 2 | return { 3 | name: 'cherry', 4 | age: 18 5 | } 6 | } 7 | 8 | export function login(){ 9 | return getData() 10 | } 11 | 12 | -------------------------------------------------------------------------------- /js-plugins/babel/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @farmfe/js-plugin-babel 2 | 3 | ## 0.0.3 4 | 5 | ### Patch Changes 6 | 7 | - chore: update farm version 8 | 9 | ## 0.0.2 10 | 11 | ### Patch Changes 12 | 13 | - 8764dba: chore: upgrade core version 14 | -------------------------------------------------------------------------------- /rust-plugins/react-components/playground/src/components/ComponentD.tsx: -------------------------------------------------------------------------------- 1 | export default () => { 2 | return 3 | } 4 | 5 | const ComponentX = () => { 6 | return 7 | } 8 | export { ComponentX } 9 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/options.d.ts: -------------------------------------------------------------------------------- 1 | export interface IPluginOptions { 2 | libraryName: string, 3 | libDir?: string, 4 | camel2Dash?: boolean, 5 | styleLibDir?: string, 6 | styleLibraryName?: boolean, 7 | styleLibraryPath?: string, 8 | } 9 | -------------------------------------------------------------------------------- /rust-plugins/icons/types/web-components.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'virtual:icons/*' { 2 | const component: HTMLElement 3 | export default component 4 | } 5 | declare module '~icons/*' { 6 | const component: HTMLElement 7 | export default component 8 | } 9 | -------------------------------------------------------------------------------- /js-plugins/react-compiler/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @farmfe/js-plugin-react-compiler 2 | 3 | ## 0.0.3 4 | 5 | ### Patch Changes 6 | 7 | - chore: update farm version 8 | 9 | ## 0.0.2 10 | 11 | ### Patch Changes 12 | 13 | - 8764dba: chore: upgrade core version 14 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @farmfe/plugin-modular-import 2 | 3 | ## 2.0.0-beta.0 4 | 5 | ### Major Changes 6 | 7 | - release farm v2-beta 8 | 9 | ## 0.1.0-beta.0 10 | 11 | ### Minor Changes 12 | 13 | - feat(rust-plugins): update farm v2-beta 14 | -------------------------------------------------------------------------------- /rust-plugins/url/options.d.ts: -------------------------------------------------------------------------------- 1 | export interface IPluginOptions { 2 | limit?: number; 3 | publicPath?: string; 4 | emitFiles?: boolean; 5 | filename?: string; 6 | destDir?: string; 7 | sourceDir?: string; 8 | include?: string[]; 9 | exclude?: string[]; 10 | } 11 | -------------------------------------------------------------------------------- /rust-plugins/wasm/rust-wasm/src/lib.rs: -------------------------------------------------------------------------------- 1 | use wasm_bindgen::prelude::*; 2 | 3 | #[wasm_bindgen] 4 | extern "C" { 5 | #[wasm_bindgen(js_namespace = console)] 6 | fn log(s: &str); 7 | } 8 | 9 | #[wasm_bindgen] 10 | pub fn greet() { 11 | log("Hello, rust-wasm!"); 12 | } 13 | -------------------------------------------------------------------------------- /rust-plugins/worker/playground/src/worker/comlink.worker.ts: -------------------------------------------------------------------------------- 1 | import * as Comlink from "comlink"; 2 | import { count } from "./util"; 3 | export class MyWorker { 4 | async add(a: number, b: number) { 5 | return count(a, b); 6 | } 7 | } 8 | 9 | Comlink.expose(MyWorker); 10 | -------------------------------------------------------------------------------- /examples/virtual/farm.config.ts: -------------------------------------------------------------------------------- 1 | import { defineConfig } from '@farmfe/core'; 2 | import farmfePluginVVirtual from '@farmfe/plugin-virtual' 3 | 4 | export default defineConfig({ 5 | plugins: ['@farmfe/plugin-react', farmfePluginVVirtual({ 6 | "virtual": "export const a = 1", 7 | })] 8 | }); 9 | -------------------------------------------------------------------------------- /examples/virtual/src/index.tsx: -------------------------------------------------------------------------------- 1 | import { createRoot } from 'react-dom/client'; 2 | import { Main } from './main'; 3 | import './index.css' 4 | 5 | 6 | const container = document.querySelector('#root') as Element; 7 | const root = createRoot(container); 8 | 9 | root.render(
); 10 | -------------------------------------------------------------------------------- /rust-plugins/wasm/playground/src/index.tsx: -------------------------------------------------------------------------------- 1 | import { createRoot } from 'react-dom/client'; 2 | import { Main } from './main'; 3 | import './index.css' 4 | 5 | 6 | const container = document.querySelector('#root'); 7 | const root = createRoot(container!); 8 | 9 | root.render(
); 10 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/src/parser/stringify_imports.rs: -------------------------------------------------------------------------------- 1 | use super::scan_exports::Import; 2 | pub fn stringify_imports(imports: Vec) -> String { 3 | let mut imports_str = String::new(); 4 | for import in imports { 5 | imports_str += &import.stringify_import(); 6 | } 7 | imports_str 8 | } 9 | -------------------------------------------------------------------------------- /examples/mdx/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { createRoot } from 'react-dom/client'; 3 | import { Main } from './main'; 4 | import './index.css' 5 | 6 | 7 | const container = document.querySelector('#root'); 8 | const root = createRoot(container); 9 | 10 | root.render(
); 11 | -------------------------------------------------------------------------------- /examples/mdx/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "skipLibCheck": true, 5 | "module": "ESNext", 6 | "moduleResolution": "bundler", 7 | "allowSyntheticDefaultImports": true, 8 | "strict": true 9 | }, 10 | "include": ["farm.config.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /examples/virtual/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "skipLibCheck": true, 5 | "module": "ESNext", 6 | "moduleResolution": "bundler", 7 | "allowSyntheticDefaultImports": true, 8 | "strict": true 9 | }, 10 | "include": ["farm.config.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /rust-plugins/image/playground/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { createRoot } from 'react-dom/client'; 3 | import { Main } from './main'; 4 | import './index.css' 5 | 6 | 7 | const container = document.querySelector('#root'); 8 | const root = createRoot(container); 9 | 10 | root.render(
); 11 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/src/default.rs: -------------------------------------------------------------------------------- 1 | pub fn default_camel2_dash() -> Option { 2 | Some(true) 3 | } 4 | 5 | pub fn default_lib_dir() -> Option { 6 | Some(String::from("lib")) 7 | } 8 | 9 | pub fn default_style_library_path() -> Option { 10 | Some(String::from("index.css")) 11 | } 12 | -------------------------------------------------------------------------------- /rust-plugins/svgr/playground/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { createRoot } from 'react-dom/client'; 3 | import { Main } from './main'; 4 | import './index.css' 5 | 6 | 7 | const container = document.querySelector('#root'); 8 | const root = createRoot(container); 9 | 10 | root.render(
); 11 | -------------------------------------------------------------------------------- /rust-plugins/url/playground/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { createRoot } from 'react-dom/client'; 3 | import { Main } from './main'; 4 | import './index.css' 5 | 6 | 7 | const container = document.querySelector('#root'); 8 | const root = createRoot(container); 9 | 10 | root.render(
); 11 | -------------------------------------------------------------------------------- /rust-plugins/compress/playground/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { createRoot } from 'react-dom/client'; 3 | import { Main } from './main'; 4 | import './index.css' 5 | 6 | 7 | const container = document.querySelector('#root'); 8 | const root = createRoot(container); 9 | 10 | root.render(
); 11 | -------------------------------------------------------------------------------- /rust-plugins/image/playground/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "skipLibCheck": true, 5 | "module": "ESNext", 6 | "moduleResolution": "bundler", 7 | "allowSyntheticDefaultImports": true, 8 | "strict": true 9 | }, 10 | "include": ["farm.config.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /rust-plugins/strip/playground/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "skipLibCheck": true, 5 | "module": "ESNext", 6 | "moduleResolution": "bundler", 7 | "allowSyntheticDefaultImports": true, 8 | "strict": true 9 | }, 10 | "include": ["farm.config.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /rust-plugins/svgr/playground/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "skipLibCheck": true, 5 | "module": "ESNext", 6 | "moduleResolution": "bundler", 7 | "allowSyntheticDefaultImports": true, 8 | "strict": true 9 | }, 10 | "include": ["farm.config.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /rust-plugins/url/playground/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "skipLibCheck": true, 5 | "module": "ESNext", 6 | "moduleResolution": "bundler", 7 | "allowSyntheticDefaultImports": true, 8 | "strict": true 9 | }, 10 | "include": ["farm.config.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /rust-plugins/wasm/playground/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "skipLibCheck": true, 5 | "module": "ESNext", 6 | "moduleResolution": "bundler", 7 | "allowSyntheticDefaultImports": true, 8 | "strict": true 9 | }, 10 | "include": ["farm.config.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /rust-plugins/worker/playground/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "skipLibCheck": true, 5 | "module": "ESNext", 6 | "moduleResolution": "bundler", 7 | "allowSyntheticDefaultImports": true, 8 | "strict": true 9 | }, 10 | "include": ["farm.config.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /examples/vuetify/src/plugins/index.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * plugins/index.ts 3 | * 4 | * Automatically included in `./src/main.ts` 5 | */ 6 | 7 | // Plugins 8 | import vuetify from './vuetify' 9 | 10 | // Types 11 | import type { App } from 'vue' 12 | 13 | export function registerPlugins (app: App) { 14 | app.use(vuetify) 15 | } 16 | -------------------------------------------------------------------------------- /rust-plugins/compress/playground/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "skipLibCheck": true, 5 | "module": "ESNext", 6 | "moduleResolution": "bundler", 7 | "allowSyntheticDefaultImports": true, 8 | "strict": true 9 | }, 10 | "include": ["farm.config.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /rust-plugins/icons/playground-react/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { createRoot } from 'react-dom/client'; 3 | import { Main } from './main'; 4 | import './index.css' 5 | 6 | 7 | const container = document.querySelector('#root'); 8 | const root = createRoot(container); 9 | 10 | root.render(
); 11 | -------------------------------------------------------------------------------- /rust-plugins/icons/playground-react/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "skipLibCheck": true, 5 | "module": "ESNext", 6 | "moduleResolution": "bundler", 7 | "allowSyntheticDefaultImports": true, 8 | "strict": true 9 | }, 10 | "include": ["farm.config.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /rust-plugins/icons/playground-vue/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "skipLibCheck": true, 5 | "module": "ESNext", 6 | "moduleResolution": "bundler", 7 | "allowSyntheticDefaultImports": true, 8 | "strict": true 9 | }, 10 | "include": ["farm.config.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /rust-plugins/virtual/playground/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "skipLibCheck": true, 5 | "module": "ESNext", 6 | "moduleResolution": "bundler", 7 | "allowSyntheticDefaultImports": true, 8 | "strict": true 9 | }, 10 | "include": ["farm.config.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/playground-react/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { createRoot } from 'react-dom/client'; 3 | import { Main } from './main'; 4 | import './index.css' 5 | 6 | 7 | const container = document.querySelector('#root'); 8 | const root = createRoot(container); 9 | 10 | root.render(
); 11 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/playground-vue/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "skipLibCheck": true, 5 | "module": "ESNext", 6 | "moduleResolution": "bundler", 7 | "allowSyntheticDefaultImports": true, 8 | "strict": true 9 | }, 10 | "include": ["farm.config.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/playground/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "skipLibCheck": true, 5 | "module": "ESNext", 6 | "moduleResolution": "bundler", 7 | "allowSyntheticDefaultImports": true, 8 | "strict": true 9 | }, 10 | "include": ["farm.config.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /rust-plugins/react-components/playground/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { createRoot } from 'react-dom/client'; 3 | import { Main } from './test'; 4 | import './index.css' 5 | 6 | 7 | const container = document.querySelector('#root'); 8 | const root = createRoot(container); 9 | 10 | root.render(
); 11 | -------------------------------------------------------------------------------- /rust-plugins/react-components/playground/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "skipLibCheck": true, 5 | "module": "ESNext", 6 | "moduleResolution": "bundler", 7 | "allowSyntheticDefaultImports": true, 8 | "strict": true 9 | }, 10 | "include": ["farm.config.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://unpkg.com/@changesets/config@3.0.2/schema.json", 3 | "changelog": "@changesets/cli/changelog", 4 | "commit": false, 5 | "fixed": [], 6 | "linked": [], 7 | "access": "public", 8 | "baseBranch": "main", 9 | "updateInternalDependencies": "patch", 10 | "ignore": [] 11 | } 12 | -------------------------------------------------------------------------------- /.changeset/config.v1.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://unpkg.com/@changesets/config@3.0.2/schema.json", 3 | "changelog": "@changesets/cli/changelog", 4 | "commit": false, 5 | "fixed": [], 6 | "linked": [], 7 | "access": "public", 8 | "baseBranch": "v1-main", 9 | "updateInternalDependencies": "patch", 10 | "ignore": [] 11 | } -------------------------------------------------------------------------------- /rust-plugins/auto-import/playground-react/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "skipLibCheck": true, 5 | "module": "ESNext", 6 | "moduleResolution": "bundler", 7 | "allowSyntheticDefaultImports": true, 8 | "strict": true 9 | }, 10 | "include": ["farm.config.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /rust-plugins/icons/types/svelte3.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'virtual:icons/*' { 2 | export { SvelteComponentDev as default } from 'svelte/internal' 3 | } 4 | 5 | declare module '~icons/*' { 6 | import { SvelteComponentTyped } from 'svelte' 7 | 8 | export default class extends SvelteComponentTyped {} 9 | } 10 | -------------------------------------------------------------------------------- /rust-plugins/worker/playground/src/worker/vue.worker.ts: -------------------------------------------------------------------------------- 1 | self.onmessage = (e) => { 2 | console.log("vue Message received from main script"); 3 | const workerResult = `Result: ${e.data[0] * e.data[1]}`; 4 | console.log("Posting message back to main script"); 5 | console.log("vue result:", workerResult); 6 | postMessage(workerResult); 7 | }; 8 | -------------------------------------------------------------------------------- /rust-plugins/mdx/options.d.ts: -------------------------------------------------------------------------------- 1 | export interface IPluginOptions { 2 | include?: String, 3 | exclude?: String, 4 | development?: boolean, 5 | providerImportSource?: String, 6 | jsx?: boolean, 7 | pragma?: String, 8 | pragmaFrag?: String, 9 | pragmaImportSource?: String, 10 | jsxImportSource?: String, 11 | filepath?: String, 12 | } 13 | -------------------------------------------------------------------------------- /examples/vuetify/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | /dist 4 | 5 | # local env files 6 | .env.local 7 | .env.*.local 8 | 9 | # Log files 10 | npm-debug.log* 11 | yarn-debug.log* 12 | yarn-error.log* 13 | pnpm-debug.log* 14 | 15 | # Editor directories and files 16 | .idea 17 | .vscode 18 | *.suo 19 | *.ntvs* 20 | *.njsproj 21 | *.sln 22 | *.sw? 23 | -------------------------------------------------------------------------------- /rust-plugins/compress/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @farmfe/plugin-compress 2 | 3 | ## 2.0.0-beta.0 4 | 5 | ### Major Changes 6 | 7 | - release farm v2-beta 8 | 9 | ## 0.1.0-beta.0 10 | 11 | ### Minor Changes 12 | 13 | - feat(rust-plugins): update farm v2-beta 14 | 15 | ## 0.0.2 16 | 17 | ### Patch Changes 18 | 19 | - update ci config to release packages 20 | -------------------------------------------------------------------------------- /examples/mdx/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | dist 12 | dist-ssr 13 | *.local 14 | 15 | # Editor directories and files 16 | .vscode/* 17 | !.vscode/extensions.json 18 | .idea 19 | .DS_Store 20 | *.suo 21 | *.sln 22 | *.sw? 23 | -------------------------------------------------------------------------------- /examples/virtual/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | dist 12 | dist-ssr 13 | *.local 14 | 15 | # Editor directories and files 16 | .vscode/* 17 | !.vscode/extensions.json 18 | .idea 19 | .DS_Store 20 | *.suo 21 | *.sln 22 | *.sw? 23 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- 1 | [workspace] 2 | members = ["rust-plugins/*"] 3 | resolver = "2" 4 | [workspace.dependencies] 5 | farmfe_core = { version = "2.1.0" } 6 | farmfe_utils = { version = "2.1.0" } 7 | farmfe_toolkit_plugin_types = { version = "2.0.1" } 8 | farmfe_macro_plugin = { version = "2.0.0" } 9 | farmfe_toolkit = "2.1.0" 10 | farmfe_compiler = { version = "2.1.0" } 11 | -------------------------------------------------------------------------------- /rust-plugins/dsv/npm/darwin-x64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-dsv-darwin-x64", 3 | "version": "0.0.1", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/mdx/npm/darwin-x64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-mdx-darwin-x64", 3 | "version": "0.0.0", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/svgr/npm/darwin-x64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-svgr-darwin-x64", 3 | "version": "0.0.0", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/url/npm/darwin-x64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-url-darwin-x64", 3 | "version": "0.0.0", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/wasm/npm/darwin-x64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-wasm-darwin-x64", 3 | "version": "0.0.0", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/yaml/npm/darwin-x64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-yaml-darwin-x64", 3 | "version": "0.0.2", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /examples/mdx/farm.config.ts: -------------------------------------------------------------------------------- 1 | import { defineConfig } from "@farmfe/core"; 2 | import farmPluginMdx from "@farmfe/plugin-mdx"; 3 | import { jsx } from "react/jsx-runtime"; 4 | 5 | export default defineConfig({ 6 | plugins: ["@farmfe/plugin-react", farmPluginMdx({ 7 | jsx: true 8 | })], 9 | compilation: { 10 | persistentCache: false, 11 | }, 12 | }); 13 | -------------------------------------------------------------------------------- /rust-plugins/dsv/npm/darwin-arm64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-dsv-darwin-arm64", 3 | "version": "0.0.1", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/dsv/npm/linux-x64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-dsv-linux-x64-musl", 3 | "version": "0.0.1", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/dsv/npm/win32-x64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-dsv-win32-x64-msvc", 3 | "version": "0.0.1", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/icons/npm/darwin-arm64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-icons-darwin-arm64", 3 | "version": "0.0.1", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } -------------------------------------------------------------------------------- /rust-plugins/icons/npm/darwin-x64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-icons-darwin-x64", 3 | "version": "0.0.0", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/image/npm/darwin-x64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-image-darwin-x64", 3 | "version": "0.0.0", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/mdx/npm/darwin-arm64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-mdx-darwin-arm64", 3 | "version": "0.1.2", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/mdx/npm/linux-x64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-mdx-linux-x64-musl", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/mdx/npm/win32-x64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-mdx-win32-x64-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/strip/npm/darwin-x64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-strip-darwin-x64", 3 | "version": "0.0.1", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/url/npm/darwin-arm64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-url-darwin-arm64", 3 | "version": "0.1.2", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/url/npm/linux-x64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-url-linux-x64-musl", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/url/npm/win32-x64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-url-win32-x64-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/worker/npm/darwin-arm64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-worker-darwin-arm64", 3 | "version": "0.0.3", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } -------------------------------------------------------------------------------- /rust-plugins/worker/npm/darwin-x64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-worker-darwin-x64", 3 | "version": "0.0.0", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/compress/npm/darwin-x64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-compress-darwin-x64", 3 | "version": "0.0.0", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/dsv/npm/win32-ia32-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-dsv-win32-ia32-msvc", 3 | "version": "0.0.1", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "ia32" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/icons/npm/linux-x64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-icons-linux-x64-musl", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/icons/npm/win32-x64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-icons-win32-x64-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/image/npm/darwin-arm64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-image-darwin-arm64", 3 | "version": "0.0.1", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/image/npm/linux-x64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-image-linux-x64-musl", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/image/npm/win32-x64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-image-win32-x64-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/mdx/npm/win32-ia32-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-mdx-win32-ia32-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "ia32" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/strip/npm/darwin-arm64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-strip-darwin-arm64", 3 | "version": "0.0.1", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/strip/npm/linux-x64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-strip-linux-x64-musl", 3 | "version": "0.0.1", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/strip/npm/win32-x64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-strip-win32-x64-msvc", 3 | "version": "0.0.1", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/strip/playground/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | dist 12 | dist-ssr 13 | *.local 14 | 15 | # Editor directories and files 16 | .vscode/* 17 | !.vscode/extensions.json 18 | .idea 19 | .DS_Store 20 | *.suo 21 | *.sln 22 | *.sw? 23 | -------------------------------------------------------------------------------- /rust-plugins/svgr/npm/darwin-arm64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-svgr-darwin-arm64", 3 | "version": "0.1.2", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/svgr/npm/linux-x64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-svgr-linux-x64-musl", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/svgr/npm/win32-ia32-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-svgr-win32-ia32-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "ia32" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/svgr/npm/win32-x64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-svgr-win32-x64-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/url/npm/win32-ia32-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-url-win32-ia32-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "ia32" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/virtual/npm/darwin-x64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-virtual-darwin-x64", 3 | "version": "0.0.1", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/virtual/playground/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | dist 12 | dist-ssr 13 | *.local 14 | 15 | # Editor directories and files 16 | .vscode/* 17 | !.vscode/extensions.json 18 | .idea 19 | .DS_Store 20 | *.suo 21 | *.sln 22 | *.sw? 23 | -------------------------------------------------------------------------------- /rust-plugins/wasm/npm/darwin-arm64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-wasm-darwin-arm64", 3 | "version": "0.1.2", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/wasm/npm/linux-x64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-wasm-linux-x64-musl", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/wasm/npm/win32-ia32-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-wasm-win32-ia32-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "ia32" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/wasm/npm/win32-x64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-wasm-win32-x64-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/yaml/npm/darwin-arm64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-yaml-darwin-arm64", 3 | "version": "0.0.2", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/yaml/npm/linux-x64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-yaml-linux-x64-musl", 3 | "version": "0.0.2", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/yaml/npm/win32-ia32-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-yaml-win32-ia32-msvc", 3 | "version": "0.0.2", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "ia32" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/yaml/npm/win32-x64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-yaml-win32-x64-msvc", 3 | "version": "0.0.2", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/npm/darwin-x64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-auto-import-darwin-x64", 3 | "version": "0.0.0", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/compress/npm/darwin-arm64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-compress-darwin-arm64", 3 | "version": "0.1.2", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/compress/npm/linux-x64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-compress-linux-x64-musl", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/compress/npm/win32-x64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-compress-win32-x64-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/dsv/npm/win32-arm64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-dsv-win32-arm64-msvc", 3 | "version": "0.0.1", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/icons/npm/win32-arm64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-icons-win32-arm64-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/icons/npm/win32-ia32-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-icons-win32-ia32-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "ia32" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/icons/playground-vue/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | dist 12 | dist-ssr 13 | *.local 14 | 15 | # Editor directories and files 16 | .vscode/* 17 | !.vscode/extensions.json 18 | .idea 19 | .DS_Store 20 | *.suo 21 | *.sln 22 | *.sw? 23 | -------------------------------------------------------------------------------- /rust-plugins/image/npm/win32-arm64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-image-win32-arm64-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/image/npm/win32-ia32-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-image-win32-ia32-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "ia32" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/mdx/npm/win32-arm64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-mdx-win32-arm64-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/strip/npm/win32-arm64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-strip-win32-arm64-msvc", 3 | "version": "0.0.1", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/strip/npm/win32-ia32-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-strip-win32-ia32-msvc", 3 | "version": "0.0.1", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "ia32" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/svgr/npm/win32-arm64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-svgr-win32-arm64-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/url/npm/win32-arm64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-url-win32-arm64-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/virtual/npm/darwin-arm64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-virtual-darwin-arm64", 3 | "version": "0.0.1", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/virtual/npm/linux-x64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-virtual-linux-x64-musl", 3 | "version": "0.0.1", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/virtual/npm/win32-x64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-virtual-win32-x64-msvc", 3 | "version": "0.0.1", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/wasm/npm/win32-arm64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-wasm-win32-arm64-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/worker/npm/linux-x64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-worker-linux-x64-musl", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/worker/npm/win32-ia32-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-worker-win32-ia32-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "ia32" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/worker/npm/win32-x64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-worker-win32-x64-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/yaml/npm/win32-arm64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-yaml-win32-arm64-msvc", 3 | "version": "0.0.2", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/npm/darwin-arm64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-auto-import-darwin-arm64", 3 | "version": "0.1.2", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/playground-vue/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | dist 12 | dist-ssr 13 | *.local 14 | 15 | # Editor directories and files 16 | .vscode/* 17 | !.vscode/extensions.json 18 | .idea 19 | .DS_Store 20 | *.suo 21 | *.sln 22 | *.sw? 23 | -------------------------------------------------------------------------------- /rust-plugins/compress/npm/win32-ia32-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-compress-win32-ia32-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "ia32" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/npm/darwin-x64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-modular-import-darwin-x64", 3 | "version": "0.0.0", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/virtual/npm/win32-arm64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-virtual-win32-arm64-msvc", 3 | "version": "0.0.1", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/virtual/npm/win32-ia32-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-virtual-win32-ia32-msvc", 3 | "version": "0.0.1", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "ia32" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/worker/npm/win32-arm64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-worker-win32-arm64-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /examples/vuetify/components.d.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | // @ts-nocheck 3 | // Generated by unplugin-vue-components 4 | // Read more: https://github.com/vuejs/core/pull/3399 5 | export {} 6 | 7 | /* prettier-ignore */ 8 | declare module 'vue' { 9 | export interface GlobalComponents { 10 | HelloWorld: typeof import('./src/components/HelloWorld.vue')['default'] 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /js-plugins/copy/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @farmfe/js-plugin-copy 2 | 3 | ## 0.0.4 4 | 5 | ### Patch Changes 6 | 7 | - chore: update farm version 8 | 9 | ## 0.0.3 10 | 11 | ### Patch Changes 12 | 13 | - update @farm/core version 14 | 15 | ## 0.0.2 16 | 17 | ### Patch Changes 18 | 19 | - fix copy plugin build 20 | 21 | ## 0.0.1 22 | 23 | ### Patch Changes 24 | 25 | - release copy plugin 26 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/npm/linux-x64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-auto-import-linux-x64-musl", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/npm/win32-ia32-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-auto-import-win32-ia32-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "ia32" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/npm/win32-x64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-auto-import-win32-x64-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/compress/npm/win32-arm64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-compress-win32-arm64-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/react-components/npm/darwin-x64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-react-components-darwin-x64", 3 | "version": "0.0.1", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/npm/win32-arm64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-auto-import-win32-arm64-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/npm/darwin-arm64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-modular-import-darwin-arm64", 3 | "version": "0.1.2", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/npm/linux-x64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-modular-import-linux-x64-musl", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/npm/win32-ia32-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-modular-import-win32-ia32-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "ia32" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/npm/win32-x64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-modular-import-win32-x64-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/react-components/npm/darwin-arm64/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-react-components-darwin-arm64", 3 | "version": "0.0.1", 4 | "os": [ 5 | "darwin" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/icons/types/astro.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | 3 | declare module '~icons/*' { 4 | const component: (props: astroHTML.JSX.SVGAttributes) => astroHTML.JSX.Element 5 | export default component 6 | } 7 | declare module 'virtual:icons/*' { 8 | const component: (props: astroHTML.JSX.SVGAttributes) => astroHTML.JSX.Element 9 | export default component 10 | } 11 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/npm/win32-arm64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-modular-import-win32-arm64-msvc", 3 | "version": "0.0.0", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/react-components/npm/linux-x64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-react-components-linux-x64-musl", 3 | "version": "0.0.1", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/react-components/npm/win32-ia32-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-react-components-win32-ia32-msvc", 3 | "version": "0.0.1", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "ia32" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/react-components/npm/win32-x64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-react-components-win32-x64-msvc", 3 | "version": "0.0.1", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/virtual/playground/src/index.tsx: -------------------------------------------------------------------------------- 1 | import { createRoot } from 'react-dom/client'; 2 | import { Main } from './main'; 3 | import './index.css' 4 | import defaultValue from "test.js" 5 | import "test1.js" 6 | 7 | console.log(defaultValue); 8 | 9 | const container = document.querySelector('#root') as Element; 10 | const root = createRoot(container); 11 | 12 | root.render(
); 13 | -------------------------------------------------------------------------------- /examples/babel-react-compiler/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | react compiler 7 | 8 | 9 |
10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /rust-plugins/react-components/npm/win32-arm64-msvc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-react-components-win32-arm64-msvc", 3 | "version": "0.0.1", 4 | "os": [ 5 | "win32" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /examples/vuetify/src/main.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * main.ts 3 | * 4 | * Bootstraps Vuetify and other plugins then mounts the App` 5 | */ 6 | 7 | // Plugins 8 | import { registerPlugins } from '@/plugins' 9 | 10 | // Components 11 | import App from './App.vue' 12 | 13 | // Composables 14 | import { createApp } from 'vue' 15 | 16 | const app = createApp(App) 17 | 18 | registerPlugins(app) 19 | 20 | app.mount('#app') 21 | -------------------------------------------------------------------------------- /rust-plugins/dsv/npm/linux-x64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-dsv-linux-x64-gnu", 3 | "version": "0.0.1", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/mdx/npm/linux-x64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-mdx-linux-x64-gnu", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/svgr/npm/linux-x64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-svgr-linux-x64-gnu", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/url/npm/linux-x64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-url-linux-x64-gnu", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/wasm/npm/linux-x64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-wasm-linux-x64-gnu", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/yaml/npm/linux-x64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-yaml-linux-x64-gnu", 3 | "version": "0.0.2", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/dsv/npm/linux-arm64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-dsv-linux-arm64-gnu", 3 | "version": "0.0.1", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/dsv/npm/linux-arm64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-dsv-linux-arm64-musl", 3 | "version": "0.0.1", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/icons/npm/linux-x64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-icons-linux-x64-gnu", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/image/npm/linux-x64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-image-linux-x64-gnu", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/mdx/npm/linux-arm64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-mdx-linux-arm64-gnu", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/mdx/npm/linux-arm64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-mdx-linux-arm64-musl", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/strip/npm/linux-x64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-strip-linux-x64-gnu", 3 | "version": "0.0.1", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/svgr/npm/linux-arm64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-svgr-linux-arm64-gnu", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/url/npm/linux-arm64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-url-linux-arm64-gnu", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/url/npm/linux-arm64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-url-linux-arm64-musl", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/virtual/npm/linux-x64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-virtual-linux-x64-gnu", 3 | "version": "0.0.1", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/wasm/npm/linux-arm64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-wasm-linux-arm64-gnu", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/worker/npm/linux-x64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-worker-linux-x64-gnu", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/yaml/npm/linux-arm64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-yaml-linux-arm64-gnu", 3 | "version": "0.0.2", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /examples/vuetify/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Welcome to Vuetify 3 8 | 9 | 10 |
11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /examples/vuetify/tsconfig.app.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@vue/tsconfig/tsconfig.dom.json", 3 | "include": ["env.d.ts", "src/**/*", "src/**/*.vue"], 4 | "exclude": ["src/**/__tests__/*"], 5 | "compilerOptions": { 6 | "composite": true, 7 | "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", 8 | 9 | "baseUrl": ".", 10 | "paths": { 11 | "@/*": ["./src/*"] 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /rust-plugins/compress/npm/linux-x64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-compress-linux-x64-gnu", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/icons/npm/linux-arm64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-icons-linux-arm64-gnu", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/icons/npm/linux-arm64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-icons-linux-arm64-musl", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/image/npm/linux-arm64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-image-linux-arm64-gnu", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/image/npm/linux-arm64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-image-linux-arm64-musl", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/strip/npm/linux-arm64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-strip-linux-arm64-gnu", 3 | "version": "0.0.1", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/strip/npm/linux-arm64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-strip-linux-arm64-musl", 3 | "version": "0.0.1", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/svgr/npm/linux-arm64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-svgr-linux-arm64-musl", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/wasm/npm/linux-arm64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-wasm-linux-arm64-musl", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/worker/npm/linux-arm64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-worker-linux-arm64-gnu", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/yaml/npm/linux-arm64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-yaml-linux-arm64-musl", 3 | "version": "0.0.2", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/npm/linux-x64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-auto-import-linux-x64-gnu", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/compress/npm/linux-arm64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-compress-linux-arm64-gnu", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/compress/npm/linux-arm64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-compress-linux-arm64-musl", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/mdx/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | edition = "2021" 3 | name = "farmfe_plugin_mdx" 4 | version = "0.0.0" 5 | 6 | [lib] 7 | crate-type = ["cdylib", "rlib"] 8 | 9 | [dependencies] 10 | mdxjs = {version="0.2.5", features=["serializable"]} 11 | farmfe_core = {workspace = true} 12 | farmfe_macro_plugin = {workspace = true} 13 | farmfe_toolkit_plugin_types = {workspace = true} 14 | regex = "1.10.6" 15 | serde = "1.0.210" 16 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | edition = "2021" 3 | name = "farmfe_plugin_modular_import" 4 | version = "0.0.1" 5 | 6 | [lib] 7 | crate-type = ["cdylib", "rlib"] 8 | 9 | [dependencies] 10 | farmfe_core = { workspace = true } 11 | farmfe_toolkit_plugin_types = { workspace = true } 12 | farmfe_macro_plugin = { workspace = true } 13 | serde = "1.0.197" 14 | serde_json = "1.0.116" 15 | regex = "1.10.6" 16 | -------------------------------------------------------------------------------- /rust-plugins/svgr/src/options.rs: -------------------------------------------------------------------------------- 1 | #![deny(clippy::all)] 2 | 3 | use farmfe_core::{serde, serde_json}; 4 | use serde_json::Value; 5 | 6 | #[derive(Debug, serde::Deserialize, Default, Clone)] 7 | #[serde(rename_all = "camelCase")] 8 | pub struct Options { 9 | pub include: Option>, 10 | pub exclude: Option>, 11 | pub default_style: Option, 12 | pub default_class: Option, 13 | } 14 | -------------------------------------------------------------------------------- /rust-plugins/virtual/npm/linux-arm64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-virtual-linux-arm64-gnu", 3 | "version": "0.0.1", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/virtual/npm/linux-arm64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-virtual-linux-arm64-musl", 3 | "version": "0.0.1", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/worker/npm/linux-arm64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-worker-linux-arm64-musl", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/npm/linux-arm64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-auto-import-linux-arm64-gnu", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/icons/types/preact.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'virtual:icons/*' { 2 | import type { JSX } from 'preact' 3 | 4 | const component: (props: JSX.SVGAttributes) => JSX.Element 5 | export default component 6 | } 7 | declare module '~icons/*' { 8 | import type { JSX } from 'preact' 9 | 10 | const component: (props: JSX.SVGAttributes) => JSX.Element 11 | export default component 12 | } 13 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/npm/linux-x64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-modular-import-linux-x64-gnu", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/npm/linux-arm64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-auto-import-linux-arm64-musl", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/src/presets/vue_router.rs: -------------------------------------------------------------------------------- 1 | use super::ImportPreset; 2 | 3 | pub fn get_vue_router_preset() -> ImportPreset { 4 | ImportPreset { 5 | from: "vue-router".to_string(), 6 | imports: vec![ 7 | "useRouter".to_string(), 8 | "useRoute".to_string(), 9 | "useLink".to_string(), 10 | "onBeforeRouteLeave".to_string(), 11 | "onBeforeRouteUpdate".to_string(), 12 | ], 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/npm/linux-arm64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-modular-import-linux-arm64-gnu", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/react-components/npm/linux-x64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-react-components-linux-x64-gnu", 3 | "version": "0.0.1", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "x64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/react-components/playground/src/components/ComponentE.tsx: -------------------------------------------------------------------------------- 1 | import { Button } from "antd" 2 | 3 | export const ComponentE = () => { 4 | return 5 | } 6 | 7 | const ComponentF = () => { 8 | return 9 | } 10 | export const ComponentG = () => { 11 | return 12 | } 13 | export { 14 | ComponentF 15 | } 16 | 17 | export default ComponentE 18 | -------------------------------------------------------------------------------- /rust-plugins/wasm/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | edition = "2021" 3 | name = "farmfe_plugin_wasm" 4 | version = "0.0.0" 5 | 6 | [lib] 7 | crate-type = ["cdylib", "rlib"] 8 | 9 | [dependencies] 10 | farmfe_core = { workspace = true } 11 | farmfe_toolkit_plugin_types = { workspace = true } 12 | farmfe_macro_plugin = { workspace = true } 13 | farmfe_toolkit = { workspace = true } 14 | rkyv = { version = "0.8.10" } 15 | wasmparser = "0.225.0" 16 | -------------------------------------------------------------------------------- /examples/babel-react-compiler/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # babel-react-compiler 2 | 3 | ## 1.0.2 4 | 5 | ### Patch Changes 6 | 7 | - chore: update farm version 8 | - Updated dependencies 9 | - @farmfe/js-plugin-babel@0.0.3 10 | - @farmfe/js-plugin-react-compiler@0.0.3 11 | 12 | ## 1.0.1 13 | 14 | ### Patch Changes 15 | 16 | - Updated dependencies [8764dba] 17 | - @farmfe/js-plugin-react-compiler@0.0.2 18 | - @farmfe/js-plugin-babel@0.0.2 19 | -------------------------------------------------------------------------------- /rust-plugins/icons/playground-vue/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Farm + Vue3 + TS 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/npm/linux-arm64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-modular-import-linux-arm64-musl", 3 | "version": "0.0.0", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/react-components/npm/linux-arm64-gnu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-react-components-linux-arm64-gnu", 3 | "version": "0.0.1", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/playground-vue/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Farm + Vue3 + TS 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /rust-plugins/react-components/npm/linux-arm64-musl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@farmfe/plugin-react-components-linux-arm64-musl", 3 | "version": "0.0.1", 4 | "os": [ 5 | "linux" 6 | ], 7 | "cpu": [ 8 | "arm64" 9 | ], 10 | "main": "index.farm", 11 | "files": [ 12 | "index.farm" 13 | ], 14 | "license": "MIT", 15 | "engines": { 16 | "node": ">= 10" 17 | }, 18 | "libc": [ 19 | "glibc" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /rust-plugins/virtual/playground/farm.config.ts: -------------------------------------------------------------------------------- 1 | import { defineConfig } from '@farmfe/core'; 2 | import virtual from "@farmfe/plugin-virtual" 3 | export default defineConfig({ 4 | plugins: ['@farmfe/plugin-react', virtual({ 5 | "test.js": "export default 'This is a virtual module';", 6 | "test1.js": { 7 | raw: "export const a = 1; export const b = 2; console.log(a + b);", 8 | moduleType: "js" 9 | } 10 | })], 11 | }); 12 | -------------------------------------------------------------------------------- /rust-plugins/worker/playground/src/worker/test.worker.ts: -------------------------------------------------------------------------------- 1 | import { get } from "lodash-es" 2 | self.onmessage = (e) => { 3 | console.log("lodash get",get({ a: 500 }, "a")); 4 | console.log("Message received from main script"); 5 | const workerResult = `Result: ${e.data[0] * e.data[1]}`; 6 | console.log("Posting message back to main script"); 7 | console.log("test worker result:", workerResult); 8 | postMessage(workerResult); 9 | }; 10 | -------------------------------------------------------------------------------- /rust-plugins/wasm/rust-wasm/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "rust-wasm" 3 | version = "0.1.0" 4 | authors = ["苏向夜 "] 5 | edition = "2021" 6 | 7 | [workspace] 8 | 9 | [lib] 10 | crate-type = ["cdylib", "rlib"] 11 | 12 | [dependencies] 13 | wasm-bindgen = "0.2.84" 14 | 15 | [dev-dependencies] 16 | wasm-bindgen-test = "0.3.34" 17 | 18 | [profile.release] 19 | # Tell `rustc` to optimize for small code size. 20 | opt-level = "s" 21 | -------------------------------------------------------------------------------- /rust-plugins/image/playground/farm.config.ts: -------------------------------------------------------------------------------- 1 | import { defineConfig } from "@farmfe/core"; 2 | import image from "@farmfe/plugin-image" 3 | import react from "@farmfe/plugin-react" 4 | export default defineConfig({ 5 | compilation: { 6 | input: { 7 | index: "./index.html", 8 | }, 9 | persistentCache: false, 10 | progress: false, 11 | }, 12 | plugins: [ 13 | react({ runtime: "automatic" }), 14 | image() 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /rust-plugins/yaml/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | edition = "2021" 3 | name = "farmfe_plugin_yaml" 4 | version = "0.0.1" 5 | 6 | [lib] 7 | crate-type = ["cdylib", "rlib"] 8 | 9 | [dependencies] 10 | farmfe_core = { workspace = true } 11 | farmfe_toolkit_plugin_types = { workspace = true } 12 | farmfe_macro_plugin = { workspace = true } 13 | serde_yaml = "0.9.34" 14 | lazy_static = "1.5.0" 15 | serde = "1.0.203" 16 | globset = "0.4.14" 17 | regex = "1.10.5" 18 | -------------------------------------------------------------------------------- /examples/mdx/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Farm + React + TS 9 | 10 | 11 |
12 | 13 | 14 | -------------------------------------------------------------------------------- /examples/virtual/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Farm + React + TS 9 | 10 | 11 |
12 | 13 | 14 | -------------------------------------------------------------------------------- /rust-plugins/virtual/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | edition = "2021" 3 | name = "farmfe_plugin_virtual" 4 | version = "0.0.1" 5 | 6 | [lib] 7 | crate-type = ["cdylib", "rlib"] 8 | 9 | [dependencies] 10 | farmfe_toolkit_plugin_types = { workspace = true } 11 | farmfe_macro_plugin = { workspace = true } 12 | farmfe_core = { workspace = true } 13 | farmfe_toolkit = { workspace = true } 14 | thiserror = "2.0.3" 15 | serde = { version = "1.0.197", features = ["derive"] } 16 | -------------------------------------------------------------------------------- /rust-plugins/svgr/playground/farm.config.ts: -------------------------------------------------------------------------------- 1 | import { defineConfig } from "@farmfe/core"; 2 | import react from '@farmfe/plugin-react'; 3 | import farmPlugin from '@farmfe/plugin-svgr'; 4 | 5 | export default defineConfig({ 6 | compilation: { 7 | input: { 8 | index: "./index.html", 9 | }, 10 | persistentCache: false, 11 | progress: false, 12 | }, 13 | plugins: [ 14 | react({ runtime: "automatic" }), 15 | farmPlugin() 16 | ], 17 | }); 18 | -------------------------------------------------------------------------------- /rust-plugins/strip/playground/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Farm + React + TS 9 | 10 | 11 |
12 | 13 | 14 | -------------------------------------------------------------------------------- /rust-plugins/url/playground/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Farm + React + TS 9 | 10 | 11 |
12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /rust-plugins/virtual/playground/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Farm + React + TS 9 | 10 | 11 |
12 | 13 | 14 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/src/presets/react.rs: -------------------------------------------------------------------------------- 1 | use super::ImportPreset; 2 | 3 | pub fn get_react_preset() -> ImportPreset { 4 | return ImportPreset { 5 | from: "react".to_string(), 6 | imports: vec![ 7 | "useState".to_string(), 8 | "useCallback".to_string(), 9 | "useMemo".to_string(), 10 | "useEffect".to_string(), 11 | "useRef".to_string(), 12 | "useContext".to_string(), 13 | "useReducer".to_string(), 14 | ], 15 | }; 16 | } 17 | -------------------------------------------------------------------------------- /rust-plugins/compress/playground/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Farm + React + TS 9 | 10 | 11 |
12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /rust-plugins/icons/src/compiler/react.rs: -------------------------------------------------------------------------------- 1 | pub use svgr_rs::{transform as _react_complier, Config, JSXRuntime}; 2 | 3 | use super::CompilerParams; 4 | 5 | pub fn react_complier(param: CompilerParams) -> String { 6 | let CompilerParams { svg, .. } = param; 7 | let code = _react_complier( 8 | svg, 9 | Config { 10 | jsx_runtime: JSXRuntime::Classic, 11 | ..Default::default() 12 | }, 13 | Default::default(), 14 | ) 15 | .unwrap(); 16 | code 17 | } 18 | -------------------------------------------------------------------------------- /rust-plugins/image/playground/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Farm + React + TS 9 | 10 | 11 |
12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /rust-plugins/svgr/playground/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Farm + React + TS 9 | 10 | 11 |
12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /rust-plugins/wasm/playground/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Farm + React + TS 9 | 10 | 11 |
12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /rust-plugins/worker/playground/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Farm + React + TS 9 | 10 | 11 |
12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /examples/vuetify/src/plugins/vuetify.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * plugins/vuetify.ts 3 | * 4 | * Framework documentation: https://vuetifyjs.com` 5 | */ 6 | 7 | // Styles 8 | import "@mdi/font/css/materialdesignicons.css"; 9 | import "vuetify/styles"; 10 | 11 | // Composables 12 | import { createVuetify } from "vuetify"; 13 | 14 | // https://vuetifyjs.com/en/introduction/why-vuetify/#feature-guides 15 | export default createVuetify({ 16 | theme: { 17 | defaultTheme: "dark", 18 | }, 19 | }); 20 | -------------------------------------------------------------------------------- /rust-plugins/icons/playground-react/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Farm + React + TS 9 | 10 | 11 |
12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /rust-plugins/icons/src/compiler/preact.rs: -------------------------------------------------------------------------------- 1 | pub use svgr_rs::{transform as react_complier, Config, JSXRuntime}; 2 | 3 | use super::CompilerParams; 4 | 5 | pub fn preact_complier(param: CompilerParams) -> String { 6 | let CompilerParams { svg, .. } = param; 7 | let code = react_complier( 8 | svg, 9 | Config { 10 | jsx_runtime: JSXRuntime::ClassicPreact, 11 | ..Default::default() 12 | }, 13 | Default::default(), 14 | ) 15 | .unwrap(); 16 | code 17 | } 18 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/playground-react/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Farm + React + TS 9 | 10 | 11 |
12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /rust-plugins/react-components/playground/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Farm + React + TS 9 | 10 | 11 |
12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /rust-plugins/svgr/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @farmfe/plugin-svgr 2 | 3 | ## 2.0.0-beta.0 4 | 5 | ### Major Changes 6 | 7 | - release farm v2-beta 8 | 9 | ## 0.1.0-beta.0 10 | 11 | ### Minor Changes 12 | 13 | - feat(rust-plugins): update farm v2-beta 14 | 15 | ## 0.0.3 16 | 17 | ### Patch Changes 18 | 19 | - chore: update farm version 20 | 21 | ## 0.0.2 22 | 23 | ### Patch Changes 24 | 25 | - feat: update farm version 26 | 27 | ## 0.0.1 28 | 29 | ### Patch Changes 30 | 31 | - bump version 32 | -------------------------------------------------------------------------------- /rust-plugins/icons/types/qwik.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'virtual:icons/*' { 2 | import type { FunctionComponent, QwikIntrinsicElements } from '@builder.io/qwik' 3 | 4 | const Component: FunctionComponent 5 | export default Component 6 | } 7 | declare module '~icons/*' { 8 | import type { FunctionComponent, QwikIntrinsicElements } from '@builder.io/qwik' 9 | 10 | const Component: FunctionComponent 11 | export default Component 12 | } 13 | -------------------------------------------------------------------------------- /examples/babel-react-compiler/farm.config.ts: -------------------------------------------------------------------------------- 1 | import { defineConfig } from '@farmfe/core'; 2 | import react from '@farmfe/plugin-react'; 3 | import { reactCompiler } from '@farmfe/js-plugin-react-compiler'; 4 | 5 | export default defineConfig({ 6 | compilation: { 7 | input: {}, 8 | output: {}, 9 | presetEnv: false, 10 | minify: false, 11 | mode: 'development', 12 | persistentCache: false, 13 | }, 14 | plugins: [reactCompiler(), react()], 15 | }); 16 | -------------------------------------------------------------------------------- /rust-plugins/dsv/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | edition = "2021" 3 | name = "farmfe_plugin_dsv" 4 | version = "0.0.1" 5 | authors = ["CCherry07 "] 6 | license = "MIT" 7 | 8 | [lib] 9 | crate-type = ["cdylib", "rlib"] 10 | 11 | [dependencies] 12 | farmfe_core = { workspace = true } 13 | farmfe_toolkit_plugin_types = { workspace = true } 14 | farmfe_macro_plugin = { workspace = true } 15 | csv = "1.3.0" 16 | serde = "1.0.197" 17 | serde_json = "1.0.116" 18 | farmfe_toolkit = {workspace = true} 19 | -------------------------------------------------------------------------------- /examples/vuetify/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@tsconfig/node22/tsconfig.json", 3 | "include": [ 4 | "vite.config.*", 5 | "vitest.config.*", 6 | "cypress.config.*", 7 | "nightwatch.conf.*", 8 | "playwright.config.*" 9 | ], 10 | "compilerOptions": { 11 | "composite": true, 12 | "noEmit": true, 13 | "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo", 14 | 15 | "module": "ESNext", 16 | "moduleResolution": "Bundler", 17 | "types": ["node"] 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /rust-plugins/icons/playground-react/uno.config.ts: -------------------------------------------------------------------------------- 1 | // uno.config.ts 2 | import { 3 | defineConfig, 4 | presetIcons, 5 | presetUno, 6 | transformerDirectives, 7 | transformerVariantGroup, 8 | } from 'unocss' 9 | 10 | export default defineConfig({ 11 | content: { 12 | filesystem: [ 13 | '**/*.{html,js,ts,jsx,tsx,vue,svelte,astro}', 14 | ], 15 | }, 16 | presets: [ 17 | presetIcons(), 18 | presetUno(), 19 | ], 20 | transformers: [transformerVariantGroup(), transformerDirectives()], 21 | }) 22 | -------------------------------------------------------------------------------- /rust-plugins/icons/playground-vue/src/assets/vue.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rust-plugins/strip/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | edition = "2021" 3 | name = "farmfe_plugin_strip" 4 | version = "0.0.1" 5 | authors = ["CCherry07 "] 6 | license = "MIT" 7 | 8 | [lib] 9 | crate-type = ["cdylib", "rlib"] 10 | 11 | [dependencies] 12 | farmfe_core = { workspace = true } 13 | farmfe_toolkit_plugin_types = { workspace = true } 14 | farmfe_macro_plugin = { workspace = true } 15 | farmfe_toolkit = { workspace = true } 16 | serde = { version = "1.0.197", features = ["derive"] } 17 | regex = "1.10.4" 18 | -------------------------------------------------------------------------------- /examples/babel-react-compiler/src/App.jsx: -------------------------------------------------------------------------------- 1 | import React, { useCallback, useEffect, useState } from 'react'; 2 | 3 | export default function App() { 4 | const [count, setCount] = useState(1); 5 | 6 | useEffect(() => { 7 | console.log(count); 8 | }, [count]); 9 | 10 | const inc = useCallback(() => setCount(v => v + 1), []); 11 | 12 | return ( 13 |
14 |

hello world {count}

15 | 16 |
17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/playground-vue/src/assets/vue.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.changeset/README.md: -------------------------------------------------------------------------------- 1 | # Changesets 2 | 3 | Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works 4 | with multi-package repos, or single-package repos to help you version and publish your code. You can 5 | find the full documentation for it [in our repository](https://github.com/changesets/changesets) 6 | 7 | We have a quick list of common questions to get you started engaging with this project in 8 | [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) 9 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/src/presets/react_router_dom.rs: -------------------------------------------------------------------------------- 1 | use super::ImportPreset; 2 | 3 | pub fn get_react_router_dom_preset() -> ImportPreset { 4 | ImportPreset { 5 | imports: vec![ 6 | "useLinkClickHandler".to_string(), 7 | "useSearchParams".to_string(), 8 | "Link".to_string(), 9 | "NavLink".to_string(), 10 | "Navigate".to_string(), 11 | "Outlet".to_string(), 12 | "Route".to_string(), 13 | "Routes".to_string(), 14 | ], 15 | from: "react-router-dom".to_string(), 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /rust-plugins/compress/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | edition = "2021" 3 | name = "farmfe_plugin_compress" 4 | version = "0.0.0" 5 | 6 | [lib] 7 | crate-type = ["cdylib", "rlib"] 8 | 9 | [dependencies] 10 | farmfe_core = { workspace = true } 11 | farmfe_toolkit_plugin_types = { workspace = true } 12 | farmfe_macro_plugin = { workspace = true } 13 | farmfe_toolkit = { workspace = true } 14 | serde = { version = "1.0.217", features = ["derive"] } 15 | serde_json = "1.0.138" 16 | flate2 = { version = "1.0.35", features = ["zlib"] } 17 | brotli = "7.0.0" 18 | -------------------------------------------------------------------------------- /rust-plugins/auto-import/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | edition = "2021" 3 | name = "farmfe_plugin_auto_import" 4 | version = "0.0.0" 5 | 6 | [lib] 7 | crate-type = ["cdylib", "rlib"] 8 | 9 | [dependencies] 10 | farmfe_core = { workspace = true } 11 | farmfe_utils = { workspace = true } 12 | farmfe_toolkit_plugin_types = { workspace = true } 13 | farmfe_macro_plugin = { workspace = true } 14 | farmfe_toolkit = { workspace = true } 15 | 16 | serde = { version = "1.0.197", features = ["derive"] } 17 | glob = "0.3.1" 18 | walkdir = "2.5.0" 19 | regress = "0.10.1" 20 | -------------------------------------------------------------------------------- /rust-plugins/icons/src/compiler/solid.rs: -------------------------------------------------------------------------------- 1 | use farmfe_core::regex::Regex; 2 | 3 | use super::CompilerParams; 4 | 5 | pub fn solid_compiler(parm: CompilerParams) -> String { 6 | let CompilerParams { svg, .. } = parm; 7 | let re_braces = Regex::new(r"([{}])").unwrap(); 8 | let svg_with_props = re_braces.replace_all(&svg, "{'$1'}"); 9 | let re_svg_tag = Regex::new(r"(?<=)").unwrap(); 10 | let svg_with_props = re_svg_tag.replace(&svg_with_props, "{...props}>"); 11 | format!("export default (props = {{}}) => {}", svg_with_props) 12 | } 13 | -------------------------------------------------------------------------------- /rust-plugins/svgr/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | edition = "2021" 3 | name = "farm_plugin_svgr" 4 | version = "0.0.0" 5 | 6 | [lib] 7 | crate-type = ["cdylib", "rlib"] 8 | 9 | [dependencies] 10 | farmfe_core = { workspace = true } 11 | farmfe_utils = { workspace = true } 12 | farmfe_toolkit_plugin_types = { workspace = true } 13 | farmfe_macro_plugin = { workspace = true } 14 | farmfe_toolkit = { workspace = true } 15 | serde = { version = "1.0", features = ["derive"] } 16 | serde_json = "1.0" 17 | svgr-rs = "0.2.0" 18 | globset = "0.4" 19 | xmltree = "0.11.0" 20 | -------------------------------------------------------------------------------- /examples/vuetify/src/assets/logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /rust-plugins/modular-import/playground/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Farm + Vue2.7 9 | 10 | 11 | 12 |
13 |
14 |
15 | 16 | 17 | -------------------------------------------------------------------------------- /rust-plugins/worker/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | edition = "2021" 3 | name = "farmfe_plugin_worker" 4 | version = "0.0.0" 5 | 6 | [lib] 7 | crate-type = ["cdylib", "rlib"] 8 | 9 | [dependencies] 10 | farmfe_core = { workspace = true } 11 | farmfe_utils = { workspace = true } 12 | farmfe_toolkit_plugin_types = { workspace = true } 13 | farmfe_macro_plugin = { workspace = true } 14 | farmfe_toolkit = { workspace = true } 15 | farmfe_compiler = { workspace = true } 16 | serde = "1.0.213" 17 | regress = "0.10.1" 18 | base64 = "0.22.1" 19 | rkyv = "0.8.10" 20 | rustc-hash = "2.1.1" 21 | -------------------------------------------------------------------------------- /rust-plugins/image/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | edition = "2021" 3 | name = "farmfe_plugin_image" 4 | version = "0.0.1" 5 | authors = ["CCherry07 "] 6 | license = "MIT" 7 | 8 | [lib] 9 | crate-type = ["cdylib", "rlib"] 10 | 11 | [dependencies] 12 | farmfe_core = { workspace = true } 13 | farmfe_toolkit_plugin_types = { workspace = true } 14 | farmfe_macro_plugin = { workspace = true } 15 | serde = { version = "1.0.197", features = ["derive"] } 16 | farmfe_toolkit = { workspace = true } 17 | base64 = "0.22.1" 18 | mime_guess = "2.0.5" 19 | lazy_static = "1.5.0" 20 | -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- 1 | name: Build Test 2 | on: 3 | pull_request: 4 | branches: 5 | - main 6 | 7 | jobs: 8 | call-rust-build: 9 | if: github.event_name == 'pull_request' && (contains(github.event.pull_request.title, 'rust-plugins') || contains(github.event.pull_request.title, 'all')) 10 | uses: ./.github/workflows/build.yaml 11 | call-js-build: 12 | if: github.event_name == 'pull_request' && (contains(github.event.pull_request.title, 'js-plugins') || contains(github.event.pull_request.title, 'all')) 13 | uses: ./.github/workflows/js-plugin-build.yaml 14 | -------------------------------------------------------------------------------- /examples/mdx/README.md: -------------------------------------------------------------------------------- 1 | # Farm + React 2 | 3 | This template should help you start developing using React and TypeScript in Farm. 4 | 5 | ## Setup 6 | 7 | Install the dependencies: 8 | 9 | ```bash 10 | pnpm install 11 | ``` 12 | 13 | ## Get Started 14 | 15 | Start the dev server: 16 | 17 | ```bash 18 | pnpm start 19 | ``` 20 | 21 | Build the app for production: 22 | 23 | ```bash 24 | pnpm build 25 | ``` 26 | 27 | Preview the Production build product: 28 | 29 | ```bash 30 | pnpm preview 31 | ``` 32 | 33 | Clear persistent cache local files 34 | 35 | ```bash 36 | pnpm clean 37 | ``` 38 | -------------------------------------------------------------------------------- /examples/virtual/README.md: -------------------------------------------------------------------------------- 1 | # Farm + React 2 | 3 | This template should help you start developing using React and TypeScript in Farm. 4 | 5 | ## Setup 6 | 7 | Install the dependencies: 8 | 9 | ```bash 10 | pnpm install 11 | ``` 12 | 13 | ## Get Started 14 | 15 | Start the dev server: 16 | 17 | ```bash 18 | pnpm start 19 | ``` 20 | 21 | Build the app for production: 22 | 23 | ```bash 24 | pnpm build 25 | ``` 26 | 27 | Preview the Production build product: 28 | 29 | ```bash 30 | pnpm preview 31 | ``` 32 | 33 | Clear persistent cache local files 34 | 35 | ```bash 36 | pnpm clean 37 | ``` 38 | -------------------------------------------------------------------------------- /rust-plugins/url/playground/README.md: -------------------------------------------------------------------------------- 1 | # Farm + React 2 | 3 | This template should help you start developing using React and TypeScript in Farm. 4 | 5 | ## Setup 6 | 7 | Install the dependencies: 8 | 9 | ```bash 10 | pnpm install 11 | ``` 12 | 13 | ## Get Started 14 | 15 | Start the dev server: 16 | 17 | ```bash 18 | pnpm start 19 | ``` 20 | 21 | Build the app for production: 22 | 23 | ```bash 24 | pnpm build 25 | ``` 26 | 27 | Preview the Production build product: 28 | 29 | ```bash 30 | pnpm preview 31 | ``` 32 | 33 | Clear persistent cache local files 34 | 35 | ```bash 36 | pnpm clean 37 | ``` 38 | -------------------------------------------------------------------------------- /.changeset/brown-turkeys-clean.md: -------------------------------------------------------------------------------- 1 | --- 2 | "@farmfe/plugin-auto-import": major 3 | "@farmfe/plugin-compress": major 4 | "@farmfe/plugin-dsv": major 5 | "@farmfe/plugin-icons": major 6 | "@farmfe/plugin-image": major 7 | "@farmfe/plugin-mdx": major 8 | "@farmfe/plugin-modular-import": major 9 | "@farmfe/plugin-react-components": major 10 | "@farmfe/plugin-strip": major 11 | "@farmfe/plugin-svgr": major 12 | "@farmfe/plugin-url": major 13 | "@farmfe/plugin-virtual": major 14 | "@farmfe/plugin-wasm": major 15 | "@farmfe/plugin-worker": major 16 | "@farmfe/plugin-yaml": major 17 | --- 18 | 19 | release farm v2-beta 20 | -------------------------------------------------------------------------------- /rust-plugins/compress/playground/README.md: -------------------------------------------------------------------------------- 1 | # Farm + React 2 | 3 | This template should help you start developing using React and TypeScript in Farm. 4 | 5 | ## Setup 6 | 7 | Install the dependencies: 8 | 9 | ```bash 10 | pnpm install 11 | ``` 12 | 13 | ## Get Started 14 | 15 | Start the dev server: 16 | 17 | ```bash 18 | pnpm start 19 | ``` 20 | 21 | Build the app for production: 22 | 23 | ```bash 24 | pnpm build 25 | ``` 26 | 27 | Preview the Production build product: 28 | 29 | ```bash 30 | pnpm preview 31 | ``` 32 | 33 | Clear persistent cache local files 34 | 35 | ```bash 36 | pnpm clean 37 | ``` 38 | -------------------------------------------------------------------------------- /rust-plugins/icons/playground-vue/README.md: -------------------------------------------------------------------------------- 1 | # Farm + Vue 2 | 3 | This template should help you start developing using Vue and TypeScript in Farm. 4 | 5 | ## Setup 6 | 7 | Install the dependencies: 8 | 9 | ```bash 10 | pnpm install 11 | ``` 12 | 13 | ## Get Started 14 | 15 | Start the dev server: 16 | 17 | ```bash 18 | pnpm start 19 | ``` 20 | 21 | Build the app for production: 22 | 23 | ```bash 24 | pnpm build 25 | ``` 26 | 27 | Preview the Production build product: 28 | 29 | ```bash 30 | pnpm preview 31 | ``` 32 | 33 | Clear persistent cache local files 34 | 35 | ```bash 36 | pnpm clean 37 | ``` 38 | --------------------------------------------------------------------------------