qtflow 0.1.0 → 0.2.0

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 CHANGED
@@ -1,7 +1,24 @@
1
- # qtflow npm wrapper
1
+ # qtflow
2
2
 
3
- This package provides the `qtflow` command by selecting a prebuilt binary from a platform-specific optional dependency.
3
+ A small Qt/CMake workflow CLI that lets **AI coding agents (and humans) compile and test Qt projects easily** — especially on Windows/MSVC — without rediscovering CMake / CTest / Visual Studio setup every time.
4
4
 
5
- No Rust toolchain is required when the matching optional package is installed. If the optional package is unavailable, use a GitHub release archive or build from source with `cargo install qtflow`.
5
+ AI 方便地编译、测试 Qt(CMake)项目的命令行工具,自动处理 Windows/MSVC 开发者环境。
6
6
 
7
- The package name is `qtflow`; install it with `npm i -g qtflow`. Platform-specific optional packages are published under the `@xehxx/qtflow-cli-<os>-<arch>` names.
7
+ ## Install
8
+
9
+ ```sh
10
+ npm i -g qtflow
11
+ qtflow --help
12
+ ```
13
+
14
+ This installs a prebuilt binary through a platform-specific optional dependency, so **no Rust toolchain is required**. Supported: Windows x64, Linux x64, macOS x64/arm64.
15
+
16
+ ## Quick use
17
+
18
+ ```sh
19
+ qtflow doctor # inspect project, CMake/CTest, build dirs, MSVC
20
+ qtflow init # set up .qtflow.toml + AI agent skills
21
+ qtflow check <target> # build a target and run its matching CTest
22
+ ```
23
+
24
+ Full documentation and source: https://github.com/wudiyidashi/qtflow
package/bin/qtflow.js CHANGED
@@ -30,7 +30,7 @@ function installHelp(platform, arch) {
30
30
  "Install from a GitHub release archive, or build from source with:",
31
31
  " cargo install qtflow",
32
32
  "",
33
- "GitHub releases: https://github.com/OWNER/qtflow/releases",
33
+ "GitHub releases: https://github.com/wudiyidashi/qtflow/releases",
34
34
  ].join("\n");
35
35
  }
36
36
 
@@ -62,7 +62,7 @@ function resolveBinary(platform = process.platform, arch = process.arch, require
62
62
  "Install from a GitHub release archive, or build from source with:",
63
63
  " cargo install qtflow",
64
64
  "",
65
- "GitHub releases: https://github.com/OWNER/qtflow/releases",
65
+ "GitHub releases: https://github.com/wudiyidashi/qtflow/releases",
66
66
  ].join("\n"),
67
67
  cause: error,
68
68
  };
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "qtflow",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "A Qt/CMake workflow CLI for configure, build, test, and check commands.",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "https://github.com/OWNER/qtflow.git"
8
+ "url": "https://github.com/wudiyidashi/qtflow.git"
9
9
  },
10
10
  "bin": {
11
11
  "qtflow": "bin/qtflow.js"
@@ -15,10 +15,10 @@
15
15
  "README.md"
16
16
  ],
17
17
  "optionalDependencies": {
18
- "@xehxx/qtflow-cli-win32-x64": "0.1.0",
19
- "@xehxx/qtflow-cli-linux-x64": "0.1.0",
20
- "@xehxx/qtflow-cli-darwin-x64": "0.1.0",
21
- "@xehxx/qtflow-cli-darwin-arm64": "0.1.0"
18
+ "@xehxx/qtflow-cli-win32-x64": "0.2.0",
19
+ "@xehxx/qtflow-cli-linux-x64": "0.2.0",
20
+ "@xehxx/qtflow-cli-darwin-x64": "0.2.0",
21
+ "@xehxx/qtflow-cli-darwin-arm64": "0.2.0"
22
22
  },
23
23
  "engines": {
24
24
  "node": ">=14"