Skip to content

Commit

Permalink
Add Netlify script
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed Jan 20, 2019
1 parent 406f885 commit d39b78d
Show file tree
Hide file tree
Showing 9 changed files with 73 additions and 195 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,4 @@ crashlytics.properties
crashlytics-build.properties

lib/
/public/index.html
3 changes: 3 additions & 0 deletions .netlify/state.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"siteId": "cb2515fa-047e-498a-9d4d-d9b2e5c271bd"
}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,14 @@
"bootstrap": "lerna bootstrap",
"build": "lerna run build",
"test": "lerna run test",
"updateSnapshot": "lerna run updateSnapshot",
"versionup": "lerna version --conventional-commits",
"versionup:patch": "lerna version patch --conventional-commits",
"versionup:minor": "lerna version minor --conventional-commits",
"versionup:major": "lerna version minor --conventional-commits",
"realse": "lerna publish from-package",
"prettier": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\""
"prettier": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
"netlify": "node public/update-index.js"
},
"devDependencies": {
"husky": "^1.3.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/mdline-parser/test/snapshots/ecmascript/input.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ the seventh edition, intended to continue the themes of language reform, code is

the eighth edition, includes features for concurrency and atomics, syntactic integration with promises (async/await).

## 2015-06: ECMAScript 2018
## 2018-06: ECMAScript 2018

ECMAScript 2018 (ES2018), the ninth edition, includes features for asynchronous iteration and generators, new regular expression features and rest/spread parameters.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
},
{
"title": "ECMAScript 2018",
"beginDate": "2015-06",
"beginDate": "2018-06",
"bodyMarkdown": "ECMAScript 2018 (ES2018), the ninth edition, includes features for asynchronous iteration and generators, new regular expression features and rest/spread parameters.",
"bodyHTML": "<p>ECMAScript 2018 (ES2018), the ninth edition, includes features for asynchronous iteration and generators, new regular expression features and rest/spread parameters.</p>\n"
}
Expand Down
4 changes: 4 additions & 0 deletions packages/mdline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
],
"main": "lib/mdline.js",
"types": "lib/mdline.d.ts",
"bin": {
"mdline": "bin/cmd.js"
},
"directories": {
"lib": "lib",
"test": "test"
Expand All @@ -33,6 +36,7 @@
"prettier": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
"prepublish": "npm run --if-present build",
"test": "mocha \"test/**/*.ts\"",
"updateSnapshot": "cross-env UPDATE_SNAPSHOT=1 npm test",
"watch": "tsc -p . --watch"
},
"prettier": {
Expand Down
105 changes: 21 additions & 84 deletions packages/mdline/test/snapshots/example/input.md
Original file line number Diff line number Diff line change
@@ -1,104 +1,41 @@
## 2011-01-16: JSer.info 公開
## 1997-06: ECMAScript 1

JSer.infoを公開して運用を開始した。
First edition.

## 2012-01-16: JSer.info 1周年
## 1998-06: ECMAScript 2

JSer.infoを公開してから1年が経ったのを記念して[オフラインJavaScript勉強会](https://atnd.org/events/23551)で発表をした。
Editorial changes to keep the specification fully aligned with ISO/IEC 16262 international standard.

詳細は[オフライン勉強会でJSer.info一周年について発表してきた - JSer.info](https://jser.info/post/15883533195)を参照。
## 1999-12: ECMAScript 3

## 2012-12-10: JSer.info 100回
Added regular expressions, better string handling, new control statements, try/catch exception handling, tighter definition of errors, formatting for numeric output and other enhancements.

100回目の投稿。
## 2000-01--2007-10-23: [Abandoned] ECMAScript 4

- [2012-12-10のJS: Firebug 1.11.0、Heap Profilerでのメモリリーク調査、CSS testing tools - JSer.info](https://jser.info/post/37638024456)
Fourth Edition was abandoned, due to political differences concerning language complexity. Many features proposed for the Fourth Edition have been completely dropped; some were incorporated into the sixth edition.

## 2013-01-21: JSer.info 2周年
## 2009-12: ECMAScript 5

2周年を迎えた。
Adds "strict mode," a subset intended to provide more thorough error checking and avoid error-prone constructs.
Clarifies many ambiguities in the 3rd edition specification, and accommodates behaviour of real-world implementations that differed consistently from that specification. Adds some new features, such as getters and setters, library support for JSON, and more complete reflection on object properties.

公開時にとりあえず2年はやってみることにしていていてそれを達成した。
## 2011-06: ECMAScript 5.1

- [2013-01-21のJS: jQuery 1.9、Testing jQuery Plugins、JavaScript testing boilerplate - JSer.info](https://jser.info/post/41104670903)
This edition 5.1 of the ECMAScript standard is fully aligned with third edition of the international standard ISO/IEC 16262:2011.

## 2014-01-16: JSer.info 3周年

3周年を迎えた。
## 2015-06: ECMAScript 2015

- [third anniversary - JSer.info](https://jser.info/post/73484514668/third-anniversary)
The sixth edition, initially known as ECMAScript 6 (ES6) and later renamed to ECMAScript 2015 (ES2015) adds significant new syntax for writing complex applications, including classes and modules, but defines them semantically in the same terms as ECMAScript 5 strict mode. Other new features include iterators and for/of loops, Python-style generators and generator expressions, arrow functions, binary data, typed arrays, collections (maps, sets and weak maps), promises, number and math enhancements, reflection, and proxies (metaprogramming for virtual objects and wrappers). As the first "ECMAScript Harmony" specification, it is also known as "ES6 Harmony."

## 2014-08-03: GitHub Pagesに移行
## 2016-06: ECMAScript 2016

TumblrからGitHub Pagesに移行した。
the seventh edition, intended to continue the themes of language reform, code isolation, control of effects and library/tool enabling from ES2015, includes two new features: the exponentiation operator (**) and Array.prototype.includes.

詳細は[JSer.infoをTumblrからGitHub Pagesに移行しました - JSer.info](https://jser.info/2014/08/03/renewal/)を参照。
## 2017-06: ECMAScript 2017

## 2014-11-02: JSer.info 200回
the eighth edition, includes features for concurrency and atomics, syntactic integration with promises (async/await).

投稿記事が200コになることを記念して、初めて主催となるイベントを開催した。
## 2018-06: ECMAScript 2018

詳細は[JSer.info 200回記念イベントを開催しました - JSer.info](https://jser.info/2014/11/02/jser200/)を参照。

## 2015-01-16: JSer.info 4周年

4周年を迎えた。

詳細は[JSer.info 4周年 - JSer.info](https://jser.info/2015/01/16/4-years/)を参照。

## 2015-06-10: JSer.infoの韓国語訳

同サイト内で韓国語訳を開始した。

- <https://jser.info/ko/>

韓国語訳は[U-Yeong Ju](https://github.com/UYEONG)さんがメインでしている。

- [2015-06-10のJS: ブラウザとES6の状況、Web Audio APIチュートリアル - JSer.info](https://jser.info/2015/06/10/es6-status-webaudio/)

## 2016-01-16: JSer.info 5周年

5周年となり記念イベントを開催した。
イベントではJavaScript Discussionのコーナーを行うようになった。

[ECMAScript Daily](https://ecmascript-daily.github.io/)というECMAScriptに関する情報のみを扱うサイトを作成した。

詳細は[JSer.info 5周年記念イベントを開催しました - JSer.info](https://jser.info/2016/01/16/jser-5years/)を参照。

## 2016-10-10: JSer.info 300回

300回目の投稿。サイトがフルHTTPSへ移行した。
また[Ping! to JSer.info](https://jser.info/ping/ "Ping! to JSer.info")で掲載して欲しいURLを通知できるようになった。

詳細は[JSer.info 300回目 && https化 && ユーザー投稿機能 - JSer.info](https://jser.info/2016/10/10/300posts/)を参照。

## 2017-01-16: JSer.info 6周年

6周年を迎えた。

前日の2017-01-15に6周年記念イベントを開催した。
イベントではDropbox Paperを使ったリアルタイム書き起こしを取り入れた。

詳細は[JSer.info 6周年記念イベントを開催しました - JSer.info](https://jser.info/2017/01/15/jser-info-6years/)を参照。

## 2018-01-16: JSer.info 7周年

7周年を迎えた。365回目の投稿。

あらためてJSer.infoのワークフローについてをまとめた

詳細は[JSer.infoを開始してから7年が経ちました - JSer.info](https://jser.info/2018/01/15/jser-info-7years/)を参照。

## 2018-09-22: JSer.info 400回

400回目の投稿。

400回記念イベントを開催した。

詳細は[JSer.info 400回記念イベントを開催しました - JSer.info](https://jser.info/2018/09/22/jser-info-400/)を参照。

## 2019-01-16: JSer.info 8周年

8周年を迎えた。

[twitter]: twitter.png "Twitter"
ECMAScript 2018 (ES2018), the ninth edition, includes features for asynchronous iteration and generators, new regular expression features and rest/spread parameters.
Loading

0 comments on commit d39b78d

Please sign in to comment.