plusui-native 0.2.0 → 0.2.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plusui-native",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "PlusUI CLI - Build C++ desktop apps with web tech",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -11,7 +11,12 @@
11
11
  "start": "node src/index.js",
12
12
  "dev": "node src/index.js dev"
13
13
  },
14
- "keywords": ["desktop", "cpp", "webview", "gui"],
14
+ "keywords": [
15
+ "desktop",
16
+ "cpp",
17
+ "webview",
18
+ "gui"
19
+ ],
15
20
  "license": "MIT",
16
21
  "dependencies": {
17
22
  "chokidar": "^3.5.3",
@@ -22,12 +27,12 @@
22
27
  "semver": "^7.6.0",
23
28
  "which": "^4.0.0",
24
29
  "execa": "^8.0.1",
25
- "@plusui-native/builder": "*",
26
- "@plusui-native/bindgen": "*"
30
+ "plusui-native-builder": "^0.1.2",
31
+ "plusui-native-bindgen": "^0.1.2"
27
32
  },
28
33
  "peerDependencies": {
29
- "plusui-native-core": "*",
30
- "plusui-native-bindgen": "*"
34
+ "plusui-native-core": "^0.1.2",
35
+ "plusui-native-bindgen": "^0.1.2"
31
36
  },
32
37
  "publishConfig": {
33
38
  "access": "public"
package/src/index.js CHANGED
@@ -756,12 +756,12 @@ async function runBindgen(providedArgs = null, options = {}) {
756
756
  // Try to find the bindgen script
757
757
  let scriptPath = resolve(__dirname, '../../plusui-bindgen/src/index.js');
758
758
  if (!existsSync(scriptPath)) {
759
- // Try installed location (node_modules/@plusui-native/bindgen)
760
- scriptPath = resolve(__dirname, '../../../@plusui-native/bindgen/src/index.js');
759
+ // Try installed location (node_modules/plusui-native-bindgen)
760
+ scriptPath = resolve(__dirname, '../../../plusui-native-bindgen/src/index.js');
761
761
  }
762
762
 
763
763
  if (!existsSync(scriptPath)) {
764
- error(`Bindgen script not found. Please ensure @plusui-native/bindgen is installed.`);
764
+ error(`Bindgen script not found. Please ensure plusui-native-bindgen is installed.`);
765
765
  }
766
766
 
767
767
  log(`Using bindgen: ${scriptPath}`, 'dim');
@@ -139,7 +139,7 @@ export class TemplateManager {
139
139
  }
140
140
 
141
141
  // Fall back to npm registry (when published)
142
- return 'plusui-native-core';
142
+ return '^0.1.0';
143
143
  }
144
144
 
145
145
  resolveGlobalPackage(packageName) {
@@ -213,5 +213,5 @@ export class TemplateManager {
213
213
  console.log();
214
214
  }
215
215
  }
216
-
217
-
216
+
217
+
@@ -16,8 +16,8 @@
16
16
  "start": "plusui run",
17
17
  "clean": "plusui clean"
18
18
  },
19
- "devDependencies": {
20
- "plusui-native": "file:../../Tools/plusui-cli"
19
+ "dependencies": {
20
+ "plusui-native": "^0.2.0"
21
21
  }
22
- }
23
-
22
+ }
23
+
@@ -16,8 +16,8 @@
16
16
  "start": "plusui run",
17
17
  "clean": "plusui clean"
18
18
  },
19
- "devDependencies": {
20
- "plusui-native": "file:../../Tools/plusui-cli"
19
+ "dependencies": {
20
+ "plusui-native": "^0.2.0"
21
21
  }
22
- }
23
-
22
+ }
23
+