From 16ca6115f2327605486ada1b0a2a675458581b15 Mon Sep 17 00:00:00 2001 From: Andrey Rychkov Date: Fri, 4 Dec 2026 12:32:45 -0500 Subject: [PATCH] Release 0.5.0 --- .changeset/node-22-support.md | 5 ----- .changeset/picomatch-globs.md | 11 ----------- CHANGELOG.md | 14 ++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 5 files changed, 17 insertions(+), 19 deletions(-) delete mode 100644 .changeset/node-22-support.md delete mode 100644 .changeset/picomatch-globs.md diff --git a/.changeset/node-22-support.md b/.changeset/node-22-support.md deleted file mode 100644 index fa961a5..0000000 --- a/.changeset/node-22-support.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'code-inventory': minor ---- - -Support Node.js 22.12 and newer, down from Node.js 26. diff --git a/.changeset/picomatch-globs.md b/.changeset/picomatch-globs.md deleted file mode 100644 index 37bf1f9..0000000 --- a/.changeset/picomatch-globs.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'code-inventory': minor ---- - -Match glob options and npm workspace patterns with [picomatch](https://github.com/micromatch/picomatch), a new dependency, instead of Node's `path.matchesGlob`, so neither the CLI nor the library prints an experimental-feature warning on Node.js versions before 22.20 and 24.8. Most patterns select the same files as before. The differences: - -- `--workspace-entries` and `workspaceEntries()` select member folders as npm does. An exclusion such as `!packages/b` applies wherever it is listed, unless a later pattern that it matches lists the folder again; `!packages/b/**` also excludes `packages/b`; exclusions also apply to dot folders; and `packages/**` also selects `packages` when it has a manifest. -- Glob options (`--exclude`, `--test`, `--tooling`, `--production`, `--entry-glob` and the matching library options) are case-sensitive on every platform. On macOS and Windows, path segments with wildcards or character classes used to ignore case. -- `--exclude`, `--test`, `--tooling` and `--production` accept a leading `./`, as `--entry-glob` already did. -- A pattern also matches a path spelled exactly like it, so `app/[id]/route.ts` selects that file as well as `app/i/route.ts`, and a pattern ending in `/**` also matches the path before it. -- A `!(…)` extglob also rejects names that begin with one of its alternatives, so `src/!(a).ts` no longer matches `src/ab.ts`, and it can match dot files. diff --git a/CHANGELOG.md b/CHANGELOG.md index 69e3c95..0eb0cbc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # code-inventory +## 0.5.0 + +### Minor Changes + +- [#24](https://github.com/Huldoser/code-inventory/pull/24) [`878940f`](https://github.com/Huldoser/code-inventory/commit/878940f5023962e37d15aaa5f4e3a16b85b39d78) - Support Node.js 22.12 and newer, down from Node.js 26. + +- [#24](https://github.com/Huldoser/code-inventory/pull/24) [`878940f`](https://github.com/Huldoser/code-inventory/commit/878940f5023962e37d15aaa5f4e3a16b85b39d78) - Match glob options and npm workspace patterns with [picomatch](https://github.com/micromatch/picomatch), a new dependency, instead of Node's `path.matchesGlob`, so neither the CLI nor the library prints an experimental-feature warning on Node.js versions before 22.20 and 24.8. Most patterns select the same files as before. The differences: + + - `--workspace-entries` and `workspaceEntries()` select member folders as npm does. An exclusion such as `!packages/b` applies wherever it is listed, unless a later pattern that it matches lists the folder again; `!packages/b/**` also excludes `packages/b`; exclusions also apply to dot folders; and `packages/**` also selects `packages` when it has a manifest. + - Glob options (`--exclude`, `--test`, `--tooling`, `--production`, `--entry-glob` and the matching library options) are case-sensitive on every platform. On macOS and Windows, path segments with wildcards or character classes used to ignore case. + - `--exclude`, `--test`, `--tooling` and `--production` accept a leading `./`, as `--entry-glob` already did. + - A pattern also matches a path spelled exactly like it, so `app/[id]/route.ts` selects that file as well as `app/i/route.ts`, and a pattern ending in `/**` also matches the path before it. + - A `!(…)` extglob also rejects names that begin with one of its alternatives, so `src/!(a).ts` no longer matches `src/ab.ts`, and it can match dot files. + ## 0.4.0 ### Minor Changes diff --git a/package-lock.json b/package-lock.json index de13809..587d4dc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "code-inventory", - "version": "0.4.0", + "version": "0.5.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "code-inventory", - "version": "0.4.0", + "version": "0.5.0", "license": "MIT", "dependencies": { "picomatch": "4.0.7", diff --git a/package.json b/package.json index cc04860..d9f0191 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "code-inventory", - "version": "0.4.0", + "version": "0.5.0", "license": "MIT", "type": "module", "description": "Static code inventory for JavaScript and TypeScript. Find symbol usages and trace paths from entry points.",