@kitschpatrol/shared-config 5.1.0 → 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.
Files changed (3) hide show
  1. package/bin/cli.js +30 -18
  2. package/package.json +10 -10
  3. package/readme.md +1 -1
package/bin/cli.js CHANGED
@@ -11494,7 +11494,7 @@ var Yargs = YargsFactory(esm_default);
11494
11494
  var yargs_default = Yargs;
11495
11495
 
11496
11496
  // ../../package.json
11497
- var version = "5.1.0";
11497
+ var version = "5.2.0";
11498
11498
 
11499
11499
  // ../../src/execa-utilities.ts
11500
11500
  function isErrorExecaError(error) {
@@ -12487,7 +12487,15 @@ var sharedKnipConfig = {
12487
12487
  "@kitschpatrol/mdat-config",
12488
12488
  "@kitschpatrol/prettier-config",
12489
12489
  "@kitschpatrol/remark-config",
12490
- "@kitschpatrol/stylelint-config"
12490
+ "@kitschpatrol/stylelint-config",
12491
+ "@prettier/plugin-php",
12492
+ "@prettier/plugin-ruby",
12493
+ "@prettier/plugin-xml",
12494
+ "prettier-plugin-packagejson",
12495
+ "prettier-plugin-sh",
12496
+ "prettier-plugin-sql",
12497
+ "prettier-plugin-tailwindcss",
12498
+ "prettier-plugin-toml"
12491
12499
  ]
12492
12500
  };
12493
12501
  var src_default = sharedKnipConfig;
@@ -12513,22 +12521,26 @@ function getKnipPackageJsonObject() {
12513
12521
  }
12514
12522
  var commandDefinition3 = {
12515
12523
  commands: {
12516
- fix: {
12517
- commands: [
12518
- {
12519
- cwdOverride: "workspace-root",
12520
- name: "knip",
12521
- optionFlags: [
12522
- "--fix",
12523
- "--allow-remove-files",
12524
- "--no-config-hints",
12525
- ...getWorkspaceOptionFlags()
12526
- ]
12527
- }
12528
- ],
12529
- description: `Automatically remove unused code and dependencies. ${DESCRIPTION.packageRun} ${DESCRIPTION.monorepoRun}`,
12530
- positionalArgumentMode: "none"
12531
- },
12524
+ // In practice, Knip's auto-fix behavior is too dangerous for most projects.
12525
+ // Since kpi doesn't currently have per-tool configuration options, we'll
12526
+ // just disable `kpi-knip fix` for now.
12527
+ //
12528
+ // fix: {
12529
+ // commands: [
12530
+ // {
12531
+ // cwdOverride: 'workspace-root',
12532
+ // name: 'knip',
12533
+ // optionFlags: [
12534
+ // '--fix',
12535
+ // '--allow-remove-files',
12536
+ // '--no-config-hints',
12537
+ // ...getWorkspaceOptionFlags(),
12538
+ // ],
12539
+ // },
12540
+ // ],
12541
+ // description: `Automatically remove unused code and dependencies. ${DESCRIPTION.packageRun} ${DESCRIPTION.monorepoRun}`,
12542
+ // positionalArgumentMode: 'none',
12543
+ // },
12532
12544
  init: {
12533
12545
  configFile: "knip.config.ts",
12534
12546
  configPackageJson: getKnipPackageJsonObject(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitschpatrol/shared-config",
3
- "version": "5.1.0",
3
+ "version": "5.2.0",
4
4
  "description": "A collection of shared configurations, linters, and formatting tools for TypeScript projects. All managed as a single dependency, and invoked via a single CLI command.",
5
5
  "keywords": [
6
6
  "shared-config",
@@ -43,15 +43,15 @@
43
43
  "find-workspaces": "^0.3.1",
44
44
  "fs-extra": "^11.3.0",
45
45
  "prettier": "^3.5.3",
46
- "@kitschpatrol/cspell-config": "5.1.0",
47
- "@kitschpatrol/prettier-config": "5.1.0",
48
- "@kitschpatrol/eslint-config": "5.1.0",
49
- "@kitschpatrol/knip-config": "5.1.0",
50
- "@kitschpatrol/remark-config": "5.1.0",
51
- "@kitschpatrol/mdat-config": "5.1.0",
52
- "@kitschpatrol/repo-config": "5.1.0",
53
- "@kitschpatrol/stylelint-config": "5.1.0",
54
- "@kitschpatrol/typescript-config": "5.1.0"
46
+ "@kitschpatrol/cspell-config": "5.2.0",
47
+ "@kitschpatrol/eslint-config": "5.2.0",
48
+ "@kitschpatrol/knip-config": "5.2.0",
49
+ "@kitschpatrol/prettier-config": "5.2.0",
50
+ "@kitschpatrol/mdat-config": "5.2.0",
51
+ "@kitschpatrol/remark-config": "5.2.0",
52
+ "@kitschpatrol/typescript-config": "5.2.0",
53
+ "@kitschpatrol/repo-config": "5.2.0",
54
+ "@kitschpatrol/stylelint-config": "5.2.0"
55
55
  },
56
56
  "devDependencies": {
57
57
  "chalk": "^5.4.1",
package/readme.md CHANGED
@@ -63,7 +63,7 @@ It takes care of dependencies, configuration, invocation, and reporting for the
63
63
 
64
64
  ### Packages
65
65
 
66
- This particular readme is for the [`@kitschpatrol/shared-config`](https://www.npmjs.com/package/@kitschpatrol/shared-config) package, which depends on a number of tool-specific packages included in the [`kitschpatrol/shared-config`](https://github.com/kitschpatrol/shared-config) monorepo on GitHub, each of which is documented in additional detail its respective readme.
66
+ This particular readme is for the [`@kitschpatrol/shared-config`](https://www.npmjs.com/package/@kitschpatrol/shared-config) package, which depends on a number of tool-specific packages included in the [`kitschpatrol/shared-config`](https://github.com/kitschpatrol/shared-config) monorepo on GitHub, each of which is documented in additional detail in its respective readme.
67
67
 
68
68
  #### Primary package
69
69