@adamhl8/configs 0.21.2 → 0.22.2

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.
@@ -5,7 +5,8 @@ import { KnipConfig } from "knip";
5
5
  declare const baseConfig: {
6
6
  readonly project: ["**"];
7
7
  readonly entry: ["./src/index.ts", "**/*.test.ts", "./tsdown.config.ts"];
8
- readonly ignoreBinaries: ["lefthook"];
8
+ readonly ignoreBinaries: ["lefthook", "git-cliff"];
9
+ readonly ignoreDependencies: ["@commitlint/cli"];
9
10
  readonly tsdown: false;
10
11
  };
11
12
  declare const knipConfig: OptionalMergeConfigFn<KnipConfig, typeof baseConfig>;
@@ -1 +1 @@
1
- {"version":3,"file":"knip.base.d.ts","names":[],"sources":["../../src/configs/knip.base.ts"],"mappings":";;;;cAWM,UAAA;EAAA;;;;;cAOO,UAAA,EAAY,qBAAA,CAAsB,UAAA,SAAmB,UAAA"}
1
+ {"version":3,"file":"knip.base.d.ts","names":[],"sources":["../../src/configs/knip.base.ts"],"mappings":";;;;cAWM,UAAA;EAAA;;;;;;cAQO,UAAA,EAAY,qBAAA,CAAsB,UAAA,SAAmB,UAAA"}
@@ -1,15 +1,18 @@
1
1
  import { createMergeConfigFn } from "../utils.js";
2
+ //#region src/configs/knip.base.ts
3
+ const DEFAULT_ENTRIES = [
4
+ "./src/index.ts",
5
+ "**/*.test.ts",
6
+ "./tsdown.config.ts"
7
+ ];
2
8
  const knipConfig = createMergeConfigFn({
3
9
  project: ["**"],
4
- entry: [
5
- "./src/index.ts",
6
- "**/*.test.ts",
7
- "./tsdown.config.ts"
8
- ],
9
- ignoreBinaries: ["lefthook"],
10
+ entry: DEFAULT_ENTRIES,
11
+ ignoreBinaries: ["lefthook", "git-cliff"],
12
+ ignoreDependencies: ["@commitlint/cli"],
10
13
  tsdown: false
11
14
  });
12
15
  //#endregion
13
- export { knipConfig };
16
+ export { DEFAULT_ENTRIES, knipConfig };
14
17
 
15
18
  //# sourceMappingURL=knip.base.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"knip.base.js","names":[],"sources":["../../src/configs/knip.base.ts"],"sourcesContent":["import type { KnipConfig } from \"knip\"\n\nimport type { OptionalMergeConfigFn } from \"#/utils.ts\"\nimport { createMergeConfigFn } from \"#/utils.ts\"\n\n// Normally, specifying the `./src/index.ts` entry would cause knip to complain about a redundant entry because it gets automatically included via the tsdown plugin.\n// However, in projects that _don't_ use tsdown, the `./src/index.ts` entry would be missing entirely.\n// To handle this, we specify it and disable the tsdown plugin. This makes knip work in both cases.\n\nexport const DEFAULT_ENTRIES = [\"./src/index.ts\", \"**/*.test.ts\", \"./tsdown.config.ts\"] as const satisfies string[]\n\nconst baseConfig = {\n project: [\"**\"],\n entry: DEFAULT_ENTRIES,\n ignoreBinaries: [\"lefthook\"],\n tsdown: false,\n} as const satisfies KnipConfig\n\nexport const knipConfig: OptionalMergeConfigFn<KnipConfig, typeof baseConfig> = createMergeConfigFn(baseConfig)\n"],"mappings":";AAkBA,MAAa,aAAmE,oBAAoB;CANlG,SAAS,CAAC,IAAI;CACd,OAAO;EAJuB;EAAkB;EAAgB;CAIzD;CACP,gBAAgB,CAAC,UAAU;CAC3B,QAAQ;AAG0F,CAAU"}
