ts-repo-utils 8.0.1 → 8.0.3

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.
@@ -14,7 +14,7 @@ import '@sindresorhus/is';
14
14
 
15
15
  const cmdDef = cmd.command({
16
16
  name: 'assert-repo-is-clean-cli',
17
- version: '8.0.1',
17
+ version: '8.0.3',
18
18
  args: {
19
19
  silent: cmd.flag({
20
20
  long: 'silent',
@@ -14,7 +14,7 @@ import '@sindresorhus/is';
14
14
 
15
15
  const cmdDef = cmd.command({
16
16
  name: 'check-should-run-type-checks-cli',
17
- version: '8.0.1',
17
+ version: '8.0.3',
18
18
  args: {
19
19
  pathsIgnore: cmd.multioption({
20
20
  long: 'paths-ignore',
@@ -13,7 +13,7 @@ import '@sindresorhus/is';
13
13
 
14
14
  const cmdDef = cmd.command({
15
15
  name: 'format-diff-from-cli',
16
- version: '8.0.1',
16
+ version: '8.0.3',
17
17
  args: {
18
18
  base: cmd.positional({
19
19
  type: cmd.string,
@@ -13,7 +13,7 @@ import '@sindresorhus/is';
13
13
 
14
14
  const cmdDef = cmd.command({
15
15
  name: 'format-uncommitted-cli',
16
- version: '8.0.1',
16
+ version: '8.0.3',
17
17
  args: {
18
18
  excludeUntracked: cmd.flag({
19
19
  long: 'exclude-untracked',
@@ -32,7 +32,7 @@ const nonEmptyArray = (t, commandName) => cmd.extendType(cmd.array(t), {
32
32
  });
33
33
  const cmdDef = cmd.command({
34
34
  name: 'gen-index-ts-cli',
35
- version: '8.0.1',
35
+ version: '8.0.3',
36
36
  args: {
37
37
  // required args
38
38
  targetDirectory: cmd.positional({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-repo-utils",
3
- "version": "8.0.1",
3
+ "version": "8.0.3",
4
4
  "private": false,
5
5
  "keywords": [
6
6
  "typescript"
@@ -78,16 +78,16 @@
78
78
  "z:format-uncommitted": "tsx ./src/cmd/format-uncommitted.mts",
79
79
  "z:gen-index-ts": "tsx ./src/cmd/gen-index-ts.mts",
80
80
  "z:vitest": "vitest --config ./configs/vitest.config.mts",
81
- "z:vitest:node": "vitest --config ./configs/vitest.config.mts --project='Node.js'"
81
+ "z:vitest:node": "pnpm run z:vitest --project='Node.js'"
82
82
  },
83
83
  "dependencies": {
84
84
  "@nodelib/fs.walk": "^3.0.1",
85
- "@sindresorhus/is": "^7.1.1",
85
+ "@sindresorhus/is": "^7.2.0",
86
86
  "@types/micromatch": "^4.0.10",
87
87
  "cmd-ts": "^0.14.3",
88
88
  "fast-glob": "^3.3.3",
89
89
  "micromatch": "^4.0.8",
90
- "ts-data-forge": "^6.1.1",
90
+ "ts-data-forge": "^6.2.1",
91
91
  "tsx": "^4.21.0"
92
92
  },
93
93
  "devDependencies": {
@@ -101,38 +101,38 @@
101
101
  "@semantic-release/github": "12.0.2",
102
102
  "@semantic-release/npm": "13.1.3",
103
103
  "@semantic-release/release-notes-generator": "14.1.0",
104
- "@types/node": "25.0.3",
105
- "@vitest/coverage-v8": "4.0.16",
106
- "@vitest/ui": "4.0.16",
104
+ "@types/node": "25.0.9",
105
+ "@vitest/coverage-v8": "4.0.17",
106
+ "@vitest/ui": "4.0.17",
107
107
  "conventional-changelog-conventionalcommits": "9.1.0",
108
- "cspell": "9.4.0",
108
+ "cspell": "9.6.0",
109
109
  "dedent": "1.7.1",
110
110
  "eslint": "9.39.2",
111
- "eslint-config-typed": "4.3.0",
112
- "github-settings-as-code": "1.0.6",
111
+ "eslint-config-typed": "4.5.0",
112
+ "github-settings-as-code": "1.0.11",
113
113
  "jiti": "2.6.1",
114
114
  "markdownlint": "0.40.0",
115
115
  "markdownlint-cli2": "0.20.0",
116
116
  "npm-run-all2": "8.0.4",
117
- "prettier": "3.7.4",
117
+ "prettier": "3.8.0",
118
118
  "prettier-plugin-organize-imports": "4.3.0",
119
- "prettier-plugin-packagejson": "2.5.20",
120
- "rollup": "4.54.0",
119
+ "prettier-plugin-packagejson": "2.5.21",
120
+ "rollup": "4.55.1",
121
121
  "semantic-release": "25.0.2",
122
122
  "ts-type-forge": "2.3.0",
123
123
  "tslib": "2.8.1",
124
- "typedoc": "0.28.15",
124
+ "typedoc": "0.28.16",
125
125
  "typedoc-github-theme": "0.3.1",
126
126
  "typescript": "5.9.3",
127
- "vite": "7.3.0",
128
- "vitest": "4.0.16"
127
+ "vite": "7.3.1",
128
+ "vitest": "4.0.17"
129
129
  },
130
130
  "peerDependencies": {
131
131
  "prettier": ">=3.0.0"
132
132
  },
133
133
  "packageManager": "pnpm@10.24.0",
134
134
  "engines": {
135
- "node": ">=22",
135
+ "node": ">=18",
136
136
  "pnpm": ">=8.0.0"
137
137
  },
138
138
  "volta": {
@@ -5,7 +5,7 @@ import { assertRepoIsClean } from '../functions/index.mjs';
5
5
 
6
6
  const cmdDef = cmd.command({
7
7
  name: 'assert-repo-is-clean-cli',
8
- version: '8.0.1',
8
+ version: '8.0.3',
9
9
  args: {
10
10
  silent: cmd.flag({
11
11
  long: 'silent',
@@ -5,7 +5,7 @@ import { checkShouldRunTypeChecks } from '../functions/index.mjs';
5
5
 
6
6
  const cmdDef = cmd.command({
7
7
  name: 'check-should-run-type-checks-cli',
8
- version: '8.0.1',
8
+ version: '8.0.3',
9
9
  args: {
10
10
  pathsIgnore: cmd.multioption({
11
11
  long: 'paths-ignore',
@@ -6,7 +6,7 @@ import { formatDiffFrom } from '../functions/index.mjs';
6
6
 
7
7
  const cmdDef = cmd.command({
8
8
  name: 'format-diff-from-cli',
9
- version: '8.0.1',
9
+ version: '8.0.3',
10
10
  args: {
11
11
  base: cmd.positional({
12
12
  type: cmd.string,
@@ -6,7 +6,7 @@ import { formatUncommittedFiles } from '../functions/index.mjs';
6
6
 
7
7
  const cmdDef = cmd.command({
8
8
  name: 'format-uncommitted-cli',
9
- version: '8.0.1',
9
+ version: '8.0.3',
10
10
  args: {
11
11
  excludeUntracked: cmd.flag({
12
12
  long: 'exclude-untracked',
@@ -39,7 +39,7 @@ const nonEmptyArray = <T extends cmd.Type<any, any>>(
39
39
 
40
40
  const cmdDef = cmd.command({
41
41
  name: 'gen-index-ts-cli',
42
- version: '8.0.1',
42
+ version: '8.0.3',
43
43
  args: {
44
44
  // required args
45
45
  targetDirectory: cmd.positional({
@@ -512,7 +512,7 @@ describe('exec-async', () => {
512
512
  const stderrWriteSpy = vi
513
513
  // eslint-disable-next-line vitest/no-restricted-vi-methods
514
514
  .spyOn(process.stderr, 'write')
515
- .mockImplementation(() => true);
515
+ .mockReturnValue(true);
516
516
 
517
517
  try {
518
518
  await withSilentEcho(async () => {
@@ -36,7 +36,7 @@ describe(runCmdInStagesAcrossWorkspaces, () => {
36
36
  const processExitSpy = vi
37
37
  .spyOn(process, 'exit')
38
38
  // eslint-disable-next-line total-functions/no-unsafe-type-assertion
39
- .mockImplementation((): never => undefined as never);
39
+ .mockReturnValue(undefined as never);
40
40
 
41
41
  return { consoleLogSpy, consoleErrorSpy, processExitSpy };
42
42
  };