Commit Graph

38 Commits

Author SHA1 Message Date
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
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
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
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 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
Joel Marcey ca8afb0951
Publish v1.2.1 (#785) 2018-06-17 16:00:12 -07:00
Yangshun Tay ddcd18a803
Add Metro as user (#755)
* Add Metro as user

* Remove redundant React logo
2018-06-10 17:57:01 -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
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
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
Paul O’Shannessy c5b7744dd8 Regenerate package lock files (#649) 2018-05-07 16:11:07 -07:00
Yangshun Tay 1a6f2fc51c Add open in browser functionality (#643) 2018-05-07 09:46:14 -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
Elian Ibaj c437f7be37 Use markdown-toc (#524) 2018-04-04 10:19:03 -07:00
Henry Zhu cb2f0eda62 Also transform class properties and object rest spread (#419) 2018-01-26 10:47:09 -08:00
Héctor Ramos eafcf13a4c Switch rsync for fs-extra (#321) 2017-12-19 13:29:41 -08:00
Héctor Ramos 60bd8bc754 Switch to rsync package (#320)
* Switch to rsync package

This removes the need to install rsync natively in CI

* Update publish-gh-pages.js
2017-12-19 12:34:12 -08:00
Joel Marcey f5db4c3f80 Update package and yarn lock files 2017-12-18 14:44:57 -08:00
Jan Kassens b174ee2d2a Update prettier to 1.9.1 (#273) 2017-12-12 12:47:52 -08:00
Ricky Vetter c22203523f use faded primaryColor background for inline code snippets instead of link color (#276) 2017-12-12 12:46:52 -08:00
Héctor Ramos 65421db62e Add Prettier Formatting (#258)
* Add Prettier formatting to source files and example files, and check that Prettier formatting is maintained on PRs

* Remove trailing-comma as we are using Node 6 on Circle

* Use latest Node 6 LTS version in Circle

* Remove unused test
2017-12-04 19:21:02 -08:00
Héctor Ramos 420d2e86fb Replace diff with string comparison (#230) 2017-11-15 12:17:05 -08:00
Héctor Ramos 140dcaa500 [CI] Switch to Circle 2 (#168)
* Switch to Circle 2

* Use Yarn in CI

* Move things around

* Fix Remarkable case issue

* Run placeholder test

* Update deploy script

Use multiline commit messages to ensure commit beign deployed is documented in git history
2017-10-25 14:04:24 -07:00
Héctor Ramos 9bc6d27f32 Break up long line that was messing up our page. (#174)
* Break up long line that was messing up our page.

* Remove file that should not be in source control
2017-10-24 16:15:50 -07:00
Eric Nakagawa bcba05ae03 Adds sitemap.xml. Adds 'Help Translate' to translatable strings. Error messages and fn name cleanups. (#136)
* added a note about needing more than one language to be enabled to allow for a drop down

* Removing debug statements

* Add 'Help Translate' to translatable strings, improves error messages around missing translated strings, calls write-translations on some routes

* Adds sitemap.xml to live server and build. Versioning not supported. -- Also did some file name and module cache cleanups.
2017-10-18 12:55:58 -07:00
Eric Nakagawa 3b5db4bbf8 2 bug fixes (#98)
* Merge fix

* Updating lock file.

* Bug fix for rss feed truncation...

* Fixes infinite recursive loop for #89

* Removed use of module cache invalidator from feed.js

* Replaced 'latest' babel presets with 'env'

* Ignore temp build folder

* Adding back new truncation logic for RSS

* Updating yarn lock
2017-09-28 14:46:29 -07:00
Eric Nakagawa 8e9808c0f4 Re-arranging of files to move localized base files in /docs from /docs/en, updates to template crowdin.yaml, update to package.json to make calling crowdin easier. Updating documentation to reflect. 2017-09-21 08:36:30 -07:00