@gaomingzhao666/stack-info 1.0.0 → 1.0.1

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 ADDED
@@ -0,0 +1,79 @@
1
+ # Stack Info CLI
2
+
3
+ [![npm version](https://img.shields.io/npm/v/@gaomingzhao666/stack-info/latest.svg?style=flat-square)](https://www.npmjs.com/package/@gaomingzhao666/stack-info)
4
+ [![npm downloads](https://img.shields.io/npm/dm/@gaomingzhao666/stack-info.svg?style=flat-square)](https://www.npmjs.com/package/@gaomingzhao666/stack-info)
5
+ [![License](https://img.shields.io/npm/l/@gaomingzhao666/stack-info.svg?style=flat-square)](./LICENSE)
6
+
7
+ `@gaomingzhao666/stack-info`, a cross-platform, framework-agnostic CLI for inspecting web project stacks in command line.
8
+
9
+ ## Output Example
10
+
11
+ ```bash
12
+ | | |
13
+ | -------------------- | ------------------------------------------------------------ |
14
+ | **Project root** | `C:/Users/Gmz/Desktop/reservation-app` |
15
+ | **Operating system** | `Windows 10.0.26100` |
16
+ | **CPU** | `AMD Ryzen 7 8745HS w/ Radeon 780M Graphics (16 cores)` |
17
+ | **Node.js version** | `v24.13.0` |
18
+ | **Package manager** | `pnpm@10.13.1` |
19
+ | **Builder** | `Vite@^7.0.4` |
20
+ | **Frameworks** | `Vue@^3.5.17` |
21
+ ```
22
+
23
+ ## Installation
24
+
25
+ ```bash
26
+ pnpm add -G @gaomingzhao666/stack-info
27
+ ```
28
+
29
+ ```bash
30
+ npm install -G @gaomingzhao666/stack-info
31
+ ```
32
+
33
+ ```bash
34
+ yarn global add @gaomingzhao666/stack-info
35
+ ```
36
+
37
+ ```bash
38
+ bun add -g @gaomingzhao666/stack-info
39
+ ```
40
+
41
+ ## Print Stack Info for Current Project
42
+
43
+ ```bash
44
+ pnpm @gaomingzhao666/stack-info info
45
+ ```
46
+
47
+ ```bash
48
+ npm run @gaomingzhao666/stack-info info
49
+ ```
50
+
51
+ ```bash
52
+ yarn @gaomingzhao666/stack-info info
53
+ ```
54
+
55
+ ```bash
56
+ bun @gaomingzhao666/stack-info info
57
+ ```
58
+
59
+ ## Features
60
+
61
+ ### Detections
62
+
63
+ - Detects project root path.
64
+ - Detects popular web frameworks used in current project.
65
+ - Detects builder used in current project.
66
+ - Detects package manager used in current project.
67
+ - Detects runtime environment.
68
+ - Detects OS information.
69
+ - Detects CPU information.
70
+
71
+ ### others
72
+
73
+ - Modern and global use.
74
+ - Provides a clean and formatted output in the terminal.
75
+ - Cross-platform support.
76
+
77
+ ## License
78
+
79
+ [MIT](./LICENSE)
package/dist/cli.mjs CHANGED
@@ -193,7 +193,7 @@ var info_default = defineCommand({
193
193
  const main = defineCommand({
194
194
  meta: {
195
195
  name: "stack-info",
196
- version: "1.0.0",
196
+ version: "1.0.1",
197
197
  description: "A cross-platform, framework-agnostic CLI for inspecting web project stacks in command line."
198
198
  },
199
199
  subCommands: { info: info_default }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gaomingzhao666/stack-info",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A cross-platform, framework-agnostic CLI for inspecting web project stacks in command line.",
5
5
  "keywords": [
6
6
  "cli",