diff --git a/packages/farm-plugin-dsv/npm/darwin-arm64/README.md b/packages/farm-plugin-dsv/npm/darwin-arm64/README.md index 005305e..c4d25dd 100644 --- a/packages/farm-plugin-dsv/npm/darwin-arm64/README.md +++ b/packages/farm-plugin-dsv/npm/darwin-arm64/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-dsv-darwin-arm64` +# `@farmfe/plugin-dsv-darwin-arm64` -This is the **aarch64-apple-darwin** binary for `farm-plugin-dsv` +This is the **aarch64-apple-darwin** binary for `@farmfe/plugin-dsv` diff --git a/packages/farm-plugin-dsv/npm/darwin-arm64/package.json b/packages/farm-plugin-dsv/npm/darwin-arm64/package.json index 4e93f80..ace93fa 100644 --- a/packages/farm-plugin-dsv/npm/darwin-arm64/package.json +++ b/packages/farm-plugin-dsv/npm/darwin-arm64/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-dsv-darwin-arm64", + "name": "@farmfe/plugin-dsv-darwin-arm64", "version": "0.0.1", "os": [ "darwin" diff --git a/packages/farm-plugin-dsv/npm/darwin-x64/README.md b/packages/farm-plugin-dsv/npm/darwin-x64/README.md index 3516f75..2c651a4 100644 --- a/packages/farm-plugin-dsv/npm/darwin-x64/README.md +++ b/packages/farm-plugin-dsv/npm/darwin-x64/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-dsv-darwin-x64` +# `@farmfe/plugin-dsv-darwin-x64` -This is the **x86_64-apple-darwin** binary for `farm-plugin-dsv` +This is the **x86_64-apple-darwin** binary for `@farmfe/plugin-dsv` diff --git a/packages/farm-plugin-dsv/npm/darwin-x64/package.json b/packages/farm-plugin-dsv/npm/darwin-x64/package.json index a47bec1..ac62221 100644 --- a/packages/farm-plugin-dsv/npm/darwin-x64/package.json +++ b/packages/farm-plugin-dsv/npm/darwin-x64/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-dsv-darwin-x64", + "name": "@farmfe/plugin-dsv-darwin-x64", "version": "0.0.1", "os": [ "darwin" diff --git a/packages/farm-plugin-dsv/npm/linux-arm64-gnu/README.md b/packages/farm-plugin-dsv/npm/linux-arm64-gnu/README.md index 57b1072..aca38b2 100644 --- a/packages/farm-plugin-dsv/npm/linux-arm64-gnu/README.md +++ b/packages/farm-plugin-dsv/npm/linux-arm64-gnu/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-dsv-linux-arm64-gnu` +# `@farmfe/plugin-dsv-linux-arm64-gnu` -This is the **aarch64-unknown-linux-gnu** binary for `farm-plugin-dsv` +This is the **aarch64-unknown-linux-gnu** binary for `@farmfe/plugin-dsv` diff --git a/packages/farm-plugin-dsv/npm/linux-arm64-gnu/package.json b/packages/farm-plugin-dsv/npm/linux-arm64-gnu/package.json index 269f44a..ca242c4 100644 --- a/packages/farm-plugin-dsv/npm/linux-arm64-gnu/package.json +++ b/packages/farm-plugin-dsv/npm/linux-arm64-gnu/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-dsv-linux-arm64-gnu", + "name": "@farmfe/plugin-dsv-linux-arm64-gnu", "version": "0.0.1", "os": [ "linux" diff --git a/packages/farm-plugin-dsv/npm/linux-arm64-musl/README.md b/packages/farm-plugin-dsv/npm/linux-arm64-musl/README.md index f074d5f..0e5d9e1 100644 --- a/packages/farm-plugin-dsv/npm/linux-arm64-musl/README.md +++ b/packages/farm-plugin-dsv/npm/linux-arm64-musl/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-dsv-linux-arm64-musl` +# `@farmfe/plugin-dsv-linux-arm64-musl` -This is the **aarch64-unknown-linux-musl** binary for `farm-plugin-dsv` +This is the **aarch64-unknown-linux-musl** binary for `@farmfe/plugin-dsv` diff --git a/packages/farm-plugin-dsv/npm/linux-arm64-musl/package.json b/packages/farm-plugin-dsv/npm/linux-arm64-musl/package.json index 568a51c..b8c813f 100644 --- a/packages/farm-plugin-dsv/npm/linux-arm64-musl/package.json +++ b/packages/farm-plugin-dsv/npm/linux-arm64-musl/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-dsv-linux-arm64-musl", + "name": "@farmfe/plugin-dsv-linux-arm64-musl", "version": "0.0.1", "os": [ "linux" diff --git a/packages/farm-plugin-dsv/npm/linux-x64-gnu/README.md b/packages/farm-plugin-dsv/npm/linux-x64-gnu/README.md index 33e2cb5..f6f284e 100644 --- a/packages/farm-plugin-dsv/npm/linux-x64-gnu/README.md +++ b/packages/farm-plugin-dsv/npm/linux-x64-gnu/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-dsv-linux-x64-gnu` +# `@farmfe/plugin-dsv-linux-x64-gnu` -This is the **x86_64-unknown-linux-gnu** binary for `farm-plugin-dsv` +This is the **x86_64-unknown-linux-gnu** binary for `@farmfe/plugin-dsv` diff --git a/packages/farm-plugin-dsv/npm/linux-x64-gnu/package.json b/packages/farm-plugin-dsv/npm/linux-x64-gnu/package.json index 096a319..63cfcb5 100644 --- a/packages/farm-plugin-dsv/npm/linux-x64-gnu/package.json +++ b/packages/farm-plugin-dsv/npm/linux-x64-gnu/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-dsv-linux-x64-gnu", + "name": "@farmfe/plugin-dsv-linux-x64-gnu", "version": "0.0.1", "os": [ "linux" diff --git a/packages/farm-plugin-dsv/npm/linux-x64-musl/README.md b/packages/farm-plugin-dsv/npm/linux-x64-musl/README.md index a1806e3..766aebf 100644 --- a/packages/farm-plugin-dsv/npm/linux-x64-musl/README.md +++ b/packages/farm-plugin-dsv/npm/linux-x64-musl/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-dsv-linux-x64-musl` +# `@farmfe/plugin-dsv-linux-x64-musl` -This is the **x86_64-unknown-linux-musl** binary for `farm-plugin-dsv` +This is the **x86_64-unknown-linux-musl** binary for `@farmfe/plugin-dsv` diff --git a/packages/farm-plugin-dsv/npm/linux-x64-musl/package.json b/packages/farm-plugin-dsv/npm/linux-x64-musl/package.json index b04f713..bdfa879 100644 --- a/packages/farm-plugin-dsv/npm/linux-x64-musl/package.json +++ b/packages/farm-plugin-dsv/npm/linux-x64-musl/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-dsv-linux-x64-musl", + "name": "@farmfe/plugin-dsv-linux-x64-musl", "version": "0.0.1", "os": [ "linux" diff --git a/packages/farm-plugin-dsv/npm/win32-arm64-msvc/README.md b/packages/farm-plugin-dsv/npm/win32-arm64-msvc/README.md index 2c72a51..3b31686 100644 --- a/packages/farm-plugin-dsv/npm/win32-arm64-msvc/README.md +++ b/packages/farm-plugin-dsv/npm/win32-arm64-msvc/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-dsv-win32-arm64-msvc` +# `@farmfe/plugin-dsv-win32-arm64-msvc` -This is the aarch64-pc-windows-msvc binary for `farm-plugin-dsv` +This is the aarch64-pc-windows-msvc binary for `@farmfe/plugin-dsv` diff --git a/packages/farm-plugin-dsv/npm/win32-arm64-msvc/package.json b/packages/farm-plugin-dsv/npm/win32-arm64-msvc/package.json index c901b8d..0bd4ec4 100644 --- a/packages/farm-plugin-dsv/npm/win32-arm64-msvc/package.json +++ b/packages/farm-plugin-dsv/npm/win32-arm64-msvc/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-dsv-win32-arm64-msvc", + "name": "@farmfe/plugin-dsv-win32-arm64-msvc", "version": "0.0.1", "os": [ "win32" diff --git a/packages/farm-plugin-dsv/npm/win32-ia32-msvc/README.md b/packages/farm-plugin-dsv/npm/win32-ia32-msvc/README.md index ded0934..122c854 100644 --- a/packages/farm-plugin-dsv/npm/win32-ia32-msvc/README.md +++ b/packages/farm-plugin-dsv/npm/win32-ia32-msvc/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-dsv-win32-ia32-msvc` +# `@farmfe/plugin-dsv-win32-ia32-msvc` -This is the i686-pc-windows-msvc binary for `farm-plugin-dsv` +This is the i686-pc-windows-msvc binary for `@farmfe/plugin-dsv` diff --git a/packages/farm-plugin-dsv/npm/win32-ia32-msvc/package.json b/packages/farm-plugin-dsv/npm/win32-ia32-msvc/package.json index 24a0a68..c278d92 100644 --- a/packages/farm-plugin-dsv/npm/win32-ia32-msvc/package.json +++ b/packages/farm-plugin-dsv/npm/win32-ia32-msvc/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-dsv-win32-ia32-msvc", + "name": "@farmfe/plugin-dsv-win32-ia32-msvc", "version": "0.0.1", "os": [ "win32" diff --git a/packages/farm-plugin-dsv/npm/win32-x64-msvc/README.md b/packages/farm-plugin-dsv/npm/win32-x64-msvc/README.md index 3626949..e0da869 100644 --- a/packages/farm-plugin-dsv/npm/win32-x64-msvc/README.md +++ b/packages/farm-plugin-dsv/npm/win32-x64-msvc/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-dsv-win32-x64-msvc` +# `@farmfe/plugin-dsv-win32-x64-msvc` -This is the **x86_64-pc-windows-msvc** binary for `farm-plugin-dsv` +This is the **x86_64-pc-windows-msvc** binary for `@farmfe/plugin-dsv` diff --git a/packages/farm-plugin-dsv/npm/win32-x64-msvc/package.json b/packages/farm-plugin-dsv/npm/win32-x64-msvc/package.json index 760abfe..6cd359e 100644 --- a/packages/farm-plugin-dsv/npm/win32-x64-msvc/package.json +++ b/packages/farm-plugin-dsv/npm/win32-x64-msvc/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-dsv-win32-x64-msvc", + "name": "@farmfe/plugin-dsv-win32-x64-msvc", "version": "0.0.1", "os": [ "win32" diff --git a/packages/farm-plugin-dsv/package.json b/packages/farm-plugin-dsv/package.json index d85a296..5f09955 100644 --- a/packages/farm-plugin-dsv/package.json +++ b/packages/farm-plugin-dsv/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-dsv", + "name": "@farmfe/plugin-dsv", "version": "0.0.1", "main": "scripts/index.js", "types": "scripts/index.d.ts", @@ -27,8 +27,8 @@ "./package.json": "./package.json" }, "scripts": { - "build": "farm-plugin-tools build --platform --cargo-name farm_plugin_dsv -p farm_plugin_dsv --release", - "prepublishOnly": "farm-plugin-tools prepublish", + "build": "@farmfe/plugin-tools build --platform --cargo-name farm_plugin_dsv -p farm_plugin_dsv --release", + "prepublishOnly": "@farmfe/plugin-tools prepublish", "publish": "npm publish" }, "files": [ diff --git a/packages/farm-plugin-dsv/readme.md b/packages/farm-plugin-dsv/readme.md index 732e4db..e63e076 100644 --- a/packages/farm-plugin-dsv/readme.md +++ b/packages/farm-plugin-dsv/readme.md @@ -1 +1 @@ -# farm-plugin-dsv +# @farmfe/plugin-dsv diff --git a/packages/farm-plugin-dsv/scripts/index.js b/packages/farm-plugin-dsv/scripts/index.js index daf7be8..3a90370 100644 --- a/packages/farm-plugin-dsv/scripts/index.js +++ b/packages/farm-plugin-dsv/scripts/index.js @@ -31,7 +31,7 @@ switch (platform) { if (existsSync(join(currentDir, '../npm/win32-x64-msvc/index.farm'))) { binPath = join(currentDir, '../npm/win32-x64-msvc/index.farm'); } else { - binPath = require.resolve('farm-plugin-dsv-win32-x64-msvc'); + binPath = require.resolve('@farmfe/plugin-dsv-win32-x64-msvc'); } break; @@ -39,7 +39,7 @@ switch (platform) { if (existsSync(join(currentDir, '../npm/win32-ia32-msvc/index.farm'))) { binPath = join(currentDir, '../npm/win32-ia32-msvc/index.farm'); } else { - binPath = require.resolve('farm-plugin-dsv-win32-ia32-msvc'); + binPath = require.resolve('@farmfe/plugin-dsv-win32-ia32-msvc'); } break; @@ -47,7 +47,7 @@ switch (platform) { if (existsSync(join(currentDir, '../npm/win32-arm64-msvc/index.farm'))) { binPath = join(currentDir, '../npm/win32-arm64-msvc/index.farm'); } else { - binPath = require.resolve('farm-plugin-dsv-win32-arm64-msvc'); + binPath = require.resolve('@farmfe/plugin-dsv-win32-arm64-msvc'); } break; @@ -61,14 +61,14 @@ switch (platform) { if (existsSync(join(currentDir, '../npm/darwin-x64/index.farm'))) { binPath = join(currentDir, '../npm/darwin-x64/index.farm'); } else { - binPath = require.resolve('farm-plugin-dsv-darwin-x64'); + binPath = require.resolve('@farmfe/plugin-dsv-darwin-x64'); } break; case 'arm64': if (existsSync(join(currentDir, '../npm/darwin-arm64/index.farm'))) { binPath = join(currentDir, '../npm/darwin-arm64/index.farm'); } else { - binPath = require.resolve('farm-plugin-dsv-darwin-arm64'); + binPath = require.resolve('@farmfe/plugin-dsv-darwin-arm64'); } break; default: @@ -82,13 +82,13 @@ switch (platform) { if (existsSync(join(currentDir, '../npm/linux-x64-musl/index.farm'))) { binPath = join(currentDir, '../npm/linux-x64-musl/index.farm'); } else { - binPath = require.resolve('farm-plugin-dsv-linux-x64-musl'); + binPath = require.resolve('@farmfe/plugin-dsv-linux-x64-musl'); } } else { if (existsSync(join(currentDir, '../npm/linux-x64-gnu/index.farm'))) { binPath = join(currentDir, '../npm/linux-x64-gnu/index.farm'); } else { - binPath = require.resolve('farm-plugin-dsv-linux-x64-gnu'); + binPath = require.resolve('@farmfe/plugin-dsv-linux-x64-gnu'); } } @@ -101,7 +101,7 @@ switch (platform) { ) { binPath = join(currentDir, '../npm/linux-arm64-musl/index.farm'); } else { - binPath = require.resolve('farm-plugin-dsv-linux-arm64-musl'); + binPath = require.resolve('@farmfe/plugin-dsv-linux-arm64-musl'); } } else { if ( @@ -109,7 +109,7 @@ switch (platform) { ) { binPath = join(currentDir, '../npm/linux-arm64-gnu/index.farm'); } else { - binPath = require.resolve('farm-plugin-dsv-linux-arm64-gnu'); + binPath = require.resolve('@farmfe/plugin-dsv-linux-arm64-gnu'); } } break; diff --git a/packages/farm-plugin-react-components/README.md b/packages/farm-plugin-react-components/README.md index 90f3ef3..9da72ab 100644 --- a/packages/farm-plugin-react-components/README.md +++ b/packages/farm-plugin-react-components/README.md @@ -1,4 +1,4 @@ -# farm-plugin-react-components +# @farmfe/plugin-react-components diff --git a/packages/farm-plugin-react-components/npm/darwin-arm64/README.md b/packages/farm-plugin-react-components/npm/darwin-arm64/README.md index 3576376..9b26d3d 100644 --- a/packages/farm-plugin-react-components/npm/darwin-arm64/README.md +++ b/packages/farm-plugin-react-components/npm/darwin-arm64/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-react-components-darwin-arm64` +# `@farmfe/plugin-react-components-darwin-arm64` -This is the **aarch64-apple-darwin** binary for `farm-plugin-react-components` +This is the **aarch64-apple-darwin** binary for `@farmfe/plugin-react-components` diff --git a/packages/farm-plugin-react-components/npm/darwin-arm64/package.json b/packages/farm-plugin-react-components/npm/darwin-arm64/package.json index 1bc9aa5..5b4e4bf 100644 --- a/packages/farm-plugin-react-components/npm/darwin-arm64/package.json +++ b/packages/farm-plugin-react-components/npm/darwin-arm64/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-react-components-darwin-arm64", + "name": "@farmfe/plugin-react-components-darwin-arm64", "version": "0.0.1", "os": [ "darwin" diff --git a/packages/farm-plugin-react-components/npm/darwin-x64/README.md b/packages/farm-plugin-react-components/npm/darwin-x64/README.md index 8c0c888..61f5414 100644 --- a/packages/farm-plugin-react-components/npm/darwin-x64/README.md +++ b/packages/farm-plugin-react-components/npm/darwin-x64/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-react-components-darwin-x64` +# `@farmfe/plugin-react-components-darwin-x64` -This is the **x86_64-apple-darwin** binary for `farm-plugin-react-components` +This is the **x86_64-apple-darwin** binary for `@farmfe/plugin-react-components` diff --git a/packages/farm-plugin-react-components/npm/darwin-x64/package.json b/packages/farm-plugin-react-components/npm/darwin-x64/package.json index 4570fb0..5d48f31 100644 --- a/packages/farm-plugin-react-components/npm/darwin-x64/package.json +++ b/packages/farm-plugin-react-components/npm/darwin-x64/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-react-components-darwin-x64", + "name": "@farmfe/plugin-react-components-darwin-x64", "version": "0.0.1", "os": [ "darwin" diff --git a/packages/farm-plugin-react-components/npm/linux-arm64-gnu/README.md b/packages/farm-plugin-react-components/npm/linux-arm64-gnu/README.md index 8a59c02..5b525d8 100644 --- a/packages/farm-plugin-react-components/npm/linux-arm64-gnu/README.md +++ b/packages/farm-plugin-react-components/npm/linux-arm64-gnu/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-react-components-linux-arm64-gnu` +# `@farmfe/plugin-react-components-linux-arm64-gnu` -This is the **aarch64-unknown-linux-gnu** binary for `farm-plugin-react-components` +This is the **aarch64-unknown-linux-gnu** binary for `@farmfe/plugin-react-components` diff --git a/packages/farm-plugin-react-components/npm/linux-arm64-gnu/package.json b/packages/farm-plugin-react-components/npm/linux-arm64-gnu/package.json index 7594e2b..9ce4733 100644 --- a/packages/farm-plugin-react-components/npm/linux-arm64-gnu/package.json +++ b/packages/farm-plugin-react-components/npm/linux-arm64-gnu/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-react-components-linux-arm64-gnu", + "name": "@farmfe/plugin-react-components-linux-arm64-gnu", "version": "0.0.1", "os": [ "linux" diff --git a/packages/farm-plugin-react-components/npm/linux-arm64-musl/README.md b/packages/farm-plugin-react-components/npm/linux-arm64-musl/README.md index a52433f..b2c08d4 100644 --- a/packages/farm-plugin-react-components/npm/linux-arm64-musl/README.md +++ b/packages/farm-plugin-react-components/npm/linux-arm64-musl/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-react-components-linux-arm64-musl` +# `@farmfe/plugin-react-components-linux-arm64-musl` -This is the **aarch64-unknown-linux-musl** binary for `farm-plugin-react-components` +This is the **aarch64-unknown-linux-musl** binary for `@farmfe/plugin-react-components` diff --git a/packages/farm-plugin-react-components/npm/linux-arm64-musl/package.json b/packages/farm-plugin-react-components/npm/linux-arm64-musl/package.json index 7e1b5cb..fb0603b 100644 --- a/packages/farm-plugin-react-components/npm/linux-arm64-musl/package.json +++ b/packages/farm-plugin-react-components/npm/linux-arm64-musl/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-react-components-linux-arm64-musl", + "name": "@farmfe/plugin-react-components-linux-arm64-musl", "version": "0.0.1", "os": [ "linux" diff --git a/packages/farm-plugin-react-components/npm/linux-x64-gnu/README.md b/packages/farm-plugin-react-components/npm/linux-x64-gnu/README.md index 1f67c6a..5f769bd 100644 --- a/packages/farm-plugin-react-components/npm/linux-x64-gnu/README.md +++ b/packages/farm-plugin-react-components/npm/linux-x64-gnu/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-react-components-linux-x64-gnu` +# `@farmfe/plugin-react-components-linux-x64-gnu` -This is the **x86_64-unknown-linux-gnu** binary for `farm-plugin-react-components` +This is the **x86_64-unknown-linux-gnu** binary for `@farmfe/plugin-react-components` diff --git a/packages/farm-plugin-react-components/npm/linux-x64-gnu/package.json b/packages/farm-plugin-react-components/npm/linux-x64-gnu/package.json index 556c133..3224e09 100644 --- a/packages/farm-plugin-react-components/npm/linux-x64-gnu/package.json +++ b/packages/farm-plugin-react-components/npm/linux-x64-gnu/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-react-components-linux-x64-gnu", + "name": "@farmfe/plugin-react-components-linux-x64-gnu", "version": "0.0.1", "os": [ "linux" diff --git a/packages/farm-plugin-react-components/npm/linux-x64-musl/README.md b/packages/farm-plugin-react-components/npm/linux-x64-musl/README.md index da54c8d..d62e6da 100644 --- a/packages/farm-plugin-react-components/npm/linux-x64-musl/README.md +++ b/packages/farm-plugin-react-components/npm/linux-x64-musl/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-react-components-linux-x64-musl` +# `@farmfe/plugin-react-components-linux-x64-musl` -This is the **x86_64-unknown-linux-musl** binary for `farm-plugin-react-components` +This is the **x86_64-unknown-linux-musl** binary for `@farmfe/plugin-react-components` diff --git a/packages/farm-plugin-react-components/npm/linux-x64-musl/package.json b/packages/farm-plugin-react-components/npm/linux-x64-musl/package.json index 28ad229..b153ad0 100644 --- a/packages/farm-plugin-react-components/npm/linux-x64-musl/package.json +++ b/packages/farm-plugin-react-components/npm/linux-x64-musl/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-react-components-linux-x64-musl", + "name": "@farmfe/plugin-react-components-linux-x64-musl", "version": "0.0.1", "os": [ "linux" diff --git a/packages/farm-plugin-react-components/npm/win32-arm64-msvc/README.md b/packages/farm-plugin-react-components/npm/win32-arm64-msvc/README.md index e226201..27d78f4 100644 --- a/packages/farm-plugin-react-components/npm/win32-arm64-msvc/README.md +++ b/packages/farm-plugin-react-components/npm/win32-arm64-msvc/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-react-components-win32-arm64-msvc` +# `@farmfe/plugin-react-components-win32-arm64-msvc` -This is the aarch64-pc-windows-msvc binary for `farm-plugin-react-components` +This is the aarch64-pc-windows-msvc binary for `@farmfe/plugin-react-components` diff --git a/packages/farm-plugin-react-components/npm/win32-arm64-msvc/package.json b/packages/farm-plugin-react-components/npm/win32-arm64-msvc/package.json index e3c8f85..1b727d9 100644 --- a/packages/farm-plugin-react-components/npm/win32-arm64-msvc/package.json +++ b/packages/farm-plugin-react-components/npm/win32-arm64-msvc/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-react-components-win32-arm64-msvc", + "name": "@farmfe/plugin-react-components-win32-arm64-msvc", "version": "0.0.1", "os": [ "win32" diff --git a/packages/farm-plugin-react-components/npm/win32-ia32-msvc/README.md b/packages/farm-plugin-react-components/npm/win32-ia32-msvc/README.md index ad338e0..73c9864 100644 --- a/packages/farm-plugin-react-components/npm/win32-ia32-msvc/README.md +++ b/packages/farm-plugin-react-components/npm/win32-ia32-msvc/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-react-components-win32-ia32-msvc` +# `@farmfe/plugin-react-components-win32-ia32-msvc` -This is the i686-pc-windows-msvc binary for `farm-plugin-react-components` +This is the i686-pc-windows-msvc binary for `@farmfe/plugin-react-components` diff --git a/packages/farm-plugin-react-components/npm/win32-ia32-msvc/package.json b/packages/farm-plugin-react-components/npm/win32-ia32-msvc/package.json index 343b719..ed19c9c 100644 --- a/packages/farm-plugin-react-components/npm/win32-ia32-msvc/package.json +++ b/packages/farm-plugin-react-components/npm/win32-ia32-msvc/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-react-components-win32-ia32-msvc", + "name": "@farmfe/plugin-react-components-win32-ia32-msvc", "version": "0.0.1", "os": [ "win32" diff --git a/packages/farm-plugin-react-components/npm/win32-x64-msvc/README.md b/packages/farm-plugin-react-components/npm/win32-x64-msvc/README.md index de0773c..a3e11ca 100644 --- a/packages/farm-plugin-react-components/npm/win32-x64-msvc/README.md +++ b/packages/farm-plugin-react-components/npm/win32-x64-msvc/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-react-components-win32-x64-msvc` +# `@farmfe/plugin-react-components-win32-x64-msvc` -This is the **x86_64-pc-windows-msvc** binary for `farm-plugin-react-components` +This is the **x86_64-pc-windows-msvc** binary for `@farmfe/plugin-react-components` diff --git a/packages/farm-plugin-react-components/npm/win32-x64-msvc/package.json b/packages/farm-plugin-react-components/npm/win32-x64-msvc/package.json index 7a6ddba..e0840fa 100644 --- a/packages/farm-plugin-react-components/npm/win32-x64-msvc/package.json +++ b/packages/farm-plugin-react-components/npm/win32-x64-msvc/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-react-components-win32-x64-msvc", + "name": "@farmfe/plugin-react-components-win32-x64-msvc", "version": "0.0.1", "os": [ "win32" diff --git a/packages/farm-plugin-react-components/package.json b/packages/farm-plugin-react-components/package.json index 22c3a01..02d7b78 100644 --- a/packages/farm-plugin-react-components/package.json +++ b/packages/farm-plugin-react-components/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-react-components", + "name": "@farmfe/plugin-react-components", "version": "0.0.1", "main": "scripts/index.js", "types": "scripts/index.d.ts", @@ -30,8 +30,8 @@ "dev": "cargo watch -w src -s 'scripts/watch.sh'", "bump": "npx changeset version", "play": "cd playground && farm", - "build": "farm-plugin-tools build --platform --cargo-name farm_plugin_react_components -p farm_plugin_react_components --release", - "prepublishOnly": "farm-plugin-tools prepublish", + "build": "@farmfe/plugin-tools build --platform --cargo-name farm_plugin_react_components -p farm_plugin_react_components --release", + "prepublishOnly": "@farmfe/plugin-tools prepublish", "publish": "npm publish" }, "files": [ diff --git a/packages/farm-plugin-react-components/scripts/index.js b/packages/farm-plugin-react-components/scripts/index.js index 02bf0f3..5fbc23e 100644 --- a/packages/farm-plugin-react-components/scripts/index.js +++ b/packages/farm-plugin-react-components/scripts/index.js @@ -30,7 +30,7 @@ switch (platform) { if (existsSync(join(currentDir, '../npm/win32-x64-msvc/index.farm'))) { binPath = join(currentDir, '../npm/win32-x64-msvc/index.farm'); } else { - binPath = require.resolve('farm-plugin-react-components-win32-x64-msvc'); + binPath = require.resolve('@farmfe/plugin-react-components-win32-x64-msvc'); } break; @@ -38,7 +38,7 @@ switch (platform) { if (existsSync(join(currentDir, '../npm/win32-ia32-msvc/index.farm'))) { binPath = join(currentDir, '../npm/win32-ia32-msvc/index.farm'); } else { - binPath = require.resolve('farm-plugin-react-components-win32-ia32-msvc'); + binPath = require.resolve('@farmfe/plugin-react-components-win32-ia32-msvc'); } break; @@ -46,7 +46,7 @@ switch (platform) { if (existsSync(join(currentDir, '../npm/win32-arm64-msvc/index.farm'))) { binPath = join(currentDir, '../npm/win32-arm64-msvc/index.farm'); } else { - binPath = require.resolve('farm-plugin-react-components-win32-arm64-msvc'); + binPath = require.resolve('@farmfe/plugin-react-components-win32-arm64-msvc'); } break; @@ -60,14 +60,14 @@ switch (platform) { if (existsSync(join(currentDir, '../npm/darwin-x64/index.farm'))) { binPath = join(currentDir, '../npm/darwin-x64/index.farm'); } else { - binPath = require.resolve('farm-plugin-react-components-darwin-x64'); + binPath = require.resolve('@farmfe/plugin-react-components-darwin-x64'); } break; case 'arm64': if (existsSync(join(currentDir, '../npm/darwin-arm64/index.farm'))) { binPath = join(currentDir, '../npm/darwin-arm64/index.farm'); } else { - binPath = require.resolve('farm-plugin-react-components-darwin-arm64'); + binPath = require.resolve('@farmfe/plugin-react-components-darwin-arm64'); } break; default: @@ -81,13 +81,13 @@ switch (platform) { if (existsSync(join(currentDir, '../npm/linux-x64-musl/index.farm'))) { binPath = join(currentDir, '../npm/linux-x64-musl/index.farm'); } else { - binPath = require.resolve('farm-plugin-react-components-linux-x64-musl'); + binPath = require.resolve('@farmfe/plugin-react-components-linux-x64-musl'); } } else { if (existsSync(join(currentDir, '../npm/linux-x64-gnu/index.farm'))) { binPath = join(currentDir, '../npm/linux-x64-gnu/index.farm'); } else { - binPath = require.resolve('farm-plugin-react-components-linux-x64-gnu'); + binPath = require.resolve('@farmfe/plugin-react-components-linux-x64-gnu'); } } @@ -100,7 +100,7 @@ switch (platform) { ) { binPath = join(currentDir, '../npm/linux-arm64-musl/index.farm'); } else { - binPath = require.resolve('farm-plugin-react-components-linux-arm64-musl'); + binPath = require.resolve('@farmfe/plugin-react-components-linux-arm64-musl'); } } else { if ( @@ -108,7 +108,7 @@ switch (platform) { ) { binPath = join(currentDir, '../npm/linux-arm64-gnu/index.farm'); } else { - binPath = require.resolve('farm-plugin-react-components-linux-arm64-gnu'); + binPath = require.resolve('@farmfe/plugin-react-components-linux-arm64-gnu'); } } break; diff --git a/packages/farm-plugin-strip/README.md b/packages/farm-plugin-strip/README.md index fa9a07b..3629ae8 100755 --- a/packages/farm-plugin-strip/README.md +++ b/packages/farm-plugin-strip/README.md @@ -1,4 +1,4 @@ -# farm-plugin-strip +# @farmfe/plugin-strip 🍣 A Farm rust plugin to remove `debugger` statements and functions like `assert.equal` and `console.log` from your code. @@ -11,9 +11,9 @@ This plugin requires an [LTS](https://github.com/nodejs/Release) Node version (v Using npm: ```bash -npm i farm-pulgin-strip-darwin-arm64 -npm i farm-pulgin-strip-darwin-x64 -npm i farm-pulgin-strip-xx //additional +npm i @farmfe/plugin-strip-darwin-arm64 +npm i @farmfe/plugin-strip-darwin-x64 +npm i @farmfe/plugin-strip-xx //additional ``` ## Usage @@ -22,7 +22,7 @@ Create a `farm.config.js` [configuration file](https://www.farmfe.org/docs/confi ```js import { defineConfig } from '@farmfe/core'; -import strip from 'farm-pulgin-strip-darwin-arm64'; +import strip from '@farmfe/plugin-strip-darwin-arm64'; export default defineConfig({ // ... diff --git a/packages/farm-plugin-strip/npm/darwin-arm64/README.md b/packages/farm-plugin-strip/npm/darwin-arm64/README.md index 53c2b4e..3e76809 100644 --- a/packages/farm-plugin-strip/npm/darwin-arm64/README.md +++ b/packages/farm-plugin-strip/npm/darwin-arm64/README.md @@ -1,3 +1,3 @@ -# `farm-pulgin-strip-darwin-arm64` +# `@farmfe/plugin-strip-darwin-arm64` -This is the **aarch64-apple-darwin** binary for `farm-pulgin-strip` +This is the **aarch64-apple-darwin** binary for `@farmfe/plugin-strip` diff --git a/packages/farm-plugin-strip/npm/darwin-arm64/package.json b/packages/farm-plugin-strip/npm/darwin-arm64/package.json index c41f385..e00f787 100644 --- a/packages/farm-plugin-strip/npm/darwin-arm64/package.json +++ b/packages/farm-plugin-strip/npm/darwin-arm64/package.json @@ -1,5 +1,5 @@ { - "name": "farm-pulgin-strip-darwin-arm64", + "name": "@farmfe/plugin-strip-darwin-arm64", "version": "0.0.1", "os": [ "darwin" diff --git a/packages/farm-plugin-strip/npm/darwin-x64/README.md b/packages/farm-plugin-strip/npm/darwin-x64/README.md index 7dee8c8..73fb0c7 100644 --- a/packages/farm-plugin-strip/npm/darwin-x64/README.md +++ b/packages/farm-plugin-strip/npm/darwin-x64/README.md @@ -1,3 +1,3 @@ -# `farm-pulgin-strip-darwin-x64` +# `@farmfe/plugin-strip-darwin-x64` -This is the **x86_64-apple-darwin** binary for `farm-pulgin-strip` +This is the **x86_64-apple-darwin** binary for `@farmfe/plugin-strip` diff --git a/packages/farm-plugin-strip/npm/darwin-x64/package.json b/packages/farm-plugin-strip/npm/darwin-x64/package.json index def2c67..a9c76c7 100644 --- a/packages/farm-plugin-strip/npm/darwin-x64/package.json +++ b/packages/farm-plugin-strip/npm/darwin-x64/package.json @@ -1,5 +1,5 @@ { - "name": "farm-pulgin-strip-darwin-x64", + "name": "@farmfe/plugin-strip-darwin-x64", "version": "0.0.1", "os": [ "darwin" diff --git a/packages/farm-plugin-strip/npm/linux-arm64-gnu/README.md b/packages/farm-plugin-strip/npm/linux-arm64-gnu/README.md index b23f2af..1e4aa42 100644 --- a/packages/farm-plugin-strip/npm/linux-arm64-gnu/README.md +++ b/packages/farm-plugin-strip/npm/linux-arm64-gnu/README.md @@ -1,3 +1,3 @@ -# `farm-pulgin-strip-linux-arm64-gnu` +# `@farmfe/plugin-strip-linux-arm64-gnu` -This is the **aarch64-unknown-linux-gnu** binary for `farm-pulgin-strip` +This is the **aarch64-unknown-linux-gnu** binary for `@farmfe/plugin-strip` diff --git a/packages/farm-plugin-strip/npm/linux-arm64-gnu/package.json b/packages/farm-plugin-strip/npm/linux-arm64-gnu/package.json index 53343ba..3c8bdf8 100644 --- a/packages/farm-plugin-strip/npm/linux-arm64-gnu/package.json +++ b/packages/farm-plugin-strip/npm/linux-arm64-gnu/package.json @@ -1,5 +1,5 @@ { - "name": "farm-pulgin-strip-linux-arm64-gnu", + "name": "@farmfe/plugin-strip-linux-arm64-gnu", "version": "0.0.1", "os": [ "linux" diff --git a/packages/farm-plugin-strip/npm/linux-arm64-musl/README.md b/packages/farm-plugin-strip/npm/linux-arm64-musl/README.md index 687e9df..4c15c17 100644 --- a/packages/farm-plugin-strip/npm/linux-arm64-musl/README.md +++ b/packages/farm-plugin-strip/npm/linux-arm64-musl/README.md @@ -1,3 +1,3 @@ -# `farm-pulgin-strip-linux-arm64-musl` +# `@farmfe/plugin-strip-linux-arm64-musl` -This is the **aarch64-unknown-linux-musl** binary for `farm-pulgin-strip` +This is the **aarch64-unknown-linux-musl** binary for `@farmfe/plugin-strip` diff --git a/packages/farm-plugin-strip/npm/linux-arm64-musl/package.json b/packages/farm-plugin-strip/npm/linux-arm64-musl/package.json index cb98ed6..21c9ad4 100644 --- a/packages/farm-plugin-strip/npm/linux-arm64-musl/package.json +++ b/packages/farm-plugin-strip/npm/linux-arm64-musl/package.json @@ -1,5 +1,5 @@ { - "name": "farm-pulgin-strip-linux-arm64-musl", + "name": "@farmfe/plugin-strip-linux-arm64-musl", "version": "0.0.1", "os": [ "linux" diff --git a/packages/farm-plugin-strip/npm/linux-x64-gnu/README.md b/packages/farm-plugin-strip/npm/linux-x64-gnu/README.md index c4244a1..aad95cb 100644 --- a/packages/farm-plugin-strip/npm/linux-x64-gnu/README.md +++ b/packages/farm-plugin-strip/npm/linux-x64-gnu/README.md @@ -1,3 +1,3 @@ -# `farm-pulgin-strip-linux-x64-gnu` +# `@farmfe/plugin-strip-linux-x64-gnu` -This is the **x86_64-unknown-linux-gnu** binary for `farm-pulgin-strip` +This is the **x86_64-unknown-linux-gnu** binary for `@farmfe/plugin-strip` diff --git a/packages/farm-plugin-strip/npm/linux-x64-gnu/package.json b/packages/farm-plugin-strip/npm/linux-x64-gnu/package.json index 1d819eb..f6019d9 100644 --- a/packages/farm-plugin-strip/npm/linux-x64-gnu/package.json +++ b/packages/farm-plugin-strip/npm/linux-x64-gnu/package.json @@ -1,5 +1,5 @@ { - "name": "farm-pulgin-strip-linux-x64-gnu", + "name": "@farmfe/plugin-strip-linux-x64-gnu", "version": "0.0.1", "os": [ "linux" diff --git a/packages/farm-plugin-strip/npm/linux-x64-musl/README.md b/packages/farm-plugin-strip/npm/linux-x64-musl/README.md index f43ccb3..bc6959c 100644 --- a/packages/farm-plugin-strip/npm/linux-x64-musl/README.md +++ b/packages/farm-plugin-strip/npm/linux-x64-musl/README.md @@ -1,3 +1,3 @@ -# `farm-pulgin-strip-linux-x64-musl` +# `@farmfe/plugin-strip-linux-x64-musl` -This is the **x86_64-unknown-linux-musl** binary for `farm-pulgin-strip` +This is the **x86_64-unknown-linux-musl** binary for `@farmfe/plugin-strip` diff --git a/packages/farm-plugin-strip/npm/linux-x64-musl/package.json b/packages/farm-plugin-strip/npm/linux-x64-musl/package.json index acfa8d7..f106747 100644 --- a/packages/farm-plugin-strip/npm/linux-x64-musl/package.json +++ b/packages/farm-plugin-strip/npm/linux-x64-musl/package.json @@ -1,5 +1,5 @@ { - "name": "farm-pulgin-strip-linux-x64-musl", + "name": "@farmfe/plugin-strip-linux-x64-musl", "version": "0.0.1", "os": [ "linux" diff --git a/packages/farm-plugin-strip/npm/win32-arm64-msvc/README.md b/packages/farm-plugin-strip/npm/win32-arm64-msvc/README.md index 9eeeec0..0bdaf55 100644 --- a/packages/farm-plugin-strip/npm/win32-arm64-msvc/README.md +++ b/packages/farm-plugin-strip/npm/win32-arm64-msvc/README.md @@ -1,3 +1,3 @@ -# `farm-pulgin-strip-win32-arm64-msvc` +# `@farmfe/plugin-strip-win32-arm64-msvc` -This is the aarch64-pc-windows-msvc binary for `farm-pulgin-strip` +This is the aarch64-pc-windows-msvc binary for `@farmfe/plugin-strip` diff --git a/packages/farm-plugin-strip/npm/win32-arm64-msvc/package.json b/packages/farm-plugin-strip/npm/win32-arm64-msvc/package.json index 4d4ff34..3f3a94c 100644 --- a/packages/farm-plugin-strip/npm/win32-arm64-msvc/package.json +++ b/packages/farm-plugin-strip/npm/win32-arm64-msvc/package.json @@ -1,5 +1,5 @@ { - "name": "farm-pulgin-strip-win32-arm64-msvc", + "name": "@farmfe/plugin-strip-win32-arm64-msvc", "version": "0.0.1", "os": [ "win32" diff --git a/packages/farm-plugin-strip/npm/win32-ia32-msvc/README.md b/packages/farm-plugin-strip/npm/win32-ia32-msvc/README.md index 71b7eaa..a302ae0 100644 --- a/packages/farm-plugin-strip/npm/win32-ia32-msvc/README.md +++ b/packages/farm-plugin-strip/npm/win32-ia32-msvc/README.md @@ -1,3 +1,3 @@ -# `farm-pulgin-strip-win32-ia32-msvc` +# `@farmfe/plugin-strip-win32-ia32-msvc` -This is the i686-pc-windows-msvc binary for `farm-pulgin-strip` +This is the i686-pc-windows-msvc binary for `@farmfe/plugin-strip` diff --git a/packages/farm-plugin-strip/npm/win32-ia32-msvc/package.json b/packages/farm-plugin-strip/npm/win32-ia32-msvc/package.json index bfa8444..31cde2e 100644 --- a/packages/farm-plugin-strip/npm/win32-ia32-msvc/package.json +++ b/packages/farm-plugin-strip/npm/win32-ia32-msvc/package.json @@ -1,5 +1,5 @@ { - "name": "farm-pulgin-strip-win32-ia32-msvc", + "name": "@farmfe/plugin-strip-win32-ia32-msvc", "version": "0.0.1", "os": [ "win32" diff --git a/packages/farm-plugin-strip/npm/win32-x64-msvc/README.md b/packages/farm-plugin-strip/npm/win32-x64-msvc/README.md index 2fcbe1f..21e26fe 100644 --- a/packages/farm-plugin-strip/npm/win32-x64-msvc/README.md +++ b/packages/farm-plugin-strip/npm/win32-x64-msvc/README.md @@ -1,3 +1,3 @@ -# `farm-pulgin-strip-win32-x64-msvc` +# `@farmfe/plugin-strip-win32-x64-msvc` -This is the **x86_64-pc-windows-msvc** binary for `farm-pulgin-strip` +This is the **x86_64-pc-windows-msvc** binary for `@farmfe/plugin-strip` diff --git a/packages/farm-plugin-strip/npm/win32-x64-msvc/package.json b/packages/farm-plugin-strip/npm/win32-x64-msvc/package.json index ca942ea..789f8bb 100644 --- a/packages/farm-plugin-strip/npm/win32-x64-msvc/package.json +++ b/packages/farm-plugin-strip/npm/win32-x64-msvc/package.json @@ -1,5 +1,5 @@ { - "name": "farm-pulgin-strip-win32-x64-msvc", + "name": "@farmfe/plugin-strip-win32-x64-msvc", "version": "0.0.1", "os": [ "win32" diff --git a/packages/farm-plugin-strip/package.json b/packages/farm-plugin-strip/package.json index 651ca7e..1c84f88 100644 --- a/packages/farm-plugin-strip/package.json +++ b/packages/farm-plugin-strip/package.json @@ -1,5 +1,5 @@ { - "name": "farm-pulgin-strip", + "name": "@farmfe/plugin-strip", "version": "0.0.1", "main": "scripts/index.js", "types": "scripts/index.d.ts", @@ -27,8 +27,8 @@ "./package.json": "./package.json" }, "scripts": { - "build": "farm-plugin-tools build --platform --cargo-name farm_pulgin_strip -p farm_pulgin_strip --release", - "prepublishOnly": "farm-plugin-tools prepublish", + "build": "@farmfe/plugin-tools build --platform --cargo-name farm_pulgin_strip -p farm_pulgin_strip --release", + "prepublishOnly": "@farmfe/plugin-tools prepublish", "publish": "npm publish" }, "files": [ diff --git a/packages/farm-plugin-strip/scripts/index.js b/packages/farm-plugin-strip/scripts/index.js index 5064b6d..1f92348 100644 --- a/packages/farm-plugin-strip/scripts/index.js +++ b/packages/farm-plugin-strip/scripts/index.js @@ -31,7 +31,7 @@ switch (platform) { if (existsSync(join(currentDir, '../npm/win32-x64-msvc/index.farm'))) { binPath = join(currentDir, '../npm/win32-x64-msvc/index.farm'); } else { - binPath = require.resolve('farm-pulgin-strip-win32-x64-msvc'); + binPath = require.resolve('@farmfe/plugin-strip-win32-x64-msvc'); } break; @@ -39,7 +39,7 @@ switch (platform) { if (existsSync(join(currentDir, '../npm/win32-ia32-msvc/index.farm'))) { binPath = join(currentDir, '../npm/win32-ia32-msvc/index.farm'); } else { - binPath = require.resolve('farm-pulgin-strip-win32-ia32-msvc'); + binPath = require.resolve('@farmfe/plugin-strip-win32-ia32-msvc'); } break; @@ -47,7 +47,7 @@ switch (platform) { if (existsSync(join(currentDir, '../npm/win32-arm64-msvc/index.farm'))) { binPath = join(currentDir, '../npm/win32-arm64-msvc/index.farm'); } else { - binPath = require.resolve('farm-pulgin-strip-win32-arm64-msvc'); + binPath = require.resolve('@farmfe/plugin-strip-win32-arm64-msvc'); } break; @@ -61,14 +61,14 @@ switch (platform) { if (existsSync(join(currentDir, '../npm/darwin-x64/index.farm'))) { binPath = join(currentDir, '../npm/darwin-x64/index.farm'); } else { - binPath = require.resolve('farm-pulgin-strip-darwin-x64'); + binPath = require.resolve('@farmfe/plugin-strip-darwin-x64'); } break; case 'arm64': if (existsSync(join(currentDir, '../npm/darwin-arm64/index.farm'))) { binPath = join(currentDir, '../npm/darwin-arm64/index.farm'); } else { - binPath = require.resolve('farm-pulgin-strip-darwin-arm64'); + binPath = require.resolve('@farmfe/plugin-strip-darwin-arm64'); } break; default: @@ -82,13 +82,13 @@ switch (platform) { if (existsSync(join(currentDir, '../npm/linux-x64-musl/index.farm'))) { binPath = join(currentDir, '../npm/linux-x64-musl/index.farm'); } else { - binPath = require.resolve('farm-pulgin-strip-linux-x64-musl'); + binPath = require.resolve('@farmfe/plugin-strip-linux-x64-musl'); } } else { if (existsSync(join(currentDir, '../npm/linux-x64-gnu/index.farm'))) { binPath = join(currentDir, '../npm/linux-x64-gnu/index.farm'); } else { - binPath = require.resolve('farm-pulgin-strip-linux-x64-gnu'); + binPath = require.resolve('@farmfe/plugin-strip-linux-x64-gnu'); } } @@ -101,7 +101,7 @@ switch (platform) { ) { binPath = join(currentDir, '../npm/linux-arm64-musl/index.farm'); } else { - binPath = require.resolve('farm-pulgin-strip-linux-arm64-musl'); + binPath = require.resolve('@farmfe/plugin-strip-linux-arm64-musl'); } } else { if ( @@ -109,7 +109,7 @@ switch (platform) { ) { binPath = join(currentDir, '../npm/linux-arm64-gnu/index.farm'); } else { - binPath = require.resolve('farm-pulgin-strip-linux-arm64-gnu'); + binPath = require.resolve('@farmfe/plugin-strip-linux-arm64-gnu'); } } break; diff --git a/packages/farm-plugin-virtual/README.md b/packages/farm-plugin-virtual/README.md index 2031c35..2048583 100644 --- a/packages/farm-plugin-virtual/README.md +++ b/packages/farm-plugin-virtual/README.md @@ -1,4 +1,4 @@ -# farm-plugin-virtual +# @farmfe/plugin-virtual Inspired By [@rollup/plugin-virtual](https://www.npmjs.com/package/@rollup/plugin-virtual) @@ -7,7 +7,7 @@ A rust plugin for farm to easily use virtual module ## install ```bash -pnpm add farm-plugin-virtual --save-dev +pnpm add @farmfe/plugin-virtual --save-dev ``` ## Usage @@ -20,7 +20,7 @@ import { defineConfig } from '@farmfe/core'; export default defineConfig({ plugins: [ [ - 'farm-plugin-virtual', + '@farmfe/plugin-virtual', { 'virtual-module': 'export const a = 1', 'src/01.js': 'export const module01 = "virtual-module"', diff --git a/packages/farm-plugin-virtual/npm/darwin-arm64/README.md b/packages/farm-plugin-virtual/npm/darwin-arm64/README.md index 1f435cb..9f6cd7d 100644 --- a/packages/farm-plugin-virtual/npm/darwin-arm64/README.md +++ b/packages/farm-plugin-virtual/npm/darwin-arm64/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-virtual-darwin-arm64` +# `@farmfe/plugin-virtual-darwin-arm64` -This is the **aarch64-apple-darwin** binary for `farm-plugin-virtual` +This is the **aarch64-apple-darwin** binary for `@farmfe/plugin-virtual` diff --git a/packages/farm-plugin-virtual/npm/darwin-arm64/package.json b/packages/farm-plugin-virtual/npm/darwin-arm64/package.json index 51ca982..40c556d 100644 --- a/packages/farm-plugin-virtual/npm/darwin-arm64/package.json +++ b/packages/farm-plugin-virtual/npm/darwin-arm64/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-virtual-darwin-arm64", + "name": "@farmfe/plugin-virtual-darwin-arm64", "version": "0.0.1", "os": [ "darwin" diff --git a/packages/farm-plugin-virtual/npm/darwin-x64/README.md b/packages/farm-plugin-virtual/npm/darwin-x64/README.md index 67c743d..e5ed601 100644 --- a/packages/farm-plugin-virtual/npm/darwin-x64/README.md +++ b/packages/farm-plugin-virtual/npm/darwin-x64/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-virtual-darwin-x64` +# `@farmfe/plugin-virtual-darwin-x64` -This is the **x86_64-apple-darwin** binary for `farm-plugin-virtual` +This is the **x86_64-apple-darwin** binary for `@farmfe/plugin-virtual` diff --git a/packages/farm-plugin-virtual/npm/darwin-x64/package.json b/packages/farm-plugin-virtual/npm/darwin-x64/package.json index aca489b..ce86fae 100644 --- a/packages/farm-plugin-virtual/npm/darwin-x64/package.json +++ b/packages/farm-plugin-virtual/npm/darwin-x64/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-virtual-darwin-x64", + "name": "@farmfe/plugin-virtual-darwin-x64", "version": "0.0.1", "os": [ "darwin" diff --git a/packages/farm-plugin-virtual/npm/linux-arm64-gnu/README.md b/packages/farm-plugin-virtual/npm/linux-arm64-gnu/README.md index b984b1e..307f915 100644 --- a/packages/farm-plugin-virtual/npm/linux-arm64-gnu/README.md +++ b/packages/farm-plugin-virtual/npm/linux-arm64-gnu/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-virtual-linux-arm64-gnu` +# `@farmfe/plugin-virtual-linux-arm64-gnu` -This is the **aarch64-unknown-linux-gnu** binary for `farm-plugin-virtual` +This is the **aarch64-unknown-linux-gnu** binary for `@farmfe/plugin-virtual` diff --git a/packages/farm-plugin-virtual/npm/linux-arm64-gnu/package.json b/packages/farm-plugin-virtual/npm/linux-arm64-gnu/package.json index 5598204..c013287 100644 --- a/packages/farm-plugin-virtual/npm/linux-arm64-gnu/package.json +++ b/packages/farm-plugin-virtual/npm/linux-arm64-gnu/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-virtual-linux-arm64-gnu", + "name": "@farmfe/plugin-virtual-linux-arm64-gnu", "version": "0.0.1", "os": [ "linux" diff --git a/packages/farm-plugin-virtual/npm/linux-arm64-musl/README.md b/packages/farm-plugin-virtual/npm/linux-arm64-musl/README.md index 6ab181e..c17d02a 100644 --- a/packages/farm-plugin-virtual/npm/linux-arm64-musl/README.md +++ b/packages/farm-plugin-virtual/npm/linux-arm64-musl/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-virtual-linux-arm64-musl` +# `@farmfe/plugin-virtual-linux-arm64-musl` -This is the **aarch64-unknown-linux-musl** binary for `farm-plugin-virtual` +This is the **aarch64-unknown-linux-musl** binary for `@farmfe/plugin-virtual` diff --git a/packages/farm-plugin-virtual/npm/linux-arm64-musl/package.json b/packages/farm-plugin-virtual/npm/linux-arm64-musl/package.json index 4b9ddc6..de0057d 100644 --- a/packages/farm-plugin-virtual/npm/linux-arm64-musl/package.json +++ b/packages/farm-plugin-virtual/npm/linux-arm64-musl/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-virtual-linux-arm64-musl", + "name": "@farmfe/plugin-virtual-linux-arm64-musl", "version": "0.0.1", "os": [ "linux" diff --git a/packages/farm-plugin-virtual/npm/linux-x64-gnu/README.md b/packages/farm-plugin-virtual/npm/linux-x64-gnu/README.md index a98a07d..965bdbe 100644 --- a/packages/farm-plugin-virtual/npm/linux-x64-gnu/README.md +++ b/packages/farm-plugin-virtual/npm/linux-x64-gnu/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-virtual-linux-x64-gnu` +# `@farmfe/plugin-virtual-linux-x64-gnu` -This is the **x86_64-unknown-linux-gnu** binary for `farm-plugin-virtual` +This is the **x86_64-unknown-linux-gnu** binary for `@farmfe/plugin-virtual` diff --git a/packages/farm-plugin-virtual/npm/linux-x64-gnu/package.json b/packages/farm-plugin-virtual/npm/linux-x64-gnu/package.json index 906b667..b2b8b19 100644 --- a/packages/farm-plugin-virtual/npm/linux-x64-gnu/package.json +++ b/packages/farm-plugin-virtual/npm/linux-x64-gnu/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-virtual-linux-x64-gnu", + "name": "@farmfe/plugin-virtual-linux-x64-gnu", "version": "0.0.1", "os": [ "linux" diff --git a/packages/farm-plugin-virtual/npm/linux-x64-musl/README.md b/packages/farm-plugin-virtual/npm/linux-x64-musl/README.md index da61017..2f74848 100644 --- a/packages/farm-plugin-virtual/npm/linux-x64-musl/README.md +++ b/packages/farm-plugin-virtual/npm/linux-x64-musl/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-virtual-linux-x64-musl` +# `@farmfe/plugin-virtual-linux-x64-musl` -This is the **x86_64-unknown-linux-musl** binary for `farm-plugin-virtual` +This is the **x86_64-unknown-linux-musl** binary for `@farmfe/plugin-virtual` diff --git a/packages/farm-plugin-virtual/npm/linux-x64-musl/package.json b/packages/farm-plugin-virtual/npm/linux-x64-musl/package.json index 21e6f37..388ffdb 100644 --- a/packages/farm-plugin-virtual/npm/linux-x64-musl/package.json +++ b/packages/farm-plugin-virtual/npm/linux-x64-musl/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-virtual-linux-x64-musl", + "name": "@farmfe/plugin-virtual-linux-x64-musl", "version": "0.0.1", "os": [ "linux" diff --git a/packages/farm-plugin-virtual/npm/win32-arm64-msvc/README.md b/packages/farm-plugin-virtual/npm/win32-arm64-msvc/README.md index 69fe9a4..a6dfd79 100644 --- a/packages/farm-plugin-virtual/npm/win32-arm64-msvc/README.md +++ b/packages/farm-plugin-virtual/npm/win32-arm64-msvc/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-virtual-win32-arm64-msvc` +# `@farmfe/plugin-virtual-win32-arm64-msvc` -This is the aarch64-pc-windows-msvc binary for `farm-plugin-virtual` +This is the aarch64-pc-windows-msvc binary for `@farmfe/plugin-virtual` diff --git a/packages/farm-plugin-virtual/npm/win32-arm64-msvc/package.json b/packages/farm-plugin-virtual/npm/win32-arm64-msvc/package.json index f185ced..1973ef5 100644 --- a/packages/farm-plugin-virtual/npm/win32-arm64-msvc/package.json +++ b/packages/farm-plugin-virtual/npm/win32-arm64-msvc/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-virtual-win32-arm64-msvc", + "name": "@farmfe/plugin-virtual-win32-arm64-msvc", "version": "0.0.1", "os": [ "win32" diff --git a/packages/farm-plugin-virtual/npm/win32-ia32-msvc/README.md b/packages/farm-plugin-virtual/npm/win32-ia32-msvc/README.md index d8727dd..b5c6fb9 100644 --- a/packages/farm-plugin-virtual/npm/win32-ia32-msvc/README.md +++ b/packages/farm-plugin-virtual/npm/win32-ia32-msvc/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-virtual-win32-ia32-msvc` +# `@farmfe/plugin-virtual-win32-ia32-msvc` -This is the i686-pc-windows-msvc binary for `farm-plugin-virtual` +This is the i686-pc-windows-msvc binary for `@farmfe/plugin-virtual` diff --git a/packages/farm-plugin-virtual/npm/win32-ia32-msvc/package.json b/packages/farm-plugin-virtual/npm/win32-ia32-msvc/package.json index 1def24d..0d81ffd 100644 --- a/packages/farm-plugin-virtual/npm/win32-ia32-msvc/package.json +++ b/packages/farm-plugin-virtual/npm/win32-ia32-msvc/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-virtual-win32-ia32-msvc", + "name": "@farmfe/plugin-virtual-win32-ia32-msvc", "version": "0.0.1", "os": [ "win32" diff --git a/packages/farm-plugin-virtual/npm/win32-x64-msvc/README.md b/packages/farm-plugin-virtual/npm/win32-x64-msvc/README.md index 4d8928c..d7912af 100644 --- a/packages/farm-plugin-virtual/npm/win32-x64-msvc/README.md +++ b/packages/farm-plugin-virtual/npm/win32-x64-msvc/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-virtual-win32-x64-msvc` +# `@farmfe/plugin-virtual-win32-x64-msvc` -This is the **x86_64-pc-windows-msvc** binary for `farm-plugin-virtual` +This is the **x86_64-pc-windows-msvc** binary for `@farmfe/plugin-virtual` diff --git a/packages/farm-plugin-virtual/npm/win32-x64-msvc/package.json b/packages/farm-plugin-virtual/npm/win32-x64-msvc/package.json index f3c459c..ca3fe2f 100644 --- a/packages/farm-plugin-virtual/npm/win32-x64-msvc/package.json +++ b/packages/farm-plugin-virtual/npm/win32-x64-msvc/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-virtual-win32-x64-msvc", + "name": "@farmfe/plugin-virtual-win32-x64-msvc", "version": "0.0.1", "os": [ "win32" diff --git a/packages/farm-plugin-virtual/package.json b/packages/farm-plugin-virtual/package.json index ebaa67b..c109d02 100644 --- a/packages/farm-plugin-virtual/package.json +++ b/packages/farm-plugin-virtual/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-virtual", + "name": "@farmfe/plugin-virtual", "version": "0.0.2", "main": "scripts/index.js", "types": "scripts/index.d.ts", @@ -27,8 +27,8 @@ "./package.json": "./package.json" }, "scripts": { - "build": "farm-plugin-tools build --platform --cargo-name farm_plugin_virtual -p farm_plugin_virtual --release", - "prepublishOnly": "farm-plugin-tools prepublish", + "build": "@farmfe/plugin-tools build --platform --cargo-name farm_plugin_virtual -p farm_plugin_virtual --release", + "prepublishOnly": "@farmfe/plugin-tools prepublish", "publish": "npm publish" }, "files": [ diff --git a/packages/farm-plugin-virtual/scripts/index.js b/packages/farm-plugin-virtual/scripts/index.js index 1be50e0..15bb868 100644 --- a/packages/farm-plugin-virtual/scripts/index.js +++ b/packages/farm-plugin-virtual/scripts/index.js @@ -31,7 +31,7 @@ switch (platform) { if (existsSync(join(currentDir, '../npm/win32-x64-msvc/index.farm'))) { binPath = join(currentDir, '../npm/win32-x64-msvc/index.farm'); } else { - binPath = require.resolve('farm-plugin-virtual-win32-x64-msvc'); + binPath = require.resolve('@farmfe/plugin-virtual-win32-x64-msvc'); } break; @@ -39,7 +39,7 @@ switch (platform) { if (existsSync(join(currentDir, '../npm/win32-ia32-msvc/index.farm'))) { binPath = join(currentDir, '../npm/win32-ia32-msvc/index.farm'); } else { - binPath = require.resolve('farm-plugin-virtual-win32-ia32-msvc'); + binPath = require.resolve('@farmfe/plugin-virtual-win32-ia32-msvc'); } break; @@ -47,7 +47,7 @@ switch (platform) { if (existsSync(join(currentDir, '../npm/win32-arm64-msvc/index.farm'))) { binPath = join(currentDir, '../npm/win32-arm64-msvc/index.farm'); } else { - binPath = require.resolve('farm-plugin-virtual-win32-arm64-msvc'); + binPath = require.resolve('@farmfe/plugin-virtual-win32-arm64-msvc'); } break; @@ -61,14 +61,14 @@ switch (platform) { if (existsSync(join(currentDir, '../npm/darwin-x64/index.farm'))) { binPath = join(currentDir, '../npm/darwin-x64/index.farm'); } else { - binPath = require.resolve('farm-plugin-virtual-darwin-x64'); + binPath = require.resolve('@farmfe/plugin-virtual-darwin-x64'); } break; case 'arm64': if (existsSync(join(currentDir, '../npm/darwin-arm64/index.farm'))) { binPath = join(currentDir, '../npm/darwin-arm64/index.farm'); } else { - binPath = require.resolve('farm-plugin-virtual-darwin-arm64'); + binPath = require.resolve('@farmfe/plugin-virtual-darwin-arm64'); } break; default: @@ -82,13 +82,13 @@ switch (platform) { if (existsSync(join(currentDir, '../npm/linux-x64-musl/index.farm'))) { binPath = join(currentDir, '../npm/linux-x64-musl/index.farm'); } else { - binPath = require.resolve('farm-plugin-virtual-linux-x64-musl'); + binPath = require.resolve('@farmfe/plugin-virtual-linux-x64-musl'); } } else { if (existsSync(join(currentDir, '../npm/linux-x64-gnu/index.farm'))) { binPath = join(currentDir, '../npm/linux-x64-gnu/index.farm'); } else { - binPath = require.resolve('farm-plugin-virtual-linux-x64-gnu'); + binPath = require.resolve('@farmfe/plugin-virtual-linux-x64-gnu'); } } @@ -101,7 +101,7 @@ switch (platform) { ) { binPath = join(currentDir, '../npm/linux-arm64-musl/index.farm'); } else { - binPath = require.resolve('farm-plugin-virtual-linux-arm64-musl'); + binPath = require.resolve('@farmfe/plugin-virtual-linux-arm64-musl'); } } else { if ( @@ -109,7 +109,7 @@ switch (platform) { ) { binPath = join(currentDir, '../npm/linux-arm64-gnu/index.farm'); } else { - binPath = require.resolve('farm-plugin-virtual-linux-arm64-gnu'); + binPath = require.resolve('@farmfe/plugin-virtual-linux-arm64-gnu'); } } break; diff --git a/packages/farm-plugin-yaml/npm/darwin-arm64/README.md b/packages/farm-plugin-yaml/npm/darwin-arm64/README.md index e93cefa..a162da7 100644 --- a/packages/farm-plugin-yaml/npm/darwin-arm64/README.md +++ b/packages/farm-plugin-yaml/npm/darwin-arm64/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-yaml-darwin-arm64` +# `@farmfe/plugin-yaml-darwin-arm64` -This is the **aarch64-apple-darwin** binary for `farm-plugin-yaml` +This is the **aarch64-apple-darwin** binary for `@farmfe/plugin-yaml` diff --git a/packages/farm-plugin-yaml/npm/darwin-arm64/package.json b/packages/farm-plugin-yaml/npm/darwin-arm64/package.json index f750dd5..b78a525 100644 --- a/packages/farm-plugin-yaml/npm/darwin-arm64/package.json +++ b/packages/farm-plugin-yaml/npm/darwin-arm64/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-yaml-darwin-arm64", + "name": "@farmfe/plugin-yaml-darwin-arm64", "version": "0.1.2", "os": [ "darwin" diff --git a/packages/farm-plugin-yaml/npm/darwin-x64/README.md b/packages/farm-plugin-yaml/npm/darwin-x64/README.md index 6929ce7..7f69f1a 100644 --- a/packages/farm-plugin-yaml/npm/darwin-x64/README.md +++ b/packages/farm-plugin-yaml/npm/darwin-x64/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-yaml-darwin-x64` +# `@farmfe/plugin-yaml-darwin-x64` -This is the **x86_64-apple-darwin** binary for `farm-plugin-yaml` +This is the **x86_64-apple-darwin** binary for `@farmfe/plugin-yaml` diff --git a/packages/farm-plugin-yaml/npm/darwin-x64/package.json b/packages/farm-plugin-yaml/npm/darwin-x64/package.json index 9d67413..178130d 100644 --- a/packages/farm-plugin-yaml/npm/darwin-x64/package.json +++ b/packages/farm-plugin-yaml/npm/darwin-x64/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-yaml-darwin-x64", + "name": "@farmfe/plugin-yaml-darwin-x64", "version": "0.0.0", "os": [ "darwin" diff --git a/packages/farm-plugin-yaml/npm/linux-arm64-gnu/README.md b/packages/farm-plugin-yaml/npm/linux-arm64-gnu/README.md index db7c51a..857c389 100644 --- a/packages/farm-plugin-yaml/npm/linux-arm64-gnu/README.md +++ b/packages/farm-plugin-yaml/npm/linux-arm64-gnu/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-yaml-linux-arm64-gnu` +# `@farmfe/plugin-yaml-linux-arm64-gnu` -This is the **aarch64-unknown-linux-gnu** binary for `farm-plugin-yaml` +This is the **aarch64-unknown-linux-gnu** binary for `@farmfe/plugin-yaml` diff --git a/packages/farm-plugin-yaml/npm/linux-arm64-gnu/package.json b/packages/farm-plugin-yaml/npm/linux-arm64-gnu/package.json index 5ddae02..f604bbe 100644 --- a/packages/farm-plugin-yaml/npm/linux-arm64-gnu/package.json +++ b/packages/farm-plugin-yaml/npm/linux-arm64-gnu/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-yaml-linux-arm64-gnu", + "name": "@farmfe/plugin-yaml-linux-arm64-gnu", "version": "0.0.0", "os": [ "linux" diff --git a/packages/farm-plugin-yaml/npm/linux-arm64-musl/README.md b/packages/farm-plugin-yaml/npm/linux-arm64-musl/README.md index 1c9ac57..930e6a2 100644 --- a/packages/farm-plugin-yaml/npm/linux-arm64-musl/README.md +++ b/packages/farm-plugin-yaml/npm/linux-arm64-musl/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-yaml-linux-arm64-musl` +# `@farmfe/plugin-yaml-linux-arm64-musl` -This is the **aarch64-unknown-linux-musl** binary for `farm-plugin-yaml` +This is the **aarch64-unknown-linux-musl** binary for `@farmfe/plugin-yaml` diff --git a/packages/farm-plugin-yaml/npm/linux-arm64-musl/package.json b/packages/farm-plugin-yaml/npm/linux-arm64-musl/package.json index 90d304f..a25cb57 100644 --- a/packages/farm-plugin-yaml/npm/linux-arm64-musl/package.json +++ b/packages/farm-plugin-yaml/npm/linux-arm64-musl/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-yaml-linux-arm64-musl", + "name": "@farmfe/plugin-yaml-linux-arm64-musl", "version": "0.0.0", "os": [ "linux" diff --git a/packages/farm-plugin-yaml/npm/linux-x64-gnu/README.md b/packages/farm-plugin-yaml/npm/linux-x64-gnu/README.md index e58433a..a6eb905 100644 --- a/packages/farm-plugin-yaml/npm/linux-x64-gnu/README.md +++ b/packages/farm-plugin-yaml/npm/linux-x64-gnu/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-yaml-linux-x64-gnu` +# `@farmfe/plugin-yaml-linux-x64-gnu` -This is the **x86_64-unknown-linux-gnu** binary for `farm-plugin-yaml` +This is the **x86_64-unknown-linux-gnu** binary for `@farmfe/plugin-yaml` diff --git a/packages/farm-plugin-yaml/npm/linux-x64-gnu/package.json b/packages/farm-plugin-yaml/npm/linux-x64-gnu/package.json index eadeca7..a9fdea3 100644 --- a/packages/farm-plugin-yaml/npm/linux-x64-gnu/package.json +++ b/packages/farm-plugin-yaml/npm/linux-x64-gnu/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-yaml-linux-x64-gnu", + "name": "@farmfe/plugin-yaml-linux-x64-gnu", "version": "0.0.0", "os": [ "linux" diff --git a/packages/farm-plugin-yaml/npm/linux-x64-musl/README.md b/packages/farm-plugin-yaml/npm/linux-x64-musl/README.md index cdb33da..fbd80eb 100644 --- a/packages/farm-plugin-yaml/npm/linux-x64-musl/README.md +++ b/packages/farm-plugin-yaml/npm/linux-x64-musl/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-yaml-linux-x64-musl` +# `@farmfe/plugin-yaml-linux-x64-musl` -This is the **x86_64-unknown-linux-musl** binary for `farm-plugin-yaml` +This is the **x86_64-unknown-linux-musl** binary for `@farmfe/plugin-yaml` diff --git a/packages/farm-plugin-yaml/npm/linux-x64-musl/package.json b/packages/farm-plugin-yaml/npm/linux-x64-musl/package.json index b980429..b279ac5 100644 --- a/packages/farm-plugin-yaml/npm/linux-x64-musl/package.json +++ b/packages/farm-plugin-yaml/npm/linux-x64-musl/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-yaml-linux-x64-musl", + "name": "@farmfe/plugin-yaml-linux-x64-musl", "version": "0.0.0", "os": [ "linux" diff --git a/packages/farm-plugin-yaml/npm/win32-arm64-msvc/README.md b/packages/farm-plugin-yaml/npm/win32-arm64-msvc/README.md index 5881083..3f31904 100644 --- a/packages/farm-plugin-yaml/npm/win32-arm64-msvc/README.md +++ b/packages/farm-plugin-yaml/npm/win32-arm64-msvc/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-yaml-win32-arm64-msvc` +# `@farmfe/plugin-yaml-win32-arm64-msvc` -This is the aarch64-pc-windows-msvc binary for `farm-plugin-yaml` +This is the aarch64-pc-windows-msvc binary for `@farmfe/plugin-yaml` diff --git a/packages/farm-plugin-yaml/npm/win32-arm64-msvc/package.json b/packages/farm-plugin-yaml/npm/win32-arm64-msvc/package.json index d791eba..e6ad223 100644 --- a/packages/farm-plugin-yaml/npm/win32-arm64-msvc/package.json +++ b/packages/farm-plugin-yaml/npm/win32-arm64-msvc/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-yaml-win32-arm64-msvc", + "name": "@farmfe/plugin-yaml-win32-arm64-msvc", "version": "0.0.0", "os": [ "win32" diff --git a/packages/farm-plugin-yaml/npm/win32-ia32-msvc/README.md b/packages/farm-plugin-yaml/npm/win32-ia32-msvc/README.md index 837b4f0..9c34f95 100644 --- a/packages/farm-plugin-yaml/npm/win32-ia32-msvc/README.md +++ b/packages/farm-plugin-yaml/npm/win32-ia32-msvc/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-yaml-win32-ia32-msvc` +# `@farmfe/plugin-yaml-win32-ia32-msvc` -This is the i686-pc-windows-msvc binary for `farm-plugin-yaml` +This is the i686-pc-windows-msvc binary for `@farmfe/plugin-yaml` diff --git a/packages/farm-plugin-yaml/npm/win32-ia32-msvc/package.json b/packages/farm-plugin-yaml/npm/win32-ia32-msvc/package.json index 3d7c200..f0dc498 100644 --- a/packages/farm-plugin-yaml/npm/win32-ia32-msvc/package.json +++ b/packages/farm-plugin-yaml/npm/win32-ia32-msvc/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-yaml-win32-ia32-msvc", + "name": "@farmfe/plugin-yaml-win32-ia32-msvc", "version": "0.0.0", "os": [ "win32" diff --git a/packages/farm-plugin-yaml/npm/win32-x64-msvc/README.md b/packages/farm-plugin-yaml/npm/win32-x64-msvc/README.md index 51a1a19..9c64651 100644 --- a/packages/farm-plugin-yaml/npm/win32-x64-msvc/README.md +++ b/packages/farm-plugin-yaml/npm/win32-x64-msvc/README.md @@ -1,3 +1,3 @@ -# `farm-plugin-yaml-win32-x64-msvc` +# `@farmfe/plugin-yaml-win32-x64-msvc` -This is the **x86_64-pc-windows-msvc** binary for `farm-plugin-yaml` +This is the **x86_64-pc-windows-msvc** binary for `@farmfe/plugin-yaml` diff --git a/packages/farm-plugin-yaml/npm/win32-x64-msvc/package.json b/packages/farm-plugin-yaml/npm/win32-x64-msvc/package.json index 7bbb01f..36492fa 100644 --- a/packages/farm-plugin-yaml/npm/win32-x64-msvc/package.json +++ b/packages/farm-plugin-yaml/npm/win32-x64-msvc/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-yaml-win32-x64-msvc", + "name": "@farmfe/plugin-yaml-win32-x64-msvc", "version": "0.0.0", "os": [ "win32" diff --git a/packages/farm-plugin-yaml/package.json b/packages/farm-plugin-yaml/package.json index 97a3acf..b247793 100644 --- a/packages/farm-plugin-yaml/package.json +++ b/packages/farm-plugin-yaml/package.json @@ -1,5 +1,5 @@ { - "name": "farm-plugin-yml", + "name": "@farmfe/plugin-yml", "version": "0.0.1", "main": "scripts/index.js", "types": "scripts/index.d.ts", @@ -30,8 +30,8 @@ "dev": "cargo watch -w src -s 'scripts/watch.sh'", "bump": "npx changeset version", "play": "pnpm --filter playground dev", - "build": "farm-plugin-tools build --platform --cargo-name farm_plugin_yml -p farm_plugin_yml --release", - "prepublishOnly": "farm-plugin-tools prepublish", + "build": "@farmfe/plugin-tools build --platform --cargo-name farm_plugin_yml -p farm_plugin_yml --release", + "prepublishOnly": "@farmfe/plugin-tools prepublish", "publish": "npm publish" }, "files": [ diff --git a/packages/farm-plugin-yaml/readmd.md b/packages/farm-plugin-yaml/readmd.md index 4e33a59..aaef300 100644 --- a/packages/farm-plugin-yaml/readmd.md +++ b/packages/farm-plugin-yaml/readmd.md @@ -1,4 +1,4 @@ -# farm-plugin-yaml +# @farmfe/plugin-yaml Inspired By [@rollup/plugin-yaml](https://www.npmjs.com/package/@rollup/plugin-yaml) @@ -7,7 +7,7 @@ Inspired By [@rollup/plugin-yaml](https://www.npmjs.com/package/@rollup/plugin-y ## install ```bash -pnpm add farm-plugin-yml --save-dev +pnpm add @farmfe/plugin-yml --save-dev ``` ## Usage @@ -20,7 +20,7 @@ import { defineConfig } from '@farmfe/core'; export default defineConfig({ plugins: [ [ - 'farm-plugin-yml', + '@farmfe/plugin-yml', { documentMode: 'single' | 'multi', // default single include: Regex, // default None, diff --git a/packages/farm-plugin-yaml/readme.md b/packages/farm-plugin-yaml/readme.md index 09b2ba6..e7afe8c 100644 --- a/packages/farm-plugin-yaml/readme.md +++ b/packages/farm-plugin-yaml/readme.md @@ -1,4 +1,4 @@ -# farm-plugin-yaml +# @farmfe/plugin-yaml Inspired By [@rollup/plugin-yaml](https://www.npmjs.com/package/@rollup/plugin-yaml) @@ -7,7 +7,7 @@ Inspired By [@rollup/plugin-yaml](https://www.npmjs.com/package/@rollup/plugin-y ## install ```bash -pnpm add -D farm-plugin-yaml +pnpm add -D @farmfe/plugin-yaml ``` ## Usage @@ -20,7 +20,7 @@ import { defineConfig } from '@farmfe/core'; export default defineConfig({ plugins: [ [ - 'farm-plugin-yaml', + '@farmfe/plugin-yaml', { documentMode: 'single' | 'multi', // default single include: Regex, // default None, diff --git a/packages/farm-plugin-yaml/scripts/index.js b/packages/farm-plugin-yaml/scripts/index.js index f3de8af..b747dc6 100644 --- a/packages/farm-plugin-yaml/scripts/index.js +++ b/packages/farm-plugin-yaml/scripts/index.js @@ -31,7 +31,7 @@ switch (platform) { if (existsSync(join(currentDir, '../npm/win32-x64-msvc/index.farm'))) { binPath = join(currentDir, '../npm/win32-x64-msvc/index.farm'); } else { - binPath = require.resolve('farm-plugin-yaml-win32-x64-msvc'); + binPath = require.resolve('@farmfe/plugin-yaml-win32-x64-msvc'); } break; @@ -39,7 +39,7 @@ switch (platform) { if (existsSync(join(currentDir, '../npm/win32-ia32-msvc/index.farm'))) { binPath = join(currentDir, '../npm/win32-ia32-msvc/index.farm'); } else { - binPath = require.resolve('farm-plugin-yaml-win32-ia32-msvc'); + binPath = require.resolve('@farmfe/plugin-yaml-win32-ia32-msvc'); } break; @@ -47,7 +47,7 @@ switch (platform) { if (existsSync(join(currentDir, '../npm/win32-arm64-msvc/index.farm'))) { binPath = join(currentDir, '../npm/win32-arm64-msvc/index.farm'); } else { - binPath = require.resolve('farm-plugin-yaml-win32-arm64-msvc'); + binPath = require.resolve('@farmfe/plugin-yaml-win32-arm64-msvc'); } break; @@ -61,14 +61,14 @@ switch (platform) { if (existsSync(join(currentDir, '../npm/darwin-x64/index.farm'))) { binPath = join(currentDir, '../npm/darwin-x64/index.farm'); } else { - binPath = require.resolve('farm-plugin-yaml-darwin-x64'); + binPath = require.resolve('@farmfe/plugin-yaml-darwin-x64'); } break; case 'arm64': if (existsSync(join(currentDir, '../npm/darwin-arm64/index.farm'))) { binPath = join(currentDir, '../npm/darwin-arm64/index.farm'); } else { - binPath = require.resolve('farm-plugin-yaml-darwin-arm64'); + binPath = require.resolve('@farmfe/plugin-yaml-darwin-arm64'); } break; default: @@ -82,13 +82,13 @@ switch (platform) { if (existsSync(join(currentDir, '../npm/linux-x64-musl/index.farm'))) { binPath = join(currentDir, '../npm/linux-x64-musl/index.farm'); } else { - binPath = require.resolve('farm-plugin-yaml-linux-x64-musl'); + binPath = require.resolve('@farmfe/plugin-yaml-linux-x64-musl'); } } else { if (existsSync(join(currentDir, '../npm/linux-x64-gnu/index.farm'))) { binPath = join(currentDir, '../npm/linux-x64-gnu/index.farm'); } else { - binPath = require.resolve('farm-plugin-yaml-linux-x64-gnu'); + binPath = require.resolve('@farmfe/plugin-yaml-linux-x64-gnu'); } } @@ -101,7 +101,7 @@ switch (platform) { ) { binPath = join(currentDir, '../npm/linux-arm64-musl/index.farm'); } else { - binPath = require.resolve('farm-plugin-yaml-linux-arm64-musl'); + binPath = require.resolve('@farmfe/plugin-yaml-linux-arm64-musl'); } } else { if ( @@ -109,7 +109,7 @@ switch (platform) { ) { binPath = join(currentDir, '../npm/linux-arm64-gnu/index.farm'); } else { - binPath = require.resolve('farm-plugin-yaml-linux-arm64-gnu'); + binPath = require.resolve('@farmfe/plugin-yaml-linux-arm64-gnu'); } } break;