Commit graph

5274 commits

Author SHA1 Message Date
Joshua Chen
14bec7cf11
feat(stylelint-copyright): autofix, stricter config (#6374)
* feat(stylelint-copyright): autofix, stricter config

* revert TS

* oops
2022-01-16 11:34:10 +08:00
Nick Schonning
284c6166e7
chore: add baseline stylelint rules (#6372)
* chore: add baseline stylelint rules

Use the Prettier config so not to conflict with rules.
Add the Stylelint baseline recommended rules to catch additional lissues

* enable those two rules

* ooops

* refactor scripts

* revert script changes

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-16 09:42:58 +08:00
Kaustubh Kulkarni
2a1cdc3b8a
docs: add KaustubhK24's site to showcase (#6348)
* Update users.tsx

* add image

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-15 23:05:19 +08:00
Nick Schonning
9f9a96dc80
chore: upgrade lint-staged and globs (#6369) 2022-01-15 16:33:09 +08:00
dependabot[bot]
051463fec9
chore(deps): bump querystring from 0.2.0 to 0.2.1 (#6355)
Bumps [querystring](https://github.com/Gozala/querystring) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/Gozala/querystring/releases)
- [Changelog](https://github.com/Gozala/querystring/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Gozala/querystring/compare/v0.2.0...v0.2.1)

---
updated-dependencies:
- dependency-name: querystring
  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-01-15 13:48:56 +08:00
dependabot[bot]
efd767be64
chore(deps): bump workbox-strategies from 5.1.4 to 6.4.2 (#6362)
Bumps [workbox-strategies](https://github.com/googlechrome/workbox) from 5.1.4 to 6.4.2.
- [Release notes](https://github.com/googlechrome/workbox/releases)
- [Commits](https://github.com/googlechrome/workbox/compare/v5.1.4...v6.4.2)

---
updated-dependencies:
- dependency-name: workbox-strategies
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-15 13:48:42 +08:00
dependabot[bot]
09a6ae2c40
chore(deps-dev): bump @types/node from 14.18.5 to 17.0.8 (#6354)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.18.5 to 17.0.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-15 13:47:58 +08:00
dependabot[bot]
7512e4c0b3
chore(deps): bump copy-webpack-plugin from 9.1.0 to 10.2.0 (#6350)
* chore(deps): bump copy-webpack-plugin from 9.1.0 to 10.2.0

Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 9.1.0 to 10.2.0.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v9.1.0...v10.2.0)

---
updated-dependencies:
- dependency-name: copy-webpack-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* fix

* fix

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-15 13:47:39 +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
9c4187a5b9
feat(website): search in showcase (#6333)
* feat(website): search in showcase

* fix SSR
2022-01-15 11:38:57 +08:00
dependabot[bot]
95955ecfb0
chore(deps): bump css-loader from 5.2.7 to 6.5.1 (#6353)
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.2.7 to 6.5.1.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v5.2.7...v6.5.1)

---
updated-dependencies:
- dependency-name: css-loader
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-15 10:30:47 +08:00
dependabot[bot]
b048151a9b
chore(deps-dev): bump concurrently from 6.5.1 to 7.0.0 (#6361)
Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 6.5.1 to 7.0.0.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v6.5.1...v7.0.0)

---
updated-dependencies:
- dependency-name: concurrently
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-15 10:28:29 +08:00
dependabot[bot]
8afecb4254
chore(deps-dev): bump lerna from 3.22.1 to 4.0.0 (#6359)
Bumps [lerna](https://github.com/lerna/lerna/tree/HEAD/core/lerna) from 3.22.1 to 4.0.0.
- [Release notes](https://github.com/lerna/lerna/releases)
- [Changelog](https://github.com/lerna/lerna/blob/main/core/lerna/CHANGELOG.md)
- [Commits](https://github.com/lerna/lerna/commits/v4.0.0/core/lerna)

---
updated-dependencies:
- dependency-name: lerna
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-15 10:21:49 +08:00
dependabot[bot]
f09196adaa
chore(deps): remove hast-util-to-text from dependencies (#6347)
* chore(deps): bump hast-util-to-text from 2.0.1 to 3.1.1

Bumps [hast-util-to-text](https://github.com/syntax-tree/hast-util-to-text) from 2.0.1 to 3.1.1.
- [Release notes](https://github.com/syntax-tree/hast-util-to-text/releases)
- [Commits](https://github.com/syntax-tree/hast-util-to-text/compare/2.0.1...3.1.1)

---
updated-dependencies:
- dependency-name: hast-util-to-text
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* remove dep

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-15 10:13:04 +08:00
dependabot[bot]
21b7691836
chore(deps): bump treosh/lighthouse-ci-action from 3 to 8.2.0 (#6345)
Bumps [treosh/lighthouse-ci-action](https://github.com/treosh/lighthouse-ci-action) from 3 to 8.2.0.
- [Release notes](https://github.com/treosh/lighthouse-ci-action/releases)
- [Commits](https://github.com/treosh/lighthouse-ci-action/compare/v3...8.2.0)

---
updated-dependencies:
- dependency-name: treosh/lighthouse-ci-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-15 09:59:40 +08:00
Joshua Chen
eaab20cd1a
chore: remove Intl polyfills for Jest (#6364)
* chore: remove Intl polyfills for Jest

* Add node versions
2022-01-15 09:56:10 +08:00
dependabot[bot]
83e0413290
chore(deps): bump marocchino/sticky-pull-request-comment from 2.0.0 to 2.2.0 (#6346)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-14 18:25:40 +01:00
Nick Schonning
b19bafd70a
chore: add Dependabot for dependency updates (#6325)
Co-authored-by: Nick Schonning <nschonni@gmail.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-14 15:57:55 +01:00
Sébastien Lorber
4004f5b68b
chore: regenerate yarn.lock (#6341)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-14 15:52:12 +01:00
Shun Wakatsuki
f1fd346925
fix(website): make ColorGenerator functional (#6344) 2022-01-14 21:24:09 +08:00
Pranab Das
99dbf1a121
docs: minor fix in the sample config for ESM (#6340)
The line `return config;` was left by mistake I guess. The function is already returning the `config` object.
2022-01-14 19:24:55 +08:00
Sébastien Lorber
8b7ab21d38
fix(core): error boundary should allow no children (#6338) 2022-01-14 10:39:24 +01:00
Joshua Chen
ddfd154ad6
docs: make upgrade guide always show the latest version (#6336) 2022-01-14 10:42:48 +08:00
Pranab Das
4ebb1ca8c8
chore: upgrade rehype-katex with ESM support, update docs (#6320)
* chore: upgrade rehype-katex to latest version with ESM support and update the docs

* Update documentation to reflect ESM upgrade is currently optional

* rewording

* final tweaks

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-14 09:06:10 +08:00
Feodor Fitsner
afe7464306
docs: add Pglet website to showcase (#6335)
* Added Pglet entry to showcase

* Added screenshot for pglet.io website
2022-01-14 08:38:55 +08:00
Nick Schonning
98a03067e9
chore(ci): upgrade actions/github-script to v5 (#6328) 2022-01-13 15:31:20 +08:00
dependabot[bot]
7e3db307ac
chore(deps): bump follow-redirects from 1.14.5 to 1.14.7 (#6332)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.5 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.5...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-13 15:26:27 +08:00
Nick Schonning
27a3bd5a33
misc(ci): remove redundant "CI: true" env (#6326) 2022-01-13 15:14:35 +08:00
Morooka Kotaro
4aaa48759d
docs: remove typo bracket (#6327)
* docs: remove typo bracket

* fix in latest version

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-13 15:13:50 +08:00
Devtato
2f97a85406
feat(theme-classic): autoscroll TOC with active link (#6317)
* feat(theme-common): add smooth TOC scrolling to active link

* docs: change the link of repeated content category in lifecycle api

* Update lifecycle-apis.md

* fix page container scrolling

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-13 15:04:57 +08:00
Nick Schonning
02a233a221
chore: minor typo cleanup (#6324)
* chore: minor typo cleanup

* fix tests

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-13 14:36:53 +08:00
Joshua Chen
217b62682d
feat(mdx-loader): preserve hash in image src; support GH themed images (#6323)
* feat(mdx-loader): preserve hash in image src; support GH themed images

* more refactor
2022-01-13 10:22:48 +08:00
AJ Rice
472a4c881a
docs: add bandwidth.com to showcase (#6316)
* Update users.tsx

* add showcase image

* Add Description

* Update users.tsx

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-12 21:44:46 +08:00
Joshua Chen
984c73be30
feat(core): improve error message for BrowserOnly; better docs (#6291)
* feat(core): improve error message for BrowserOnly; better docs

* oops

* oops

* docs
2022-01-12 20:06:33 +08:00
Ömer Faruk APLAK
16a3636bb8
docs: add Refine site to showcase (#6313)
* Add refine to users.tsx

* Update website/src/data/users.tsx

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-12 14:28:53 +08:00
Joshua Chen
db471d97ab
fix(website): various anchor link fixes (#6318) 2022-01-12 08:35:47 +08:00
Joshua Chen
a2d2324ca7
fix(theme-classic): fix mobile version dropdown label with only one version (#6314)
* fix(theme-classic): fix mobile version dropdown label with only one version

* properly fix
2022-01-11 21:53:41 +08:00
Joshua Chen
ba352271e7
fix(website): wrap details in mdx-code-block (#6308) 2022-01-10 20:35:39 +08:00
Joshua Chen
c7da6f5dd3
docs: document MD and JSX interoperability issues (#6307) 2022-01-10 20:05:33 +08:00
Nick Schonning
291a2d602e
chore: upgrade to Husky 7 (#6304)
- Upgrade to Husky 7
- Update install hook to "prepare"
- Remove parallel/CI packages
2022-01-10 17:41:02 +08:00
Joshua Chen
a79c23bc45
test(utils, mdx-loader, core): improve coverage (#6303)
* test(utils, mdx-loader, core): improve coverage

* windows...

* fix
2022-01-10 15:00:51 +08:00
Joshua Chen
cf265c051e
refactor: move exported type definitions to declaration file (#6300)
* refactor: move exported type definitions to declaration file

* fix

* fix
2022-01-09 22:02:31 +08:00
wood3n
9c0e659a44
docs: add icodex to showcase (#6299)
* update(users.tsx): add personal website show case

* add icodex.png for personal webste showcase

* resize image

* optimize

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-09 18:34:29 +08:00
Nayan Patel
52e097e2c1
docs: mention setup in monorepo (#6297)
* Add Monorepos

* elaborate

* elaborate

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-09 10:49:29 +08:00
Joshua Chen
9e1b364841
docs: remove GraphQL mesh from showcase (#6293)
* docs: remove GraphQL mesh from showcase

* mark as unavailable
2022-01-08 19:03:46 +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
Josh Goldberg
bcc05e243f
fix(theme-classic): add missing role=region to SkipToContent (#6288) 2022-01-07 19:31:05 +01:00
Sébastien Lorber
f87a3ead46
refactor: move @theme/hooks to @docusaurus/theme-common (#6289) 2022-01-07 19:19:35 +01:00
Sébastien Lorber
024f2bf49b
refactor: new @docusaurus/plugin-content-docs/client interface (#6287) 2022-01-07 17:04:21 +01:00
Sébastien Lorber
3bc63b2b09
refactor(theme-classic): apply import/no-named-export eslint rule (#6283) 2022-01-07 14:44:55 +01:00