rulesync 42.0.0 → 43.0.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/dist/cli/index.cjs +3 -3
- package/dist/cli/index.js +3 -3
- package/dist/cli/index.js.map +1 -1
- package/dist/{import-ya6Ejcye.cjs → import-CCmW1p35.cjs} +29 -21
- package/dist/{import-CZ3fV0IY.js → import-DdmJUW78.js} +13 -5
- package/dist/{import-CZ3fV0IY.js.map → import-DdmJUW78.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +22 -27
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +22 -27
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_import = require("./import-
|
|
2
|
+
const require_import = require("./import-CCmW1p35.cjs");
|
|
3
3
|
// src/index.ts
|
|
4
4
|
async function generate(options = {}) {
|
|
5
5
|
const { silent = true, verbose = false, ...rest } = options;
|
package/dist/index.d.cts
CHANGED
|
@@ -88,7 +88,26 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
|
|
|
88
88
|
zoocode: "zoocode";
|
|
89
89
|
}>;
|
|
90
90
|
type ToolTarget = z.infer<typeof ToolTargetSchema>;
|
|
91
|
-
|
|
91
|
+
/** A path an orphan sweep deleted, or would delete under `--dry-run`/`--check`. */
|
|
92
|
+
type DeletedPath = {
|
|
93
|
+
path: string;
|
|
94
|
+
kind: "file" | "directory";
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* A top-level key a write of a shared config file adds, changes or removes,
|
|
98
|
+
* among the keys Rulesync owns outright there; `path` is relative to the
|
|
99
|
+
* output root like {@link DeletedPath.path}.
|
|
100
|
+
*/
|
|
101
|
+
type KeyOperation = {
|
|
102
|
+
action: "write" | "delete";
|
|
103
|
+
path: string;
|
|
104
|
+
key: string;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* The number of files each feature touched: the whole result of an import or
|
|
108
|
+
* a convert, and the count fields of a generate.
|
|
109
|
+
*/
|
|
110
|
+
type FeatureCounts = {
|
|
92
111
|
rulesCount: number;
|
|
93
112
|
ignoreCount: number;
|
|
94
113
|
mcpCount: number;
|
|
@@ -99,6 +118,7 @@ type ConvertResult = {
|
|
|
99
118
|
permissionsCount: number;
|
|
100
119
|
checksCount: number;
|
|
101
120
|
};
|
|
121
|
+
type ConvertResult = FeatureCounts;
|
|
102
122
|
type ValidationResult = {
|
|
103
123
|
success: true;
|
|
104
124
|
error: undefined | null;
|
|
@@ -985,21 +1005,6 @@ declare class RulesyncSkill extends AiDir {
|
|
|
985
1005
|
validate(): ValidationResult;
|
|
986
1006
|
static fromDir({ outputRoot, relativeDirPath, dirName, global }: RulesyncSkillFromDirParams): Promise<RulesyncSkill>;
|
|
987
1007
|
}
|
|
988
|
-
/** A path an orphan sweep deleted, or would delete under `--dry-run`/`--check`. */
|
|
989
|
-
type DeletedPath = {
|
|
990
|
-
path: string;
|
|
991
|
-
kind: "file" | "directory";
|
|
992
|
-
};
|
|
993
|
-
/**
|
|
994
|
-
* A top-level key a write of a shared config file adds, changes or removes,
|
|
995
|
-
* among the keys Rulesync owns outright there; `path` is relative to the
|
|
996
|
-
* output root like {@link DeletedPath.path}.
|
|
997
|
-
*/
|
|
998
|
-
type KeyOperation = {
|
|
999
|
-
action: "write" | "delete";
|
|
1000
|
-
path: string;
|
|
1001
|
-
key: string;
|
|
1002
|
-
};
|
|
1003
1008
|
type GenerateResult = {
|
|
1004
1009
|
rulesCount: number;
|
|
1005
1010
|
rulesPaths: string[];
|
|
@@ -1052,17 +1057,7 @@ type GenerateResult = {
|
|
|
1052
1057
|
keyOperationsByFeature: Partial<Record<GenerationStepId, readonly KeyOperation[]>>;
|
|
1053
1058
|
};
|
|
1054
1059
|
type GenerationStepId = "ignore" | "mcp" | "commands" | "subagents" | "skills" | "hooks" | "permissions" | "checks" | "rules";
|
|
1055
|
-
type ImportResult =
|
|
1056
|
-
rulesCount: number;
|
|
1057
|
-
ignoreCount: number;
|
|
1058
|
-
mcpCount: number;
|
|
1059
|
-
commandsCount: number;
|
|
1060
|
-
subagentsCount: number;
|
|
1061
|
-
skillsCount: number;
|
|
1062
|
-
hooksCount: number;
|
|
1063
|
-
permissionsCount: number;
|
|
1064
|
-
checksCount: number;
|
|
1065
|
-
};
|
|
1060
|
+
type ImportResult = FeatureCounts;
|
|
1066
1061
|
type BaseOptions = {
|
|
1067
1062
|
configPath?: string;
|
|
1068
1063
|
verbose?: boolean;
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/types/features.ts","../src/types/tool-target-tuples.ts","../src/types/tool-targets.ts","../src/lib/
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/types/features.ts","../src/types/tool-target-tuples.ts","../src/types/tool-targets.ts","../src/lib/orphan-sweep.ts","../src/utils/result.ts","../src/lib/convert.ts","../src/types/ai-dir.ts","../src/features/skills/rulesync-skill.ts","../src/lib/generate.ts","../src/lib/import.ts","../src/index.ts"],"mappings":";qBAaa;cA+BP,eAAa,EAAA,uBAAA,EAAA;;;;;;;;;IAAoE,EAAA;KAE3E,UAAU,EAAE,aAAa;cC2axB;KC/cR,wBAAwB;qBAEhB,4BAA4B,kBAAkB;cAM9C,kBAAgB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEjB,aAAa,EAAE,aAAa;;KCb5B;EAAgB;EAAc;;;;;;;KAO9B;EAAiB;EAA4B;EAAc;;;;;;KCmB3D;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;KCxBU,gBAAgB;KCmBhB;EAEN;EACA;;EAGA;EACA,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BAAyB;EACzB,WAAW;EACX;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,QAAQ;IACR;IACA;IACA;IACA;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA,WAAW;IACX;IACA;;EAEF;IACE;IACA;IACA;;EAEF;IACE;IACA;MACE;MACA;MACA;MACA;MACA;MACA;;IAEF;MACE;;IAEF;MACE,QAAQ;QACN;QACA;QACA;QACA;QACA;;;;EAIN;IACE;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;;EAEF;IACE;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb,MAAM;EACN,MAAM;EACN,QAAQ;EACR,MAAM;EACN;IACE;IACA;IACA;IACA;IACA;IACA,cAAc;IACd;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA,QAAQ;IACR;IACA;;EAEF;IACE;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA;IACA;IACA;IACA,WAAW;;EAEb;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA,yBAAyB;IACzB,WAAW;IACX;;EAEF,cAAc;EACd;IACE;IACA,yBAAyB;IACzB,WAAW;IACX;IACA;IACA;;EAEF,cAAc;EACd;IACE;IACA;IACA;IACA;IACA;IACA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.ts
CHANGED
|
@@ -88,7 +88,26 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
|
|
|
88
88
|
zoocode: "zoocode";
|
|
89
89
|
}>;
|
|
90
90
|
type ToolTarget = z.infer<typeof ToolTargetSchema>;
|
|
91
|
-
|
|
91
|
+
/** A path an orphan sweep deleted, or would delete under `--dry-run`/`--check`. */
|
|
92
|
+
type DeletedPath = {
|
|
93
|
+
path: string;
|
|
94
|
+
kind: "file" | "directory";
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* A top-level key a write of a shared config file adds, changes or removes,
|
|
98
|
+
* among the keys Rulesync owns outright there; `path` is relative to the
|
|
99
|
+
* output root like {@link DeletedPath.path}.
|
|
100
|
+
*/
|
|
101
|
+
type KeyOperation = {
|
|
102
|
+
action: "write" | "delete";
|
|
103
|
+
path: string;
|
|
104
|
+
key: string;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* The number of files each feature touched: the whole result of an import or
|
|
108
|
+
* a convert, and the count fields of a generate.
|
|
109
|
+
*/
|
|
110
|
+
type FeatureCounts = {
|
|
92
111
|
rulesCount: number;
|
|
93
112
|
ignoreCount: number;
|
|
94
113
|
mcpCount: number;
|
|
@@ -99,6 +118,7 @@ type ConvertResult = {
|
|
|
99
118
|
permissionsCount: number;
|
|
100
119
|
checksCount: number;
|
|
101
120
|
};
|
|
121
|
+
type ConvertResult = FeatureCounts;
|
|
102
122
|
type ValidationResult = {
|
|
103
123
|
success: true;
|
|
104
124
|
error: undefined | null;
|
|
@@ -985,21 +1005,6 @@ declare class RulesyncSkill extends AiDir {
|
|
|
985
1005
|
validate(): ValidationResult;
|
|
986
1006
|
static fromDir({ outputRoot, relativeDirPath, dirName, global }: RulesyncSkillFromDirParams): Promise<RulesyncSkill>;
|
|
987
1007
|
}
|
|
988
|
-
/** A path an orphan sweep deleted, or would delete under `--dry-run`/`--check`. */
|
|
989
|
-
type DeletedPath = {
|
|
990
|
-
path: string;
|
|
991
|
-
kind: "file" | "directory";
|
|
992
|
-
};
|
|
993
|
-
/**
|
|
994
|
-
* A top-level key a write of a shared config file adds, changes or removes,
|
|
995
|
-
* among the keys Rulesync owns outright there; `path` is relative to the
|
|
996
|
-
* output root like {@link DeletedPath.path}.
|
|
997
|
-
*/
|
|
998
|
-
type KeyOperation = {
|
|
999
|
-
action: "write" | "delete";
|
|
1000
|
-
path: string;
|
|
1001
|
-
key: string;
|
|
1002
|
-
};
|
|
1003
1008
|
type GenerateResult = {
|
|
1004
1009
|
rulesCount: number;
|
|
1005
1010
|
rulesPaths: string[];
|
|
@@ -1052,17 +1057,7 @@ type GenerateResult = {
|
|
|
1052
1057
|
keyOperationsByFeature: Partial<Record<GenerationStepId, readonly KeyOperation[]>>;
|
|
1053
1058
|
};
|
|
1054
1059
|
type GenerationStepId = "ignore" | "mcp" | "commands" | "subagents" | "skills" | "hooks" | "permissions" | "checks" | "rules";
|
|
1055
|
-
type ImportResult =
|
|
1056
|
-
rulesCount: number;
|
|
1057
|
-
ignoreCount: number;
|
|
1058
|
-
mcpCount: number;
|
|
1059
|
-
commandsCount: number;
|
|
1060
|
-
subagentsCount: number;
|
|
1061
|
-
skillsCount: number;
|
|
1062
|
-
hooksCount: number;
|
|
1063
|
-
permissionsCount: number;
|
|
1064
|
-
checksCount: number;
|
|
1065
|
-
};
|
|
1060
|
+
type ImportResult = FeatureCounts;
|
|
1066
1061
|
type BaseOptions = {
|
|
1067
1062
|
configPath?: string;
|
|
1068
1063
|
verbose?: boolean;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/types/features.ts","../src/types/tool-target-tuples.ts","../src/types/tool-targets.ts","../src/lib/
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/types/features.ts","../src/types/tool-target-tuples.ts","../src/types/tool-targets.ts","../src/lib/orphan-sweep.ts","../src/utils/result.ts","../src/lib/convert.ts","../src/types/ai-dir.ts","../src/features/skills/rulesync-skill.ts","../src/lib/generate.ts","../src/lib/import.ts","../src/index.ts"],"mappings":";qBAaa;cA+BP,eAAa,EAAA,uBAAA,EAAA;;;;;;;;;IAAoE,EAAA;KAE3E,UAAU,EAAE,aAAa;cC2axB;KC/cR,wBAAwB;qBAEhB,4BAA4B,kBAAkB;cAM9C,kBAAgB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEjB,aAAa,EAAE,aAAa;;KCb5B;EAAgB;EAAc;;;;;;;KAO9B;EAAiB;EAA4B;EAAc;;;;;;KCmB3D;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;KCxBU,gBAAgB;KCmBhB;EAEN;EACA;;EAGA;EACA,OAAO;;KAqBD;EACV;EACA,YAAY;;;;;;;;EAQZ;;;;;;;EAOA;;KAmnBU;EACV;EACA;EACA;EACA;IACE;IACA;IACA,cAAc;;EAEhB,aAAa;EACb;;KAGU,qBAAqB,KAC/B;uBAIoB;;;;qBAID;;;;qBAKA;;;;qBAKA;;;;YAKT;IACR;IACA;IACA,cAAc;;;;;YAMN,YAAY;;;;qBAKH;EAEnB,cACE,YACA,iBACA,SACA,UACA,YACA,UACC;SAyBU,QAAQ,SAAS,qBAAqB,QAAQ;EAI3D;EAIA;EAIA;;;;;;;;;;;;;;;;;;;;;EAwBA;;;;;;;;;;;;;EAgBA;EAqBA;EAqBA;IAEM;IACA;IACA,cAAc;;EAMpB,iBAAiB;;;;EAOjB;EAIA;EAIA,YAAY,cAAc,cAAc,cAAc;;;;;;;;;;iBAajC;;iBAWN;;;;;;iBASA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkCA;iBA8CM;;;;;iBA6GN;;;;;;;iBAsDM;;;;;;;;;;;;;;;;;;;;;;;;;;mBA+FE,kBACrB,oBACA,yBACA,iBACA,0BACC,QAAQ;WAwGF,YAAY;;cC5zCjB,wCAAsC,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqd1C,EAAA,KAAA;KAMU;EACV;EACA;EACA;EACA;EACA;EACA;EACA,yBAAyB;EACzB,WAAW;EACX;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,QAAQ;IACR;IACA;IACA;IACA;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA,WAAW;IACX;IACA;;EAEF;IACE;IACA;IACA;;EAEF;IACE;IACA;MACE;MACA;MACA;MACA;MACA;MACA;;IAEF;MACE;;IAEF;MACE,QAAQ;QACN;QACA;QACA;QACA;QACA;;;;EAIN;IACE;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;;EAEF;IACE;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb,MAAM;EACN,MAAM;EACN,QAAQ;EACR,MAAM;EACN;IACE;IACA;IACA;IACA;IACA;IACA,cAAc;IACd;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA,QAAQ;IACR;IACA;;EAEF;IACE;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA;IACA;IACA;IACA,WAAW;;EAEb;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA,yBAAyB;IACzB,WAAW;IACX;;EAEF,cAAc;EACd;IACE;IACA,yBAAyB;IACzB,WAAW;IACX;IACA;IACA;;EAEF,cAAc;EACd;IACE;IACA;IACA;IACA;IACA;IACA;;EAEF,aAAa;EACb,YAAY;IACV;IACA;;EAEF,YAAY;EACZ,WAAW;EACX,UAAU;EACV;IACE;IACA;;EAEF;IACE;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA;IACA;IACA;IACA;IACA;KACC;;EAEH;IACE;IACA;IACA,WAAW;;EAEb,oBAAoB;EACpB,oBAAoB;;KAGjB;EACH;EACA,WAAW;GACV;;KAIS,2BAA2B,EAAE,aAAa;KAO1C;EACV;EACA;EACA;EACA,aAAa;EACb;EACA,aAAa;EACb;EACA;;KAGU;EACV;;KAGU;EACV;EACA;EACA;EACA;;;;;;cAOW,sBAAsB;EACjC,cACE,YACA,iBACA,SACA,aACA,MACA,YACA,UACA,UACC;SAsBI,oBAAoB;EAU3B,kBAAkB;EAQlB;EAIA,YAAY;SAcC,UACX,YACA,iBACA,SACA,UACC,6BAA6B,QAAQ;;KCl1B9B;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,QAAQ;EACR;;;;;;EAMA;;;;;EAKA,0BAA0B;;;;;;;EAO1B,uBAAuB,QAAQ,OAAO,2BAA2B;;;;;;;EAOjE,wBAAwB,QAAQ,OAAO,2BAA2B;;KAyd/D;KC1gBO,eAAe;KC9CtB;EACH;EACA;EACA;EACA;;YAGU,kBAAkB;EAC5B,UAAU;EACV,WAAW;EACX;;;;;;;;;;;;;EAaA;;;;;;;;EAQA;EACA;EACA;EACA;EACA;EACA;EACA;;YAGU,gBAAgB;EAC1B,QAAQ;EACR,WAAW;;YAGD,iBAAiB;EAC3B,MAAM;EACN,IAAI;EACJ,WAAW;EACX;;wBAGoB,SAAS,UAAS,kBAAuB,QAAQ;wBAyBjD,eAAe,SAAS,gBAAgB,QAAQ;wBAehD,gBAAgB,SAAS,iBAAiB,QAAQ"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Tn as ALL_FEATURES, Tt as ConsoleLogger, a as convertFromTool$1, ht as ConfigResolver, i as inspectInputRoots, r as generate$1, t as importFromTool$1, xn as ALL_TOOL_TARGETS } from "./import-
|
|
1
|
+
import { Tn as ALL_FEATURES, Tt as ConsoleLogger, a as convertFromTool$1, ht as ConfigResolver, i as inspectInputRoots, r as generate$1, t as importFromTool$1, xn as ALL_TOOL_TARGETS } from "./import-DdmJUW78.js";
|
|
2
2
|
// src/index.ts
|
|
3
3
|
async function generate(options = {}) {
|
|
4
4
|
const { silent = true, verbose = false, ...rest } = options;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rulesync",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "43.0.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",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@octokit/request-error": "7.1.2",
|
|
54
54
|
"@octokit/rest": "22.0.1",
|
|
55
55
|
"@toon-format/toon": "4.4.0",
|
|
56
|
-
"chokidar": "
|
|
56
|
+
"chokidar": "6.0.0",
|
|
57
57
|
"commander": "15.0.0",
|
|
58
58
|
"es-toolkit": "1.52.0",
|
|
59
59
|
"globby": "16.2.4",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"vitest": "5.0.5"
|
|
93
93
|
},
|
|
94
94
|
"engines": {
|
|
95
|
-
"node": ">=22.
|
|
95
|
+
"node": ">=22.22.0",
|
|
96
96
|
"pnpm": ">=10"
|
|
97
97
|
},
|
|
98
98
|
"publishConfig": {
|