@will-stone/prettier-config 8.0.1 → 9.0.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/.nvmrc CHANGED
@@ -1 +1 @@
1
- 20
1
+ 22
package/CHANGELOG.md CHANGED
@@ -1,10 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## [9.0.1](https://github.com/will-stone/prettier-config/compare/v9.0.0...v9.0.1) (2025-01-14)
4
+
5
+ ### Patches
6
+
7
+ * Fix incomparability with pnpm envs ([682f7bd](https://github.com/will-stone/prettier-config/commit/682f7bd93eb077c8d98ab1ce202e3e60ae7a4fb4))
8
+
9
+ ## [9.0.0](https://github.com/will-stone/prettier-config/compare/v8.0.1...v9.0.0) (2025-01-13)
10
+
11
+ ### Major changes
12
+
13
+ - Move to JS-based config
14
+ ([961d951](https://github.com/will-stone/prettier-config/commit/961d951e13c0ffc82a67646745a7231694565014))
15
+
3
16
  ## [8.0.1](https://github.com/will-stone/prettier-config/compare/v8.0.0...v8.0.1) (2024-05-27)
4
17
 
5
18
  ### Patches
6
19
 
7
- * Just testing release ([00b8f48](https://github.com/will-stone/prettier-config/commit/00b8f48db09668d9e0ba1d68164f54d27008c183))
20
+ - Just testing release
21
+ ([00b8f48](https://github.com/will-stone/prettier-config/commit/00b8f48db09668d9e0ba1d68164f54d27008c183))
8
22
 
9
23
  ## [8.0.0](https://github.com/will-stone/prettier-config/compare/v7.0.4...v8.0.0) (2024-04-30)
10
24
 
package/README.md CHANGED
@@ -12,11 +12,9 @@ npm i -D prettier @will-stone/prettier-config
12
12
 
13
13
  ### Use config
14
14
 
15
- ```jsonc
16
- // package.json
17
- {
18
- "prettier": "@will-stone/prettier-config"
19
- }
15
+ ```js
16
+ // prettier.config.js (or .mjs if in CJS env)
17
+ export { default } from '@will-stone/prettier-config'
20
18
  ```
21
19
 
22
20
  ### Lint Staged
package/index.js ADDED
@@ -0,0 +1,6 @@
1
+ module.exports = {
2
+ proseWrap: 'always',
3
+ semi: false,
4
+ singleQuote: true,
5
+ plugins: [require.resolve('prettier-plugin-packagejson')],
6
+ }
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@will-stone/prettier-config",
3
- "version": "8.0.1",
3
+ "version": "9.0.1",
4
4
  "description": "My personal Prettier config",
5
5
  "repository": {
6
6
  "url": "https://github.com/will-stone/prettier-config"
7
7
  },
8
8
  "license": "MIT",
9
9
  "author": "Will Stone",
10
- "main": "index.json",
10
+ "main": "./index.js",
11
11
  "scripts": {
12
12
  "prepare": "simple-git-hooks",
13
13
  "release": "release-it"
@@ -20,7 +20,6 @@
20
20
  "prettier --write"
21
21
  ]
22
22
  },
23
- "prettier": "./index.json",
24
23
  "dependencies": {
25
24
  "prettier-plugin-packagejson": "^2.5.0"
26
25
  },
@@ -0,0 +1 @@
1
+ export { default } from './index.js'
package/index.json DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "proseWrap": "always",
3
- "semi": false,
4
- "singleQuote": true,
5
- "plugins": ["prettier-plugin-packagejson"]
6
- }