@clearlydev/nx-archweave 0.5.3 → 0.6.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/dist/bin/review-verdict.js +2 -2
- package/dist/generators/_chunks/{chunk-ZFCK3KMO.js → chunk-2K4JADTK.js} +11 -10
- package/dist/generators/_chunks/{chunk-C2WELXMV.js → chunk-2TQWFUMC.js} +12 -8
- package/dist/generators/_chunks/chunk-BDLK2IID.js +10 -0
- package/dist/generators/_chunks/{chunk-OEEWCZCO.js → chunk-CH5AF5S2.js} +15 -8
- package/dist/generators/_chunks/{chunk-WQDJYSOD.js → chunk-CSJZ4PP3.js} +10 -1
- package/dist/generators/_chunks/{chunk-VCLVE4EQ.js → chunk-D7J7HTND.js} +3 -3
- package/dist/generators/_chunks/{chunk-23NN76E3.js → chunk-EHYC6FUR.js} +1 -1
- package/dist/generators/_chunks/{chunk-LJRFVE6B.js → chunk-F5C5HUSI.js} +10 -9
- package/dist/generators/_chunks/{chunk-ZRHIFPUC.js → chunk-L52OUT5T.js} +1 -1
- package/dist/generators/_chunks/{chunk-FBCIELXS.js → chunk-LKXSS5E2.js} +3 -1
- package/dist/generators/_chunks/{chunk-VI7U5HS5.js → chunk-UAPIAMRL.js} +10 -8
- package/dist/generators/_chunks/{chunk-7EDJKUY4.js → chunk-WD2HL2RE.js} +1 -1
- package/dist/generators/_chunks/{chunk-M7UBCSYL.js → chunk-XZM354ZH.js} +2 -2
- package/dist/generators/_chunks/{chunk-2WXAGWAJ.js → chunk-YVISD736.js} +3 -1
- package/dist/generators/add-agent-rules/generator.js +5 -4
- package/dist/generators/add-backend/generator.js +3 -2
- package/dist/generators/add-fsd-lite/generator.js +5 -4
- package/dist/generators/add-github-templates/generator.js +3 -2
- package/dist/generators/add-integration/generator.js +6 -3
- package/dist/generators/add-review/generator.js +5 -4
- package/dist/generators/allow-builds/generator.js +4 -1
- package/dist/generators/doctor/generator.js +78 -54
- package/dist/generators/entity/generator.js +4 -3
- package/dist/generators/feature/generator.js +4 -3
- package/dist/generators/init/generator.js +44 -21
- package/dist/generators/install-integration/generator.js +6 -3
- package/dist/generators/page/generator.js +4 -3
- package/dist/generators/record-integration/generator.js +4 -1
- package/dist/generators/shared/generator.js +4 -3
- package/dist/generators/widget/generator.js +4 -3
- package/dist/migrations/update-0.5.3/add-toolkit-config-lint-input.js +5 -4
- package/package.json +7 -2
- package/src/generators/add-agent-rules/schema.json +2 -2
- package/src/generators/add-review/schema.json +4 -0
- package/src/generators/init/schema.json +4 -0
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
} from "../_chunks/chunk-H222FPLK.js";
|
|
4
4
|
import {
|
|
5
5
|
runFsdSlice
|
|
6
|
-
} from "../_chunks/chunk-
|
|
7
|
-
import "../_chunks/chunk-
|
|
6
|
+
} from "../_chunks/chunk-XZM354ZH.js";
|
|
7
|
+
import "../_chunks/chunk-LKXSS5E2.js";
|
|
8
8
|
import "../_chunks/chunk-YEMQFSL6.js";
|
|
9
9
|
import "../_chunks/chunk-TXAQ2GJC.js";
|
|
10
10
|
import "../_chunks/chunk-6ZTIUBB2.js";
|
|
@@ -13,8 +13,9 @@ import "../_chunks/chunk-JPS6XKYK.js";
|
|
|
13
13
|
import {
|
|
14
14
|
resolveDryRun
|
|
15
15
|
} from "../_chunks/chunk-TUN34LAQ.js";
|
|
16
|
-
import "../_chunks/chunk-
|
|
16
|
+
import "../_chunks/chunk-2TQWFUMC.js";
|
|
17
17
|
import "../_chunks/chunk-5Z7VZPES.js";
|
|
18
|
+
import "../_chunks/chunk-BDLK2IID.js";
|
|
18
19
|
|
|
19
20
|
// src/generators/shared/generator.ts
|
|
20
21
|
async function sharedGenerator(tree, options) {
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
} from "../_chunks/chunk-H222FPLK.js";
|
|
4
4
|
import {
|
|
5
5
|
runFsdSlice
|
|
6
|
-
} from "../_chunks/chunk-
|
|
7
|
-
import "../_chunks/chunk-
|
|
6
|
+
} from "../_chunks/chunk-XZM354ZH.js";
|
|
7
|
+
import "../_chunks/chunk-LKXSS5E2.js";
|
|
8
8
|
import "../_chunks/chunk-YEMQFSL6.js";
|
|
9
9
|
import "../_chunks/chunk-TXAQ2GJC.js";
|
|
10
10
|
import "../_chunks/chunk-6ZTIUBB2.js";
|
|
@@ -13,8 +13,9 @@ import "../_chunks/chunk-JPS6XKYK.js";
|
|
|
13
13
|
import {
|
|
14
14
|
resolveDryRun
|
|
15
15
|
} from "../_chunks/chunk-TUN34LAQ.js";
|
|
16
|
-
import "../_chunks/chunk-
|
|
16
|
+
import "../_chunks/chunk-2TQWFUMC.js";
|
|
17
17
|
import "../_chunks/chunk-5Z7VZPES.js";
|
|
18
|
+
import "../_chunks/chunk-BDLK2IID.js";
|
|
18
19
|
|
|
19
20
|
// src/generators/widget/generator.ts
|
|
20
21
|
async function widgetGenerator(tree, options) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
applyLintInputs,
|
|
3
3
|
renderLintInputs
|
|
4
|
-
} from "../../generators/_chunks/chunk-
|
|
5
|
-
import "../../generators/_chunks/chunk-
|
|
6
|
-
import "../../generators/_chunks/chunk-
|
|
4
|
+
} from "../../generators/_chunks/chunk-2K4JADTK.js";
|
|
5
|
+
import "../../generators/_chunks/chunk-F5C5HUSI.js";
|
|
6
|
+
import "../../generators/_chunks/chunk-CSJZ4PP3.js";
|
|
7
7
|
import "../../generators/_chunks/chunk-SHKQSTV2.js";
|
|
8
8
|
import "../../generators/_chunks/chunk-AMOOSD5Q.js";
|
|
9
9
|
import {
|
|
@@ -18,10 +18,11 @@ import "../../generators/_chunks/chunk-JPS6XKYK.js";
|
|
|
18
18
|
import {
|
|
19
19
|
readToolkitConfig,
|
|
20
20
|
treePackageManager
|
|
21
|
-
} from "../../generators/_chunks/chunk-
|
|
21
|
+
} from "../../generators/_chunks/chunk-2TQWFUMC.js";
|
|
22
22
|
import {
|
|
23
23
|
runNxCommand
|
|
24
24
|
} from "../../generators/_chunks/chunk-5Z7VZPES.js";
|
|
25
|
+
import "../../generators/_chunks/chunk-BDLK2IID.js";
|
|
25
26
|
|
|
26
27
|
// src/migrations/update-0.5.3/add-toolkit-config-lint-input.ts
|
|
27
28
|
import { getProjects } from "@nx/devkit";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clearlydev/nx-archweave",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Nx plugin and CLI that set up Feature-Sliced Design (FSD) import linting, frontend/backend module boundaries and AI agent rule files. AI PR review is optional (beta).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "clearlydev (https://github.com/clearlydev)",
|
|
@@ -101,11 +101,16 @@
|
|
|
101
101
|
"outputs": [
|
|
102
102
|
"{projectRoot}/dist"
|
|
103
103
|
]
|
|
104
|
+
},
|
|
105
|
+
"lint": {
|
|
106
|
+
"dependsOn": [
|
|
107
|
+
"^generate-pins"
|
|
108
|
+
]
|
|
104
109
|
}
|
|
105
110
|
}
|
|
106
111
|
},
|
|
107
112
|
"dependencies": {
|
|
108
|
-
"@nx/devkit": "^
|
|
113
|
+
"@nx/devkit": "^24.1.0",
|
|
109
114
|
"jsonc-parser": "^3.3.1"
|
|
110
115
|
}
|
|
111
116
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"type": "string",
|
|
12
12
|
"enum": ["claude-code", "codex", "cursor", "gemini-cli"]
|
|
13
13
|
},
|
|
14
|
-
"description": "The AI coding tools you use. Claude Code reads CLAUDE.md; Codex, Cursor and Gemini CLI read AGENTS.md. Defaults to toolkit.config.json's aiHosts, else Claude Code.",
|
|
14
|
+
"description": "The AI coding tools you use. Claude Code reads CLAUDE.md; Codex, Cursor and Gemini CLI read AGENTS.md. Defaults to toolkit.config.json's aiHosts, else Claude Code. When passed, recorded there once every file gets the block.",
|
|
15
15
|
"x-prompt": {
|
|
16
16
|
"message": "Which AI coding tools do you use? (space to select, enter to confirm; none selected = toolkit.config.json's aiHosts, else Claude Code)",
|
|
17
17
|
"type": "list",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"teamRules": {
|
|
33
33
|
"type": "boolean",
|
|
34
|
-
"description": "Include the Team Rules section (collaboration rules for a shared repository). Defaults to toolkit.config.json's agentRules.teamRules, else false"
|
|
34
|
+
"description": "Include the Team Rules section (collaboration rules for a shared repository). Defaults to toolkit.config.json's agentRules.teamRules, else false. When passed, recorded there once every file gets the block"
|
|
35
35
|
},
|
|
36
36
|
"overwriteBlock": {
|
|
37
37
|
"type": "boolean",
|
|
@@ -52,6 +52,10 @@
|
|
|
52
52
|
],
|
|
53
53
|
"description": "How to resolve an existing, differing workflow file. Omit to get a merge proposal (diff printed, nothing written)"
|
|
54
54
|
},
|
|
55
|
+
"dependabot": {
|
|
56
|
+
"type": "boolean",
|
|
57
|
+
"description": "false: no .github/dependabot.yml for the review workflow's pinned actions (an existing one is left alone), recorded as review.dependabot in toolkit.config.json. true clears that record. Omitted: the record, else true"
|
|
58
|
+
},
|
|
55
59
|
"dryRun": {
|
|
56
60
|
"type": "boolean",
|
|
57
61
|
"default": false,
|
|
@@ -71,6 +71,10 @@
|
|
|
71
71
|
"type": "boolean",
|
|
72
72
|
"description": "Toggle add-review. Defaults to the preset's review.enabled default (quick-start and solo: off, team: on). Off never removes review files a workspace already has"
|
|
73
73
|
},
|
|
74
|
+
"dependabot": {
|
|
75
|
+
"type": "boolean",
|
|
76
|
+
"description": "With review on, passed to add-review. false: no .github/dependabot.yml for the review workflow's pinned actions (an existing one is left alone), recorded as review.dependabot in toolkit.config.json. true clears that record. Omitted: the record, else true"
|
|
77
|
+
},
|
|
74
78
|
"dryRun": {
|
|
75
79
|
"type": "boolean",
|
|
76
80
|
"default": false,
|