Commit graph

5061 commits

Author SHA1 Message Date
Forresst
06a37112bb
chore(theme-translations): complete French translations (#7493) 2022-05-26 15:50:36 +02:00
Joshua Chen
9cf2bf1199
fix(core): always treat error boundary fallback as a callback (#7492)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-05-26 13:05:03 +02:00
Joshua Chen
e955ae472d
fix(theme-classic): allow nested task lists to preserve the indent (#7438)
* fix(theme-classic): allow nested task lists to preserve the indent

* add Ul back
2022-05-26 12:41:23 +02:00
Massoud Maboudi
309a7e8bd4
docs: add Massoud Maboudi's portfolio to showcase (#7412)
* docs: add Massoud Maboudi's portfolio to showcase

* optimize image

* Update website/src/data/users.tsx

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2022-05-26 12:38:14 +02:00
Joshua Chen
47a2cca17d
chore: require Node 16.14 (#7501) 2022-05-26 11:44:18 +02:00
James
4f97c7b52c
docs: link every reference of types in API table to the type definition (#7497)
* dogfood fix

* feat: links for plugin types

* better syntax

* little refactor

* use code title

* complete the rest

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-26 15:06:36 +08:00
James
f94701569b
fix: avoid printing period after localhost URL (#7499)
* fix: output of URL

* fix: adding formatting to start.ts
2022-05-26 15:06:22 +08:00
James
89ddc6d258
misc: avoid using fs.realpathSync in website (#7496)
* dogfood fix

* remove other mentions

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-26 13:02:32 +08:00
Joshua Chen
f609acab4f
fix(theme-classic): consistently apply the right active class name for all navbar items (#7430) 2022-05-25 19:01:29 +02:00
Jan Peer Stöcklmair
5fcb742aa1
feat(theme-classic): allow className as option for type: "search" (#7357)
* feat(theme-classic): allow className as option for type: "search"

* fixup! feat(theme-classic): allow className as option for type: "search"

* refactor

Co-authored-by: Jan Peer Stoecklmair <jan.peer.stoecklmair@dynatrace.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-25 18:41:05 +08:00
Joshua Chen
cd21a31005
test: strengthen internal types (#7488) 2022-05-25 15:38:44 +08:00
Joshua Chen
d50fe3b670
test: fix ALL type errors in tests (#7487) 2022-05-25 14:01:10 +08:00
Joshua Chen
e2e40b8f5f
test: fix some type errors in test files (#7486) 2022-05-25 11:46:10 +08:00
Joshua Chen
624735bd92
refactor: fix more type-aware linting errors (#7479) 2022-05-24 19:19:24 +08:00
Joshua Chen
bf1513a3e3
refactor: fix a lot of errors in type-aware linting (#7477) 2022-05-24 15:40:26 +08:00
dependabot[bot]
222bf3c091
chore(deps): bump github/codeql-action from 2.1.10 to 2.1.11 (#7475)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.10 to 2.1.11.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2f58583a1b...a3a6c128d7)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-24 10:41:17 +08:00
dependabot[bot]
1db7871446
chore(deps): bump actions/dependency-review-action from 1.0.1 to 1.0.2 (#7476)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](39e692fa32...a9c83d3af6)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-24 10:41:00 +08:00
Joshua Chen
1d3ed21df8
chore(theme-translations): complete zh translations (#7474) 2022-05-23 20:06:11 +08:00
Joshua Chen
3666a2ede5
refactor: remove a lot of implicit anys (#7468) 2022-05-23 15:40:53 +08:00
Joshua Chen
0c8e57de67
refactor(pwa): migrate sw.js to TS (#7467)
* refactor(pwa): migrate sw.js to TS

* add gitattributes
2022-05-23 14:22:56 +08:00
Joshua Chen
2d94d575a1
refactor: make entire project typecheck with root tsconfig (#7466) 2022-05-23 12:54:25 +08:00
Joshua Chen
89b0fff128
refactor: reduce number of leaked anys (#7465) 2022-05-23 00:30:32 +08:00
Joshua Chen
6e62bba30f
fix(utils): fix Markdown link replacement when link text is same as href (#7464) 2022-05-22 19:13:28 +08:00
Jeremy
5207e25291
docs: add Avana Wallet to showcase (#7460)
* Added Avana Wallet

https://docs.avanawallet.com implements Docusaurus 2.0

* Update users.tsx

* Added Avana Wallet showcase png

* Update users.tsx

* optimize image

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-22 12:14:18 +08:00
Joshua Chen
9d1a91774a
chore: upgrade dependencies (#7462) 2022-05-22 10:40:50 +08:00
凱恩Kane
a34b2a2c1c
docs: add Yeecord to showcase (#7459)
* add yeecord to users.tsx

* use English for title, description

* minor tweaks

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-21 16:41:17 +08:00
Joshua Chen
ad888b7fae
fix(utils): avoid replacing Markdown links missing the directly next link (#7458) 2022-05-21 13:07:31 +08:00
Joshua Chen
0f8f918f2c
fix(core): avoid using logger and fs.readJSON in SSR (#7453)
* fix(core): avoid using logger and fs.readJSON in SSR

* ignore prettier
2022-05-20 14:31:53 +08:00
Lane Goolsby
5aaa33fc61
feat: add --no-minify flag to docusaurus start (#7452)
* feat: Adding --no-minify flag to start

* Undoing the changes to old docs

Co-authored-by: Lane Goolsby <lanegoolsby@rocketmortgage.com>
2022-05-20 12:50:17 +08:00
Joshua Chen
ba0d94d02b
chore: normalize naming of admin scripts (#7448) 2022-05-18 21:34:34 +08:00
Joshua Chen
b31220032b
refactor(theme-classic): migrate to tsc for build (#7447)
* refactor(theme-classic): migrate to tsc for build

* fix
2022-05-18 20:08:09 +08:00
Joshua Chen
6b53d4263d
misc: make copyUntypedFiles work for watch mode (#7445) 2022-05-18 19:18:32 +08:00
Joshua Chen
5c3d3cfef1
chore: replace concurrently with npm-run-all (#7444) 2022-05-18 18:24:14 +08:00
Joshua Chen
a555fd1dcb
refactor: make each tsconfig explicitly declare module and include/exclude (#7443) 2022-05-18 12:48:28 +08:00
Joshua Chen
a0b0477dee
refactor(stylelint-copyright): migrate to TS (#7441) 2022-05-17 22:13:47 +08:00
Joshua Chen
71b5901bcd
refactor(cssnano-preset): migrate to TS (#7440)
* refactor(cssnano-preset): migrate to TS

* fix
2022-05-17 21:41:30 +08:00
Joshua Chen
c8b5f230ab
misc: add templates to github-linguist ignore list (#7439) 2022-05-17 20:19:39 +08:00
Joshua Chen
7613ecb9ea
refactor: use TS project references instead of running tsc multiple times (#7437)
* refactor: use TS project references instead of running tsc multiple times

* deduplicate

* dedup

* eliminate --project

* add swc config

* add target
2022-05-17 15:21:44 +08:00
Joshua Chen
1bec5f673a
chore: upgrade dependencies (#7436) 2022-05-17 13:11:20 +08:00
dependabot[bot]
4419beb86f
chore(deps): bump actions/dependency-review-action (#7435)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 3f943b86c9a289f4e632c632695e2e0898d9d67d to 1. This release includes the previously tagged commit.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](3f943b86c9...39e692fa32)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-17 10:02:40 +08:00
dependabot[bot]
3390e2378e
chore(deps): bump actions/github-script from 6.0.0 to 6.1.0 (#7434)
Bumps [actions/github-script](https://github.com/actions/github-script) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](9ac08808f9...7a5c598405)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-17 10:02:24 +08:00
dependabot[bot]
6ac745dde4
chore(deps): bump actions/setup-node from 3.1.1 to 3.2.0 (#7433)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.1.1 to 3.2.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](56337c4255...17f8bd9264)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-17 10:02:11 +08:00
dependabot[bot]
22b0504b4a
chore(deps): bump github/codeql-action (#7432)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 75b4f1c4669133dc294b06c2794e969efa2e5316 to 2.1.10. This release includes the previously tagged commit.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](75b4f1c466...2f58583a1b)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-17 10:01:40 +08:00
Joshua Chen
c16a08cba5
fix(website): restore expand button style on changelog (#7431) 2022-05-16 19:14:47 +08:00
Ggicci
b7448865fe
docs: add httpin to showcase (#7428)
* Add httpin project for showcase

* Add files via upload

* optimize image

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-16 15:19:50 +08:00
Nitya Narasimhan
c39406e6d8
docs: add '30 Days of SWA' to showcase (#7427)
* Adding '30 Days of SWA` app to Showcase

* Added file for showcase

* minor tweaks

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-16 12:44:45 +08:00
Oluwatobi Sofela
90eee091ac
docs: add CodeSweetly to showcase (#7425)
* Add CodeSweetly to Showcase

* Add CodeSweetly to showcase

* optimize image

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-16 12:44:21 +08:00
Joshua Chen
7ea59b4e55
refactor(pwa): migrate client modules to TS (#7421) 2022-05-15 12:47:33 +08:00
Joshua Chen
8277b0bec7
docs: add FAST to showcase (#7384)
* add fast to showcase

* add fast png to showcase

* update tags, update website link, and upload new screenshot

* optimize image

Co-authored-by: Steph Huynh <steph@huynhicode.dev>
2022-05-14 23:47:40 +08:00
Joshua Chen
0838884f67
chore: enable import/order rule (#7418) 2022-05-14 23:39:50 +08:00