@foray1010/remark-preset 6.0.0 → 7.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/CHANGELOG.md CHANGED
@@ -3,17 +3,41 @@
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.1](https://github.com/foray1010/common-presets/compare/@foray1010/remark-preset@7.0.0...@foray1010/remark-preset@7.0.1) (2022-08-24)
7
+
8
+ ### Bug Fixes
9
+
10
+ - remove unused ignore patterns ([11d05bf](https://github.com/foray1010/common-presets/commit/11d05bf3e7cb001d1260f885089500e1ddf5fb02))
11
+
12
+ ## [7.0.0](https://github.com/foray1010/common-presets/compare/@foray1010/remark-preset@6.0.1...@foray1010/remark-preset@7.0.0) (2022-08-02)
13
+
14
+ ### ⚠ BREAKING CHANGES
15
+
16
+ - **remark-preset:** support remark >= 12
17
+
18
+ ### Features
19
+
20
+ - **remark-preset:** support remark >= 12 ([f6f67e5](https://github.com/foray1010/common-presets/commit/f6f67e571f32e721abcb52ff8aafad453777e784))
21
+
22
+ ### Bug Fixes
23
+
24
+ - **remark-preset:** cannot run in node 14.17 ([a1fb90a](https://github.com/foray1010/common-presets/commit/a1fb90a4b416b39e76cae104ffc0e56f68f1b23b))
25
+
26
+ ## [6.0.1](https://github.com/foray1010/common-presets/compare/@foray1010/remark-preset@6.0.0...@foray1010/remark-preset@6.0.1) (2022-06-13)
27
+
28
+ ### Bug Fixes
29
+
30
+ - should drop node 17 in version range ([0e911fd](https://github.com/foray1010/common-presets/commit/0e911fd737e472d699bfc32d866067ed6ccfa269))
31
+
6
32
  ## [6.0.0](https://github.com/foray1010/common-presets/compare/@foray1010/remark-preset@5.0.0...@foray1010/remark-preset@6.0.0) (2022-06-13)
7
33
 
8
34
  ### ⚠ BREAKING CHANGES
9
35
 
10
- - drop support for typescript >=5
11
36
  - drop node 12 and 17
12
37
 
13
38
  ### Miscellaneous Chores
14
39
 
15
40
  - 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
41
 
18
42
  ## [5.0.0](https://github.com/foray1010/common-presets/compare/@foray1010/remark-preset@4.0.1...@foray1010/remark-preset@5.0.0) (2021-11-10)
19
43
 
package/README.md CHANGED
@@ -4,11 +4,13 @@
4
4
 
5
5
  1. `yarn add -DE remark-cli @foray1010/remark-preset`
6
6
 
7
- 1. Create an `.remarkrc.yml` in the project root
7
+ 1. Create an `.remarkrc.mjs` in the project root
8
8
 
9
- ```yml
10
- plugins:
11
- - '@foray1010/remark-preset'
9
+ ```js
10
+ const config = {
11
+ plugins: ['@foray1010/remark-preset'],
12
+ }
13
+ export default config
12
14
  ```
13
15
 
14
16
  1. Use default remarkignore via npm script
@@ -1,6 +1,4 @@
1
- 'use strict'
2
-
3
- module.exports = {
1
+ const preset = {
4
2
  plugins: [
5
3
  'remark-frontmatter',
6
4
  'remark-preset-lint-consistent',
@@ -15,3 +13,4 @@ module.exports = {
15
13
  'remark-validate-links',
16
14
  ],
17
15
  }
16
+ export default preset
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@foray1010/remark-preset",
4
- "version": "6.0.0",
4
+ "version": "7.0.1",
5
5
  "homepage": "https://github.com/foray1010/common-presets/tree/master/packages/remark-preset#readme",
6
6
  "bugs": "https://github.com/foray1010/common-presets/issues",
7
7
  "repository": {
@@ -10,29 +10,32 @@
10
10
  "directory": "packages/remark-preset"
11
11
  },
12
12
  "license": "MIT",
13
- "exports": "./index.js",
13
+ "exports": "./index.mjs",
14
14
  "files": [
15
15
  "**/*.{cjs,js,json,mjs}",
16
16
  "*.md",
17
17
  "remarkignore"
18
18
  ],
19
+ "scripts": {
20
+ "type:check": "echo 'Skipped: non-ts package'"
21
+ },
19
22
  "dependencies": {
20
23
  "remark-frontmatter": "^4.0.0",
21
24
  "remark-lint-no-dead-urls": "^1.1.0",
22
25
  "remark-preset-lint-consistent": "^5.0.0",
23
26
  "remark-preset-lint-markdown-style-guide": "^5.0.0",
24
27
  "remark-preset-lint-recommended": "^6.0.0",
25
- "remark-preset-prettier": "^1.0.0",
26
- "remark-validate-links": "^11.0.0"
28
+ "remark-preset-prettier": "^1.0.2",
29
+ "remark-validate-links": "^12.0.0"
27
30
  },
28
31
  "peerDependencies": {
29
- "remark-cli": ">=10.0.0"
32
+ "remark-cli": ">=11.0.0"
30
33
  },
31
34
  "engines": {
32
- "node": "^14.17.0 || >=16.13.0 || >=18.0.0"
35
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
33
36
  },
34
37
  "publishConfig": {
35
38
  "access": "public"
36
39
  },
37
- "gitHead": "6b2dbe64ac8e4677dfb6b72f70e185bcd607f17b"
40
+ "gitHead": "4558b3b10e979f052739e103aef0aad62f3e637b"
38
41
  }
package/remarkignore CHANGED
@@ -2,6 +2,5 @@ build/
2
2
  coverage/
3
3
  dist/
4
4
  node_modules/
5
- out/
6
5
  # managed by standard-version, no need to lint
7
6
  CHANGELOG.md