@inspecto-dev/cli 0.3.3 → 0.3.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/.turbo/turbo-build.log +6 -6
- package/.turbo/turbo-test.log +5450 -3335
- package/CHANGELOG.md +20 -0
- package/dist/bin.js +5 -2
- package/dist/{chunk-LJOKPCPD.js → chunk-2MOEVONN.js} +481 -49
- package/dist/index.d.ts +7 -0
- package/dist/index.js +1 -1
- package/package.json +3 -3
- package/src/bin.ts +4 -1
- package/src/commands/doctor.ts +27 -0
- package/src/commands/integration-install.ts +99 -4
- package/src/commands/onboard.ts +14 -0
- package/src/detect/build-tool.ts +198 -10
- package/src/onboarding/apply.ts +120 -27
- package/src/onboarding/planner.ts +80 -4
- package/src/onboarding/session.ts +11 -5
- package/src/onboarding/target-resolution.ts +78 -2
- package/src/types.ts +7 -0
- package/tests/apply.test.ts +234 -0
- package/tests/build-tool.test.ts +199 -0
- package/tests/doctor.test.ts +41 -0
- package/tests/install-wrapper.test.ts +56 -0
- package/tests/integration-install.test.ts +128 -0
- package/tests/onboard.test.ts +95 -0
- package/tests/plan.test.ts +102 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @inspecto-dev/cli
|
|
2
2
|
|
|
3
|
+
## 0.3.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 58780b8: Improve Inspecto onboarding reliability across assistant integrations.
|
|
8
|
+
- add stable build target selection via candidate IDs
|
|
9
|
+
- improve webpack and rspack config detection, including wrapper-script resolution
|
|
10
|
+
- support legacy Rspack and Webpack 4 onboarding with explicit manual follow-up
|
|
11
|
+
- persist configured host IDE into project settings and clarify doctor precedence on IDE mismatches
|
|
12
|
+
- preserve selected host IDE and assistant provider defaults when onboarding a subproject target
|
|
13
|
+
|
|
14
|
+
- a7cbda9: Improve inspect mode's `Fix UI` flow by attaching CSS context automatically.
|
|
15
|
+
- automatically include captured CSS context for the built-in `fix-ui` intent
|
|
16
|
+
- keep the header CSS toggle as an explicit override for non-UI intents
|
|
17
|
+
- add regression coverage to preserve the new intent-specific behavior
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [58780b8]
|
|
20
|
+
- Updated dependencies [a7cbda9]
|
|
21
|
+
- @inspecto-dev/types@0.3.4
|
|
22
|
+
|
|
3
23
|
## 0.3.3
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/dist/bin.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
printIntegrationPath,
|
|
12
12
|
reportCommandError,
|
|
13
13
|
teardown
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-2MOEVONN.js";
|
|
15
15
|
|
|
16
16
|
// src/bin.ts
|
|
17
17
|
import { cac } from "cac";
|
|
@@ -56,7 +56,10 @@ function createCli(_argv = process.argv) {
|
|
|
56
56
|
exitWithError(error, options);
|
|
57
57
|
}
|
|
58
58
|
});
|
|
59
|
-
cli.command("onboard", "Run assistant-oriented Inspecto onboarding in one structured flow").option("--json", "Print machine-readable JSON output", { default: false }).option(
|
|
59
|
+
cli.command("onboard", "Run assistant-oriented Inspecto onboarding in one structured flow").option("--json", "Print machine-readable JSON output", { default: false }).option(
|
|
60
|
+
"--target <candidateIdOrPath>",
|
|
61
|
+
"Select the build target to onboard using a returned candidateId or compatible config path"
|
|
62
|
+
).option("--yes", "Accept a lightweight confirmation gate automatically", { default: false }).option("--shared", "Write shared Inspecto settings instead of local-only settings").option("--skip-install", "Skip npm dependency installation").option("--dry-run", "Preview changes without modifying files").option("--no-extension", "Skip IDE extension installation").option("--debug", "Enable debug mode to show full error traces", { default: false }).action(async (options) => {
|
|
60
63
|
try {
|
|
61
64
|
await onboard({
|
|
62
65
|
json: options.json ?? false,
|