@dockstat/repo-cli 1.0.3 → 1.0.4

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,15 +1,57 @@
1
- # dockstore-cli
1
+ # @dockstat/repo-cli
2
2
 
3
- To install dependencies:
3
+ > Helps you manage repositories for DockStat installations
4
+
5
+ ## Installation
4
6
 
5
7
  ```bash
6
- bun install
7
- ```
8
+ bun -g @dockstat/repo-cli
9
+ # And afterwards
10
+ dockstat-repo ...
8
11
 
9
- To run:
12
+ # OR:
10
13
 
11
- ```bash
12
- bun run src/index.ts
14
+ bunx @dockstat/repo-cli ...
13
15
  ```
14
16
 
15
- This project was created using `bun init` in bun v1.3.1. [Bun](https://bun.com) is a fast all-in-one JavaScript runtime.
17
+ ## Commands
18
+
19
+ | command | options | description | Required? |
20
+ | ------- | --------------------------------------- | -------------------------------------------------------------- | --------- |
21
+ | `init` | | Initializes a new repository | |
22
+ | | `-n <name>` / `--name <name>` | Sets the name for the Repository | ✅ |
23
+ | | `-t <path>` / `--themes-dir <path>` | Themes directory (default: `./content/themes`) | ❌ |
24
+ | | `-p <path>` / `--plugin-dir <path>` | Plugins directory (default: `./content/plugins`) | ❌ |
25
+ | | `-s <path>` / `--stack-dir <path>` | Stacks directory (defualt: `./content/stacks`) | ❌ |
26
+ | | `--plugin-bundle <dir>` | Plugin bundle output directory (default: `bundle`) | ❌ |
27
+ | | `-r` / `--relaxed` | Sets the verification policy to relaxed (default: `false`) | ❌ |
28
+ | | `-a <URL>` / `--verification-api <URL>` | Sets the verification API Endpoint (default: `undefined`) | ❌ |
29
+ | | `-v <type>` / `--variant <type>` | Repository type (`github`, `gitlab`, `gitea`, `http`, `local`) | ❌ |
30
+
31
+ | command | options | description | Required? |
32
+ | -------- | ----------------- | ------------------------------------------------------- | --------- |
33
+ | `bundle` | | Bundles all plugins and updates the repository manifest | |
34
+ | | `--schema <path>` | Output path for plugin meta schema | ❌ |
35
+ | | `--minify` | Minifies the plugins source code (default: `true`) | ❌ |
36
+ | | `--sourcemap` | Generate sourcemaps (default: `true`) | ❌ |
37
+
38
+ | command | options | description | Required? |
39
+ | -------- | -------------------- | ----------------------------------------------------- | --------- |
40
+ | `badges` | | Generate SVG badges for the repository | |
41
+ | | `-o, --output <dir>` | Output directory for badges (default: `.badges`) | ❌ |
42
+ | | `--style <style>` | Badge style (`flat`, `flat-square`) (default: `flat`) | ❌ |
43
+ | | `--plugins` | Generate plugins count badge (default: `true`) | ❌ |
44
+ | | `--themes` | Generate themes count badge (default: `true`) | ❌ |
45
+ | | `--stacks` | Generate stacks count badge (default: `true`) | ❌ |
46
+ | | `--version` | Generate version badge (default: `true`) | ❌ |
47
+ | | `--type` | Generate repository type badge (default: `true`) | ❌ |
48
+ | | `--status` | Generate build status badge (default: `true`) | ❌ |
49
+
50
+ | command | options | description | Required? |
51
+ | ------- | ------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | --------- |
52
+ | `serve` | | Serves the current working directory via Bun.serve — rudimentary; recommended only for testing or deployments behind a reverse proxy | |
53
+ | | `-p, --port <port>` | The port on which the server should listen (default: `8080`) | ❌ |
54
+
55
+ ## License
56
+
57
+ See repository root
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dockstat/repo-cli",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "A CLI helper for administering DockStat Repositories",
5
5
  "module": "src/index.ts",
6
6
  "type": "module",
@@ -21,13 +21,13 @@
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/bun": "latest",
24
- "@dockstat/typings": "1.1.0"
24
+ "@dockstat/typings": "1.1.2"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "typescript": "^5"
28
28
  },
29
29
  "dependencies": {
30
- "@dockstat/utils": "1.0.0",
30
+ "@dockstat/utils": "1.0.1",
31
31
  "@commander-js/extra-typings": "^14.0.0",
32
32
  "commander": "^14.0.2",
33
33
  "ajv": "^8.17.1",