* refactor(v2): simplify last updated logic for faster dev
* Update packages/docusaurus-plugin-content-docs/src/__tests__/lastUpdate.test.ts
* Update packages/docusaurus-plugin-content-docs/src/__tests__/lastUpdate.test.ts
* refactor(v2): add typing for docusaurus/core
* wip: last working
* refactor(v2): add typing for @docusaurus/core
* prettier
* dont run in parallel otherwise some are uncompiled
* nits
* more typing
* more typing
* nits
* type commands
* nits
* chore: move to monorepo
* lint all js file
* simplify circleCI
* fix failing tests
* fix tests due to folder rename
* fix test since v1 website is renamed
* Move start reload server into separate module
* Find an unused port when starting the live reload server
* Move findUnusedPort into module
* Add tests for findUnusedPort module
* Refactor findUnusedPort
* Move starting of servers into separate module and add tests
* Remove unused constants.js
* Zap extra line breaks
* Add tests for liveReloadServer
* Rename serverController to start
* Move start into lib/server
* Add portfinder package
* Replace findUnusedPort with portfinder
* nits
* Adding last updated time for docs
* Making file path general and other suggested changes
* Checking if time returned is null due to absence of git or some other issue
* Adding option to enable/disable update time feature and test-doc
* Adding simple unit tests for getGitUpdateTime()
* nits & rewrote failing test
* consistent test naming
* Adding optional updateEnableTime in documentation
* package-lock & yarn.lock
* Fix conflicting strings issue in translations
* Preserve structure of `customTranslations`
* Use `deepmerge` to merge whole of `localized-strings`
* Simplify and make deep property access on an object safe
* Fix deep property accessor and rename it to idx
* 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".
* 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