refactor(init): share common files between templates (#5315)

* Create shared folder & update init logic

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Restore needed links

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Prevent copying symlinks

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Reuse some FB files

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Minor tweak

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Minor refactors

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Fix bootstrap url

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Add path alias

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Handle facebook template more gracefully

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* minor refactor: extract getTypeScriptBaseTemplate

Co-authored-by: slorber <lorber.sebastien@gmail.com>
This commit is contained in:
Joshua Chen 2021-08-10 22:26:59 +08:00 committed by GitHub
parent 58a8b0ea2c
commit 4c246493ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
98 changed files with 72 additions and 1431 deletions

View file

@ -18,7 +18,7 @@ module.exports = {
},
items: [
{
to: 'docs/',
to: 'docs/intro',
activeBasePath: 'docs',
label: 'Docs',
position: 'left',