@savvy-web/lint-staged 1.0.1 → 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} +1 -1
- package/bin/savvy-lint.js +1 -1
- package/index.js +2 -2
- package/package.json +7 -7
package/{878.js → 841.js}
RENAMED
|
@@ -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.0
|
|
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.0
|
|
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",
|
|
@@ -57,11 +57,11 @@
|
|
|
57
57
|
"@biomejs/biome": "2.4.15",
|
|
58
58
|
"@types/node": "^25.6.0",
|
|
59
59
|
"@typescript/native-preview": "^7.0.0-dev.20260513.1",
|
|
60
|
-
"husky": "^9.1.
|
|
61
|
-
"lint-staged": "^
|
|
62
|
-
"markdownlint-cli2": "^0.22.
|
|
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",
|