@next-vibe/checker 3.0.5 → 3.0.7
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/AGENTS.md +99 -71
- package/README.md +94 -151
- package/bin/package-runtime.js.map +5 -5
- package/bin/vibe-check.js +11 -39
- package/package.json +3 -1
package/bin/vibe-check.js
CHANGED
|
@@ -113611,6 +113611,7 @@ var init_widget_cli3 = __esm(async () => {
|
|
|
113611
113611
|
createMcpConfig: "Create MCP config (.mcp.json / mcp.json)?",
|
|
113612
113612
|
updateVscodeSettings: "Update VSCode settings (.vscode/settings.json)?",
|
|
113613
113613
|
updatePackageJson: "Update package.json scripts (check, lint, typecheck)?",
|
|
113614
|
+
enableEslint: "Enable ESLint? (import sorting, React hooks \u2014 slower but catches more)",
|
|
113614
113615
|
enableReactRules: "Enable React-specific linting rules?",
|
|
113615
113616
|
enableNextjsRules: "Enable Next.js-specific linting rules?",
|
|
113616
113617
|
enableI18nRules: "Enable i18n linting rules?",
|
|
@@ -113634,6 +113635,11 @@ var init_widget_cli3 = __esm(async () => {
|
|
|
113634
113635
|
label: STEP_LABELS.updatePackageJson,
|
|
113635
113636
|
defaultValue: true
|
|
113636
113637
|
},
|
|
113638
|
+
{
|
|
113639
|
+
key: "enableEslint",
|
|
113640
|
+
label: STEP_LABELS.enableEslint,
|
|
113641
|
+
defaultValue: true
|
|
113642
|
+
},
|
|
113637
113643
|
{
|
|
113638
113644
|
key: "enableReactRules",
|
|
113639
113645
|
label: STEP_LABELS.enableReactRules,
|
|
@@ -235535,44 +235541,7 @@ __export(exports_stub_endpoints_meta, {
|
|
|
235535
235541
|
});
|
|
235536
235542
|
var endpointsMeta;
|
|
235537
235543
|
var init_stub_endpoints_meta = __esm(() => {
|
|
235538
|
-
endpointsMeta = [
|
|
235539
|
-
{
|
|
235540
|
-
toolName: "check",
|
|
235541
|
-
method: "POST",
|
|
235542
|
-
path: ["system", "check", "vibe-check"],
|
|
235543
|
-
allowedRoles: ["enums.userRole.public", "enums.userRole.admin", "enums.userRole.webOff", "enums.userRole.productionOff", "enums.userRole.aiToolOff", "enums.userRole.cliAuthBypass"],
|
|
235544
|
-
aliases: ["c"],
|
|
235545
|
-
title: "Run code quality checks",
|
|
235546
|
-
description: "Run oxlint, ESLint, and TypeScript type checks in parallel. Pass paths to check specific dirs.",
|
|
235547
|
-
icon: "check-circle",
|
|
235548
|
-
category: "Code Quality",
|
|
235549
|
-
tags: ["lint", "typecheck"]
|
|
235550
|
-
},
|
|
235551
|
-
{
|
|
235552
|
-
toolName: "config",
|
|
235553
|
-
method: "POST",
|
|
235554
|
-
path: ["system", "check", "config", "create"],
|
|
235555
|
-
allowedRoles: ["enums.userRole.public", "enums.userRole.admin", "enums.userRole.webOff", "enums.userRole.productionOff", "enums.userRole.aiToolOff", "enums.userRole.cliAuthBypass"],
|
|
235556
|
-
aliases: ["config-create", "create-config", "cc"],
|
|
235557
|
-
title: "Create check.config.ts",
|
|
235558
|
-
description: "Interactive wizard to create or update your check.config.ts configuration file.",
|
|
235559
|
-
icon: "wrench",
|
|
235560
|
-
category: "Code Quality",
|
|
235561
|
-
tags: ["config", "setup"]
|
|
235562
|
-
},
|
|
235563
|
-
{
|
|
235564
|
-
toolName: "help",
|
|
235565
|
-
method: "GET",
|
|
235566
|
-
path: ["system", "help"],
|
|
235567
|
-
allowedRoles: ["enums.userRole.public", "enums.userRole.admin", "enums.userRole.cliAuthBypass"],
|
|
235568
|
-
aliases: ["h", "ls", "list", "ai-tools", "tool-help", "tools:list"],
|
|
235569
|
-
title: "List available commands",
|
|
235570
|
-
description: "List all available vibe-check commands and their options.",
|
|
235571
|
-
icon: "help-circle",
|
|
235572
|
-
category: "System",
|
|
235573
|
-
tags: ["help", "list"]
|
|
235574
|
-
}
|
|
235575
|
-
];
|
|
235544
|
+
endpointsMeta = [{ toolName: "check" }, { toolName: "config-create" }];
|
|
235576
235545
|
});
|
|
235577
235546
|
|
|
235578
235547
|
// src/app/api/[locale]/system/help/interactive.cli.tsx
|
|
@@ -248034,6 +248003,9 @@ function runCli({
|
|
|
248034
248003
|
let command = rawCommand;
|
|
248035
248004
|
if (!command && defaultEndpoint) {
|
|
248036
248005
|
command = defaultEndpoint;
|
|
248006
|
+
} else if (command && defaultEndpoint && getEndpoint2 && command !== "mcp" && command !== "help" && command !== "h" && !await getEndpoint2(command)) {
|
|
248007
|
+
args = [command, ...args];
|
|
248008
|
+
command = defaultEndpoint;
|
|
248037
248009
|
}
|
|
248038
248010
|
if (command) {
|
|
248039
248011
|
const resolved = resolveCommandFromPath(command);
|
|
@@ -248332,4 +248304,4 @@ runCli({
|
|
|
248332
248304
|
getEndpoint
|
|
248333
248305
|
});
|
|
248334
248306
|
|
|
248335
|
-
//# debugId=
|
|
248307
|
+
//# debugId=9B680B78CB7CA9FC64756E2164756E21
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-vibe/checker",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.7",
|
|
4
4
|
"description": "Standalone code quality checker (oxlint + eslint + TypeScript) for next-vibe projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -38,6 +38,8 @@
|
|
|
38
38
|
],
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"oxlint": ">=1.0.0",
|
|
41
|
+
"oxfmt": ">=0.40.0",
|
|
42
|
+
"@typescript/native-preview": ">=7.0.0",
|
|
41
43
|
"eslint": ">=9.0.0",
|
|
42
44
|
"typescript": ">=5.0.0",
|
|
43
45
|
"eslint-plugin-react-compiler": ">=19.0.0",
|