pro-cpp-cli-core 1.0.8 โ 1.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.
- package/README.md +5 -1
- package/assets/demo-pro-cpp-cli-core.gif +0 -0
- package/index.js +8 -8
- package/package.json +10 -1
package/README.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
The ultimate Developer Experience (DX) for C++ on Windows. Inspired by Angular and .NET CLI.
|
|
4
4
|
Stop fighting with compilers, start writing code.
|
|
5
5
|
|
|
6
|
+
<p align="center">
|
|
7
|
+
<img src="assets/demo-pro-cpp-cli-core.gif" alt="PRO C++ CLI Demo" width="900">
|
|
8
|
+
</p>
|
|
9
|
+
|
|
6
10
|
## ๐ Prerequisites
|
|
7
11
|
|
|
8
12
|
This tool is designed for **Windows** and requires **Visual Studio 2022** (Community, Pro, or Enterprise).
|
|
@@ -40,7 +44,7 @@ To use `procpp` inside VS Code terminal, you MUST use the Developer Environment:
|
|
|
40
44
|
|
|
41
45
|
3. Select `Developer PowerShell for VS 2022`.
|
|
42
46
|
|
|
43
|
-
4. Open a NEW terminal
|
|
47
|
+
4. Open a `NEW terminal`. ๐ก
|
|
44
48
|
|
|
45
49
|
Now `cl.exe` is recognized, and `procpp` can build your code!
|
|
46
50
|
|
|
Binary file
|
package/index.js
CHANGED
|
@@ -147,16 +147,16 @@ function initProject() {
|
|
|
147
147
|
if (!fs.existsSync(mainCppPath)) {
|
|
148
148
|
// FIXED TEMPLATE: Added Windows UTF-8 support to fix "ะะฏะชะ"
|
|
149
149
|
const template =
|
|
150
|
-
|
|
151
|
-
|
|
150
|
+
`#include <iostream>
|
|
151
|
+
#include <windows.h>
|
|
152
152
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
153
|
+
int main() {
|
|
154
|
+
// Set console output to UTF-8 to support emojis and international text
|
|
155
|
+
SetConsoleOutputCP(CP_UTF8);
|
|
156
156
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
157
|
+
std::cout << "๐ PRO C++ is running!" << std::endl;
|
|
158
|
+
return 0;
|
|
159
|
+
}`;
|
|
160
160
|
fs.writeFileSync(mainCppPath, template);
|
|
161
161
|
}
|
|
162
162
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pro-cpp-cli-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "git+https://github.com/anton-po-github/pro-cpp-cli-core.git"
|
|
7
|
+
},
|
|
8
|
+
"bugs": {
|
|
9
|
+
"url": "https://github.com/anton-po-github/pro-cpp-cli-core/issues"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/anton-po-github/pro-cpp-cli-core#readme",
|
|
4
12
|
"description": "The ultimate C++ Developer Experience for Windows.",
|
|
5
13
|
"main": "index.js",
|
|
6
14
|
"bin": {
|
|
@@ -13,6 +21,7 @@
|
|
|
13
21
|
"watch",
|
|
14
22
|
"hot-reload",
|
|
15
23
|
"c++20",
|
|
24
|
+
"build",
|
|
16
25
|
"msvc"
|
|
17
26
|
],
|
|
18
27
|
"author": "PRO Developer",
|