@will-stone/prettier-config 8.0.1 → 9.0.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/.nvmrc CHANGED
@@ -1 +1 @@
1
- 20
1
+ 22
package/CHANGELOG.md CHANGED
@@ -1,10 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [9.0.0](https://github.com/will-stone/prettier-config/compare/v8.0.1...v9.0.0) (2025-01-13)
4
+
5
+ ### Major changes
6
+
7
+ * Move to JS-based config ([961d951](https://github.com/will-stone/prettier-config/commit/961d951e13c0ffc82a67646745a7231694565014))
8
+
3
9
  ## [8.0.1](https://github.com/will-stone/prettier-config/compare/v8.0.0...v8.0.1) (2024-05-27)
4
10
 
5
11
  ### Patches
6
12
 
7
- * Just testing release ([00b8f48](https://github.com/will-stone/prettier-config/commit/00b8f48db09668d9e0ba1d68164f54d27008c183))
13
+ - Just testing release
14
+ ([00b8f48](https://github.com/will-stone/prettier-config/commit/00b8f48db09668d9e0ba1d68164f54d27008c183))
8
15
 
9
16
  ## [8.0.0](https://github.com/will-stone/prettier-config/compare/v7.0.4...v8.0.0) (2024-04-30)
10
17
 
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,8 @@
1
+ import prettierPluginPackagejson from 'prettier-plugin-packagejson'
2
+
3
+ export default {
4
+ proseWrap: 'always',
5
+ semi: false,
6
+ singleQuote: true,
7
+ plugins: [prettierPluginPackagejson],
8
+ }
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@will-stone/prettier-config",
3
- "version": "8.0.1",
3
+ "version": "9.0.0",
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
+ "type": "module",
11
+ "exports": "./index.js",
11
12
  "scripts": {
12
13
  "prepare": "simple-git-hooks",
13
14
  "release": "release-it"
@@ -20,7 +21,6 @@
20
21
  "prettier --write"
21
22
  ]
22
23
  },
23
- "prettier": "./index.json",
24
24
  "dependencies": {
25
25
  "prettier-plugin-packagejson": "^2.5.0"
26
26
  },
@@ -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
- }