@savvy-web/changesets 0.2.0 → 0.2.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/esm/273.js CHANGED
@@ -1,4 +1,4 @@
1
- import { existsSync, globSync, mkdirSync, readFileSync, readdirSync, writeFileSync } from "node:fs";
1
+ import { existsSync, mkdirSync, readFileSync, readdirSync, writeFileSync } from "node:fs";
2
2
  import { join, relative, resolve } from "node:path";
3
3
  import { unified, remark_gfm, remark_stringify, remark_parse } from "./795.js";
4
4
  import { MergeSectionsPlugin, DeduplicateItemsPlugin, IssueLinkRefsPlugin, ContentStructureRule, HeadingHierarchyRule, NormalizeFormatPlugin, ReorderSectionsPlugin, ContributorFootnotesPlugin, RequiredSectionsRule } from "./234.js";
@@ -38,4 +38,4 @@ class ChangelogTransformer {
38
38
  writeFileSync(filePath, result, "utf-8");
39
39
  }
40
40
  }
41
- export { ChangelogTransformer, ChangesetLinter, existsSync, globSync, join, mkdirSync, readFileSync, relative, resolve, writeFileSync };
41
+ export { ChangelogTransformer, ChangesetLinter, existsSync, join, mkdirSync, readFileSync, relative, resolve, writeFileSync };
@@ -4,7 +4,8 @@ import { NodeContext, NodeRuntime } from "@effect/platform-node";
4
4
  import { execSync } from "node:child_process";
5
5
  import { findProjectRoot, getWorkspaceInfos } from "workspace-tools";
6
6
  import { parse } from "jsonc-parser";
7
- import { globSync, readFileSync, ChangelogTransformer, ChangesetLinter, resolve, existsSync, relative, mkdirSync, writeFileSync, join } from "../273.js";
7
+ import { globSync } from "tinyglobby";
8
+ import { readFileSync, ChangelogTransformer, ChangesetLinter, resolve, existsSync, relative, mkdirSync, writeFileSync, join } from "../273.js";
8
9
  import { VersionFilesSchema, Schema, VersionFileError, Data, Effect } from "../795.js";
9
10
  const dirArg = Args.directory({
10
11
  name: "dir"
@@ -559,7 +560,9 @@ class VersionFiles {
559
560
  for (const config of configs){
560
561
  const matches = globSync(config.glob, {
561
562
  cwd: resolvedCwd,
562
- exclude: (f)=>f.includes("node_modules")
563
+ ignore: [
564
+ "**/node_modules/**"
565
+ ]
563
566
  });
564
567
  for (const match of matches)results.push([
565
568
  join(resolvedCwd, match),
@@ -755,7 +758,7 @@ const rootCommand = Command.make("savvy-changesets").pipe(Command.withSubcommand
755
758
  ]));
756
759
  const cli = Command.run(rootCommand, {
757
760
  name: "savvy-changesets",
758
- version: "0.2.0"
761
+ version: "0.2.1"
759
762
  });
760
763
  function runCli() {
761
764
  const main = Effect.suspend(()=>cli(process.argv)).pipe(Effect.provide(NodeContext.layer));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@savvy-web/changesets",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "private": false,
5
5
  "description": "Custom changelog formatter and markdown processing pipeline for the Silk Suite. Provides structured changeset sections, remark-based validation and transformation, and an Effect CLI.",
6
6
  "keywords": [
@@ -64,6 +64,7 @@
64
64
  "remark-gfm": "^4.0.1",
65
65
  "remark-parse": "^11.0.0",
66
66
  "remark-stringify": "^11.0.0",
67
+ "tinyglobby": "^0.2.15",
67
68
  "unified": "^11.0.5",
68
69
  "unified-lint-rule": "^3.0.1",
69
70
  "unist-util-visit": "^5.1.0",