@farmfe/plugin-worker 0.0.8 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +10 -10
  2. package/scripts/index.js +9 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farmfe/plugin-worker",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "main": "scripts/index.js",
5
5
  "types": "scripts/index.d.ts",
6
6
  "type": "module",
@@ -36,15 +36,15 @@
36
36
  "options.d.ts"
37
37
  ],
38
38
  "optionalDependencies": {
39
- "farmfe-plugin-worker-darwin-arm64": "0.0.8",
40
- "farmfe-plugin-worker-darwin-x64": "0.0.8",
41
- "farmfe-plugin-worker-linux-arm64-gnu": "0.0.8",
42
- "farmfe-plugin-worker-linux-arm64-musl": "0.0.8",
43
- "farmfe-plugin-worker-linux-x64-gnu": "0.0.8",
44
- "farmfe-plugin-worker-linux-x64-musl": "0.0.8",
45
- "farmfe-plugin-worker-win32-arm64-msvc": "0.0.8",
46
- "farmfe-plugin-worker-win32-ia32-msvc": "0.0.8",
47
- "farmfe-plugin-worker-win32-x64-msvc": "0.0.8"
39
+ "@farmfe/plugin-worker-darwin-arm64": "0.0.10",
40
+ "@farmfe/plugin-worker-darwin-x64": "0.0.10",
41
+ "@farmfe/plugin-worker-linux-arm64-gnu": "0.0.10",
42
+ "@farmfe/plugin-worker-linux-arm64-musl": "0.0.10",
43
+ "@farmfe/plugin-worker-linux-x64-gnu": "0.0.10",
44
+ "@farmfe/plugin-worker-linux-x64-musl": "0.0.10",
45
+ "@farmfe/plugin-worker-win32-arm64-msvc": "0.0.10",
46
+ "@farmfe/plugin-worker-win32-ia32-msvc": "0.0.10",
47
+ "@farmfe/plugin-worker-win32-x64-msvc": "0.0.10"
48
48
  },
49
49
  "scripts": {
50
50
  "dev": "cargo watch -w src -s 'scripts/watch.sh'",
package/scripts/index.js CHANGED
@@ -31,7 +31,7 @@ switch (platform) {
31
31
  if (existsSync(join(currentDir, '../npm/win32-x64-msvc/index.farm'))) {
32
32
  binPath = join(currentDir, '../npm/win32-x64-msvc/index.farm');
33
33
  } else {
34
- binPath = require.resolve('farmfe-plugin-worker-win32-x64-msvc');
34
+ binPath = require.resolve('@farmfe/plugin-worker-win32-x64-msvc');
35
35
  }
36
36
 
37
37
  break;
@@ -39,7 +39,7 @@ switch (platform) {
39
39
  if (existsSync(join(currentDir, '../npm/win32-ia32-msvc/index.farm'))) {
40
40
  binPath = join(currentDir, '../npm/win32-ia32-msvc/index.farm');
41
41
  } else {
42
- binPath = require.resolve('farmfe-plugin-worker-win32-ia32-msvc');
42
+ binPath = require.resolve('@farmfe/plugin-worker-win32-ia32-msvc');
43
43
  }
44
44
 
45
45
  break;
@@ -47,7 +47,7 @@ switch (platform) {
47
47
  if (existsSync(join(currentDir, '../npm/win32-arm64-msvc/index.farm'))) {
48
48
  binPath = join(currentDir, '../npm/win32-arm64-msvc/index.farm');
49
49
  } else {
50
- binPath = require.resolve('farmfe-plugin-worker-win32-arm64-msvc');
50
+ binPath = require.resolve('@farmfe/plugin-worker-win32-arm64-msvc');
51
51
  }
52
52
 
53
53
  break;
@@ -61,14 +61,14 @@ switch (platform) {
61
61
  if (existsSync(join(currentDir, '../npm/darwin-x64/index.farm'))) {
62
62
  binPath = join(currentDir, '../npm/darwin-x64/index.farm');
63
63
  } else {
64
- binPath = require.resolve('farmfe-plugin-worker-darwin-x64');
64
+ binPath = require.resolve('@farmfe/plugin-worker-darwin-x64');
65
65
  }
66
66
  break;
67
67
  case 'arm64':
68
68
  if (existsSync(join(currentDir, '../npm/darwin-arm64/index.farm'))) {
69
69
  binPath = join(currentDir, '../npm/darwin-arm64/index.farm');
70
70
  } else {
71
- binPath = require.resolve('farmfe-plugin-worker-darwin-arm64');
71
+ binPath = require.resolve('@farmfe/plugin-worker-darwin-arm64');
72
72
  }
73
73
  break;
74
74
  default:
@@ -82,13 +82,13 @@ switch (platform) {
82
82
  if (existsSync(join(currentDir, '../npm/linux-x64-musl/index.farm'))) {
83
83
  binPath = join(currentDir, '../npm/linux-x64-musl/index.farm');
84
84
  } else {
85
- binPath = require.resolve('farmfe-plugin-worker-linux-x64-musl');
85
+ binPath = require.resolve('@farmfe/plugin-worker-linux-x64-musl');
86
86
  }
87
87
  } else {
88
88
  if (existsSync(join(currentDir, '../npm/linux-x64-gnu/index.farm'))) {
89
89
  binPath = join(currentDir, '../npm/linux-x64-gnu/index.farm');
90
90
  } else {
91
- binPath = require.resolve('farmfe-plugin-worker-linux-x64-gnu');
91
+ binPath = require.resolve('@farmfe/plugin-worker-linux-x64-gnu');
92
92
  }
93
93
  }
94
94
 
@@ -101,7 +101,7 @@ switch (platform) {
101
101
  ) {
102
102
  binPath = join(currentDir, '../npm/linux-arm64-musl/index.farm');
103
103
  } else {
104
- binPath = require.resolve('farmfe-plugin-worker-linux-arm64-musl');
104
+ binPath = require.resolve('@farmfe/plugin-worker-linux-arm64-musl');
105
105
  }
106
106
  } else {
107
107
  if (
@@ -109,7 +109,7 @@ switch (platform) {
109
109
  ) {
110
110
  binPath = join(currentDir, '../npm/linux-arm64-gnu/index.farm');
111
111
  } else {
112
- binPath = require.resolve('farmfe-plugin-worker-linux-arm64-gnu');
112
+ binPath = require.resolve('@farmfe/plugin-worker-linux-arm64-gnu');
113
113
  }
114
114
  }
115
115
  break;