@kitschpatrol/prettier-config 5.11.0 → 5.13.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 +2 -2
- package/init/.vscode/settings.json +0 -1
- package/license.txt +1 -1
- package/package.json +4 -4
- package/readme.md +2 -2
- /package/init/{prettier.config.js → prettier.config.ts} +0 -0
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.
|
|
5141
|
+
var version = "5.13.0";
|
|
5142
5142
|
|
|
5143
5143
|
// ../../src/execa-utilities.ts
|
|
5144
5144
|
function isErrorExecaError(error) {
|
|
@@ -5848,7 +5848,7 @@ var commandDefinition = {
|
|
|
5848
5848
|
positionalArgumentMode: "optional"
|
|
5849
5849
|
},
|
|
5850
5850
|
init: {
|
|
5851
|
-
configFile: "prettier.config.
|
|
5851
|
+
configFile: "prettier.config.ts",
|
|
5852
5852
|
configPackageJson: {
|
|
5853
5853
|
prettier: "@kitschpatrol/prettier-config"
|
|
5854
5854
|
},
|
package/license.txt
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitschpatrol/prettier-config",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.13.0",
|
|
4
4
|
"description": "Prettier configuration for @kitschpatrol/shared-config.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"shared-config",
|
|
@@ -52,14 +52,14 @@
|
|
|
52
52
|
"execa": "^9.6.1",
|
|
53
53
|
"find-workspaces": "^0.3.1",
|
|
54
54
|
"fs-extra": "^11.3.3",
|
|
55
|
-
"prettier": "^3.
|
|
55
|
+
"prettier": "^3.8.1",
|
|
56
56
|
"prettier-plugin-astro": "^0.14.1",
|
|
57
|
-
"prettier-plugin-packagejson": "^
|
|
57
|
+
"prettier-plugin-packagejson": "^3.0.0",
|
|
58
58
|
"prettier-plugin-sh": "^0.18.0",
|
|
59
59
|
"prettier-plugin-svelte": "^3.4.1",
|
|
60
60
|
"prettier-plugin-tailwindcss": "^0.7.2",
|
|
61
61
|
"prettier-plugin-toml": "^2.0.6",
|
|
62
|
-
"sort-package-json": "^3.6.
|
|
62
|
+
"sort-package-json": "^3.6.1"
|
|
63
63
|
},
|
|
64
64
|
"engines": {
|
|
65
65
|
"node": ">=20.19.0"
|
package/readme.md
CHANGED
|
@@ -76,7 +76,7 @@ You might need to pass certain plugins in explicitly if you're calling `prettier
|
|
|
76
76
|
|
|
77
77
|
### Configuration
|
|
78
78
|
|
|
79
|
-
To create a `prettier.config.
|
|
79
|
+
To create a `prettier.config.ts` in your project root:
|
|
80
80
|
|
|
81
81
|
```sh
|
|
82
82
|
pnpm exec ksc-prettier init
|
|
@@ -92,7 +92,7 @@ To create a `prettier` property in `package.json`:
|
|
|
92
92
|
pnpm exec ksc-prettier init --location package
|
|
93
93
|
```
|
|
94
94
|
|
|
95
|
-
(Note that this will delete the `prettier.config.
|
|
95
|
+
(Note that this will delete the `prettier.config.ts` file in your project root!)
|
|
96
96
|
|
|
97
97
|
### CLI
|
|
98
98
|
|
|
File without changes
|