archgate 0.41.1 → 0.43.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.
- checksums.yaml +4 -4
- data/README.md +5 -44
- data/lib/archgate/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 521f25f263677f82410c05faeabbec4b3cf3d3bd7bdd148c41f6a6b737c7e1c8
|
|
4
|
+
data.tar.gz: a9d99c8ac476d173b2b20a7820a5a8b961d02e127e4a0fdd6117967cbcaf688d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a303b1744568e33ea173d75d6974a080f8504bc89650ba15b3cd2a4d403fb9fe83ddf1cf0aa81827b6634736358fc46d21e78970b6d3fff31643eb78029f627b
|
|
7
|
+
data.tar.gz: d3b7c11872216e1ddd3328d9de433e1340518d1805e54a6fb8b16c9df129ec9fe27d76d0cc350ecd3f61342e383036562ef7db5bde13ce3ca12f3f0d6a6c1bb3
|
data/README.md
CHANGED
|
@@ -39,61 +39,22 @@ When a rule is violated, `archgate check` reports the file, line, and which ADR
|
|
|
39
39
|
|
|
40
40
|
## Installation
|
|
41
41
|
|
|
42
|
-
**
|
|
43
|
-
|
|
44
|
-
```bash
|
|
45
|
-
# macOS / Linux
|
|
46
|
-
curl -fsSL https://cli.archgate.dev/install-unix | sh
|
|
47
|
-
|
|
48
|
-
# Windows (PowerShell)
|
|
49
|
-
irm https://cli.archgate.dev/install-windows | iex
|
|
50
|
-
|
|
51
|
-
# Windows (Git Bash / MSYS2)
|
|
52
|
-
curl -fsSL https://cli.archgate.dev/install-unix | sh
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
**Via npm** (or any Node.js package manager):
|
|
56
|
-
|
|
57
|
-
```bash
|
|
58
|
-
# npm
|
|
59
|
-
npm install -g archgate
|
|
60
|
-
|
|
61
|
-
# Bun
|
|
62
|
-
bun install -g archgate
|
|
63
|
-
|
|
64
|
-
# Yarn
|
|
65
|
-
yarn global add archgate
|
|
66
|
-
|
|
67
|
-
# pnpm
|
|
68
|
-
pnpm add -g archgate
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
You can also install as a dev dependency:
|
|
72
|
-
|
|
73
|
-
```bash
|
|
74
|
-
npm install -D archgate # or: bun add -d archgate
|
|
75
|
-
npx archgate check # run via package manager
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
**Requirements:** macOS (arm64), Linux (x86_64), or Windows (x86_64). See the [installation guide](https://cli.archgate.dev/getting-started/installation/) for more options.
|
|
42
|
+
Install via standalone script, npm, pip, dotnet, Go, gem, Maven, or proto. See the **[installation guide](https://cli.archgate.dev/getting-started/installation/)** for all options and platform support.
|
|
79
43
|
|
|
80
44
|
## Quick start
|
|
81
45
|
|
|
82
46
|
```bash
|
|
83
|
-
# 1.
|
|
84
|
-
curl -fsSL https://cli.archgate.dev/install-unix | sh # or: npm install -g archgate
|
|
85
|
-
|
|
86
|
-
# 2. Initialize governance in your project
|
|
47
|
+
# 1. Initialize governance in your project
|
|
87
48
|
cd my-project
|
|
88
49
|
archgate init
|
|
89
50
|
|
|
90
|
-
#
|
|
51
|
+
# 2. Edit the generated ADR to document a real decision
|
|
91
52
|
# .archgate/adrs/ARCH-001-*.md
|
|
92
53
|
|
|
93
|
-
#
|
|
54
|
+
# 3. Add a companion .rules.ts to enforce it automatically
|
|
94
55
|
# .archgate/adrs/ARCH-001-*.rules.ts
|
|
95
56
|
|
|
96
|
-
#
|
|
57
|
+
# 4. Run checks
|
|
97
58
|
archgate check
|
|
98
59
|
```
|
|
99
60
|
|
data/lib/archgate/version.rb
CHANGED