plusui-native-builder 0.1.0 → 0.1.1

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 +11 -2
  2. package/src/index.js +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plusui-native-builder",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Multi-platform build tool for PlusUI projeplusui",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -13,7 +13,16 @@
13
13
  "build:win32": "node src/index.js win32",
14
14
  "build:all": "node src/index.js all"
15
15
  },
16
- "keywords": ["plusui", "build", "multiplatform", "android", "ios", "windows", "macos", "linux"],
16
+ "keywords": [
17
+ "plusui",
18
+ "build",
19
+ "multiplatform",
20
+ "android",
21
+ "ios",
22
+ "windows",
23
+ "macos",
24
+ "linux"
25
+ ],
17
26
  "license": "MIT",
18
27
  "dependencies": {
19
28
  "plusui-native-bindgen": "*"
package/src/index.js CHANGED
@@ -70,12 +70,12 @@ function generateBindings() {
70
70
  log('Generating bindings...', 'blue');
71
71
  let bindgenPath = join(__dirname, '..', '..', 'plusui-bindgen', 'src', 'index.js');
72
72
  if (!existsSync(bindgenPath)) {
73
- // Try installed location (node_modules/@plusui-native/bindgen)
74
- bindgenPath = join(__dirname, '..', '..', '@plusui-native', 'bindgen', 'src', 'index.js');
73
+ // Try installed location (node_modules/plusui-native-bindgen)
74
+ bindgenPath = join(__dirname, '..', '..', 'plusui-native-bindgen', 'src', 'index.js');
75
75
  }
76
76
 
77
77
  if (!existsSync(bindgenPath)) {
78
- error('plusui-bindgen not found. Please ensure @plusui-native/bindgen is installed.');
78
+ error('plusui-bindgen not found. Please ensure plusui-native-bindgen is installed.');
79
79
  }
80
80
 
81
81
  runCommand(`node ${bindgenPath} ./src/services ./src`);