@kitschpatrol/stylelint-config 5.6.0 → 5.7.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 +2 -2
  2. package/package.json +6 -5
  3. package/readme.md +18 -18
package/bin/cli.js CHANGED
@@ -5138,7 +5138,7 @@ var Yargs = YargsFactory(esm_default);
5138
5138
  var yargs_default = Yargs;
5139
5139
 
5140
5140
  // ../../package.json
5141
- var version = "5.6.0";
5141
+ var version = "5.7.0";
5142
5142
 
5143
5143
  // ../../src/execa-utilities.ts
5144
5144
  function isErrorExecaError(error) {
@@ -5891,7 +5891,7 @@ var commandDefinition = {
5891
5891
  description: "Kitschpatrol's Stylelint shared configuration tools.",
5892
5892
  logColor: "greenBright",
5893
5893
  logPrefix: "[Stylelint]",
5894
- name: "kpi-stylelint",
5894
+ name: "ksc-stylelint",
5895
5895
  order: 5
5896
5896
  };
5897
5897
 
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@kitschpatrol/stylelint-config",
3
- "version": "5.6.0",
3
+ "version": "5.7.0",
4
4
  "description": "Stylelint configuration for @kitschpatrol/shared-config.",
5
5
  "keywords": [
6
6
  "stylelint-config",
7
7
  "stylelint",
8
8
  "cli",
9
- "kpi",
10
- "kpi-stylelint"
9
+ "ksc",
10
+ "ksc-stylelint"
11
11
  ],
12
12
  "homepage": "https://github.com/kitschpatrol/shared-config/tree/main/packages/stylelint-config",
13
13
  "bugs": "https://github.com/kitschpatrol/shared-config/issues",
@@ -32,7 +32,8 @@
32
32
  "main": "dist/index.js",
33
33
  "types": "dist/index.d.ts",
34
34
  "bin": {
35
- "kpi-stylelint": "bin/cli.js"
35
+ "kpi-stylelint": "bin/cli.js",
36
+ "ksc-stylelint": "bin/cli.js"
36
37
  },
37
38
  "files": [
38
39
  "bin/*",
@@ -47,7 +48,7 @@
47
48
  "find-workspaces": "^0.3.1",
48
49
  "fs-extra": "^11.3.1",
49
50
  "prettier": "^3.6.2",
50
- "stylelint": "^16.23.1",
51
+ "stylelint": "^16.24.0",
51
52
  "stylelint-config-clean-order": "^7.0.0",
52
53
  "stylelint-config-html": "^1.1.0",
53
54
  "stylelint-config-standard": "^39.0.0"
package/readme.md CHANGED
@@ -21,7 +21,7 @@
21
21
 
22
22
  ## Overview
23
23
 
24
- It's a shared [Stylelint](https://stylelint.io) config, plus a command-line tool `kpi-stylelint` to perform Stylelint-related project initialization, linting, and fixing.
24
+ It's a shared [Stylelint](https://stylelint.io) config, plus a command-line tool `ksc-stylelint` to perform Stylelint-related project initialization, linting, and fixing.
25
25
 
26
26
  <!-- recommendation -->
27
27
 
@@ -29,7 +29,7 @@ It's a shared [Stylelint](https://stylelint.io) config, plus a command-line tool
29
29
  >
30
30
  > **You can use this package on its own, but it's recommended to use [`@kitschpatrol/shared-config`](https://www.npmjs.com/package/@kitschpatrol/shared-config) instead for a single-dependency and single-package approach to linting and fixing your project.**
31
31
  >
32
- > This package is included as a dependency in [`@kitschpatrol/shared-config`](https://www.npmjs.com/package/@kitschpatrol/shared-config), which also automatically invokes the command line functionality in this package via its `kpi` command
32
+ > This package is included as a dependency in [`@kitschpatrol/shared-config`](https://www.npmjs.com/package/@kitschpatrol/shared-config), which also automatically invokes the command line functionality in this package via its `ksc` command
33
33
 
34
34
  <!-- /recommendation -->
35
35
 
@@ -52,7 +52,7 @@ To use just this Stylelint config in isolation:
52
52
  3. Add the starter `stylelint.config.js` file to your project root, and add any customizations you'd like:
53
53
 
54
54
  ```sh
55
- pnpm exec kpi-stylelint init
55
+ pnpm exec ksc-stylelint init
56
56
  ```
57
57
 
58
58
  ## Rules
@@ -74,8 +74,8 @@ Integrate with your `package.json` scripts as you see fit, for example:
74
74
  ```json
75
75
  {
76
76
  "scripts": {
77
- "lint": "kpi-stylelint lint",
78
- "fix": "kpi-stylelint fix"
77
+ "lint": "ksc-stylelint lint",
78
+ "fix": "ksc-stylelint fix"
79
79
  }
80
80
  }
81
81
  ```
@@ -85,7 +85,7 @@ Integrate with your `package.json` scripts as you see fit, for example:
85
85
  To create a `stylelint.config.js` in your project root:
86
86
 
87
87
  ```sh
88
- pnpm exec kpi-stylelint init
88
+ pnpm exec ksc-stylelint init
89
89
  ```
90
90
 
91
91
  (Note that this will delete the `stylelint` property in your `package.json`!)
@@ -95,7 +95,7 @@ _Or_
95
95
  To create a `stylelint` property in `package.json`:
96
96
 
97
97
  ```sh
98
- pnpm exec kpi-stylelint init --location package
98
+ pnpm exec ksc-stylelint init --location package
99
99
  ```
100
100
 
101
101
  (Note that this will delete the `stylelint.config.js` file in your project root!)
@@ -126,16 +126,16 @@ Next line:
126
126
 
127
127
  <!-- cli-help -->
128
128
 
129
- #### Command: `kpi-stylelint`
129
+ #### Command: `ksc-stylelint`
130
130
 
131
131
  Kitschpatrol's Stylelint shared configuration tools.
132
132
 
133
- This section lists top-level commands for `kpi-stylelint`.
133
+ This section lists top-level commands for `ksc-stylelint`.
134
134
 
135
135
  Usage:
136
136
 
137
137
  ```txt
138
- kpi-stylelint <command>
138
+ ksc-stylelint <command>
139
139
  ```
140
140
 
141
141
  | Command | Argument | Description |
@@ -152,14 +152,14 @@ kpi-stylelint <command>
152
152
 
153
153
  _See the sections below for more information on each subcommand._
154
154
 
155
- #### Subcommand: `kpi-stylelint init`
155
+ #### Subcommand: `ksc-stylelint init`
156
156
 
157
157
  Initialize by copying starter config files to your project root or to your package.json file.
158
158
 
159
159
  Usage:
160
160
 
161
161
  ```txt
162
- kpi-stylelint init
162
+ ksc-stylelint init
163
163
  ```
164
164
 
165
165
  | Option | Description | Type | Default |
@@ -168,14 +168,14 @@ kpi-stylelint init
168
168
  | `--help`<br>`-h` | Show help | `boolean` | |
169
169
  | `--version`<br>`-v` | Show version number | `boolean` | |
170
170
 
171
- #### Subcommand: `kpi-stylelint lint`
171
+ #### Subcommand: `ksc-stylelint lint`
172
172
 
173
173
  Lint your project with Stylelint. Matches files below the current working directory by default.
174
174
 
175
175
  Usage:
176
176
 
177
177
  ```txt
178
- kpi-stylelint lint [files..]
178
+ ksc-stylelint lint [files..]
179
179
  ```
180
180
 
181
181
  | Positional Argument | Description | Type | Default |
@@ -187,14 +187,14 @@ kpi-stylelint lint [files..]
187
187
  | `--help`<br>`-h` | Show help | `boolean` |
188
188
  | `--version`<br>`-v` | Show version number | `boolean` |
189
189
 
190
- #### Subcommand: `kpi-stylelint fix`
190
+ #### Subcommand: `ksc-stylelint fix`
191
191
 
192
192
  Fix your project with Stylelint. Matches files below the current working directory by default.
193
193
 
194
194
  Usage:
195
195
 
196
196
  ```txt
197
- kpi-stylelint fix [files..]
197
+ ksc-stylelint fix [files..]
198
198
  ```
199
199
 
200
200
  | Positional Argument | Description | Type | Default |
@@ -206,14 +206,14 @@ kpi-stylelint fix [files..]
206
206
  | `--help`<br>`-h` | Show help | `boolean` |
207
207
  | `--version`<br>`-v` | Show version number | `boolean` |
208
208
 
209
- #### Subcommand: `kpi-stylelint print-config`
209
+ #### Subcommand: `ksc-stylelint print-config`
210
210
 
211
211
  Print the effective Stylelint configuration. Package-scoped by default, file-scoped if a file argument is provided..
212
212
 
213
213
  Usage:
214
214
 
215
215
  ```txt
216
- kpi-stylelint print-config [file]
216
+ ksc-stylelint print-config [file]
217
217
  ```
218
218
 
219
219
  | Positional Argument | Description | Type |