@vyuhlabs/dxkit 1.2.0 → 1.3.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.
- package/CHANGELOG.md +96 -0
- package/README.md +83 -69
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +7 -3
- package/dist/cli.js.map +1 -1
- package/dist/codebase-scanner.d.ts.map +1 -1
- package/dist/codebase-scanner.js +226 -89
- package/dist/codebase-scanner.js.map +1 -1
- package/dist/detect.d.ts.map +1 -1
- package/dist/detect.js +65 -19
- package/dist/detect.js.map +1 -1
- package/dist/doctor.d.ts.map +1 -1
- package/dist/doctor.js.map +1 -1
- package/dist/files.d.ts.map +1 -1
- package/dist/files.js +3 -1
- package/dist/files.js.map +1 -1
- package/dist/generator.d.ts.map +1 -1
- package/dist/generator.js +25 -10
- package/dist/generator.js.map +1 -1
- package/dist/lib.d.ts +10 -0
- package/dist/lib.d.ts.map +1 -0
- package/dist/lib.js +15 -0
- package/dist/lib.js.map +1 -0
- package/dist/prompts.d.ts.map +1 -1
- package/dist/prompts.js +1 -1
- package/dist/prompts.js.map +1 -1
- package/dist/template-engine.d.ts.map +1 -1
- package/dist/template-engine.js.map +1 -1
- package/package.json +49 -6
- package/templates/.claude/skills/gcloud/SKILL.md +5 -0
- package/templates/.claude/skills/pulumi/SKILL.md +6 -0
- package/templates/.claude/skills/secrets/SKILL.md +7 -0
- package/templates/.claude/skills/test/SKILL.md.template +13 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to `@vyuhlabs/dxkit` are documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [1.3.0] - 2026-04-09
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- **Library entry point** (`src/lib.ts`). Exports `detect()`,
|
|
14
|
+
`processTemplate()`, `TemplateEngine`, and `DetectedStack` for
|
|
15
|
+
programmatic consumption by downstream packages like
|
|
16
|
+
`@vyuhlabs/create-devstack`. The npm `exports` and `main` fields now
|
|
17
|
+
point to `dist/lib.js` so `import { detect } from '@vyuhlabs/dxkit'`
|
|
18
|
+
works. The CLI binary (`vyuh-dxkit`) is unaffected.
|
|
19
|
+
- **Path-scoped auto-activation** (`paths:` frontmatter) on four shipped
|
|
20
|
+
skills, so they auto-load whenever Claude Code is touching a matching
|
|
21
|
+
file — even if the user's prompt doesn't name the tool:
|
|
22
|
+
- `gcloud` — `**/cloudbuild.{yaml,yml}`, `**/.gcloudignore`, `**/app.yaml`
|
|
23
|
+
- `pulumi` — `Pulumi.{yaml,yml}` and stack variants
|
|
24
|
+
- `secrets` — `**/.env*`, `**/.infisical.json`
|
|
25
|
+
- `test` — common test file patterns across TypeScript, JavaScript,
|
|
26
|
+
Go, Python (`**/*.test.*`, `**/*_test.go`, `**/test_*.py`,
|
|
27
|
+
`**/__tests__/**`, `**/tests/**`)
|
|
28
|
+
|
|
29
|
+
This is additive — descriptions still drive activation for everything
|
|
30
|
+
else, and the eight intent-driven skills (`build`, `deploy`, `doctor`,
|
|
31
|
+
`learned`, `quality`, `review`, `scaffold`, `session`) remain
|
|
32
|
+
description-only, since path-scoping would over- or under-trigger them.
|
|
33
|
+
- **Test suite** (Vitest). Unit tests for `detect()` against fixture project
|
|
34
|
+
trees, plus an integration test that runs the built CLI against a tmp dir
|
|
35
|
+
and asserts on the generated `.claude/` tree.
|
|
36
|
+
- **Lint + format toolchain.** ESLint flat config with `typescript-eslint`,
|
|
37
|
+
Prettier, and `eslint-config-prettier`. CI enforces both with
|
|
38
|
+
`--max-warnings 0`.
|
|
39
|
+
- **Git hooks** via husky + lint-staged. Pre-commit auto-fixes staged files
|
|
40
|
+
and runs `tsc --noEmit`. Pre-push runs affected tests
|
|
41
|
+
(`vitest run --changed @{u}`) with a graceful fallback to the full suite.
|
|
42
|
+
- **`.git-blame-ignore-revs`** so formatting commits don't pollute blame.
|
|
43
|
+
|
|
44
|
+
### Changed
|
|
45
|
+
- **GitHub Actions Node version bumped from 20 → 22** in both `ci.yml` and
|
|
46
|
+
`publish.yml`. Removes the Node 20 deprecation warning ahead of the
|
|
47
|
+
2026-06-02 runner cutoff. `.nvmrc` updated to match. The package's
|
|
48
|
+
`engines.node: ">=18"` constraint is unchanged — consumers on Node 18+
|
|
49
|
+
are unaffected.
|
|
50
|
+
- **One-time Prettier baseline** applied across the existing source. The
|
|
51
|
+
baseline commit is registered in `.git-blame-ignore-revs`.
|
|
52
|
+
|
|
53
|
+
### Fixed
|
|
54
|
+
- Removed three unused-variable / unused-import dead-code spots in
|
|
55
|
+
`src/generator.ts` and `src/codebase-scanner.ts` that ESLint flagged.
|
|
56
|
+
|
|
57
|
+
## [1.2.1] - 2026-04-06
|
|
58
|
+
|
|
59
|
+
### Fixed
|
|
60
|
+
- Add missing `repository`, `homepage`, `bugs`, and `author` fields to
|
|
61
|
+
`package.json` so npmjs.com surfaces a "Repository" link to
|
|
62
|
+
https://github.com/vyuh-labs/dxkit. These fields were accidentally
|
|
63
|
+
omitted from the 1.2.0 publish during the repo split.
|
|
64
|
+
- Include `LICENSE` and `CHANGELOG.md` in the published tarball.
|
|
65
|
+
|
|
66
|
+
## [1.2.0] - 2026-04-06
|
|
67
|
+
|
|
68
|
+
### Changed
|
|
69
|
+
- **Repository moved** to its own home at https://github.com/vyuh-labs/dxkit.
|
|
70
|
+
Previously developed inside `vyuh-labs/codespaces-ai-template-v2`. The npm
|
|
71
|
+
package name (`@vyuhlabs/dxkit`) is unchanged — `npx @vyuhlabs/dxkit init`
|
|
72
|
+
works exactly as before.
|
|
73
|
+
- Package is now self-contained: templates live in `src-templates/` inside the
|
|
74
|
+
repo instead of being copied from a parent monorepo at build time.
|
|
75
|
+
|
|
76
|
+
### Added
|
|
77
|
+
- `LICENSE` (MIT), `CHANGELOG.md`, `CONTRIBUTING.md`.
|
|
78
|
+
- GitHub Actions: `ci.yml` (typecheck + build + pack-dry on push/PR) and
|
|
79
|
+
`publish.yml` (publish to npm on GitHub release).
|
|
80
|
+
|
|
81
|
+
## [1.1.0] - 2026-04-06
|
|
82
|
+
|
|
83
|
+
### Added
|
|
84
|
+
- Strategic planner and plan executor agents (reports → KPIs → plans → execution).
|
|
85
|
+
- Feature development loop: `feature-planner` and `feature-builder` agents.
|
|
86
|
+
- Pattern-based tasks in the planner; pattern sweep in the plan executor.
|
|
87
|
+
- Stealth mode, dashboard, and expanded command/agent set (26 commands, 12 agents).
|
|
88
|
+
|
|
89
|
+
## [1.0.0] - 2026-03
|
|
90
|
+
|
|
91
|
+
### Added
|
|
92
|
+
- Initial public release of `@vyuhlabs/dxkit`.
|
|
93
|
+
- `init` command with auto-detect for languages and frameworks.
|
|
94
|
+
- Drop-in `.claude/` generation: agents, commands, skills, rules, settings.
|
|
95
|
+
- `--full` mode that also seeds devcontainer, Makefile, CI, and project scripts.
|
|
96
|
+
- `doctor` and `update` commands.
|
package/README.md
CHANGED
|
@@ -55,13 +55,13 @@ CLAUDE.md # Main context file for Claude Code
|
|
|
55
55
|
|
|
56
56
|
## Supported Languages
|
|
57
57
|
|
|
58
|
-
| Language
|
|
59
|
-
|
|
60
|
-
| Node.js / TypeScript | `package.json`
|
|
61
|
-
| Python
|
|
62
|
-
| Go
|
|
63
|
-
| C#
|
|
64
|
-
| Rust
|
|
58
|
+
| Language | Detection | Linters | Test Runner |
|
|
59
|
+
| -------------------- | ------------------------------------ | --------------------- | --------------------------------------------- |
|
|
60
|
+
| Node.js / TypeScript | `package.json` | ESLint, Prettier, tsc | Auto-detected (Jest, Mocha, Vitest, Ava, Tap) |
|
|
61
|
+
| Python | `pyproject.toml`, `setup.py`, `*.py` | ruff, mypy | pytest |
|
|
62
|
+
| Go | `go.mod` | golangci-lint, go vet | go test |
|
|
63
|
+
| C# | `*.csproj`, `*.sln` | dotnet format, Roslyn | dotnet test |
|
|
64
|
+
| Rust | `Cargo.toml` | clippy, rustfmt | cargo test |
|
|
65
65
|
|
|
66
66
|
Multi-language repos fully supported — detects and generates rules/commands for all languages present.
|
|
67
67
|
|
|
@@ -87,66 +87,74 @@ Auto-detected and integrated when present:
|
|
|
87
87
|
## Commands (30)
|
|
88
88
|
|
|
89
89
|
### Development Workflow
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
|
93
|
-
| `/session-
|
|
90
|
+
|
|
91
|
+
| Command | Description |
|
|
92
|
+
| ----------------- | --------------------------------------------------- |
|
|
93
|
+
| `/session-start` | Start an AI-assisted dev session |
|
|
94
|
+
| `/session-end` | End session, create checkpoint, evolve skills |
|
|
94
95
|
| `/ask <question>` | Ask about the codebase (delegates to knowledge-bot) |
|
|
95
|
-
| `/learn`
|
|
96
|
+
| `/learn` | Capture a gotcha, convention, or thing to avoid |
|
|
96
97
|
|
|
97
98
|
### Quality & Testing
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
|
101
|
-
| `/
|
|
102
|
-
| `/
|
|
103
|
-
| `/
|
|
104
|
-
| `/
|
|
105
|
-
| `/
|
|
99
|
+
|
|
100
|
+
| Command | Description |
|
|
101
|
+
| ------------ | -------------------------------------------------------- |
|
|
102
|
+
| `/quality` | Run language-specific linters + AI review |
|
|
103
|
+
| `/test` | Run tests (auto-detected runner) |
|
|
104
|
+
| `/check` | Full pre-commit validation (quality + tests + AI review) |
|
|
105
|
+
| `/fix` | Auto-fix formatting and lint issues |
|
|
106
|
+
| `/build` | Build the project |
|
|
107
|
+
| `/test-gaps` | Find critical untested code paths |
|
|
106
108
|
|
|
107
109
|
### Analysis & Reports
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
|
110
|
+
|
|
111
|
+
| Command | Description | Output |
|
|
112
|
+
| ------------------ | ---------------------------------------------- | ------------------------------------- |
|
|
113
|
+
| `/health` | 6-dimension codebase health audit | `.ai/reports/health-audit-*.md` |
|
|
111
114
|
| `/vulnerabilities` | CWE-classified security scan (Snyk-comparable) | `.ai/reports/vulnerability-scan-*.md` |
|
|
112
|
-
| `/dev-report`
|
|
113
|
-
| `/docs audit`
|
|
114
|
-
| `/deps`
|
|
115
|
-
| `/dashboard`
|
|
116
|
-
| `/export-pdf`
|
|
115
|
+
| `/dev-report` | Developer activity + security attribution | `.ai/reports/developer-report-*.md` |
|
|
116
|
+
| `/docs audit` | Documentation gap analysis | `.ai/reports/docs-audit-*.md` |
|
|
117
|
+
| `/deps` | Dependency map + blast radius | `.ai/reports/dependency-map-*.md` |
|
|
118
|
+
| `/dashboard` | Generate HTML dashboard from all reports | `.ai/reports/dashboard.html` |
|
|
119
|
+
| `/export-pdf` | Convert markdown reports to PDF | `.ai/reports/*.pdf` |
|
|
117
120
|
|
|
118
121
|
### Planning & Execution — Fix Loop
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
|
122
|
-
| `/
|
|
122
|
+
|
|
123
|
+
| Command | Description | Output |
|
|
124
|
+
| ---------------------- | ----------------------------------------------------------- | -------------------------------------- |
|
|
125
|
+
| `/plan` | Analyze reports → propose KPIs → generate improvement plans | `.ai/plans/` |
|
|
126
|
+
| `/execute-plan <name>` | Execute a fix plan task by task with session checkpoints | `.ai/plans/progress/`, `.ai/sessions/` |
|
|
123
127
|
|
|
124
128
|
### Feature Development Loop
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
|
128
|
-
| `/
|
|
129
|
+
|
|
130
|
+
| Command | Description | Output |
|
|
131
|
+
| ------------------------ | -------------------------------------------------- | ----------------------------------------- |
|
|
132
|
+
| `/feature <description>` | Design new feature → implementation plan | `.ai/features/` |
|
|
133
|
+
| `/build-feature <slug>` | Build feature from plan with tests and conventions | `.ai/features/progress/`, `.ai/sessions/` |
|
|
129
134
|
|
|
130
135
|
### Exploration & Onboarding
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
|
134
|
-
| `/
|
|
135
|
-
| `/
|
|
136
|
+
|
|
137
|
+
| Command | Description |
|
|
138
|
+
| ------------------- | ----------------------------------------------- |
|
|
139
|
+
| `/onboarding` | Interactive onboarding buddy for new developers |
|
|
140
|
+
| `/explore-codebase` | Deep architecture exploration |
|
|
141
|
+
| `/help` | List all commands and agents |
|
|
136
142
|
|
|
137
143
|
### Setup & Hooks
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
|
141
|
-
| `/
|
|
142
|
-
| `/
|
|
143
|
-
| `/
|
|
144
|
-
| `/
|
|
145
|
-
| `/
|
|
144
|
+
|
|
145
|
+
| Command | Description |
|
|
146
|
+
| ---------------------- | ---------------------------------------------------------------------------------- |
|
|
147
|
+
| `/setup-hooks` | Configure git hooks (quality, test, vulnerability) — consistent with DXKit reports |
|
|
148
|
+
| `/stealth-mode` | Gitignore DXKit files + install hooks (DXKit local-only, hooks for all devs) |
|
|
149
|
+
| `/setup-pr-review` | Set up automated PR review GitHub Action |
|
|
150
|
+
| `/fix-issue <number>` | Investigate and fix a GitHub issue |
|
|
151
|
+
| `/doctor` | Diagnose environment issues |
|
|
152
|
+
| `/enable-agent <name>` | Activate a dormant agent |
|
|
146
153
|
|
|
147
154
|
## Agents
|
|
148
155
|
|
|
149
156
|
### Active by Default (4)
|
|
157
|
+
|
|
150
158
|
These agents auto-trigger when Claude detects a matching question:
|
|
151
159
|
|
|
152
160
|
- **knowledge-bot** — "How does auth work?" "Where are payments handled?"
|
|
@@ -155,6 +163,7 @@ These agents auto-trigger when Claude detects a matching question:
|
|
|
155
163
|
- **doc-writer** — "What needs documentation?" "Help me write docs"
|
|
156
164
|
|
|
157
165
|
### Dormant (16) — activate with `/enable-agent`
|
|
166
|
+
|
|
158
167
|
- **codebase-explorer** — Deep architecture analysis, generates documentation
|
|
159
168
|
- **code-reviewer** — PR review and security audit (read-only)
|
|
160
169
|
- **test-writer** — Writes tests for existing code
|
|
@@ -186,6 +195,7 @@ All analysis commands save timestamped reports to `.ai/reports/`:
|
|
|
186
195
|
```
|
|
187
196
|
|
|
188
197
|
Export options:
|
|
198
|
+
|
|
189
199
|
- **HTML dashboard**: `/dashboard` — beautiful dark-themed dashboard with sidebar navigation
|
|
190
200
|
- **PDF**: `/export-pdf all` — converts all reports to PDF
|
|
191
201
|
|
|
@@ -228,6 +238,7 @@ PR → CI workflow → full quality + tests + security (thorough, ~3m)
|
|
|
228
238
|
### Stealth Mode
|
|
229
239
|
|
|
230
240
|
`/stealth-mode` keeps DXKit local-only:
|
|
241
|
+
|
|
231
242
|
- `.claude/`, `.ai/`, `CLAUDE.md` gitignored — not committed
|
|
232
243
|
- `.githooks/` committed — all devs get the hooks
|
|
233
244
|
- One-time setup: `git config core.hooksPath .githooks`
|
|
@@ -236,17 +247,17 @@ PR → CI workflow → full quality + tests + security (thorough, ~3m)
|
|
|
236
247
|
|
|
237
248
|
The `/vulnerabilities` command runs a comprehensive security scan with CWE classification:
|
|
238
249
|
|
|
239
|
-
| Category
|
|
240
|
-
|
|
241
|
-
| Command Injection
|
|
242
|
-
| Decompression Bomb
|
|
243
|
-
| Uncontrolled Recursion
|
|
244
|
-
| Arbitrary File Upload
|
|
245
|
-
| Buffer Overflow
|
|
246
|
-
| Resource Exhaustion
|
|
247
|
-
| Hardcoded Secrets
|
|
248
|
-
| Prototype Pollution
|
|
249
|
-
| + 15 more CWE categories |
|
|
250
|
+
| Category | CWE | What It Checks |
|
|
251
|
+
| ------------------------ | -------- | -------------------------------------------------------- |
|
|
252
|
+
| Command Injection | CWE-78 | `exec()`, `child_process`, unsanitized input |
|
|
253
|
+
| Decompression Bomb | CWE-409 | zlib/tar/decompress without size limits |
|
|
254
|
+
| Uncontrolled Recursion | CWE-674 | JSON/XML/YAML parsers without depth limits |
|
|
255
|
+
| Arbitrary File Upload | CWE-434 | multer/formidable/busboy without validation |
|
|
256
|
+
| Buffer Overflow | CWE-120 | Native modules (binding.gyp, .node files) |
|
|
257
|
+
| Resource Exhaustion | CWE-770 | Missing rate limits, body size limits, WebSocket payload |
|
|
258
|
+
| Hardcoded Secrets | CWE-798 | Passwords, API keys, tokens in source |
|
|
259
|
+
| Prototype Pollution | CWE-1321 | Via dependency audit CWE extraction |
|
|
260
|
+
| + 15 more CWE categories | | Parsed from `npm audit --json` CWE fields |
|
|
250
261
|
|
|
251
262
|
Reports include a **Findings by CWE Category** table for direct comparison with Snyk/Sonar output.
|
|
252
263
|
|
|
@@ -271,15 +282,15 @@ npx @vyuhlabs/dxkit doctor # Verify setup
|
|
|
271
282
|
|
|
272
283
|
### Init Options
|
|
273
284
|
|
|
274
|
-
| Flag
|
|
275
|
-
|
|
276
|
-
| `--detect`
|
|
277
|
-
| `--yes`
|
|
278
|
-
| `--dx-only`
|
|
279
|
-
| `--full`
|
|
280
|
-
| `--force`
|
|
281
|
-
| `--name <n>` | Override project name
|
|
282
|
-
| `--no-scan`
|
|
285
|
+
| Flag | Description |
|
|
286
|
+
| ------------ | ----------------------------------------- |
|
|
287
|
+
| `--detect` | Auto-detect stack, minimal prompts |
|
|
288
|
+
| `--yes` | Accept all defaults |
|
|
289
|
+
| `--dx-only` | Just `.claude/` + `CLAUDE.md` (default) |
|
|
290
|
+
| `--full` | Everything: DX + quality + hooks + CI |
|
|
291
|
+
| `--force` | Overwrite existing files (except evolved) |
|
|
292
|
+
| `--name <n>` | Override project name |
|
|
293
|
+
| `--no-scan` | Skip codebase analysis |
|
|
283
294
|
|
|
284
295
|
## Example: Node.js/TypeScript Project
|
|
285
296
|
|
|
@@ -289,6 +300,7 @@ npx @vyuhlabs/dxkit init --detect --yes
|
|
|
289
300
|
```
|
|
290
301
|
|
|
291
302
|
Output:
|
|
303
|
+
|
|
292
304
|
```
|
|
293
305
|
✓ Languages: node
|
|
294
306
|
✓ Framework: loopback
|
|
@@ -297,6 +309,7 @@ Output:
|
|
|
297
309
|
```
|
|
298
310
|
|
|
299
311
|
Then in Claude Code:
|
|
312
|
+
|
|
300
313
|
```
|
|
301
314
|
/help # See everything
|
|
302
315
|
/ask How does the auth middleware work? # Codebase Q&A
|
|
@@ -315,6 +328,7 @@ npx @vyuhlabs/dxkit init --detect --yes
|
|
|
315
328
|
```
|
|
316
329
|
|
|
317
330
|
Generates:
|
|
331
|
+
|
|
318
332
|
- Quality commands with `npx eslint .` + `ruff check .` + `golangci-lint run`
|
|
319
333
|
- Test commands with `npm test` + `pytest` + `go test`
|
|
320
334
|
- Path-scoped rules for `.ts`, `.py`, and `.go` files
|
package/dist/cli.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":"AAwCA,wBAAsB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":"AAwCA,wBAAsB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAiHvD"}
|
package/dist/cli.js
CHANGED
|
@@ -105,8 +105,12 @@ async function run(argv) {
|
|
|
105
105
|
// Detect stack
|
|
106
106
|
logger.info('Detecting stack...');
|
|
107
107
|
const detected = (0, detect_1.detect)(cwd);
|
|
108
|
-
const langs = Object.entries(detected.languages)
|
|
109
|
-
|
|
108
|
+
const langs = Object.entries(detected.languages)
|
|
109
|
+
.filter(([, v]) => v)
|
|
110
|
+
.map(([k]) => k);
|
|
111
|
+
const tools = Object.entries(detected.tools)
|
|
112
|
+
.filter(([, v]) => v)
|
|
113
|
+
.map(([k]) => k);
|
|
110
114
|
if (langs.length === 0) {
|
|
111
115
|
logger.warn('No languages detected. Generating with minimal config.');
|
|
112
116
|
}
|
|
@@ -140,7 +144,7 @@ async function run(argv) {
|
|
|
140
144
|
config = result.config;
|
|
141
145
|
}
|
|
142
146
|
// Generate
|
|
143
|
-
const finalMode = values.full ? 'full' :
|
|
147
|
+
const finalMode = values.full ? 'full' : values['dx-only'] ? 'dx-only' : mode;
|
|
144
148
|
const result = await (0, generator_1.generate)(cwd, config, finalMode, !!values.force, !!values['no-scan']);
|
|
145
149
|
// Summary
|
|
146
150
|
console.log('');
|
package/dist/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCA,
|
|
1
|
+
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCA,kBAiHC;AAzJD,yCAAsC;AACtC,qCAAkC;AAClC,2CAAuC;AACvC,uCAA4C;AAC5C,qCAAqC;AACrC,qCAAqC;AACrC,2CAAsC;AACtC,iDAAmC;AAGnC,SAAS,UAAU;IACjB,OAAO,CAAC,GAAG,CAAC;IACV,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,mBAAO;;IAErC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;;;;;IAKrB,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC;;;;;;;;;IAS5B,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAC;;;;IAI9B,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC;;;;;CAK3B,CAAC,CAAC;AACH,CAAC;AAEM,KAAK,UAAU,GAAG,CAAC,IAAc;IACtC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,IAAA,qBAAS,EAAC;QACxC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;QACnB,OAAO,EAAE;YACP,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE;YACrD,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,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I,MAAM,CAAC,OAAO,CAAC,MAAM;gBACvB,MAAM,CAAC,IAAI,CAAC,YAAY,MAAM,CAAC,OAAO,CAAC,MAAM,wBAAwB,CAAC,CAAC;YACzE,IAAI,MAAM,CAAC,WAAW,CAAC,MAAM;gBAAE,MAAM,CAAC,IAAI,CAAC,gBAAgB,MAAM,CAAC,WAAW,CAAC,MAAM,QAAQ,CAAC,CAAC;YAC9F,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;YAChB,MAAM,CAAC,IAAI,CAAC,sCAAsC,CAAC,CAAC;YACpD,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;YAChB,MAAM,CAAC,OAAO,CAAC,iDAAiD,CAAC,CAAC;YAClE,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;YAChB,MAAM,CAAC,GAAG,CAAC,2CAA2C,CAAC,CAAC;YACxD,MAAM,CAAC,GAAG,CAAC,wDAAwD,CAAC,CAAC;YACrE,MAAM;QACR,CAAC;QAED,KAAK,QAAQ,CAAC,CAAC,CAAC;YACd,MAAM,IAAA,kBAAS,EAAC,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;YACtD,MAAM;QACR,CAAC;QAED,KAAK,QAAQ,CAAC,CAAC,CAAC;YACd,MAAM,IAAA,kBAAS,EAAC,GAAG,CAAC,CAAC;YACrB,MAAM;QACR,CAAC;QAED;YACE,OAAO,CAAC,KAAK,CAAC,oBAAoB,OAAO,EAAE,CAAC,CAAC;YAC7C,UAAU,EAAE,CAAC;YACb,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACpB,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codebase-scanner.d.ts","sourceRoot":"","sources":["../src/codebase-scanner.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"codebase-scanner.d.ts","sourceRoot":"","sources":["../src/codebase-scanner.ts"],"names":[],"mappings":"AAoDA,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC9C,WAAW,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACjD,YAAY,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACzE,YAAY,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC/D,WAAW,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACjD,WAAW,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACxD,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC3C;AA6eD,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,gBAAgB,CAmD1D;AAID,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,gBAAgB,GAAG,MAAM,CAgGtE;AAED,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,gBAAgB,GAAG,MAAM,CAmDxE"}
|