@foray1010/remark-preset 6.0.1 → 7.0.2

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,6 +3,30 @@
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.2](https://github.com/foray1010/common-presets/compare/@foray1010/remark-preset@7.0.1...@foray1010/remark-preset@7.0.2) (2022-08-24)
7
+
8
+ **Note:** Version bump only for package @foray1010/remark-preset
9
+
10
+ ## [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)
11
+
12
+ ### Bug Fixes
13
+
14
+ - remove unused ignore patterns ([11d05bf](https://github.com/foray1010/common-presets/commit/11d05bf3e7cb001d1260f885089500e1ddf5fb02))
15
+
16
+ ## [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)
17
+
18
+ ### ⚠ BREAKING CHANGES
19
+
20
+ - **remark-preset:** support remark >= 12
21
+
22
+ ### Features
23
+
24
+ - **remark-preset:** support remark >= 12 ([f6f67e5](https://github.com/foray1010/common-presets/commit/f6f67e571f32e721abcb52ff8aafad453777e784))
25
+
26
+ ### Bug Fixes
27
+
28
+ - **remark-preset:** cannot run in node 14.17 ([a1fb90a](https://github.com/foray1010/common-presets/commit/a1fb90a4b416b39e76cae104ffc0e56f68f1b23b))
29
+
6
30
  ## [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)
7
31
 
8
32
  ### Bug Fixes
package/README.md CHANGED
@@ -2,13 +2,15 @@
2
2
 
3
3
  ## Installation
4
4
 
5
- 1. `yarn add -DE remark-cli @foray1010/remark-preset`
5
+ 1. `yarn add -DE @foray1010/remark-preset remark-cli`
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.1",
4
+ "version": "7.0.2",
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,23 +10,26 @@
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
35
  "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
@@ -34,5 +37,5 @@
34
37
  "publishConfig": {
35
38
  "access": "public"
36
39
  },
37
- "gitHead": "162f905054a12ba6777eb746f2f440a68876463c"
40
+ "gitHead": "8f4681aea3421297bffa13e0bbbf7f6dba20ca70"
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