pro-cpp-cli-core 1.0.0 → 1.0.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/README.md +64 -0
- package/package.json +9 -1
package/README.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# 🚀 PRO C++ CLI Core
|
|
2
|
+
|
|
3
|
+
The ultimate Developer Experience (DX) for C++ on Windows. Inspired by Angular and .NET CLI.
|
|
4
|
+
Stop fighting with compilers, start writing code.
|
|
5
|
+
|
|
6
|
+
## 🛠 Prerequisites
|
|
7
|
+
|
|
8
|
+
This tool is designed for **Windows** and requires **Visual Studio 2022** (Community, Pro, or Enterprise).
|
|
9
|
+
|
|
10
|
+
1. **Install C++ Workload:** Ensure "Desktop development with C++" is checked in Visual Studio Installer.
|
|
11
|
+
2. **Node.js:** Install the latest LTS version.
|
|
12
|
+
|
|
13
|
+
## 📦 Installation
|
|
14
|
+
|
|
15
|
+
```cmd
|
|
16
|
+
npm install -g pro-cpp-cli-core
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
🚀 Quick Start
|
|
20
|
+
|
|
21
|
+
1. Create a new folder and open it in VS Code.
|
|
22
|
+
|
|
23
|
+
2. Initialize the project:
|
|
24
|
+
```cmd
|
|
25
|
+
procpp init
|
|
26
|
+
```
|
|
27
|
+
3. Start the magic watcher:
|
|
28
|
+
```cmd
|
|
29
|
+
procpp watch
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
⚠️ Important: Terminal Setup
|
|
35
|
+
To use `procpp` inside VS Code terminal, you MUST use the Developer Environment:
|
|
36
|
+
|
|
37
|
+
1. Press `Ctrl + Shift + P`.
|
|
38
|
+
|
|
39
|
+
2. Type `Terminal: Select Default Profile`.
|
|
40
|
+
|
|
41
|
+
3. Select `Developer PowerShell for VS 2022`.
|
|
42
|
+
|
|
43
|
+
4. Open a NEW terminal.
|
|
44
|
+
|
|
45
|
+
Now `cl.exe` is recognized, and `procpp` can build your code!
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
✨ Features
|
|
50
|
+
|
|
51
|
+
• `procpp init`: Creates `main.cpp` and perfect `.vscode` configs for a "one-click" debugging experience (F5).
|
|
52
|
+
|
|
53
|
+
• `procpp run`: Compiles all `.cpp` files in the directory and runs them.
|
|
54
|
+
|
|
55
|
+
• `procpp watch`: Professional-grade hot-reload. It bypasses Antivirus locks by using unique executable naming and handles process recycling automatically.
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
🐞 Debugging
|
|
60
|
+
|
|
61
|
+
Just press F5! Our `init` command sets up a "Bulletproof" debugger configuration that won't conflict with the watcher.
|
|
62
|
+
|
|
63
|
+
Created with ❤️ for the C++ Community.
|
|
64
|
+
|
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.2",
|
|
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": {
|