plusui-native 0.2.16 → 0.2.17
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.
|
|
3
|
+
"version": "0.2.17",
|
|
4
4
|
"description": "PlusUI CLI - Build C++ desktop apps modern UI ",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"semver": "^7.6.0",
|
|
28
28
|
"which": "^4.0.0",
|
|
29
29
|
"execa": "^8.0.1",
|
|
30
|
-
"plusui-native-builder": "^0.1.
|
|
31
|
-
"plusui-native-bindgen": "^0.1.
|
|
30
|
+
"plusui-native-builder": "^0.1.16",
|
|
31
|
+
"plusui-native-bindgen": "^0.1.16"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"plusui-native-bindgen": "^0.1.
|
|
34
|
+
"plusui-native-bindgen": "^0.1.16"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
package/templates/manager.js
CHANGED
|
@@ -64,13 +64,19 @@ export class TemplateManager {
|
|
|
64
64
|
// Core version follows 0.1.x pattern when CLI is 0.2.x
|
|
65
65
|
const coreVersionRange = `^${major}.1.0`;
|
|
66
66
|
|
|
67
|
+
// Builder and bindgen also follow 0.1.x pattern
|
|
68
|
+
const builderVersionRange = `^${major}.1.0`;
|
|
69
|
+
const bindgenVersionRange = `^${major}.1.0`;
|
|
70
|
+
|
|
67
71
|
// 4. Prepare template variables
|
|
68
72
|
const variables = {
|
|
69
73
|
PROJECT_NAME: projectName,
|
|
70
74
|
PROJECT_NAME_LOWER: projectName.toLowerCase(),
|
|
71
75
|
PROJECT_VERSION: '0.1.0',
|
|
72
76
|
PLUSUI_CLI_VERSION: cliVersionRange,
|
|
73
|
-
PLUSUI_CORE_VERSION: coreVersionRange
|
|
77
|
+
PLUSUI_CORE_VERSION: coreVersionRange,
|
|
78
|
+
PLUSUI_BUILDER_VERSION: builderVersionRange,
|
|
79
|
+
PLUSUI_BINDGEN_VERSION: bindgenVersionRange
|
|
74
80
|
};
|
|
75
81
|
|
|
76
82
|
// 5. Copy template files
|
|
@@ -19,6 +19,10 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"plusui-native": "{{PLUSUI_CLI_VERSION}}",
|
|
21
21
|
"plusui-native-core": "{{PLUSUI_CORE_VERSION}}"
|
|
22
|
+
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"plusui-native-builder": "{{PLUSUI_BUILDER_VERSION}}",
|
|
25
|
+
"plusui-native-bindgen": "{{PLUSUI_BINDGEN_VERSION}}"
|
|
22
26
|
}
|
|
23
27
|
}
|
|
24
28
|
|
|
@@ -19,6 +19,10 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"plusui-native": "{{PLUSUI_CLI_VERSION}}",
|
|
21
21
|
"plusui-native-core": "{{PLUSUI_CORE_VERSION}}"
|
|
22
|
+
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"plusui-native-builder": "{{PLUSUI_BUILDER_VERSION}}",
|
|
25
|
+
"plusui-native-bindgen": "{{PLUSUI_BINDGEN_VERSION}}"
|
|
22
26
|
}
|
|
23
27
|
}
|
|
24
28
|
|