1
+ {"version":3,"file":"knip.base.js","names":[],"sources":["../../src/configs/knip.base.ts"],"sourcesContent":["import type { KnipConfig } from \"knip\"\n\nimport type { OptionalMergeConfigFn } from \"#/utils.ts\"\nimport { createMergeConfigFn } from \"#/utils.ts\"\n\n// Normally, specifying the `./src/index.ts` entry would cause knip to complain about a redundant entry because it gets automatically included via the tsdown plugin.\n// However, in projects that _don't_ use tsdown, the `./src/index.ts` entry would be missing entirely.\n// To handle this, we specify it and disable the tsdown plugin. This makes knip work in both cases.\n\nexport const DEFAULT_ENTRIES = [\"./src/index.ts\", \"**/*.test.ts\", \"./tsdown.config.ts\"] as const satisfies string[]\n\nconst baseConfig = {\n project: [\"**\"],\n entry: DEFAULT_ENTRIES,\n ignoreBinaries: [\"lefthook\", \"git-cliff\"],\n ignoreDependencies: [\"@commitlint/cli\"],\n tsdown: false,\n} as const satisfies KnipConfig\n\nexport const knipConfig: OptionalMergeConfigFn<KnipConfig, typeof baseConfig> = createMergeConfigFn(baseConfig)\n"],"mappings":";;AASA,MAAa,kBAAkB;CAAC;CAAkB;CAAgB;AAAoB;AAUtF,MAAa,aAAmE,oBAAoB;CAPlG,SAAS,CAAC,IAAI;CACd,OAAO;CACP,gBAAgB,CAAC,YAAY,WAAW;CACxC,oBAAoB,CAAC,iBAAiB;CACtC,QAAQ;AAG0F,CAAU"}
@@ -18,7 +18,7 @@ declare const baseConfig: {
18
18
  readonly typeCheck: true;
19
19
  };
