@kitschpatrol/repo-config 5.0.8 → 5.2.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/bin/cli.js CHANGED
@@ -6569,6 +6569,7 @@ var source_default = chalk;
6569
6569
 
6570
6570
  // ../../src/command-builder.ts
6571
6571
  import { cosmiconfig } from "cosmiconfig";
6572
+ import { TypeScriptLoader as typeScriptLoader } from "cosmiconfig-typescript-loader";
6572
6573
  import { execa } from "execa";
6573
6574
  import fse2 from "fs-extra";
6574
6575
  import fs3 from "node:fs";
@@ -11493,7 +11494,7 @@ var Yargs = YargsFactory(esm_default);
11493
11494
  var yargs_default = Yargs;
11494
11495
 
11495
11496
  // ../../package.json
11496
- var version = "5.0.8";
11497
+ var version = "5.2.0";
11497
11498
 
11498
11499
  // ../../src/execa-utilities.ts
11499
11500
  function isErrorExecaError(error) {
@@ -12652,15 +12653,12 @@ function updateLicenseContent(content, currentYear) {
12652
12653
  async function copyrightYear(logStream, fix = false) {
12653
12654
  const currentYear = (/* @__PURE__ */ new Date()).getFullYear();
12654
12655
  const licenseFiles = [];
12655
- const patterns = [
12656
- "**/license.txt",
12657
- "**/LICENSE.txt",
12658
- "**/License.txt",
12659
- "**/LICENSE",
12660
- "!node_modules/**"
12661
- ];
12656
+ const patterns = ["**/license.txt", "**/license", "!node_modules/**"];
12662
12657
  const files = await globby(patterns, {
12658
+ caseSensitiveMatch: false,
12663
12659
  cwd: getPackageDirectory(),
12660
+ followSymbolicLinks: false,
12661
+ // Avoid infinite loops
12664
12662
  gitignore: true
12665
12663
  });
12666
12664
  for (const filePath of files) {
@@ -3,7 +3,7 @@
3
3
  "explorer.fileNesting.expand": false,
4
4
  "explorer.fileNesting.patterns": {
5
5
  ".env": ".env.*",
6
- "package.json": ".*.cjs, .*.js, .*.json, .*.mjs, .*.toml, .*.ts, .*.yaml, .*.yml, .*ignore, .*rc, *config.cjs, *config.js, *config.json, *config.mjs, *config.toml, *config.ts, *config.yaml, *config.yml, lerna.json, netlify.toml, package-lock.json, , pnpm*, turbo.json, vercel.json, workspace*, wrangler.toml, yarn.lock, yarn*",
6
+ "package.json": ".*ignore, .*rc, .*.js, .*.mjs, .*.cjs, .*.ts, .*.mts, .*.cts, .*.json, .*.jsonc, .*.json5, .*.yml, .*.yaml, *config.js, *config.mjs, *config.cjs, *config.ts, *config.mts, *config.cts, *config.json, *config.jsonc, *config.json5, *config.yml, *config.yaml, pnpm*, workspace*, yarn*, lerna.json, netlify.toml, package-lock.json, turbo.json, vercel.json, wrangler.toml, yarn.lock",
7
7
  "readme.md": "authors*, backers*, changelog*, citation*, code_of_conduct*, contributing*, contributors*, copying*, credits*, governance*, history*, license*, maintainers*, release_notes*, security*, sponsors*"
8
8
  }
9
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitschpatrol/repo-config",
3
- "version": "5.0.8",
3
+ "version": "5.2.0",
4
4
  "description": "Repository configuration and GitHub workflows for @kitschpatrol/shared-config.",
5
5
  "keywords": [
6
6
  "shared-config",
@@ -33,10 +33,11 @@
33
33
  "dependencies": {
34
34
  "@pinojs/json-colorizer": "^4.0.0",
35
35
  "cosmiconfig": "^9.0.0",
36
+ "cosmiconfig-typescript-loader": "^6.1.0",
36
37
  "execa": "^9.5.2",
37
38
  "find-workspaces": "^0.3.1",
38
39
  "fs-extra": "^11.3.0",
39
- "prettier": "^3.5.2"
40
+ "prettier": "^3.5.3"
40
41
  },
41
42
  "devDependencies": {
42
43
  "globby": "^14.1.0"