Joshua Chen
bd70cfc1d7
refactor(create): mention that the edit links can be removed ( #7118 )
2022-04-06 17:20:41 +08:00
Joshua Chen
ff96606865
docs: fix some casing inconsistencies ( #7081 )
2022-03-31 20:23:44 +08:00
Joshua Chen
ce2b631455
fix(create): install types for JS template as well ( #7078 )
2022-03-31 15:49:07 +08:00
Joshua Chen
3f33e90704
chore: upgrade dependencies ( #7065 )
...
* chore: upgrade dependencies
* fix project words
2022-03-30 11:05:50 +08:00
Alexey Pyltsyn
a307da0b9f
feat(logger): new "url" format, add double quotes around paths ( #7019 )
...
* refactor(logger): add double quotes around paths
* Introduce url formatter
* Fix
2022-03-27 14:59:20 +08:00
Sébastien Lorber
73deaa8bf6
chore: prepare v2.0.0-beta.18 release ( #7001 )
2022-03-25 16:16:38 +01:00
Joshua Chen
87592bca03
refactor: ensure all types are using index signature instead of Record ( #6995 )
...
* refactor: ensure all types are using index signature instead of Record
* kick CI
2022-03-25 18:06:30 +08:00
Joshua Chen
fa50d09d3b
chore: upgrade dependencies ( #6991 )
...
* chore: upgrade dependencies
* fix
2022-03-25 10:47:08 +08:00
Joshua Chen
e8a2f66a0f
chore: upgrade dependencies ( #6946 )
...
* chore: upgrade dependencies
* reformat
2022-03-21 07:45:29 +08:00
Joshua Chen
ff1b7168ba
chore: upgrade dependencies ( #6916 )
2022-03-15 13:16:21 +08:00
Joshua Chen
ad88f5cc87
test: improve test coverage; multiple internal refactors ( #6912 )
2022-03-14 21:53:57 +08:00
Joshua Chen
99b1fb90d5
chore: upgrade dependencies ( #6879 )
2022-03-09 07:34:35 +08:00
Joshua Chen
44d73f7230
refactor: make JS executables included in the tsconfig for editor hints ( #6861 )
...
* refactor: make JS executables included in the tsconfig for editor hints
* oops
2022-03-06 23:07:23 +08:00
tae
a6e72192fa
fix(create): load entry file after node version checking ( #6860 )
...
* refactor(create): add exception handling if external command is fails
refers #4870
85e87b560e
* fix(create): load entry file after node version checking
2022-03-06 22:18:38 +08:00
Sam Gutentag
aa5c9f5064
docs: make tutorial code block directly copyable ( #6833 )
...
* code block included diff +,-
Sample code block could not be copy/pasted as the tutorial mentions with the lines that appear to be from a diff tool.
* add highlight
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-04 09:04:02 +08:00
Sébastien Lorber
8dbd656340
chore: prepare v2.0.0-beta.17 release ( #6829 )
2022-03-03 18:44:41 +01:00
David Stotijn
2e3eec2d08
fix: consistently use max-width: 996px
in media queries ( #6815 )
...
* fix: consistently use `max-width: 996px` in media queries
Follow `docusaurus-theme-classic` and use `996px` as the cutoff
between desktop and mobile screen width.
* revert example changes
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-02 19:43:44 +08:00
Joshua Chen
a4dc03edee
chore: upgrade dependencies ( #6789 )
...
* chore: upgrade dependencies
* upgrade setup-node
2022-03-01 10:40:34 +08:00
Alex Nicholls
68a55f0d11
fix(create): update broken SVG paths in templates ( #6762 )
...
* fix: Update broken URL in typescript template example
* fix SVG images; improve a11y
* format
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-02-27 07:44:50 +08:00
Sébastien Lorber
124511f445
chore: prepare v2.0.0-beta.16 release ( #6760 )
2022-02-25 16:00:11 +01:00
Joshua Chen
dcbf9f644e
chore: upgrade docsearch-react to v3 stable, bump dependencies ( #6752 )
...
* chore: upgrade dependencies
* revert
* validation
* fix blog
* reformat
2022-02-24 19:39:32 +08:00
Joshua Chen
a70514205d
feat(create): new --package-manager option; interactive package manager selection ( #6750 )
2022-02-24 11:50:37 +01:00
Alexey Pyltsyn
26d223dbeb
feat(create): better detection of package manager preference ( #6679 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-02-23 16:22:40 +01:00
Joshua Chen
c6d0d812eb
refactor: convert all fs methods to async ( #6725 )
...
* refactor: convert all fs methods to async
* fix snap
2022-02-20 10:21:33 +08:00
Joshua Chen
47c9a37c5f
chore: upgrade dependencies ( #6715 )
...
* chore: upgrade dependencies
* upgrade Node
2022-02-19 11:47:44 +08:00
Joshua Chen
67918e35e2
refactor: convert CLI entry points to ESM; migrate create-docusaurus to ESM ( #6661 )
...
* refactor: convert CLI entry points to ESM
* fix
* fix
* fix
* fix!
* create-docusaurus ESM
* fix lock
* final touchups
* fix lodash
* fix
* use lodash
* fix hasYarn
2022-02-16 23:00:35 +08:00
Joshua Chen
b89d93fab5
refactor: recommend using data-theme without html element selector ( #6668 )
...
* refactor: recommend using data-theme without html element selector
* simplify site CSS
* refactor
2022-02-14 10:23:42 +08:00
Joshua Chen
0c7e592d34
chore: upgrade dependencies ( #6660 )
...
* chore: upgrade dependencies
* fix types
2022-02-12 15:29:40 +08:00
Joshua Chen
b16b394eb6
feat(create): allow specifying a git clone strategy ( #6610 )
...
* feat(create): allow specifying a git clone strategy
* Update index.ts
2022-02-10 11:15:06 +08:00
Joshua Chen
d2574b287f
fix: remove more peer dependency warnings ( #6615 )
...
* fix: remove more peer dependency warnings
* fixes
* fixes
* fix
* remove more
2022-02-05 17:46:01 +08:00
Joshua Chen
661bc32402
chore(deps): bump all dependencies; regenerate lockfile ( #6580 )
2022-02-02 13:00:31 +08:00
Joshua Chen
aa446b7a9c
chore: clean up ESLint config, enable a few rules ( #6514 )
...
* chore: clean up ESLint config, enable a few rules
* enable max-len for comments
* fix build
2022-01-31 10:31:24 +08:00
Joshua Chen
58e07a6796
test: add test for readOutputHTMLFile ( #6506 )
2022-01-29 18:10:46 +08:00
Joshua Chen
4c22316438
refactor(init): promote good practices; use site alias ( #6481 )
2022-01-27 12:08:52 +01:00
Sébastien Lorber
d6cff8c754
chore(v2): prepare v2.0.0-beta.15 release ( #6473 )
2022-01-26 19:28:16 +01:00
Joshua Chen
ebd5340205
chore: various improvements to repo setup ( #6471 )
...
* chore: various improvements to repo setup
* fix again
* fix
2022-01-26 14:24:15 +08:00
Gabriel Csapo
d73b4f8674
fix(init): cd to correct path when installing ( #6468 )
...
* [bug] ensure we use the correct cd path
* Update index.ts
* refactor
* add ignore
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-26 10:01:11 +08:00
Joshua Chen
abdcad7316
feat: update website & init template palette to pass WCAG test; include contrast check in ColorGenerator ( #5822 )
...
* docs: update website palette to pass WCAG test
* Darker palette in light mode
* Fix CodeBlock
* Fix front page
* Fix announcement color
* Unify primary color
* Add contrast check in website
* Fix color input not updating
* Use website for preview; allow changing background
* Persist in localStorage
* Fixes
* Fix SSR
* Edit dark mode separately
* Fix light mode palette
* Fix storage reset
* Fix CSS
* Fix
* fix toggling when not on styling-layout
* require 100% lighthouse accessibility score
* use sessionStorage
* refactor
* tweak light color
* update comments
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-01-20 14:51:18 +08:00
Nick Schonning
6e75d035bb
chore: enable react/jsx-closing-bracket-location ( #6373 )
...
This no longer appears to conflict with prettier
2022-01-16 12:41:17 +08:00
Nick Schonning
9f9a96dc80
chore: upgrade lint-staged and globs ( #6369 )
2022-01-15 16:33:09 +08:00
Filipe Guerra
dd63a72a71
fix(create-docusaurus): add useBaseUrl for image URLs ( #6368 )
...
This is already provided by the classic template and in TypeScript
template wasn't updated.
2022-01-15 12:57:59 +08:00
Joshua Chen
4fad1ce0cd
misc: convert all internal scripts to ESM ( #6286 )
...
* misc: convert all internal scripts to ESM
* fixes
* fix
* fixes
* fix!
* complete eslint
* more move
* fix!
* This looks better?
* Final ones
2022-01-08 12:59:28 +08:00
Joshua Chen
cb1aa30286
refactor: enforce type import specifiers ( #6230 )
...
* refactor: enforce type import specifiers
* fix
* Upgrade esbuild
* Fix (haha)
2021-12-31 21:17:09 +08:00
Joshua Chen
24d65d9bdd
refactor(utils): reorganize functions; move authors file resolution to utils ( #6229 )
...
* refactor(utils): reorganize functions; move authors file resolution to utils
* More refactor
2021-12-31 11:55:42 +08:00
Joshua Chen
73ee356949
docs: audit grammar issues ( #6203 )
...
* docs: audit grammar mistakes
* fix code block language
* revert change
* let's get another
2021-12-27 19:34:04 +08:00
Nayan Patel
7fcadd0c36
docs: make installation guide more beginner-friendly ( #6187 )
...
* Add support for beginners
* Add files via upload
* Update intro.md
* Update intro.md
* Update intro.md
* Update intro.md
* Update intro.md
* Edits
* Edits
* Last nits
* Edit
* Update installation.md
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-12-26 19:29:47 +08:00
Joshua Chen
1460f867d0
refactor: print trailing new line when outputting JSON ( #6186 )
...
* refactor(core): print trailing new line when writing translation
* Print these as well
2021-12-24 22:11:35 +08:00
Sébastien Lorber
01b407011a
chore(v2): prepare v2.0.0-beta.14 release ( #6147 )
2021-12-21 17:15:04 +01:00
Joshua Chen
770418f8d2
refactor: unify log format with new logger utility ( #5994 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-12-20 17:24:59 +01:00
Joshua Chen
77c93cbda6
misc: ignore some files during npm publish ( #6092 )
2021-12-17 11:38:26 +01:00