@next-vibe/checker 1.0.14 → 1.0.16
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/vibe-runtime.js +7 -6
- package/.dist/bin/vibe-runtime.js.map +5 -5
- package/.dist/oxlint-plugins/i18n.js +381 -4
- package/.dist/oxlint-plugins/jsx-capitalization.js +460 -4
- package/.dist/oxlint-plugins/restricted-syntax.js +409 -4
- package/package.json +1 -1
- package/src/app/api/[locale]/system/builder/definition.ts +1 -1
- package/src/app/api/[locale]/system/builder/repository/bun-compiler.ts +4 -2
- package/src/app/api/[locale]/system/check/config/repository.ts +2 -0
- package/src/app/api/[locale]/system/check/test-project/bun.lock +2 -2
- package/src/app/api/[locale]/system/check/test-project/package.json +1 -1
- package/.dist/oxlint-plugins/i18n.js.map +0 -1
- package/.dist/oxlint-plugins/jsx-capitalization.js.map +0 -1
- package/.dist/oxlint-plugins/restricted-syntax.js.map +0 -1
|
@@ -28160,7 +28160,7 @@ function isViteBuildType(type) {
|
|
|
28160
28160
|
return Object.values(ViteBuildTypeEnum).includes(type);
|
|
28161
28161
|
}
|
|
28162
28162
|
function isBunBuildType(type) {
|
|
28163
|
-
return type
|
|
28163
|
+
return Object.values(BunBuildTypeEnum).includes(type);
|
|
28164
28164
|
}
|
|
28165
28165
|
var BuildProfileOptions, BuildTypeOptions, BunTargetOptions, SourcemapModeOptions, OutputFormatOptions, ViteMinifyOptions, ViteLibFormatOptions, PackageExportConditionSchema, POST2, builderDefinition, definition_default2;
|
|
28166
28166
|
var init_definition2 = __esm(() => {
|
|
@@ -35295,7 +35295,7 @@ class BunCompiler {
|
|
|
35295
35295
|
}
|
|
35296
35296
|
}
|
|
35297
35297
|
const sourcemap = bunOptions?.sourcemap || (profileSettings.sourcemap === false ? "none" : profileSettings.sourcemap === true ? "external" : profileSettings.sourcemap);
|
|
35298
|
-
const
|
|
35298
|
+
const buildOptions = {
|
|
35299
35299
|
entrypoints: [entrypointPath],
|
|
35300
35300
|
outdir: outDir,
|
|
35301
35301
|
target: bunOptions?.target || "bun",
|
|
@@ -35314,7 +35314,8 @@ class BunCompiler {
|
|
|
35314
35314
|
banner: bunOptions?.banner,
|
|
35315
35315
|
footer: bunOptions?.footer,
|
|
35316
35316
|
bytecode: bunOptions?.bytecode
|
|
35317
|
-
}
|
|
35317
|
+
};
|
|
35318
|
+
const result = await Bun.build(buildOptions);
|
|
35318
35319
|
if (!result.success) {
|
|
35319
35320
|
const errorMessages = result.logs.filter((log) => log.level === "error").map((log) => log.message).join(`
|
|
35320
35321
|
`);
|
|
@@ -37217,12 +37218,12 @@ class ConfigRepositoryImpl {
|
|
|
37217
37218
|
return sourcePath;
|
|
37218
37219
|
}
|
|
37219
37220
|
} else {
|
|
37220
|
-
const compiledPath = resolve12(process.cwd(), "node_modules", "@next-vibe", "checker", "oxlint-plugins", fileName);
|
|
37221
|
+
const compiledPath = resolve12(process.cwd(), "node_modules", "@next-vibe", "checker", ".dist", "oxlint-plugins", fileName);
|
|
37221
37222
|
if (existsSync11(compiledPath)) {
|
|
37222
37223
|
return compiledPath;
|
|
37223
37224
|
}
|
|
37224
37225
|
}
|
|
37225
|
-
return extension === "ts" ? resolve12(process.cwd(), "src", "app", "api", "[locale]", "system", "check", "oxlint", "plugins", baseName, "src", "index.ts") : resolve12(process.cwd(), "node_modules", "@next-vibe", "checker", "oxlint-plugins", fileName);
|
|
37226
|
+
return extension === "ts" ? resolve12(process.cwd(), "src", "app", "api", "[locale]", "system", "check", "oxlint", "plugins", baseName, "src", "index.ts") : resolve12(process.cwd(), "node_modules", "@next-vibe", "checker", ".dist", "oxlint-plugins", fileName);
|
|
37226
37227
|
}
|
|
37227
37228
|
if (pluginPath.startsWith("/")) {
|
|
37228
37229
|
return pluginPath;
|
|
@@ -55483,4 +55484,4 @@ export {
|
|
|
55483
55484
|
binaryStartTime
|
|
55484
55485
|
};
|
|
55485
55486
|
|
|
55486
|
-
//# debugId=
|
|
55487
|
+
//# debugId=7F74571737942F6464756E2164756E21
|