rulesync 1.0.0 → 1.0.1
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.cjs +1 -4
- package/dist/index.js +1 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4360,9 +4360,6 @@ var CursorRule = class _CursorRule extends ToolRule {
|
|
|
4360
4360
|
* MDC files don't support quotes in YAML, so globs patterns must be output without quotes
|
|
4361
4361
|
*/
|
|
4362
4362
|
static stringifyCursorFrontmatter(body, frontmatter) {
|
|
4363
|
-
if (!frontmatter.globs || typeof frontmatter.globs !== "string" || !frontmatter.globs.includes("*")) {
|
|
4364
|
-
return stringifyFrontmatter(body, frontmatter);
|
|
4365
|
-
}
|
|
4366
4363
|
const lines = ["---"];
|
|
4367
4364
|
if (frontmatter.alwaysApply !== void 0) {
|
|
4368
4365
|
lines.push(`alwaysApply: ${frontmatter.alwaysApply}`);
|
|
@@ -6234,7 +6231,7 @@ var getVersion = async () => {
|
|
|
6234
6231
|
const packageJson = await readJsonFile(packageJsonPath);
|
|
6235
6232
|
return packageJson.version;
|
|
6236
6233
|
} catch {
|
|
6237
|
-
return "1.0.
|
|
6234
|
+
return "1.0.1";
|
|
6238
6235
|
}
|
|
6239
6236
|
};
|
|
6240
6237
|
var main = async () => {
|
package/dist/index.js
CHANGED
|
@@ -4337,9 +4337,6 @@ var CursorRule = class _CursorRule extends ToolRule {
|
|
|
4337
4337
|
* MDC files don't support quotes in YAML, so globs patterns must be output without quotes
|
|
4338
4338
|
*/
|
|
4339
4339
|
static stringifyCursorFrontmatter(body, frontmatter) {
|
|
4340
|
-
if (!frontmatter.globs || typeof frontmatter.globs !== "string" || !frontmatter.globs.includes("*")) {
|
|
4341
|
-
return stringifyFrontmatter(body, frontmatter);
|
|
4342
|
-
}
|
|
4343
4340
|
const lines = ["---"];
|
|
4344
4341
|
if (frontmatter.alwaysApply !== void 0) {
|
|
4345
4342
|
lines.push(`alwaysApply: ${frontmatter.alwaysApply}`);
|
|
@@ -6210,7 +6207,7 @@ var getVersion = async () => {
|
|
|
6210
6207
|
const packageJson = await readJsonFile(packageJsonPath);
|
|
6211
6208
|
return packageJson.version;
|
|
6212
6209
|
} catch {
|
|
6213
|
-
return "1.0.
|
|
6210
|
+
return "1.0.1";
|
|
6214
6211
|
}
|
|
6215
6212
|
};
|
|
6216
6213
|
var main = async () => {
|