@foray1010/prettier-config 7.0.0 → 7.0.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.
package/CHANGELOG.md CHANGED
@@ -3,17 +3,31 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [7.0.3](https://github.com/foray1010/common-presets/compare/@foray1010/prettier-config@7.0.2...@foray1010/prettier-config@7.0.3) (2022-08-24)
7
+
8
+ **Note:** Version bump only for package @foray1010/prettier-config
9
+
10
+ ## [7.0.2](https://github.com/foray1010/common-presets/compare/@foray1010/prettier-config@7.0.1...@foray1010/prettier-config@7.0.2) (2022-08-24)
11
+
12
+ ### Bug Fixes
13
+
14
+ - remove unused ignore patterns ([11d05bf](https://github.com/foray1010/common-presets/commit/11d05bf3e7cb001d1260f885089500e1ddf5fb02))
15
+
16
+ ## [7.0.1](https://github.com/foray1010/common-presets/compare/@foray1010/prettier-config@7.0.0...@foray1010/prettier-config@7.0.1) (2022-06-13)
17
+
18
+ ### Bug Fixes
19
+
20
+ - should drop node 17 in version range ([0e911fd](https://github.com/foray1010/common-presets/commit/0e911fd737e472d699bfc32d866067ed6ccfa269))
21
+
6
22
  ## [7.0.0](https://github.com/foray1010/common-presets/compare/@foray1010/prettier-config@6.0.1...@foray1010/prettier-config@7.0.0) (2022-06-13)
7
23
 
8
24
  ### ⚠ BREAKING CHANGES
9
25
 
10
- - drop support for typescript >=5
11
26
  - drop node 12 and 17
12
27
 
13
28
  ### Miscellaneous Chores
14
29
 
15
30
  - drop node 12 and 17 ([c43351e](https://github.com/foray1010/common-presets/commit/c43351e0da92209fc3100d9cb1bc129af320fdac))
16
- - remove peerDependencies versions that are not sure if supported ([2175adb](https://github.com/foray1010/common-presets/commit/2175adb62efe7d1762f6f66ce9bb0e7adb5f82e5))
17
31
 
18
32
  ### [6.0.1](https://github.com/foray1010/common-presets/compare/@foray1010/prettier-config@6.0.0...@foray1010/prettier-config@6.0.1) (2021-11-10)
19
33
 
package/README.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  ## Installation
4
4
 
5
- 1. `yarn add -DE prettier @foray1010/prettier-config`
5
+ 1. `yarn add -DE @foray1010/prettier-config prettier`
6
6
 
7
- 1. Create an `.prettierrc.js` in the project root
7
+ 1. Create an `.prettierrc.cjs` in the project root
8
8
 
9
9
  ```js
10
10
  'use strict'
package/index.js CHANGED
@@ -1,6 +1,10 @@
1
1
  'use strict'
2
2
 
3
+ /** @type {import('prettier').Config} */
3
4
  module.exports = {
5
+ pluginSearchDirs: false,
6
+ plugins: ['prettier-plugin-packagejson'],
7
+
4
8
  arrowParens: 'always',
5
9
  bracketSameLine: false,
6
10
  bracketSpacing: true,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@foray1010/prettier-config",
4
- "version": "7.0.0",
4
+ "version": "7.0.3",
5
5
  "homepage": "https://github.com/foray1010/common-presets/tree/master/packages/prettier-config#readme",
6
6
  "bugs": "https://github.com/foray1010/common-presets/issues",
7
7
  "repository": {
@@ -16,17 +16,24 @@
16
16
  "*.md",
17
17
  "prettierignore"
18
18
  ],
19
+ "scripts": {
20
+ "type:check": "tsc"
21
+ },
19
22
  "dependencies": {
20
23
  "prettier-plugin-packagejson": "^2.2.5"
21
24
  },
25
+ "devDependencies": {
26
+ "@types/prettier": "2.7.0",
27
+ "typescript": "4.7.4"
28
+ },
22
29
  "peerDependencies": {
23
30
  "prettier": "^2.4.0"
24
31
  },
25
32
  "engines": {
26
- "node": "^14.17.0 || >=16.13.0 || >=18.0.0"
33
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
27
34
  },
28
35
  "publishConfig": {
29
36
  "access": "public"
30
37
  },
31
- "gitHead": "6b2dbe64ac8e4677dfb6b72f70e185bcd607f17b"
38
+ "gitHead": "8f4681aea3421297bffa13e0bbbf7f6dba20ca70"
32
39
  }
package/prettierignore CHANGED
@@ -3,6 +3,5 @@ build/
3
3
  coverage/
4
4
  dist/
5
5
  node_modules/
6
- out/
7
6
  # do not format auto-generated files
8
7
  pnpm-lock.yaml
package/tsconfig.json ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "extends": "@foray1010/tsconfig",
4
+ "compilerOptions": {
5
+ "allowJs": true,
6
+ "checkJs": true
7
+ }
8
+ }