git.iko.soy/typeable/remark-validate-links
on main help sign in
Replace internal dependency of mdast > remark
commit848dfd4ae383b40091cc02dff4ff7bd3544703d5 authorTitus Wormer <tituswormer@gmail.com> dateSat 26 Dec 2015, 18:19 (11 years ago) parent68f173a
7 files changed+11−19
.editorconfig+1−1 .mdastignore → .remarkignore .mdastrc → .remarkrc history.md+1−1 package.json+6−6 readme.md−8 test/index.js+3−3
.editorconfig+1−1
@@ -8,7 +8,7 @@ charset = utf-8
88trim_trailing_whitespace = true
99insert_final_newline = true
1010
11−[*.{json,html,svg,css,mdastrc,eslintrc}]
11+[*.{json,html,svg,css,remarkrc,eslintrc}]
1212indent_size = 2
1313
1414[*.md]
.mdastignore → .remarkignorerenamed

The content is the same.

.mdastrc → .remarkrcrenamed

The content is the same.

history.md+1−1
@@ -1,4 +1,4 @@
1−<!--mdast setext-->
1+<!--remark setext-->
22
33<!--lint disable no-multiple-toplevel-headings-->
44
package.json+6−6
@@ -30,11 +30,11 @@
3030 "istanbul": "^0.4.0",
3131 "jscs": "^2.0.0",
3232 "jscs-jsdoc": "^1.0.0",
33− "mdast": "^3.0.0-alpha.5",
34− "mdast-comment-config": "^2.0.0-alpha.1",
35− "mdast-github": "^2.0.0-alpha.1",
36− "mdast-lint": "^2.0.0-alpha.1",
37− "mdast-toc": "^1.0.0",
33+ "remark": "^3.0.0",
34+ "remark-comment-config": "^2.0.0",
35+ "remark-github": "^2.0.0",
36+ "remark-lint": "^2.0.0",
37+ "remark-toc": "^2.0.0",
3838 "mocha": "^2.0.0"
3939 },
4040 "scripts": {
@@ -46,7 +46,7 @@
4646 "lint-style": "jscs --reporter inline .",
4747 "lint": "npm run lint-api && npm run lint-style",
4848 "make": "npm run lint && npm run test-coverage",
49− "build-md": "mdast . --quiet",
49+ "build-md": "remark . --quiet --frail",
5050 "build": "npm run build-md"
5151 }
5252}
readme.md−8
@@ -1,13 +1,5 @@
11# remark-validate-links [![Build Status](https://img.shields.io/travis/wooorm/remark-validate-links.svg)](https://travis-ci.org/wooorm/remark-validate-links) [![Coverage Status](https://img.shields.io/codecov/c/github/wooorm/remark-validate-links.svg)](https://codecov.io/github/wooorm/remark-validate-links)
22
3−> :warning: **mdast is currently being renamed to remark** :warning:
4−>
5−> This means all plug-ins and relating projects change too, causing many
6−> changes across the ecosystem. Expect the dust to settle in roughly a day.
7−>
8−> See this project at the previous stable commit
9−> [c4a51d1](https://github.com/wooorm/remark-github/commit/c4a51d1).
10−
113[**remark**](https://github.com/wooorm/remark) plug-in to validate if links to
124headings and files in markdown point to existing things.
135
test/index.js+3−3
@@ -17,8 +17,8 @@
1717var assert = require('assert');
1818var hook = require('hook-std');
1919var fs = require('fs');
20−var mdast = require('mdast');
21−var cli = require('mdast/lib/cli');
20+var remark = require('remark');
21+var cli = require('remark/lib/cli');
2222var links = require('..');
2323
2424/*
@@ -75,7 +75,7 @@ describe('remark-validate-links', function () {
7575
7676 it('should throw an error when not on the CLI', function () {
7777 assert.throws(function () {
78− mdast().use(links);
78+ remark().use(links);
7979 }, /Error: remark-validate-links only works on the CLI/);
8080 });
8181