Commit Graph

141 Commits

Author SHA1 Message Date
Endilie Yacop Sucipto 2fa67bbc13
v1.3.3 (#912)
* v1.3.3

* nits changelog

* run npm update & yarn update

* run prettier
2018-08-23 11:48:44 +08:00
Julien Odent 0a3f0ecdc5 Renamed Sonar to Flipper (#905)
* Noticed caption was "Sonar" but redirecting to https://fbflipper.com.
* Fixed caption and renamed files for consistency.
* Moved project after FastText to keep alphabetical ordering.
* Ran prettier and included changes.

Test plan:
  npm run test && npm run prettier && npm run lint

  cd website && npm run start

Noticed projects are rendered properly and caption is now "Flipper".
2018-08-17 09:39:20 -07:00
jess ef80581e8e Activating Open Collective (#883) 2018-08-03 18:25:57 -07:00
Endilie Yacop Sucipto edb364ad02
chore: update jest to v23 (#885)
* chore: update jest to v23

* add changelog
2018-08-03 17:08:51 +08:00
Endilie Yacop Sucipto 18158d6abc
fix: truncate blogpost properly with truncate-html (#880)
* fix: truncate blogpost properly with truncate-html

* revert test file change

* chore: truncate blogpost for feed changelog
2018-08-02 15:16:26 +08:00
Endilie Yacop Sucipto 42a96696a4
chore: delete unused/ old file (#881) 2018-08-02 00:52:50 +08:00
Sashank Thupukari d3417b3bf2 Add autoprefixing to CSS pipeline (#867)
Add [autoprefixer](https://github.com/postcss/autoprefixer) as a final build step in the CSS pipeline.
2018-07-22 00:05:13 -07:00
Endilie Yacop Sucipto 9f718a5097 Refactor + add more tests (Part 2) (#854)
* Refactor doc in server.js & generate.js

* Refactor finding metadata with find() & avoid param reassign

* Refactor replacing markdown link to html + add test

* Minify func to getFile & add test

* use ./ for md link as well

* nits & better test

* better mdToHtmlify

* babel-register on versions & write-translations to transpile ES6 in server/env.js

* better docs test & move out metadata to fixtures

* Update .babelrc
2018-07-16 01:45:23 -07:00
Yangshun Tay a7a214fb3a ESLintify Part 3 (#846)
* ESLintify Part 3

* ESLintify Part 3

* ESLintify Part 3
2018-07-11 18:21:31 +08:00
Yangshun Tay 5ac2cee658
ESLintify Part 2 (#841)
* ESLintify Part 2

* Fix

* Fix tests

* Fix tests

* Fix tests
2018-07-10 21:53:08 -07:00
Yangshun Tay 4267337fb0
Fix CSS tests (#839)
* Fix CSS tests

* Revamp

* -

* fix failing test

* add test for minifyCss with fixtures & snapshot

* remove unintended addition

* simplify the test.css
2018-07-10 10:42:32 -07:00
Yangshun Tay 128dbfca0a Tidy up ESLint usage (#836)
* Use Airbnb ESLint

* Turn off rules

* Add back

* add website to eslint precommit

* Add back

* remove useless escape
2018-07-07 15:25:14 +07:00
Yangshun Tay 936725c94d Bump package.json 🤦‍♂️ 2018-07-06 01:11:13 -07:00
Endilie Yacop Sucipto 21dcea2a31
Integrate eslint & precommit to codebase (#815)
* add eslint, precommit & refactor

* fix exit code 127

* modify contributing.md & add package-lock

* use .eslintrc.js
2018-07-01 12:27:31 +08:00
Yangshun Tay 3a3ee44389
Publish v.1.3.1 (#816)
* Publish v.1.3.1

* Add desc
2018-06-30 13:02:28 -07:00
Yangshun Tay 5a8e9a9ff1
Exclude vendor dir from directory tree printing (#798)
* Exclude vendor dir for directory tree printing

* Upgrade tree-node-cli

* Upgrade tree-node-cli

* Update package-lock.json
2018-06-23 23:47:48 -07:00
Yangshun Tay 82f5727965
Publish v1.3.0 (#791)
* Publish v1.3.0

* Run version script

* Update CHANGELOG.md
2018-06-20 21:13:58 -07:00
Joel Marcey ca8afb0951
Publish v1.2.1 (#785) 2018-06-17 16:00:12 -07:00
Joel Marcey 0d000b1bec Publish v1.2.0 (#753) 2018-06-10 12:04:23 -07:00
Endilie Yacop Sucipto c8bc00a3a7 Enable using Prism for syntax highlighting (#735)
* Enable user to use prism.js as syntax highlighter

* add package-lock

* if 'usePrism' is true, use prismjs on all languages

* don't get lang by hljs if use prism

* Update api-site-config.md

* Update api-doc-markdown.md

* only load prism css when usePrism is true
2018-06-09 11:38:01 -07:00
Joel Marcey 01bc5e4dd5
Publish v1.1.5 (#707) 2018-05-26 11:29:10 -07:00
Yangshun Tay b7be85843a
Publish v1.1.4 (#703) 2018-05-25 23:10:44 -07:00
artiebits 407636a4d9 Don't open a site in a new tab if it's already open (#698)
* Don't open a site in a new tab if it's already open

* Remove opn from dependencies
2018-05-24 20:47:01 -07:00
Joel Marcey d143b3f87e
Publish v1.1.3 (#695) 2018-05-23 11:28:02 -07:00
Yangshun Tay a603aff193
Publish v1.1.2 (#685)
* Update tree-node-cli

* Publish v1.1.2

* Fix version
2018-05-21 21:43:23 -07:00
Yangshun Tay 1a604d820b
Update tree-node-cli (#684) 2018-05-21 21:32:24 -07:00
Joel Marcey 96dd757bdc
Publish v1.1.1 (#681) 2018-05-21 13:56:37 -07:00
Yangshun Tay 923356e312 Shift opn to dependencies (#680) 2018-05-21 13:46:49 -07:00
Joel Marcey cfaa8905ef
Publish version 1.1.0 (#679) 2018-05-21 08:27:18 -07:00
Amy Lam f9a09072e3 Add LiveReload (#663) 2018-05-17 16:17:56 -07:00
Amy Lam 1796764b1c Print out directory tree during docusaurus-init (#665)
* WIP does not work

* rm -rf website/

Run docusaurus-init

Even by deleting text here, it still shows up? Confused.

* Shift in tree printing logic

* Shift printing logic to the current location
2018-05-15 20:06:44 -07:00
Agastya Darma 25cf8bb786 Migrate to React 16 (#655)
* migrating to react 16

* Add WarriorJS to Docusaurus users (#656)

* Separate users data from code

* Add WarriorJS to Docusaurus users

* [Feature] Introducing image compression using imagemin (#654)

* Introduce imagemin for compressing images

* Replace original images with the optimized ones

* Add imagemin-svgo to dependencies

* Remove console statement, replace let with const

* Replace let with const

* Add --skip-image-compression

* Run Prettier

* Fix header

* Prettier
2018-05-09 19:58:47 -07:00
Ahmad Alfy ab6bab9f8d [Feature] Introducing image compression using imagemin (#654)
* Introduce imagemin for compressing images

* Replace original images with the optimized ones

* Add imagemin-svgo to dependencies

* Remove console statement, replace let with const

* Replace let with const

* Add --skip-image-compression

* Run Prettier
2018-05-09 16:59:36 -07:00
Yangshun Tay 1a6f2fc51c Add open in browser functionality (#643) 2018-05-07 09:46:14 -07:00
Joel Marcey 5b4fb4b4a5
Publish v1.0.15 (#645) 2018-05-06 11:04:56 -07:00
Joel Marcey 6041f9ece7
Publish v1.0.14 (#597) 2018-04-23 16:40:13 -07:00
Joel Marcey 266b37498a
Publish v1.0.13 (#589) 2018-04-20 12:03:21 -07:00
Joel Marcey 40a9047620
Publish v1.0.12 (#581) 2018-04-18 09:57:17 -07:00
Yangshun Tay 159b80df94
Use cssnano to minify main CSS file (#569)
* Add cssnano to CSS generation

* Add babel-polyfill

* Call cssnano at the end

* Fix tests

* Add babelrc
2018-04-16 21:31:01 -07:00
Zoltan Kochan e2b8fa7aef Fix(deps): add mkdirp to package.json (#471)
mkdirp is used throughout the project.
This works because npm and Yarn create flat node_modules.
Docusaurus fails though with pnpm, which creates a strict
node_modules.
2018-04-14 10:47:41 -07:00
Joel Marcey 257b5c9ebd
Publish Docusaurus v1.0.11 (#551) 2018-04-12 09:50:16 -07:00
Yangshun Tay 1db939b119 Revert yarn prettier addition in yarn ci-check (#543) 2018-04-10 10:30:29 -07:00
Kaveh Khorram bbbe311004 Dynamic port switching (#516) 2018-04-10 08:48:44 -07:00
Joel Marcey 71317e49ba
Publish Docusaurus v1.0.10 (#538) 2018-04-09 12:06:40 -07:00
Elian Ibaj c437f7be37 Use markdown-toc (#524) 2018-04-04 10:19:03 -07:00
Joel Marcey 288afc3310
Publish Docusaurus v1.0.9 (#502) 2018-03-13 09:33:34 -07:00
Joel Marcey 1a245a81b2
Publish Docusaurus v1.0.8 (#499) 2018-03-12 17:00:58 -07:00
Joel Marcey 2c2d6d6158
Publish Docusaurus v1.0.7 (#461) 2018-02-17 12:39:15 -08:00
Joel Marcey b27ff6e1c0
Publish Docusaurus v1.0.6 (#447) 2018-02-12 19:30:35 -08:00
Henry Zhu cb2f0eda62 Also transform class properties and object rest spread (#419) 2018-01-26 10:47:09 -08:00