@chanom/cli 0.2.1 → 0.2.2
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/index.js +6 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7,6 +7,7 @@ import * as clack from "@clack/prompts";
|
|
|
7
7
|
//#region src/bundled-versions.ts
|
|
8
8
|
const bundledVersions = {
|
|
9
9
|
oxlint: "1.73.0",
|
|
10
|
+
oxlintTsgolint: "0.24.0",
|
|
10
11
|
oxfmt: "0.58.0",
|
|
11
12
|
knip: "6.26.0",
|
|
12
13
|
devConfig: "0.0.3"
|
|
@@ -495,7 +496,11 @@ const apply$1 = Effect.fn("add-oxfmt.apply")(function* (cwd, esm, pkg) {
|
|
|
495
496
|
//#endregion
|
|
496
497
|
//#region src/commands/add-oxlint/logic.ts
|
|
497
498
|
function getPackages(pkg, versions) {
|
|
498
|
-
return [
|
|
499
|
+
return [
|
|
500
|
+
getMismatchedPackage(pkg, "oxlint", versions.oxlint),
|
|
501
|
+
getMismatchedPackage(pkg, "oxlint-tsgolint", versions.oxlintTsgolint),
|
|
502
|
+
getMismatchedPackage(pkg, "@chanom/dev-config", versions.devConfig)
|
|
503
|
+
].filter((p) => p !== void 0);
|
|
499
504
|
}
|
|
500
505
|
function configFile(esm) {
|
|
501
506
|
return {
|