@lucasacoutinho/archer 0.2.0 → 0.2.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 +3 -2
- package/package.json +3 -3
- package/skills/archer/SKILL.md +1 -1
package/README.md
CHANGED
|
@@ -10,10 +10,11 @@ but models files, packages, imports, exports, and TypeScript declarations.
|
|
|
10
10
|
## Install
|
|
11
11
|
|
|
12
12
|
```sh
|
|
13
|
-
npm install --save-dev @lucasacoutinho/archer
|
|
13
|
+
npm install --save-dev @lucasacoutinho/archer
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
Archer supports Node.js 20 and newer
|
|
16
|
+
Archer supports Node.js 20 and newer. It parses sources with its own bundled
|
|
17
|
+
TypeScript, so the project's TypeScript version does not matter. The core
|
|
17
18
|
package has no test-runner dependency.
|
|
18
19
|
|
|
19
20
|
## Start with the CLI
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucasacoutinho/archer",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Architecture tests for TypeScript and JavaScript projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"architecture",
|
|
@@ -183,7 +183,8 @@
|
|
|
183
183
|
"commander": "^14.0.3",
|
|
184
184
|
"jiti": "^2.7.0",
|
|
185
185
|
"picomatch": "^4.0.3",
|
|
186
|
-
"tinyglobby": "^0.2.15"
|
|
186
|
+
"tinyglobby": "^0.2.15",
|
|
187
|
+
"typescript": "^5.9.0"
|
|
187
188
|
},
|
|
188
189
|
"devDependencies": {
|
|
189
190
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
@@ -201,7 +202,6 @@
|
|
|
201
202
|
},
|
|
202
203
|
"peerDependencies": {
|
|
203
204
|
"@jest/globals": ">=29.0.0 <31.0.0",
|
|
204
|
-
"typescript": ">=5.7.0 <7.0.0",
|
|
205
205
|
"vitest": ">=3.0.0 <5.0.0"
|
|
206
206
|
},
|
|
207
207
|
"peerDependenciesMeta": {
|
package/skills/archer/SKILL.md
CHANGED
|
@@ -16,7 +16,7 @@ Use Archer to make architectural constraints executable. Prefer rules that descr
|
|
|
16
16
|
|
|
17
17
|
## Set up Archer
|
|
18
18
|
|
|
19
|
-
Install `@lucasacoutinho/archer`
|
|
19
|
+
Install `@lucasacoutinho/archer` as a development dependency with the repository's package manager. Prefer the CLI for a runner-independent check:
|
|
20
20
|
|
|
21
21
|
```ts
|
|
22
22
|
import { defineConfig } from '@lucasacoutinho/archer'
|