@flowscripter/example-cli 1.0.6 → 1.0.8

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
@@ -3,7 +3,6 @@
3
3
  [![version](https://img.shields.io/github/v/release/flowscripter/example-cli?sort=semver)](https://github.com/flowscripter/example-cli/releases)
4
4
  [![build](https://img.shields.io/github/actions/workflow/status/flowscripter/example-cli/release-bun-executable.yml)](https://github.com/flowscripter/example-cli/actions/workflows/release-bun-executable.yml)
5
5
  [![coverage](https://codecov.io/gh/flowscripter/example-cli/branch/main/graph/badge.svg?token=EMFT2938ZF)](https://codecov.io/gh/flowscripter/example-cli)
6
- [![docs](https://img.shields.io/badge/docs-API-blue)](https://flowscripter.github.io/example-cli/index.html)
7
6
  [![license: MIT](https://img.shields.io/github/license/flowscripter/example-cli)](https://github.com/flowscripter/example-cli/blob/main/LICENSE)
8
7
 
9
8
  > Simple example CLI using
@@ -80,22 +79,12 @@ Lint:
80
79
 
81
80
  `deno lint index.ts src/ tests/`
82
81
 
83
- Generate HTML API Documentation:
84
-
85
- `deno doc --html --name=example-cli index.ts`
86
-
87
82
  ## Documentation
88
83
 
89
84
  Refer to the
90
85
  [dynamic-cli-framework](https://github.com/flowscripter/dynamic-cli-framework)
91
86
  documentation.
92
87
 
93
- ### API
94
-
95
- Link to auto-generated API docs:
96
-
97
- [API Documentation](https://flowscripter.github.io/example-cli/index.html)
98
-
99
88
  ## License
100
89
 
101
90
  MIT © Flowscripter
package/bun.lock CHANGED
@@ -4,20 +4,20 @@
4
4
  "": {
5
5
  "name": "@flowscripter/example-cli",
6
6
  "dependencies": {
7
- "@flowscripter/dynamic-cli-framework": "^1.1.1",
7
+ "@flowscripter/dynamic-cli-framework": "^1.1.6",
8
8
  },
9
9
  "devDependencies": {
10
- "@types/bun": "^1.2.8",
10
+ "@types/bun": "^1.2.10",
11
11
  },
12
12
  "peerDependencies": {
13
- "typescript": "^5.8.2",
13
+ "typescript": "^5.8.3",
14
14
  },
15
15
  },
16
16
  },
17
17
  "packages": {
18
- "@flowscripter/dynamic-cli-framework": ["@flowscripter/dynamic-cli-framework@1.1.1", "", { "dependencies": { "emphasize": "^7.0.0", "fastest-levenshtein": "^1.0.16", "figlet": "^1.8.0", "highlight.js": "^11.11.1", "prettier": "^3.5.3", "supports-color": "^10.0.0", "ts-log": "^2.2.7" }, "peerDependencies": { "typescript": "^5.8.2" } }, "sha512-pihEO3TGJBopoc/6d1oC2tjskDocz8jXH82MlopmDlkXsmYt6rrtZMImi/mByaDV/GKHxvEv9Qk6xqLZvoLFvA=="],
18
+ "@flowscripter/dynamic-cli-framework": ["@flowscripter/dynamic-cli-framework@1.1.6", "", { "dependencies": { "emphasize": "^7.0.0", "fastest-levenshtein": "^1.0.16", "figlet": "^1.8.1", "highlight.js": "^11.11.1", "prettier": "^3.5.3", "supports-color": "^10.0.0", "ts-log": "^2.2.7" }, "peerDependencies": { "typescript": "^5.8.3" } }, "sha512-Yv5tlduM0A/v38LmhwE8vkEqQQ2mp3YkEgwj0+OfdQ7qY/WIjBlmGjubMMhmQxgbVLjyMJiXHIZd2cObb5XZSg=="],
19
19
 
20
- "@types/bun": ["@types/bun@1.2.8", "", { "dependencies": { "bun-types": "1.2.7" } }, "sha512-t8L1RvJVUghW5V+M/fL3Thbxcs0HwNsXsnTEBEfEVqGteiJToOlZ/fyOEaR1kZsNqnu+3XA4RI/qmnX4w6+S+w=="],
20
+ "@types/bun": ["@types/bun@1.2.10", "", { "dependencies": { "bun-types": "1.2.10" } }, "sha512-eilv6WFM3M0c9ztJt7/g80BDusK98z/FrFwseZgT4bXCq2vPhXD4z8R3oddmAn+R/Nmz9vBn4kweJKmGTZj+lg=="],
21
21
 
22
22
  "@types/hast": ["@types/hast@3.0.4", "", { "dependencies": { "@types/unist": "*" } }, "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ=="],
23
23
 
@@ -25,9 +25,7 @@
25
25
 
26
26
  "@types/unist": ["@types/unist@3.0.3", "", {}, "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q=="],
27
27
 
28
- "@types/ws": ["@types/ws@8.5.14", "", { "dependencies": { "@types/node": "*" } }, "sha512-bd/YFLW+URhBzMXurx7lWByOu+xzU9+kb3RboOteXYDfW+tr+JZa99OyNmPINEGB/ahzKrEuc8rcv4gnpJmxTw=="],
29
-
30
- "bun-types": ["bun-types@1.2.7", "", { "dependencies": { "@types/node": "*", "@types/ws": "*" } }, "sha512-P4hHhk7kjF99acXqKvltyuMQ2kf/rzIw3ylEDpCxDS9Xa0X0Yp/gJu/vDCucmWpiur5qJ0lwB2bWzOXa2GlHqA=="],
28
+ "bun-types": ["bun-types@1.2.10", "", { "dependencies": { "@types/node": "*" } }, "sha512-b5ITZMnVdf3m1gMvJHG+gIfeJHiQPJak0f7925Hxu6ZN5VKA8AGy4GZ4lM+Xkn6jtWxg5S3ldWvfmXdvnkp3GQ=="],
31
29
 
32
30
  "chalk": ["chalk@5.4.1", "", {}, "sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w=="],
33
31
 
@@ -39,7 +37,7 @@
39
37
 
40
38
  "fastest-levenshtein": ["fastest-levenshtein@1.0.16", "", {}, "sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg=="],
41
39
 
42
- "figlet": ["figlet@1.8.0", "", { "bin": { "figlet": "bin/index.js" } }, "sha512-chzvGjd+Sp7KUvPHZv6EXV5Ir3Q7kYNpCr4aHrRW79qFtTefmQZNny+W1pW9kf5zeE6dikku2W50W/wAH2xWgw=="],
40
+ "figlet": ["figlet@1.8.1", "", { "bin": { "figlet": "bin/index.js" } }, "sha512-kEC3Sme+YvA8Hkibv0NR1oClGcWia0VB2fC1SlMy027cwe795Xx40Xiv/nw/iFAwQLupymWh+uhAAErn/7hwPg=="],
43
41
 
44
42
  "highlight.js": ["highlight.js@11.11.1", "", {}, "sha512-Xwwo44whKBVCYoliBQwaPvtd/2tYFkRQtXDWj1nackaV2JPXx3L0+Jvd8/qCJ2p+ML0/XVkJ2q+Mr+UVdpJK5w=="],
45
43
 
@@ -51,7 +49,7 @@
51
49
 
52
50
  "ts-log": ["ts-log@2.2.7", "", {}, "sha512-320x5Ggei84AxzlXp91QkIGSw5wgaLT6GeAH0KsqDmRZdVWW2OiSeVvElVoatk3f7nicwXlElXsoFkARiGE2yg=="],
53
51
 
54
- "typescript": ["typescript@5.8.2", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ=="],
52
+ "typescript": ["typescript@5.8.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ=="],
55
53
 
56
54
  "undici-types": ["undici-types@6.20.0", "", {}, "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg=="],
57
55
 
package/package.json CHANGED
@@ -19,17 +19,17 @@
19
19
  ],
20
20
  "module": "index.ts",
21
21
  "type": "module",
22
- "version": "1.0.6",
22
+ "version": "1.0.8",
23
23
  "publishConfig": {
24
24
  "access": "public"
25
25
  },
26
26
  "devDependencies": {
27
- "@types/bun": "^1.2.8"
27
+ "@types/bun": "^1.2.10"
28
28
  },
29
29
  "peerDependencies": {
30
- "typescript": "^5.8.2"
30
+ "typescript": "^5.8.3"
31
31
  },
32
32
  "dependencies": {
33
- "@flowscripter/dynamic-cli-framework": "^1.1.1"
33
+ "@flowscripter/dynamic-cli-framework": "^1.1.6"
34
34
  }
35
35
  }
@@ -1,31 +0,0 @@
1
- # Set exit on error
2
- $ErrorActionPreference = "Stop"
3
-
4
- # URL of the ZIP file containing the executable
5
- $zipUrl = "https://github.com/flowscripter/example-cli/releases/latest/download/example-cli_Windows_x86_64.zip"
6
- $installDir = "$env:ProgramFiles\example-cli"
7
-
8
- # Create a temporary directory to download the ZIP
9
- $tempDir = [System.IO.Path]::Combine($env:TEMP, "flowscripter_install")
10
- New-Item -ItemType Directory -Force -Path $tempDir
11
-
12
- # Download the ZIP file
13
- Write-Host "Downloading example-cli..."
14
- Invoke-WebRequest -Uri $zipUrl -OutFile "$tempDir\executable.zip"
15
-
16
- # Extract the ZIP file
17
- Write-Host "Extracting the ZIP file..."
18
- Expand-Archive -Path "$tempDir\executable.zip" -DestinationPath $tempDir -Force
19
-
20
- # Install the executable
21
- Write-Host "Installing the executable..."
22
- Move-Item -Path "$tempDir\example-cli.exe" -Destination $installDir -Force
23
-
24
- # Add the executable to the system PATH (for all users)
25
- $env:Path += ";$installDir"
26
- [Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::Machine)
27
-
28
- # Clean up temporary files
29
- Remove-Item -Recurse -Force $tempDir
30
-
31
- Write-Host "✅ Installation complete! You can now run 'example-cli' from any command prompt."