Skip to content

Commit b93b385

Browse files
committed
chore(docs): describe fork version
1 parent bf54f56 commit b93b385

File tree

4 files changed

+90
-16
lines changed

4 files changed

+90
-16
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
## AST explorer
22

3+
## Fork version for textlint
4+
5+
This version limited for [textlint](http://textlint.github.io/ "textlint").
6+
7+
- Markdown
8+
- Plain text
9+
10+
Bellow is original text.
11+
12+
Please Visit [https://textlint.github.io/astexplorer](https://textlint.github.io/astexplorer).
13+
14+
**Notes**
15+
16+
- Deploy: use `website/deploy.sh`
17+
18+
------
19+
20+
321
[![Join the chat at https://gitter.im/astexplorer/Lobby](https://badges.gitter.im/astexplorer/Lobby.svg)](https://gitter.im/astexplorer/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
422

523
Paste or drop code into the editor and inspect the generated AST.

website/index.ejs

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>AST explorer</title>
4+
<title>textlint AST explorer</title>
55
<meta charset="UTF-8">
66
<meta name="description" content="An online AST explorer.">
77
<%= htmlWebpackPlugin.files.webpackManifest %>
@@ -19,19 +19,8 @@
1919
and
2020
<a href="https://webpack.github.io/">WebPack</a>
2121
|
22-
<a href="https://github.com/fkling/astexplorer">GitHub</a>
22+
<a href="https://github.com/textlint/astexplorer">GitHub</a>
2323
</div>
2424
</div>
25-
<!-- Google Analytics -->
26-
<script>
27-
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
28-
var ID = location.hostname === 'astexplorer.net' ?
29-
'UA-81889051-1' :
30-
'UA-81889051-2';
31-
ga('create', ID, 'auto');
32-
ga('send', 'pageview');
33-
</script>
34-
<script async src='https://www.google-analytics.com/analytics.js'></script>
35-
<!-- End Google Analytics -->
3625
</body>
3726
</html>

website/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"exports-loader": "^0.6.2",
2424
"extract-text-webpack-plugin": "^2.0.0",
2525
"file-loader": "^0.10.0",
26+
"gh-pages": "^0.12.0",
2627
"html-webpack-plugin": "^2.28.0",
2728
"http-server": "^0.9.0",
2829
"inline-manifest-webpack-plugin": "^3.0.1",
@@ -113,6 +114,7 @@
113114
"build": "rimraf ../out/* && cross-env NODE_ENV=production webpack",
114115
"watch": "webpack -dw",
115116
"lint": "eslint src/",
116-
"fontcustom": "fontcustom compile ./fontcustom/input-svg/ --config=./fontcustom/config.yml"
117+
"fontcustom": "fontcustom compile ./fontcustom/input-svg/ --config=./fontcustom/config.yml",
118+
"deploy": "npm run build && gh-pages -d ../out"
117119
}
118120
}

website/yarn.lock

Lines changed: 67 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,12 @@ [email protected]:
258258
version "0.9.0"
259259
resolved "https://registry.yarnpkg.com/async/-/async-0.9.0.tgz#ac3613b1da9bed1b47510bb4651b8931e47146c7"
260260

261+
262+
version "2.1.2"
263+
resolved "https://registry.yarnpkg.com/async/-/async-2.1.2.tgz#612a4ab45ef42a70cde806bad86ee6db047e8385"
264+
dependencies:
265+
lodash "^4.14.0"
266+
261267
async@^1.4.0, async@^1.5.0:
262268
version "1.5.2"
263269
resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a"
@@ -1704,6 +1710,12 @@ collapse-white-space@^1.0.2:
17041710
version "1.0.2"
17051711
resolved "https://registry.yarnpkg.com/collapse-white-space/-/collapse-white-space-1.0.2.tgz#9c463fb9c6d190d2dcae21a356a01bcae9eeef6d"
17061712

1713+
collections@^0.2.0:
1714+
version "0.2.2"
1715+
resolved "https://registry.yarnpkg.com/collections/-/collections-0.2.2.tgz#1f23026b2ef36f927eecc901e99c5f0d48fa334e"
1716+
dependencies:
1717+
weak-map "1.0.0"
1718+
17071719
color-convert@^1.3.0:
17081720
version "1.9.0"
17091721
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.0.tgz#1accf97dd739b983bf994d56fec8f95853641b7a"
@@ -1750,7 +1762,7 @@ combined-stream@^1.0.5, combined-stream@~1.0.5:
17501762
dependencies:
17511763
delayed-stream "~1.0.0"
17521764

1753-
[email protected], commander@^2.5.0:
1765+
[email protected].0, [email protected].x, commander@^2.5.0:
17541766
version "2.9.0"
17551767
resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4"
17561768
dependencies:
@@ -2926,6 +2938,18 @@ getpass@^0.1.1:
29262938
dependencies:
29272939
assert-plus "^1.0.0"
29282940

2941+
gh-pages@^0.12.0:
2942+
version "0.12.0"
2943+
resolved "https://registry.yarnpkg.com/gh-pages/-/gh-pages-0.12.0.tgz#d951e3ed98b85699d4b0418eb1a15b1a04988dc1"
2944+
dependencies:
2945+
async "2.1.2"
2946+
commander "2.9.0"
2947+
globby "^6.1.0"
2948+
graceful-fs "4.1.10"
2949+
q "1.4.1"
2950+
q-io "1.13.2"
2951+
rimraf "^2.5.4"
2952+
29292953
glob-base@^0.3.0:
29302954
version "0.3.0"
29312955
resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4"
@@ -2990,6 +3014,20 @@ globby@^5.0.0:
29903014
pify "^2.0.0"
29913015
pinkie-promise "^2.0.0"
29923016

3017+
globby@^6.1.0:
3018+
version "6.1.0"
3019+
resolved "https://registry.yarnpkg.com/globby/-/globby-6.1.0.tgz#f5a6d70e8395e21c858fb0489d64df02424d506c"
3020+
dependencies:
3021+
array-union "^1.0.1"
3022+
glob "^7.0.3"
3023+
object-assign "^4.0.1"
3024+
pify "^2.0.0"
3025+
pinkie-promise "^2.0.0"
3026+
3027+
3028+
version "4.1.10"
3029+
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.10.tgz#f2d720c22092f743228775c75e3612632501f131"
3030+
29933031
graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.4:
29943032
version "4.1.11"
29953033
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658"
@@ -4138,6 +4176,10 @@ [email protected], mime@^1.2.11:
41384176
version "1.3.4"
41394177
resolved "https://registry.yarnpkg.com/mime/-/mime-1.3.4.tgz#115f9e3b6b3daf2959983cb38f149a2d40eb5d53"
41404178

4179+
mimeparse@^0.1.4:
4180+
version "0.1.4"
4181+
resolved "https://registry.yarnpkg.com/mimeparse/-/mimeparse-0.1.4.tgz#dafb02752370fd226093ae3152c271af01ac254a"
4182+
41414183
minimalistic-assert@^1.0.0:
41424184
version "1.0.0"
41434185
resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.0.tgz#702be2dda6b37f4836bcb3f5db56641b64a1d3d3"
@@ -4982,10 +5024,25 @@ punycode@^1.2.4, punycode@^1.4.1:
49825024
version "1.4.1"
49835025
resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e"
49845026

4985-
q@^1.1.2:
5027+
5028+
version "1.13.2"
5029+
resolved "https://registry.yarnpkg.com/q-io/-/q-io-1.13.2.tgz#eea130d481ddb5e1aa1bc5a66855f7391d06f003"
5030+
dependencies:
5031+
collections "^0.2.0"
5032+
mime "^1.2.11"
5033+
mimeparse "^0.1.4"
5034+
q "^1.0.1"
5035+
qs "^1.2.1"
5036+
url2 "^0.0.0"
5037+
5038+
[email protected], q@^1.0.1, q@^1.1.2:
49865039
version "1.4.1"
49875040
resolved "https://registry.yarnpkg.com/q/-/q-1.4.1.tgz#55705bcd93c5f3673530c2c2cbc0c2b3addc286e"
49885041

5042+
qs@^1.2.1:
5043+
version "1.2.2"
5044+
resolved "https://registry.yarnpkg.com/qs/-/qs-1.2.2.tgz#19b57ff24dc2a99ce1f8bdf6afcda59f8ef61f88"
5045+
49895046
qs@~2.3.3:
49905047
version "2.3.3"
49915048
resolved "https://registry.yarnpkg.com/qs/-/qs-2.3.3.tgz#e9e85adbe75da0bbe4c8e0476a086290f863b404"
@@ -6208,6 +6265,10 @@ url-loader@^0.5.7:
62086265
loader-utils "^1.0.2"
62096266
mime "1.3.x"
62106267

6268+
url2@^0.0.0:
6269+
version "0.0.0"
6270+
resolved "https://registry.yarnpkg.com/url2/-/url2-0.0.0.tgz#4eaabd1d5c3ac90d62ab4485c998422865a04b1a"
6271+
62116272
url@^0.11.0:
62126273
version "0.11.0"
62136274
resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1"
@@ -6292,6 +6353,10 @@ watchpack@^1.2.0:
62926353
chokidar "^1.4.3"
62936354
graceful-fs "^4.1.2"
62946355

6356+
6357+
version "1.0.0"
6358+
resolved "https://registry.yarnpkg.com/weak-map/-/weak-map-1.0.0.tgz#b66e56a9df0bd25a76bbf1b514db129080614a37"
6359+
62956360
webidl2@^2.0.11:
62966361
version "2.2.2"
62976362
resolved "https://registry.yarnpkg.com/webidl2/-/webidl2-2.2.2.tgz#aa2862de82b3756dcfab6babc19782617388fe76"

0 commit comments

Comments
 (0)