@adamhl8/configs 2.4.0 → 2.5.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.
@@ -4,7 +4,7 @@ set default-list
4
4
  set allow-duplicate-recipes
5
5
 
6
6
  # runs cmd if the condition command succeeds, echoing cmd only when it runs
7
- run-when(cmd, condition) := f"if {{condition}}; then echo {{style("command", cmd)}}; {{cmd}}; fi"
7
+ run-when(cmd, condition) := f"if {{ condition }}; then echo {{ style("command", cmd) }}; {{ cmd }}; fi"
8
8
 
9
9
  # run if not in CI, the repo has a root module, and the aws profile exists on this machine
10
10
  tofu-run-condition := '[ -z "${CI:-}" ] && ls *.tofu >/dev/null 2>&1 && aws configure list-profiles 2>/dev/null | grep -qx adamhl8'
@@ -25,7 +25,7 @@ _bump-deps:
25
25
  bunx npm-check-updates --upgrade --format group
26
26
  rm -f bun.lock
27
27
  rm -rf node_modules/
28
- bun install --no-summary
28
+ bun install --no-summary --no-cache
29
29
 
30
30
  tofu-check: _tofu-check
31
31
  _tofu-check:
@@ -4,7 +4,6 @@ import { KnipConfig } from "knip";
4
4
  export declare const knipConfig: OptionalMergeConfigFn<KnipConfig, {
5
5
  readonly project: ["**/*"];
6
6
  readonly ignoreBinaries: ["just"];
7
- readonly ignoreDependencies: ["@adamhl8/eslint-plugin-clean-modules"];
8
7
  readonly bun: {
9
8
  readonly entry: ["**/*.test.ts"];
10
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"knip.base.d.ts","names":[],"sources":["../../src/configs/knip.base.ts"],"mappings":";;;qBAsBa,YAAU,sBAAA;;;;;aAJnB"}
1
+ {"version":3,"file":"knip.base.d.ts","names":[],"sources":["../../src/configs/knip.base.ts"],"mappings":";;;qBAea,YAAU,sBAAA;;;;aAJnB"}
@@ -2,7 +2,6 @@ import { createMergeConfigFn } from "../merge-config/merge-config.js";
2
2
  const knipConfig = createMergeConfigFn({
3
3
  project: ["**/*"],
4
4
  ignoreBinaries: ["just"],
5
- ignoreDependencies: ["@adamhl8/eslint-plugin-clean-modules"],
6
5
  bun: { entry: ["**/*.test.ts"] }
7
6
  });
8
7
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"knip.base.js","names":[],"sources":["../../src/configs/knip.base.ts"],"sourcesContent":["import type { KnipConfig } from \"knip\"\n\nimport { createMergeConfigFn } from \"#merge-config/merge-config.ts\"\n\n/** Knip sees `just` in the `prepare` script and the release-it hooks, but it isn't a package.json dependency */\nconst IGNORE_BINARIES = [\"just\"] as const satisfies string[]\n\n/**\n * - Knip resolves `@adamhl8/eslint-plugin-clean-modules` via the oxlint config, but we don't need to install it directly\n * in the consuming project, so it shows as unlisted\n */\nconst IGNORE_DEPENDENCIES = [\"@adamhl8/eslint-plugin-clean-modules\"] as const satisfies string[]\n\nconst baseConfig = {\n project: [\"**/*\"],\n ignoreBinaries: IGNORE_BINARIES,\n ignoreDependencies: IGNORE_DEPENDENCIES,\n bun: {\n entry: [\"**/*.test.ts\"],\n },\n} as const satisfies KnipConfig\n\nexport const knipConfig = createMergeConfigFn<KnipConfig, typeof baseConfig>(baseConfig)\n"],"mappings":";AAsBA,MAAa,aAAa,oBAAmD;CAR3E,SAAS,CAAC,MAAM;CAChB,gBAAgB,CAVO,MAUO;CAC9B,oBAAoB,CALO,sCAKW;CACtC,KAAK,EACH,OAAO,CAAC,cAAc,EACxB;AAG2E,CAAU"}
1
+ {"version":3,"file":"knip.base.js","names":[],"sources":["../../src/configs/knip.base.ts"],"sourcesContent":["import type { KnipConfig } from \"knip\"\n\nimport { createMergeConfigFn } from \"#merge-config/merge-config.ts\"\n\n/** Knip sees `just` in the `prepare` script and the release-it hooks, but it isn't a package.json dependency */\nconst IGNORE_BINARIES = [\"just\"] as const satisfies string[]\n\nconst baseConfig = {\n project: [\"**/*\"],\n ignoreBinaries: IGNORE_BINARIES,\n bun: {\n entry: [\"**/*.test.ts\"],\n },\n} as const satisfies KnipConfig\n\nexport const knipConfig = createMergeConfigFn<KnipConfig, typeof baseConfig>(baseConfig)\n"],"mappings":";AAeA,MAAa,aAAa,oBAAmD;CAP3E,SAAS,CAAC,MAAM;CAChB,gBAAgB,CAJO,MAIO;CAC9B,KAAK,EACH,OAAO,CAAC,cAAc,EACxB;AAG2E,CAAU"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adamhl8/configs",
3
- "version": "2.4.0",
3
+ "version": "2.5.0",
4
4
  "description": "My shared configs for TS projects",
5
5
  "homepage": "https://github.com/adamhl8/configs",
6
6
  "bugs": {
@@ -61,7 +61,7 @@
61
61
  "@arethetypeswrong/core": "^0.18.5",
62
62
  "@commitlint/cli": "^21.2.3",
63
63
  "@types/bun": "^1.4.2",
64
- "knip": "^6.37.0",
64
+ "knip": "^6.38.0",
65
65
  "markdown-toc": "^1.2.0",
66
66
  "oxfmt": "^0.70.0",
67
67
  "oxlint": "^1.85.0",