@savvy-web/lint-staged 1.0.0 → 1.1.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/{878.js → 841.js} +3 -3
- package/bin/savvy-lint.js +1 -1
- package/index.js +2 -2
- package/package.json +11 -11
package/{878.js → 841.js}
RENAMED
|
@@ -654,7 +654,7 @@ function checkMarkdownlintConfig(content) {
|
|
|
654
654
|
}
|
|
655
655
|
function checkBiomeSchemas() {
|
|
656
656
|
return Effect.gen(function*() {
|
|
657
|
-
const version = "2.4.
|
|
657
|
+
const version = "2.4.15";
|
|
658
658
|
const statuses = [];
|
|
659
659
|
if (!version) return {
|
|
660
660
|
statuses,
|
|
@@ -1059,7 +1059,7 @@ function writeMarkdownlintConfig(fs, preset, force) {
|
|
|
1059
1059
|
}
|
|
1060
1060
|
function syncBiomeSchemas() {
|
|
1061
1061
|
return Effect.gen(function*() {
|
|
1062
|
-
const version = "2.4.
|
|
1062
|
+
const version = "2.4.15";
|
|
1063
1063
|
if (!version) return;
|
|
1064
1064
|
const syncer = yield* BiomeSchemaSync;
|
|
1065
1065
|
const result = yield* syncer.sync(version);
|
|
@@ -1136,7 +1136,7 @@ const rootCommand = Command.make("savvy-lint").pipe(Command.withSubcommands([
|
|
|
1136
1136
|
]));
|
|
1137
1137
|
const cli = Command.run(rootCommand, {
|
|
1138
1138
|
name: "savvy-lint",
|
|
1139
|
-
version: "1.
|
|
1139
|
+
version: "1.1.0"
|
|
1140
1140
|
});
|
|
1141
1141
|
function runCli() {
|
|
1142
1142
|
const main = Effect.suspend(()=>cli(process.argv)).pipe(Effect.provide(AppLayer));
|
package/bin/savvy-lint.js
CHANGED
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import sort_package_json from "sort-package-json";
|
|
2
2
|
import { existsSync, readFileSync, writeFileSync } from "node:fs";
|
|
3
3
|
import { join } from "node:path";
|
|
4
|
-
import { Filter, Command as Command_Command, isWorkspacePackagePath, Biome, PnpmWorkspace, Yaml, getWorkspaceRoot } from "./
|
|
4
|
+
import { Filter, Command as Command_Command, isWorkspacePackagePath, Biome, PnpmWorkspace, Yaml, getWorkspaceRoot } from "./841.js";
|
|
5
5
|
class Markdown {
|
|
6
6
|
static glob = "**/*.{md,mdx}";
|
|
7
7
|
static defaultExcludes = [];
|
|
@@ -294,6 +294,6 @@ class Handler {
|
|
|
294
294
|
throw new Error("Handler.create() must be implemented by subclass");
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
|
-
export { Biome, Command, Filter, PnpmWorkspace, Yaml, checkCommand, fmtCommand, getWorkspacePackagePaths, getWorkspacePackages, getWorkspaceRoot, initCommand, isWorkspacePackagePath, resetWorkspaceCache, rootCommand, runCli } from "./
|
|
297
|
+
export { Biome, Command, Filter, PnpmWorkspace, Yaml, checkCommand, fmtCommand, getWorkspacePackagePaths, getWorkspacePackages, getWorkspaceRoot, initCommand, isWorkspacePackagePath, resetWorkspaceCache, rootCommand, runCli } from "./841.js";
|
|
298
298
|
export { ConfigDiscovery, ConfigDiscoveryLive } from "@savvy-web/silk-effects";
|
|
299
299
|
export { Handler, Markdown, PackageJson, Preset, ShellScripts, TypeScript, createConfig };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@savvy-web/lint-staged",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Composable, configurable lint-staged handlers for pre-commit hooks. Provides reusable handlers for Biome, Markdown, YAML, TypeScript, and more.",
|
|
6
6
|
"keywords": [
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"./biome/silk.jsonc": "./biome/silk.jsonc"
|
|
39
39
|
},
|
|
40
40
|
"bin": {
|
|
41
|
-
"savvy-lint": "
|
|
41
|
+
"savvy-lint": "bin/savvy-lint.js"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@effect/cli": "^0.75.1",
|
|
@@ -49,19 +49,19 @@
|
|
|
49
49
|
"jsonc-effect": "^0.2.1",
|
|
50
50
|
"prettier": "^3.8.3",
|
|
51
51
|
"sort-package-json": "^3.6.1",
|
|
52
|
-
"workspaces-effect": "^0.
|
|
53
|
-
"yaml": "^2.
|
|
52
|
+
"workspaces-effect": "^1.0.0",
|
|
53
|
+
"yaml": "^2.9.0",
|
|
54
54
|
"yaml-lint": "^1.7.0"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
|
-
"@biomejs/biome": "2.4.
|
|
57
|
+
"@biomejs/biome": "2.4.15",
|
|
58
58
|
"@types/node": "^25.6.0",
|
|
59
|
-
"@typescript/native-preview": "^7.0.0-dev.
|
|
60
|
-
"husky": "^9.1.
|
|
61
|
-
"lint-staged": "^
|
|
62
|
-
"markdownlint-cli2": "^0.22.
|
|
59
|
+
"@typescript/native-preview": "^7.0.0-dev.20260513.1",
|
|
60
|
+
"husky": "^9.1.7",
|
|
61
|
+
"lint-staged": "^17.0.5",
|
|
62
|
+
"markdownlint-cli2": "^0.22.1",
|
|
63
63
|
"markdownlint-cli2-formatter-codequality": "^0.0.7",
|
|
64
|
-
"turbo": "^2.9.
|
|
64
|
+
"turbo": "^2.9.14",
|
|
65
65
|
"typescript": "^6.0.0"
|
|
66
66
|
},
|
|
67
67
|
"peerDependenciesMeta": {
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"!lint-staged.api.json",
|
|
101
101
|
"!tsconfig.json",
|
|
102
102
|
"!tsdoc.json",
|
|
103
|
-
"
|
|
103
|
+
"841.js",
|
|
104
104
|
"LICENSE",
|
|
105
105
|
"README.md",
|
|
106
106
|
"bin/savvy-lint.js",
|