rulesync 0.34.0 → 0.37.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.
@@ -0,0 +1,9 @@
1
+ import {
2
+ generateRooMcp,
3
+ generateRooMcpConfiguration
4
+ } from "./chunk-3GVVX3G5.mjs";
5
+ import "./chunk-QQN5GTOV.mjs";
6
+ export {
7
+ generateRooMcp,
8
+ generateRooMcpConfiguration
9
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rulesync",
3
- "version": "0.34.0",
3
+ "version": "0.37.0",
4
4
  "description": "Unified AI rules management CLI tool that generates configuration files for various AI development tools",
5
5
  "keywords": [
6
6
  "ai",
@@ -36,17 +36,24 @@
36
36
  "commander": "14.0.0",
37
37
  "gray-matter": "4.0.3",
38
38
  "js-yaml": "4.1.0",
39
- "marked": "15.0.12"
39
+ "marked": "15.0.12",
40
+ "micromatch": "4.0.8",
41
+ "zod": "3.25.67"
40
42
  },
41
43
  "devDependencies": {
42
44
  "@biomejs/biome": "2.0.0",
43
45
  "@secretlint/secretlint-rule-preset-recommend": "10.1.0",
44
46
  "@tsconfig/node24": "24.0.1",
45
47
  "@types/js-yaml": "4.0.9",
48
+ "@types/micromatch": "4.0.9",
46
49
  "@types/node": "24.0.3",
47
50
  "@typescript/native-preview": "7.0.0-dev.20250623.1",
48
51
  "@vitest/coverage-v8": "3.2.4",
52
+ "lint-staged": "16.1.2",
53
+ "o3-search-mcp": "0.0.3",
54
+ "oxlint": "1.4.0",
49
55
  "secretlint": "10.1.0",
56
+ "simple-git-hooks": "2.13.0",
50
57
  "sort-package-json": "3.2.1",
51
58
  "tsup": "8.5.0",
52
59
  "tsx": "4.20.3",
@@ -59,22 +66,36 @@
59
66
  "publishConfig": {
60
67
  "access": "public"
61
68
  },
69
+ "simple-git-hooks": {
70
+ "pre-commit": "pnpm exec lint-staged"
71
+ },
72
+ "lint-staged": {
73
+ "*.{ts,js}": [
74
+ "biome check --write",
75
+ "oxlint --fix"
76
+ ],
77
+ "*.ts": [
78
+ "tsgo --noEmit"
79
+ ],
80
+ "**/*": [
81
+ "secretlint"
82
+ ]
83
+ },
62
84
  "scripts": {
63
85
  "bcheck": "biome check src/",
64
86
  "bcheck:fix": "biome check --write src/",
65
87
  "build": "tsup src/cli/index.ts --format cjs,esm --dts --clean",
66
- "check": "pnpm run lint && pnpm run format && pnpm run bcheck && pnpm run typecheck",
88
+ "check": "pnpm run bcheck && pnpm run lint && pnpm run typecheck",
67
89
  "dev": "tsx src/cli/index.ts",
68
- "fix": "pnpm run lint:fix && pnpm run format:fix && pnpm run bcheck:fix",
69
- "format": "biome format src/",
70
- "format:fix": "biome format --write src/",
71
- "lint": "biome lint src/",
72
- "lint:fix": "biome lint --write src/",
90
+ "fix": "pnpm run bcheck:fix && pnpm run lint:fix",
91
+ "lint": "oxlint . --max-warnings 0",
92
+ "lint:fix": "oxlint . --fix --max-warnings 0",
73
93
  "secretlint": "secretlint \"**/*\"",
74
94
  "sort": "sort-package-json",
75
- "test": "vitest",
76
- "test:coverage": "vitest --coverage",
77
- "test:watch": "vitest --watch",
78
- "typecheck": "tsgo --noEmit"
95
+ "test": "vitest run --silent",
96
+ "test:coverage": "vitest run --coverage --silent",
97
+ "test:watch": "vitest --silent",
98
+ "typecheck": "tsgo --noEmit",
99
+ "generate": "pnpm run dev generate"
79
100
  }
80
101
  }