Skip to content

Commit

Permalink
Merge pull request #11 from farm-fe/chore-pkg-name
Browse files Browse the repository at this point in the history
chore: pkg name
  • Loading branch information
CCherry07 authored Jun 27, 2024
2 parents bac5adc + 8f28261 commit cc1a0c3
Show file tree
Hide file tree
Showing 106 changed files with 211 additions and 211 deletions.
4 changes: 2 additions & 2 deletions packages/farm-plugin-dsv/npm/darwin-arm64/README.md
Original file line number Diff line number Diff line change
@@ -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`
2 changes: 1 addition & 1 deletion packages/farm-plugin-dsv/npm/darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "farm-plugin-dsv-darwin-arm64",
"name": "@farmfe/plugin-dsv-darwin-arm64",
"version": "0.0.1",
"os": [
"darwin"
Expand Down
4 changes: 2 additions & 2 deletions packages/farm-plugin-dsv/npm/darwin-x64/README.md
Original file line number Diff line number Diff line change
@@ -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`
2 changes: 1 addition & 1 deletion packages/farm-plugin-dsv/npm/darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "farm-plugin-dsv-darwin-x64",
"name": "@farmfe/plugin-dsv-darwin-x64",
"version": "0.0.1",
"os": [
"darwin"
Expand Down
4 changes: 2 additions & 2 deletions packages/farm-plugin-dsv/npm/linux-arm64-gnu/README.md
Original file line number Diff line number Diff line change
@@ -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`
2 changes: 1 addition & 1 deletion packages/farm-plugin-dsv/npm/linux-arm64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "farm-plugin-dsv-linux-arm64-gnu",
"name": "@farmfe/plugin-dsv-linux-arm64-gnu",
"version": "0.0.1",
"os": [
"linux"
Expand Down
4 changes: 2 additions & 2 deletions packages/farm-plugin-dsv/npm/linux-arm64-musl/README.md
Original file line number Diff line number Diff line change
@@ -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`
2 changes: 1 addition & 1 deletion packages/farm-plugin-dsv/npm/linux-arm64-musl/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "farm-plugin-dsv-linux-arm64-musl",
"name": "@farmfe/plugin-dsv-linux-arm64-musl",
"version": "0.0.1",
"os": [
"linux"
Expand Down
4 changes: 2 additions & 2 deletions packages/farm-plugin-dsv/npm/linux-x64-gnu/README.md
Original file line number Diff line number Diff line change
@@ -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`
2 changes: 1 addition & 1 deletion packages/farm-plugin-dsv/npm/linux-x64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "farm-plugin-dsv-linux-x64-gnu",
"name": "@farmfe/plugin-dsv-linux-x64-gnu",
"version": "0.0.1",
"os": [
"linux"
Expand Down
4 changes: 2 additions & 2 deletions packages/farm-plugin-dsv/npm/linux-x64-musl/README.md
Original file line number Diff line number Diff line change
@@ -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`
2 changes: 1 addition & 1 deletion packages/farm-plugin-dsv/npm/linux-x64-musl/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "farm-plugin-dsv-linux-x64-musl",
"name": "@farmfe/plugin-dsv-linux-x64-musl",
"version": "0.0.1",
"os": [
"linux"
Expand Down
4 changes: 2 additions & 2 deletions packages/farm-plugin-dsv/npm/win32-arm64-msvc/README.md
Original file line number Diff line number Diff line change
@@ -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`
2 changes: 1 addition & 1 deletion packages/farm-plugin-dsv/npm/win32-arm64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "farm-plugin-dsv-win32-arm64-msvc",
"name": "@farmfe/plugin-dsv-win32-arm64-msvc",
"version": "0.0.1",
"os": [
"win32"
Expand Down
4 changes: 2 additions & 2 deletions packages/farm-plugin-dsv/npm/win32-ia32-msvc/README.md
Original file line number Diff line number Diff line change
@@ -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`
2 changes: 1 addition & 1 deletion packages/farm-plugin-dsv/npm/win32-ia32-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "farm-plugin-dsv-win32-ia32-msvc",
"name": "@farmfe/plugin-dsv-win32-ia32-msvc",
"version": "0.0.1",
"os": [
"win32"
Expand Down
4 changes: 2 additions & 2 deletions packages/farm-plugin-dsv/npm/win32-x64-msvc/README.md
Original file line number Diff line number Diff line change
@@ -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`
2 changes: 1 addition & 1 deletion packages/farm-plugin-dsv/npm/win32-x64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "farm-plugin-dsv-win32-x64-msvc",
"name": "@farmfe/plugin-dsv-win32-x64-msvc",
"version": "0.0.1",
"os": [
"win32"
Expand Down
6 changes: 3 additions & 3 deletions packages/farm-plugin-dsv/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion packages/farm-plugin-dsv/readme.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# farm-plugin-dsv
# @farmfe/plugin-dsv
18 changes: 9 additions & 9 deletions packages/farm-plugin-dsv/scripts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,23 @@ 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;
case 'ia32':
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;
case 'arm64':
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;
Expand All @@ -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:
Expand All @@ -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');
}
}

Expand All @@ -101,15 +101,15 @@ 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 (
existsSync(join(currentDir, '../npm/linux-arm64-gnu/index.farm'))
) {
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;
Expand Down
2 changes: 1 addition & 1 deletion packages/farm-plugin-react-components/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# farm-plugin-react-components
# @farmfe/plugin-react-components

<!-- ## rustup toolchain install nightly-2023-12-28 -->

Expand Down
Original file line number Diff line number Diff line change
@@ -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`
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "farm-plugin-react-components-darwin-arm64",
"name": "@farmfe/plugin-react-components-darwin-arm64",
"version": "0.0.1",
"os": [
"darwin"
Expand Down
Original file line number Diff line number Diff line change
@@ -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`
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "farm-plugin-react-components-darwin-x64",
"name": "@farmfe/plugin-react-components-darwin-x64",
"version": "0.0.1",
"os": [
"darwin"
Expand Down
Original file line number Diff line number Diff line change
@@ -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`
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -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`
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -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`
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -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`
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -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`
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -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`
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -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`
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
6 changes: 3 additions & 3 deletions packages/farm-plugin-react-components/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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": [
Expand Down
Loading

0 comments on commit cc1a0c3

Please sign in to comment.