20
20
  readonly overrides: [{
21
- readonly files: ["knip.ts", "oxfmt.config.ts", "oxlint.config.ts", "tsdown.config.ts", "vitest.config.ts"];
21
+ readonly files: ["knip.ts", "oxfmt.config.ts", "oxlint.config.ts", ".release-it.ts", "tsdown.config.ts", "vitest.config.ts"];
22
22
  readonly rules: {
23
23
  readonly "import/no-default-export": "off";
24
24
  };
@@ -1 +1 @@
1
- {"version":3,"file":"oxlint.base.d.ts","names":[],"sources":["../../src/configs/oxlint.base.ts"],"mappings":";;;;cAKM,UAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0FO,YAAA,EAAc,qBAAA,CAAsB,YAAA,SAAqB,UAAA"}
1
+ {"version":3,"file":"oxlint.base.d.ts","names":[],"sources":["../../src/configs/oxlint.base.ts"],"mappings":";;;;cAKM,UAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiGO,YAAA,EAAc,qBAAA,CAAsB,YAAA,SAAqB,UAAA"}
@@ -19,6 +19,7 @@ const oxlintConfig = createMergeConfigFn({
19
19
  "knip.ts",
20
20
  "oxfmt.config.ts",
21
21
  "oxlint.config.ts",
22
+ ".release-it.ts",
22
23
  "tsdown.config.ts",
23
24
  "vitest.config.ts"
24
25
  ],
@@ -1 +1 @@
1
- {"version":3,"file":"oxlint.base.js","names":[],"sources":["../../src/configs/oxlint.base.ts"],"sourcesContent":["import type { OxlintConfig } from \"oxlint\"\n\nimport { createMergeConfigFn } from \"#/utils.ts\"\nimport type { OptionalMergeConfigFn } from \"#/utils.ts\"\n\nconst baseConfig = {\n categories: {\n correctness: \"error\",\n nursery: \"error\",\n pedantic: \"error\",\n perf: \"error\",\n restriction: \"error\",\n style: \"error\",\n suspicious: \"error\",\n },\n options: {\n reportUnusedDisableDirectives: \"error\",\n typeAware: true,\n typeCheck: true,\n },\n overrides: [\n {\n files: [\"knip.ts\", \"oxfmt.config.ts\", \"oxlint.config.ts\", \"tsdown.config.ts\", \"vitest.config.ts\"],\n rules: {\n \"import/no-default-export\": \"off\",\n },\n },\n ],\n plugins: [\n \"eslint\",\n \"react\",\n \"unicorn\",\n \"typescript\",\n \"oxc\",\n \"import\",\n \"jsdoc\",\n \"vitest\",\n \"jsx-a11y\",\n \"react-perf\",\n \"promise\",\n \"node\",\n ],\n rules: {\n curly: [\"error\", \"multi-or-nest\"],\n \"func-style\": [\"error\", \"expression\"],\n \"node/no-sync\": [\"error\", { ignores: [\"existsSync\", \"spawnSync\"] }],\n \"require-unicode-regexp\": [\"error\", { requireFlag: \"v\" }],\n\n \"capitalized-comments\": \"off\",\n \"id-length\": \"off\",\n \"import/exports-last\": \"off\",\n \"import/group-exports\": \"off\",\n \"import/no-named-export\": \"off\",\n \"import/no-nodejs-modules\": \"off\",\n \"import/prefer-default-export\": \"off\",\n \"init-declarations\": \"off\",\n \"jsdoc/require-param\": \"off\",\n \"jsdoc/require-returns\": \"off\",\n \"max-classes-per-file\": \"off\",\n \"max-lines\": \"off\",\n \"max-lines-per-function\": \"off\",\n \"max-statements\": \"off\",\n \"no-console\": \"off\",\n \"no-continue\": \"off\",\n \"no-duplicate-imports\": \"off\",\n \"no-inline-comments\": \"off\",\n \"no-magic-numbers\": \"off\",\n \"no-plusplus\": \"off\",\n \"no-ternary\": \"off\",\n \"no-undef\": \"off\",\n \"no-undefined\": \"off\",\n \"no-useless-return\": \"off\",\n \"node/callback-return\": \"off\",\n \"oxc/no-optional-chaining\": \"off\",\n \"oxc/no-rest-spread-properties\": \"off\",\n \"sort-imports\": \"off\",\n \"sort-keys\": \"off\",\n \"typescript/consistent-return\": \"off\",\n \"typescript/explicit-function-return-type\": \"off\",\n \"typescript/explicit-module-boundary-types\": \"off\",\n \"typescript/prefer-readonly-parameter-types\": \"off\",\n \"typescript/strict-boolean-expressions\": \"off\",\n \"unicorn/no-array-callback-reference\": \"off\",\n \"unicorn/no-array-method-this-argument\": \"off\",\n \"unicorn/switch-case-braces\": \"off\",\n \"vitest/no-importing-vitest-globals\": \"off\",\n \"vitest/prefer-expect-assertions\": \"off\",\n \"vitest/prefer-lowercase-title\": \"off\",\n \"vitest/prefer-to-be-falsy\": \"off\",\n \"vitest/prefer-to-be-truthy\": \"off\",\n \"vitest/require-hook\": \"off\", // reenable when false positives are fixed?\n \"vitest/require-test-timeout\": \"off\",\n },\n} as const satisfies OxlintConfig\n\nexport const oxlintConfig: OptionalMergeConfigFn<OxlintConfig, typeof baseConfig> = createMergeConfigFn(baseConfig)\n"],"mappings":";AA+FA,MAAa,eAAuE,oBAAoB;CAzFtG,YAAY;EACV,aAAa;EACb,SAAS;EACT,UAAU;EACV,MAAM;EACN,aAAa;EACb,OAAO;EACP,YAAY;CACd;CACA,SAAS;EACP,+BAA+B;EAC/B,WAAW;EACX,WAAW;CACb;CACA,WAAW,CACT;EACE,OAAO;GAAC;GAAW;GAAmB;GAAoB;GAAoB;EAAkB;EAChG,OAAO,EACL,4BAA4B,MAC9B;CACF,CACF;CACA,SAAS;EACP;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,OAAO;EACL,OAAO,CAAC,SAAS,eAAe;EAChC,cAAc,CAAC,SAAS,YAAY;EACpC,gBAAgB,CAAC,SAAS,EAAE,SAAS,CAAC,cAAc,WAAW,EAAE,CAAC;EAClE,0BAA0B,CAAC,SAAS,EAAE,aAAa,IAAI,CAAC;EAExD,wBAAwB;EACxB,aAAa;EACb,uBAAuB;EACvB,wBAAwB;EACxB,0BAA0B;EAC1B,4BAA4B;EAC5B,gCAAgC;EAChC,qBAAqB;EACrB,uBAAuB;EACvB,yBAAyB;EACzB,wBAAwB;EACxB,aAAa;EACb,0BAA0B;EAC1B,kBAAkB;EAClB,cAAc;EACd,eAAe;EACf,wBAAwB;EACxB,sBAAsB;EACtB,oBAAoB;EACpB,eAAe;EACf,cAAc;EACd,YAAY;EACZ,gBAAgB;EAChB,qBAAqB;EACrB,wBAAwB;EACxB,4BAA4B;EAC5B,iCAAiC;EACjC,gBAAgB;EAChB,aAAa;EACb,gCAAgC;EAChC,4CAA4C;EAC5C,6CAA6C;EAC7C,8CAA8C;EAC9C,yCAAyC;EACzC,uCAAuC;EACvC,yCAAyC;EACzC,8BAA8B;EAC9B,sCAAsC;EACtC,mCAAmC;EACnC,iCAAiC;EACjC,6BAA6B;EAC7B,8BAA8B;EAC9B,uBAAuB;EACvB,+BAA+B;CACjC;AAGsG,CAAU"}
1
+ {"version":3,"file":"oxlint.base.js","names":[],"sources":["../../src/configs/oxlint.base.ts"],"sourcesContent":["import type { OxlintConfig } from \"oxlint\"\n\nimport { createMergeConfigFn } from \"#/utils.ts\"\nimport type { OptionalMergeConfigFn } from \"#/utils.ts\"\n\nconst baseConfig = {\n categories: {\n correctness: \"error\",\n nursery: \"error\",\n pedantic: \"error\",\n perf: \"error\",\n restriction: \"error\",\n style: \"error\",\n suspicious: \"error\",\n },\n options: {\n reportUnusedDisableDirectives: \"error\",\n typeAware: true,\n typeCheck: true,\n },\n overrides: [\n {\n files: [\n \"knip.ts\",\n \"oxfmt.config.ts\",\n \"oxlint.config.ts\",\n \".release-it.ts\",\n \"tsdown.config.ts\",\n \"vitest.config.ts\",\n ],\n rules: {\n \"import/no-default-export\": \"off\",\n },\n },\n ],\n plugins: [\n \"eslint\",\n \"react\",\n \"unicorn\",\n \"typescript\",\n \"oxc\",\n \"import\",\n \"jsdoc\",\n \"vitest\",\n \"jsx-a11y\",\n \"react-perf\",\n \"promise\",\n \"node\",\n ],\n rules: {\n curly: [\"error\", \"multi-or-nest\"],\n \"func-style\": [\"error\", \"expression\"],\n \"node/no-sync\": [\"error\", { ignores: [\"existsSync\", \"spawnSync\"] }],\n \"require-unicode-regexp\": [\"error\", { requireFlag: \"v\" }],\n\n \"capitalized-comments\": \"off\",\n \"id-length\": \"off\",\n \"import/exports-last\": \"off\",\n \"import/group-exports\": \"off\",\n \"import/no-named-export\": \"off\",\n \"import/no-nodejs-modules\": \"off\",\n \"import/prefer-default-export\": \"off\",\n \"init-declarations\": \"off\",\n \"jsdoc/require-param\": \"off\",\n \"jsdoc/require-returns\": \"off\",\n \"max-classes-per-file\": \"off\",\n \"max-lines\": \"off\",\n \"max-lines-per-function\": \"off\",\n \"max-statements\": \"off\",\n \"no-console\": \"off\",\n \"no-continue\": \"off\",\n \"no-duplicate-imports\": \"off\",\n \"no-inline-comments\": \"off\",\n \"no-magic-numbers\": \"off\",\n \"no-plusplus\": \"off\",\n \"no-ternary\": \"off\",\n \"no-undef\": \"off\",\n \"no-undefined\": \"off\",\n \"no-useless-return\": \"off\",\n \"node/callback-return\": \"off\",\n \"oxc/no-optional-chaining\": \"off\",\n \"oxc/no-rest-spread-properties\": \"off\",\n \"sort-imports\": \"off\",\n \"sort-keys\": \"off\",\n \"typescript/consistent-return\": \"off\",\n \"typescript/explicit-function-return-type\": \"off\",\n \"typescript/explicit-module-boundary-types\": \"off\",\n \"typescript/prefer-readonly-parameter-types\": \"off\",\n \"typescript/strict-boolean-expressions\": \"off\",\n \"unicorn/no-array-callback-reference\": \"off\",\n \"unicorn/no-array-method-this-argument\": \"off\",\n \"unicorn/switch-case-braces\": \"off\",\n \"vitest/no-importing-vitest-globals\": \"off\",\n \"vitest/prefer-expect-assertions\": \"off\",\n \"vitest/prefer-lowercase-title\": \"off\",\n \"vitest/prefer-to-be-falsy\": \"off\",\n \"vitest/prefer-to-be-truthy\": \"off\",\n \"vitest/require-hook\": \"off\", // reenable when false positives are fixed?\n \"vitest/require-test-timeout\": \"off\",\n },\n} as const satisfies OxlintConfig\n\nexport const oxlintConfig: OptionalMergeConfigFn<OxlintConfig, typeof baseConfig> = createMergeConfigFn(baseConfig)\n"],"mappings":";AAsGA,MAAa,eAAuE,oBAAoB;CAhGtG,YAAY;EACV,aAAa;EACb,SAAS;EACT,UAAU;EACV,MAAM;EACN,aAAa;EACb,OAAO;EACP,YAAY;CACd;CACA,SAAS;EACP,+BAA+B;EAC/B,WAAW;EACX,WAAW;CACb;CACA,WAAW,CACT;EACE,OAAO;GACL;GACA;GACA;GACA;GACA;GACA;EACF;EACA,OAAO,EACL,4BAA4B,MAC9B;CACF,CACF;CACA,SAAS;EACP;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,OAAO;EACL,OAAO,CAAC,SAAS,eAAe;EAChC,cAAc,CAAC,SAAS,YAAY;EACpC,gBAAgB,CAAC,SAAS,EAAE,SAAS,CAAC,cAAc,WAAW,EAAE,CAAC;EAClE,0BAA0B,CAAC,SAAS,EAAE,aAAa,IAAI,CAAC;EAExD,wBAAwB;EACxB,aAAa;EACb,uBAAuB;EACvB,wBAAwB;EACxB,0BAA0B;EAC1B,4BAA4B;EAC5B,gCAAgC;EAChC,qBAAqB;EACrB,uBAAuB;EACvB,yBAAyB;EACzB,wBAAwB;EACxB,aAAa;EACb,0BAA0B;EAC1B,kBAAkB;EAClB,cAAc;EACd,eAAe;EACf,wBAAwB;EACxB,sBAAsB;EACtB,oBAAoB;EACpB,eAAe;EACf,cAAc;EACd,YAAY;EACZ,gBAAgB;EAChB,qBAAqB;EACrB,wBAAwB;EACxB,4BAA4B;EAC5B,iCAAiC;EACjC,gBAAgB;EAChB,aAAa;EACb,gCAAgC;EAChC,4CAA4C;EAC5C,6CAA6C;EAC7C,8CAA8C;EAC9C,yCAAyC;EACzC,uCAAuC;EACvC,yCAAyC;EACzC,8BAA8B;EAC9B,sCAAsC;EACtC,mCAAmC;EACnC,iCAAiC;EACjC,6BAA6B;EAC7B,8BAA8B;EAC9B,uBAAuB;EACvB,+BAA+B;CACjC;AAGsG,CAAU"}
@@ -0,0 +1,29 @@
1
+ import { OptionalMergeConfigFn } from "../utils.js";
2
+ import { Config } from "release-it";
3
+
4
+ //#region src/configs/release-it.base.d.ts
5
+ declare const baseConfig: {
6
+ readonly git: {
7
+ readonly commitMessage: "release: ${version}";
8
+ readonly tagName: "${version}";
9
+ readonly tagAnnotation: "release ${version}";
10
+ };
11
+ readonly hooks: {
12
+ readonly "before:init": "nub run bundle";
13
+ readonly "after:bump": ["git-cliff --tag ${version} -o", "nubx oxfmt CHANGELOG.md"];
14
+ };
15
+ readonly github: {
16
+ readonly release: true;
17
+ readonly releaseName: "${version}";
18
+ readonly releaseNotes: "git-cliff --unreleased --tag ${version}";
19
+ };
20
+ readonly npm: {
21
+ readonly publishPackageManager: "bun";
22
+ readonly publishPath: "";
23
+ readonly publishArgs: ["--no-git-checks"];
24
+ };
25
+ };
26
+ declare const releaseItConfig: OptionalMergeConfigFn<Config, typeof baseConfig>;
27
+ //#endregion
28
+ export { releaseItConfig };
29
+ //# sourceMappingURL=release-it.base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"release-it.base.d.ts","names":[],"sources":["../../src/configs/release-it.base.ts"],"mappings":";;;;cAMM,UAAA;EAAA;;;;;;;;;;;;;;;;;;;;cAuBO,eAAA,EAAiB,qBAAA,CAAsB,MAAA,SAAe,UAAA"}
@@ -0,0 +1,26 @@
1
+ import { createMergeConfigFn } from "../utils.js";
2
+ const releaseItConfig = createMergeConfigFn({
3
+ git: {
4
+ commitMessage: "release: ${version}",
5
+ tagName: "${version}",
6
+ tagAnnotation: "release ${version}"
7
+ },
8
+ hooks: {
9
+ "before:init": "nub run bundle",
10
+ "after:bump": ["git-cliff --tag ${version} -o", "nubx oxfmt CHANGELOG.md"]
11
+ },
12
+ github: {
13
+ release: true,
14
+ releaseName: "${version}",
15
+ releaseNotes: "git-cliff --unreleased --tag ${version}"
16
+ },
17
+ npm: {
18
+ publishPackageManager: "nub",
19
+ publishPath: "",
20
+ publishArgs: ["--no-git-checks"]
21
+ }
22
+ });
23
+ //#endregion
24
+ export { releaseItConfig };
25
+
26
+ //# sourceMappingURL=release-it.base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"release-it.base.js","names":[],"sources":["../../src/configs/release-it.base.ts"],"sourcesContent":["// oxlint-disable no-template-curly-in-string\nimport type { Config } from \"release-it\"\n\nimport { createMergeConfigFn } from \"#/utils.ts\"\nimport type { OptionalMergeConfigFn } from \"#/utils.ts\"\n\nconst baseConfig = {\n git: {\n commitMessage: \"release: ${version}\",\n tagName: \"${version}\",\n tagAnnotation: \"release ${version}\",\n },\n hooks: {\n \"before:init\": \"nub run bundle\",\n \"after:bump\": [\"git-cliff --tag ${version} -o\", \"nubx oxfmt CHANGELOG.md\"],\n },\n github: {\n release: true,\n releaseName: \"${version}\",\n releaseNotes: \"git-cliff --unreleased --tag ${version}\",\n },\n npm: {\n // oxlint-disable-next-line typescript/no-unsafe-type-assertion - release-it doesn't support nub directly yet\n publishPackageManager: \"nub\" as \"bun\",\n publishPath: \"\",\n publishArgs: [\"--no-git-checks\"],\n },\n} as const satisfies Config\n\nexport const releaseItConfig: OptionalMergeConfigFn<Config, typeof baseConfig> = createMergeConfigFn(baseConfig)\n"],"mappings":";AA6BA,MAAa,kBAAoE,oBAAoB;CAtBnG,KAAK;EACH,eAAe;EACf,SAAS;EACT,eAAe;CACjB;CACA,OAAO;EACL,eAAe;EACf,cAAc,CAAC,iCAAiC,yBAAyB;CAC3E;CACA,QAAQ;EACN,SAAS;EACT,aAAa;EACb,cAAc;CAChB;CACA,KAAK;EAEH,uBAAuB;EACvB,aAAa;EACb,aAAa,CAAC,iBAAiB;CACjC;AAGmG,CAAU"}
package/dist/index.d.ts CHANGED
@@ -3,4 +3,5 @@ import { tsdownBinConfig, tsdownConfig } from "./configs/tsdown.base.js";
3
3
  import { oxlintConfig } from "./configs/oxlint.base.js";
4
4
  import { oxfmtConfig } from "./configs/oxfmt.base.js";
5
5
  import { vitestConfig } from "./configs/vitest.base.js";
6
- export { knipConfig, oxfmtConfig, oxlintConfig, tsdownBinConfig, tsdownConfig, vitestConfig };
6
+ import { releaseItConfig } from "./configs/release-it.base.js";
7
+ export { knipConfig, oxfmtConfig, oxlintConfig, releaseItConfig, tsdownBinConfig, tsdownConfig, vitestConfig };
package/dist/index.js CHANGED
@@ -3,4 +3,5 @@ import { tsdownBinConfig, tsdownConfig } from "./configs/tsdown.base.js";
3
3
  import { oxlintConfig } from "./configs/oxlint.base.js";
4
4
  import { oxfmtConfig } from "./configs/oxfmt.base.js";
5
5
  import { vitestConfig } from "./configs/vitest.base.js";
6
- export { knipConfig, oxfmtConfig, oxlintConfig, tsdownBinConfig, tsdownConfig, vitestConfig };
6
+ import { releaseItConfig } from "./configs/release-it.base.js";
7
+ export { knipConfig, oxfmtConfig, oxlintConfig, releaseItConfig, tsdownBinConfig, tsdownConfig, vitestConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adamhl8/configs",
3
- "version": "0.21.2",
3
+ "version": "0.22.2",
4
4
  "homepage": "https://github.com/adamhl8/configs",
5
5
  "bugs": {
6
6
  "url": "https://github.com/adamhl8/configs/issues"
@@ -36,11 +36,11 @@
36
36
  "access": "public"
37
37
  },
38
38
  "scripts": {
39
- "bundle": "nub run lint && tsdown",
40
39
  "lint": "markdown-toc -i --bullets '-' --maxdepth 3 ./README.md && oxfmt && oxlint --fix --fix-suggestions --fix-dangerously && ./src/adamhl8-knip/index.ts",
41
- "prepare": "lefthook install && nub ./patch-knip.ts",
42
- "prepublishOnly": "nub run bundle",
43
- "bump-deps": "rm -f lock.yaml && nub update -L && nub ./patch-knip.ts"
40
+ "bump-deps": "rm -f lock.yaml && nub update -L && nub ./patch-knip.ts",
41
+ "bundle": "nub run lint && tsdown",
42
+ "release": "release-it --ci -i \"$(git-cliff --bumped-version)\"",
43
+ "prepare": "lefthook install && nub ./patch-knip.ts"
44
44
  },
45
45
  "dependencies": {
46
46
  "es-toolkit": "^1.49.0",
@@ -48,6 +48,9 @@
48
48
  },
49
49
  "devDependencies": {
50
50
  "@arethetypeswrong/core": "^0.18.4",
51
+ "@commitlint/cli": "^21.1.0",
52
+ "@commitlint/config-conventional": "^21.1.0",
53
+ "@commitlint/types": "^21.1.0",
51
54
  "@types/node": "^26.0.1",
52
55
  "knip": "^6.23.0",
53
56
  "markdown-toc": "^1.2.0",
@@ -55,6 +58,7 @@
55
58
  "oxlint": "^1.71.0",
56
59
  "oxlint-tsgolint": "^0.23.0",
57
60
  "publint": "^0.3.21",
61
+ "release-it": "^20.2.1",
58
62
  "tsdown": "^0.22.3",
59
63
  "typescript": "^6.0.3",
60
64
  "vitest": "^4.1.9"