Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: upgrade to remark 13 #29678

Merged
merged 35 commits into from
Apr 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
a360619
chore(gatsby-transformer-remark): ugprade remark-related deps
vladar Feb 22, 2021
24f7bf9
tests: update snapshots for ToC
vladar Feb 22, 2021
9ea526a
enable remark-gfm in a backwards compatible way
vladar Feb 22, 2021
045092a
gatsby-remark-autolink-headers: bump deps
vladar Feb 22, 2021
7989fc6
gatsby-remark-code-repls: bump deps
vladar Feb 22, 2021
f72c32e
gatsby-remark-copy-linked-files: bump deps
vladar Feb 22, 2021
27493a1
gatsby-remark-prismjs: bump deps
vladar Feb 22, 2021
7b1f34f
gatsby-remark-prismjs: fix breaks
vladar Feb 22, 2021
3fb3f89
gatsby-remark-embed-snippet: bump deps and fix breaks
vladar Feb 22, 2021
006b0bb
gatsby-remark-graphviz: bump deps
vladar Feb 22, 2021
ef93e70
gatsby-remark-images: bump deps
vladar Feb 22, 2021
d94e615
gatsby-remark-images-contentful: bump deps
vladar Feb 22, 2021
8c60fdb
gatsby-remark-katex: bump deps
vladar Feb 22, 2021
16f8a5d
gatsby-remark-responsive-iframe: bump deps
vladar Feb 22, 2021
62f3b2f
gatsby-remark-smartypants: bump deps
vladar Feb 22, 2021
0dfcec3
update yarn.lock
vladar Feb 22, 2021
eb0ffd2
gatsby-remark-prismjs: update snapshots
vladar Feb 23, 2021
1a8d8c6
gatsby-remark-images-contentful: bump deps
vladar Feb 23, 2021
a6e8d4d
chore: bump root remark deps
vladar Feb 23, 2021
2b813a6
gatsby-remark-katex: update snapshot
vladar Feb 23, 2021
55a6736
gatsby-remark-responsive-iframe: update snapshot
vladar Feb 23, 2021
2d6afe2
gatsby-remark-autolink-headers: update snapshot
vladar Feb 23, 2021
a5ae815
gatsby-remark-autolink-headers: update snapshot
vladar Feb 23, 2021
712e5bb
gatsby-remark-autolink-headers: fix tests
vladar Feb 23, 2021
e0a4418
gatsby-remark-code-repls: update snapshot
vladar Feb 23, 2021
765f18c
gatsby-remark-smartypants: update snapshot
vladar Feb 23, 2021
ca18fbe
gatsby-remark-custom-blocks: disable plugin tests
vladar Feb 23, 2021
b773f15
Merge branch 'master' into v3/remark-upgrade
vladar Mar 18, 2021
93dc1a5
dummy commit for canary
vladar Mar 18, 2021
71ceb68
Merge branch 'master' into v3/remark-upgrade
vladar Apr 7, 2021
5de695d
run prettier and update yarn.lock
vladar Apr 7, 2021
6de6c41
Merge branch 'master' into v3/remark-upgrade
vladar Apr 7, 2021
0eca694
gatsby-transformer-remark: update unified and unist-utils
vladar Apr 8, 2021
5c5de00
gatsby-remark-autolink-headers: correct text in tests
vladar Apr 8, 2021
bc03b7b
gatsby-remark-custom-blocks: incompatibility notice
vladar Apr 9, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,15 @@
"npm-run-all": "4.1.5",
"plop": "^1.9.1",
"prettier": "2.1.2",
"remark": "^12.0.1",
"remark-cli": "^8.0.1",
"remark-frontmatter": "^2.0.0",
"remark-lint": "^7.0.1",
"remark": "^13.0.0",
"remark-cli": "^9.0.0",
"remark-frontmatter": "^3.0.0",
"remark-lint": "^8.0.0",
"remark-lint-first-heading-level": "^2.0.1",
"remark-lint-no-duplicate-headings-in-section": "^2.0.2",
"remark-lint-no-reference-like-url": "^2.0.1",
"remark-preset-lint-markdown-style-guide": "^3.0.1",
"remark-preset-lint-recommended": "^4.0.1",
"remark-preset-lint-markdown-style-guide": "^4.0.0",
"remark-preset-lint-recommended": "^5.0.0",
"remark-retext": "^4.0.0",
"retext": "^7.0.1",
"retext-diacritics": "^3.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-remark-autolink-headers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"@babel/runtime": "^7.12.5",
"github-slugger": "^1.3.0",
"lodash": "^4.17.21",
"mdast-util-to-string": "^1.1.0",
"unist-util-visit": "^1.4.1"
"mdast-util-to-string": "^2.0.0",
"unist-util-visit": "^2.0.3"
},
"devDependencies": {
"@babel/cli": "^7.12.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,12 @@ Object {
"url": "#heading-uno",
},
Object {
"position": Position {
"position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
"indent": Array [],
"start": Object {
"column": 3,
"line": 1,
Expand All @@ -50,13 +49,12 @@ Object {
"id": "heading-uno",
},
"depth": 1,
"position": Position {
"position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
"indent": Array [],
"start": Object {
"column": 1,
"line": 1,
Expand Down Expand Up @@ -89,13 +87,12 @@ Object {
"url": "#heading-uno",
},
Object {
"position": Position {
"position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
"indent": Array [],
"start": Object {
"column": 3,
"line": 1,
Expand All @@ -117,13 +114,12 @@ Object {
"id": "heading-uno",
},
"depth": 1,
"position": Position {
"position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
"indent": Array [],
"start": Object {
"column": 1,
"line": 1,
Expand Down Expand Up @@ -156,13 +152,12 @@ Object {
"url": "#heading-uno",
},
Object {
"position": Position {
"position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
"indent": Array [],
"start": Object {
"column": 3,
"line": 1,
Expand All @@ -184,13 +179,12 @@ Object {
"id": "heading-uno",
},
"depth": 1,
"position": Position {
"position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
"indent": Array [],
"start": Object {
"column": 1,
"line": 1,
Expand All @@ -205,13 +199,12 @@ exports[`gatsby-remark-autolink-headers adds id to a markdown header with no ico
Object {
"children": Array [
Object {
"position": Position {
"position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
"indent": Array [],
"start": Object {
"column": 3,
"line": 1,
Expand All @@ -232,13 +225,12 @@ Object {
"id": "heading-uno",
},
"depth": 1,
"position": Position {
"position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
"indent": Array [],
"start": Object {
"column": 1,
"line": 1,
Expand Down Expand Up @@ -271,13 +263,12 @@ Object {
"url": "#heading-uno",
},
Object {
"position": Position {
"position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
"indent": Array [],
"start": Object {
"column": 3,
"line": 1,
Expand All @@ -299,13 +290,12 @@ Object {
"id": "heading-uno",
},
"depth": 1,
"position": Position {
"position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
"indent": Array [],
"start": Object {
"column": 1,
"line": 1,
Expand All @@ -320,13 +310,12 @@ exports[`gatsby-remark-autolink-headers adds places anchor after header when isI
Object {
"children": Array [
Object {
"position": Position {
"position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
"indent": Array [],
"start": Object {
"column": 3,
"line": 1,
Expand Down Expand Up @@ -366,13 +355,12 @@ Object {
"id": "heading-uno",
},
"depth": 1,
"position": Position {
"position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
"indent": Array [],
"start": Object {
"column": 1,
"line": 1,
Expand All @@ -387,13 +375,12 @@ exports[`gatsby-remark-autolink-headers does not add data to a markdown heading
Object {
"children": Array [
Object {
"position": Position {
"position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
"indent": Array [],
"start": Object {
"column": 3,
"line": 1,
Expand All @@ -405,13 +392,12 @@ Object {
},
],
"depth": 1,
"position": Position {
"position": Object {
"end": Object {
"column": 14,
"line": 1,
"offset": 13,
},
"indent": Array [],
"start": Object {
"column": 1,
"line": 1,
Expand All @@ -426,13 +412,12 @@ exports[`gatsby-remark-autolink-headers does not add data to a markdown heading
Object {
"children": Array [
Object {
"position": Position {
"position": Object {
"end": Object {
"column": 27,
"line": 1,
"offset": 26,
},
"indent": Array [],
"start": Object {
"column": 3,
"line": 1,
Expand All @@ -444,13 +429,12 @@ Object {
},
],
"depth": 1,
"position": Position {
"position": Object {
"end": Object {
"column": 27,
"line": 1,
"offset": 26,
},
"indent": Array [],
"start": Object {
"column": 1,
"line": 1,
Expand Down Expand Up @@ -483,13 +467,12 @@ Object {
"url": "#Heading-One",
},
Object {
"position": Position {
"position": Object {
"end": Object {
"column": 14,
"line": 2,
"offset": 14,
},
"indent": Array [],
"start": Object {
"column": 3,
"line": 2,
Expand All @@ -511,13 +494,12 @@ Object {
"id": "Heading-One",
},
"depth": 1,
"position": Position {
"position": Object {
"end": Object {
"column": 14,
"line": 2,
"offset": 14,
},
"indent": Array [],
"start": Object {
"column": 1,
"line": 2,
Expand Down Expand Up @@ -550,13 +532,12 @@ Object {
"url": "#Heading-Two",
},
Object {
"position": Position {
"position": Object {
"end": Object {
"column": 15,
"line": 4,
"offset": 30,
},
"indent": Array [],
"start": Object {
"column": 4,
"line": 4,
Expand All @@ -578,13 +559,12 @@ Object {
"id": "Heading-Two",
},
"depth": 2,
"position": Position {
"position": Object {
"end": Object {
"column": 15,
"line": 4,
"offset": 30,
},
"indent": Array [],
"start": Object {
"column": 1,
"line": 4,
Expand Down Expand Up @@ -617,13 +597,12 @@ Object {
"url": "#Heading-Three",
},
Object {
"position": Position {
"position": Object {
"end": Object {
"column": 18,
"line": 6,
"offset": 49,
},
"indent": Array [],
"start": Object {
"column": 5,
"line": 6,
Expand All @@ -645,13 +624,12 @@ Object {
"id": "Heading-Three",
},
"depth": 3,
"position": Position {
"position": Object {
"end": Object {
"column": 18,
"line": 6,
"offset": 49,
},
"indent": Array [],
"start": Object {
"column": 1,
"line": 6,
Expand Down
Loading