@wkovacs64/prettier-config 4.2.1 → 4.2.3

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/README.md +5 -1
  2. package/index.js +4 -1
  3. package/package.json +9 -10
package/README.md CHANGED
@@ -36,9 +36,13 @@ Follow the Prettier documentation on [sharing configurations][prettier-sharing].
36
36
  #### `.prettierignore`
37
37
 
38
38
  ```
39
+ # .gitignore and...
40
+
39
41
  .changeset
40
42
  package.json
41
43
  package-lock.json
44
+ pnpm-lock.yaml
45
+ bun.lock
42
46
  ```
43
47
 
44
48
  ### Customization
@@ -52,7 +56,7 @@ the one-liner in package.json:
52
56
  import prettierConfig from '@wkovacs64/prettier-config';
53
57
 
54
58
  /** @type {import("prettier").Options} */
55
- export const config = {
59
+ const config = {
56
60
  ...prettierConfig,
57
61
  // overrides here
58
62
  };
package/index.js CHANGED
@@ -1,3 +1,6 @@
1
+ import * as astroPlugin from 'prettier-plugin-astro';
2
+ import * as tailwindPlugin from 'prettier-plugin-tailwindcss';
3
+
1
4
  /** @type {import("prettier").Options} */
2
5
  export default {
3
6
  $schema: 'http://json.schemastore.org/prettierrc',
@@ -27,7 +30,7 @@ export default {
27
30
  printWidth: 100,
28
31
  singleQuote: true,
29
32
 
30
- plugins: ['prettier-plugin-astro', 'prettier-plugin-tailwindcss'],
33
+ plugins: [astroPlugin, tailwindPlugin],
31
34
  tailwindAttributes: ['class', 'className', '.*[cC]lassName'],
32
35
  tailwindFunctions: ['clsx', 'cn'],
33
36
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wkovacs64/prettier-config",
3
- "version": "4.2.1",
3
+ "version": "4.2.3",
4
4
  "description": "@wKovacs64 Prettier config",
5
5
  "keywords": [
6
6
  "prettier",
@@ -23,8 +23,7 @@
23
23
  ],
24
24
  "homepage": "https://github.com/wKovacs64/prettier-config#readme",
25
25
  "repository": {
26
- "type": "git",
27
- "url": "https://github.com/wKovacs64/prettier-config.git"
26
+ "url": "git+https://github.com/wKovacs64/prettier-config.git"
28
27
  },
29
28
  "bugs": {
30
29
  "url": "https://github.com/wKovacs64/prettier-config/issues"
@@ -47,14 +46,14 @@
47
46
  },
48
47
  "dependencies": {
49
48
  "prettier-plugin-astro": "^0.14.1",
50
- "prettier-plugin-tailwindcss": "^0.6.12"
49
+ "prettier-plugin-tailwindcss": "^0.7.0"
51
50
  },
52
51
  "devDependencies": {
53
- "@changesets/changelog-github": "0.5.1",
54
- "@changesets/cli": "2.29.4",
55
- "@wkovacs64/eslint-config": "7.7.0",
56
- "cross-env": "7.0.3",
57
- "eslint": "9.28.0",
58
- "prettier": "3.5.3"
52
+ "@changesets/changelog-github": "0.5.2",
53
+ "@changesets/cli": "2.29.8",
54
+ "@wkovacs64/eslint-config": "7.11.1",
55
+ "cross-env": "10.1.0",
56
+ "eslint": "9.39.1",
57
+ "prettier": "3.7.4"
59
58
  }
60
59
  }