@kitschpatrol/prettier-config 5.7.4 → 5.8.1

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 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.7.4";
5141
+ var version = "5.8.1";
5142
5142
 
5143
5143
  // ../../src/execa-utilities.ts
5144
5144
  function isErrorExecaError(error) {
@@ -5825,7 +5825,7 @@ var sharedOptions = [
5825
5825
  "--plugin=prettier-plugin-astro",
5826
5826
  "--plugin=prettier-plugin-packagejson",
5827
5827
  "--plugin=prettier-plugin-sh",
5828
- "--plugin=prettier-plugin-sql",
5828
+ // '--plugin=prettier-plugin-sql',
5829
5829
  "--plugin=prettier-plugin-svelte",
5830
5830
  "--plugin=prettier-plugin-tailwindcss",
5831
5831
  "--plugin=prettier-plugin-toml",
package/dist/index.js CHANGED
@@ -71,7 +71,7 @@ const sharedPrettierConfig = {
71
71
  '@prettier/plugin-xml',
72
72
  'prettier-plugin-packagejson',
73
73
  'prettier-plugin-sh',
74
- 'prettier-plugin-sql',
74
+ // 'prettier-plugin-sql',
75
75
  'prettier-plugin-tailwindcss',
76
76
  'prettier-plugin-toml',
77
77
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitschpatrol/prettier-config",
3
- "version": "5.7.4",
3
+ "version": "5.8.1",
4
4
  "description": "Prettier configuration for @kitschpatrol/shared-config.",
5
5
  "keywords": [
6
6
  "shared-config",
@@ -26,8 +26,8 @@
26
26
  "type": "module",
27
27
  "exports": {
28
28
  ".": {
29
- "import": "./dist/index.js",
30
- "types": "./dist/index.d.ts"
29
+ "types": "./dist/index.d.ts",
30
+ "import": "./dist/index.js"
31
31
  }
32
32
  },
33
33
  "main": "dist/index.js",
@@ -56,9 +56,8 @@
56
56
  "prettier-plugin-astro": "^0.14.1",
57
57
  "prettier-plugin-packagejson": "^2.5.19",
58
58
  "prettier-plugin-sh": "^0.18.0",
59
- "prettier-plugin-sql": "^0.19.2",
60
59
  "prettier-plugin-svelte": "^3.4.0",
61
- "prettier-plugin-tailwindcss": "^0.7.0",
60
+ "prettier-plugin-tailwindcss": "^0.7.1",
62
61
  "prettier-plugin-toml": "^2.0.6",
63
62
  "sort-package-json": "^3.4.0"
64
63
  },
package/readme.md CHANGED
@@ -207,6 +207,10 @@ Ruby formatting Expects a global Ruby install >=2.7 via `rbenv` at `~/.rbenv/shi
207
207
 
208
208
  Note: Do _not_ add `plugins: ['prettier-plugin-ruby']` to the per-file scope, it must be global.
209
209
 
210
+ ## SQL support
211
+
212
+ Earlier versions of @kitschpatrol/prettier-config bundled [`prettier-plugin-sql`](https://github.com/un-ts/prettier/tree/master/packages/sql) for SQL formatting, but this has been removed due to the remarkable size of its `node-sql-parser` parser dependency.
213
+
210
214
  ## Tabs vs. spaces
211
215
 
212
216
  Tabs are unambiguously preferred wherever the file format specification does not mandate spaces.