Commit Graph

147 Commits

Author SHA1 Message Date
Joshua Chen eea27aad68
misc: move lighthouse message formatter to admin folder, refactor (#7338) 2022-05-05 14:51:16 +08:00
Alexey Pyltsyn 3a7e6665ad
misc: adjust Lighthouse CI (#7324)
* misc: adjust Lighthouse CI

* Use MD link

* Format code
2022-05-04 22:48:41 +08:00
Joshua Chen 39f5cf3e29
chore: remove dependabot from upgrading npm dependencies (#7322) 2022-05-04 22:21:58 +08:00
Joshua Chen 470e242eef
chore: make dependabot use tag: dependencies tag (#7310) 2022-05-04 21:52:51 +08:00
Alexey Pyltsyn 344f7957c7
misc: run Lighthouse CI without assertions (#7308) 2022-05-04 15:57:33 +03:00
Alexey Pyltsyn ee203870be
misc: add doc page for checking by Lighthouse CI (#7300)
* misc: check doc page by Lighthouse CI

* Update lighthouse-report.yml

* Add script to render Lighthouse results

* Use script
2022-05-04 15:36:51 +03:00
Joshua Chen 5bed55aeda
refactor(types): JSDoc for docusaurus config fields (#7291) 2022-05-03 13:57:19 +08:00
dependabot[bot] a1182b374c
chore(deps): bump github/codeql-action from 2.1.8 to 2.1.9 (#7288)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.8 to 2.1.9.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](1ed1437484...7502d6e991)

---
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-03 09:01:58 +08:00
Joshua Chen a6c007849e
chore: fix pnpm E2E test to work on pnpm v7 (#7283)
* chore: fix pnpm E2E test

* fix?
2022-05-02 13:38:08 +08:00
Joshua Chen 3c24cbc2c0
misc: tighten CI trigger conditions (#7279) 2022-04-30 22:17:37 +08:00
Sébastien Lorber fe286f1833
misc: add links section to PR template (#7266)
* add links section to PR template

* wording

* wording

* update template

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-04-29 18:49:05 +02:00
dependabot[bot] 95eaa98ed9
chore(deps): bump actions/checkout from 3.0.1 to 3.0.2 (#7242)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](dcd71f6466...2541b1294d)

---
updated-dependencies:
- dependency-name: actions/checkout
  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-04-26 17:48:35 +08:00
Sébastien Lorber f7c995b15a
chore: GitHub Actions cancel-in-progress (#7224) 2022-04-22 11:28:25 +02:00
Joshua Chen 7f98cc6a78
chore: replace node 17 with 18 in CI matrix (#7211) 2022-04-20 11:27:39 +02:00
dependabot[bot] c8d6c7e386
chore(deps): bump actions/setup-node from 3.0.0 to 3.1.1 (#7204)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.0.0 to 3.1.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](9ced9a43a2...56337c4255)

---
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-04-19 10:55:58 +08:00
dependabot[bot] 64e1045b32
chore(deps): bump jakepartusch/wait-for-netlify-action from 1.1 to 1.3 (#7203)
Bumps [jakepartusch/wait-for-netlify-action](https://github.com/jakepartusch/wait-for-netlify-action) from 1.1 to 1.3.
- [Release notes](https://github.com/jakepartusch/wait-for-netlify-action/releases)
- [Commits](7dcdeb40c6...7ccf91c9ba)

---
updated-dependencies:
- dependency-name: jakepartusch/wait-for-netlify-action
  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-04-19 10:55:36 +08:00
dependabot[bot] d33063dd0f
chore(deps): bump github/codeql-action from 1.1.5 to 2.1.8 (#7202)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1.1.5 to 2.1.8.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](8834766498...1ed1437484)

---
updated-dependencies:
- dependency-name: github/codeql-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-04-19 10:55:14 +08:00
dependabot[bot] ce936f2c76
chore(deps): bump actions/checkout from 3.0.0 to 3.0.1 (#7205)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](a12a3943b4...dcd71f6466)

---
updated-dependencies:
- dependency-name: actions/checkout
  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-04-19 07:42:23 +08:00
Joshua Chen 9df4874cff
misc: add a name to each GH action step (#7189) 2022-04-17 16:54:01 +08:00
Sébastien Lorber 6238ee0851
chore: fix CI typo (#7174) 2022-04-14 18:37:56 +02:00
Sébastien Lorber 6306cbc266
misc: add CI actions/dependency-review-action for security (#7168) 2022-04-13 19:22:00 +02:00
Naveen ce08891af3
misc: pin actions to a full-length commit SHA (#6984)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2022-04-13 18:45:19 +02:00
Joshua Chen ff96606865
docs: fix some casing inconsistencies (#7081) 2022-03-31 20:23:44 +08:00
dependabot[bot] 5869f230b3
chore(deps): bump actions/checkout from 2 to 3 (#6870)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  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-03-08 08:57:15 +08:00
Joshua Chen 4e6166f326
misc(test): make E2E test use stable Yarn berry (#6848) 2022-03-05 15:00:06 +08:00
Sébastien Lorber 3e38380b69
fix(website): changelog plugin leads to CI bugs on release (#6838) 2022-03-04 10:58:54 +01:00
Joshua Chen a4dc03edee
chore: upgrade dependencies (#6789)
* chore: upgrade dependencies

* upgrade setup-node
2022-03-01 10:40:34 +08:00
Joshua Chen bafa4711b1
test: add TypeScript template to E2E test matrix (#6768)
* test: add TypeScript template to E2E test

* fix

* fix

* fix...

* exclude this

* refactor
2022-02-27 09:20:59 +08:00
Joshua Chen 39b66d82ef
feat(core): rework swizzle CLI (#6243)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-02-25 14:13:15 +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
dependabot[bot] 26b7d9afc3
chore(deps): bump treosh/lighthouse-ci-action from 8.2.0 to 9.3.0 (#6736)
Bumps [treosh/lighthouse-ci-action](https://github.com/treosh/lighthouse-ci-action) from 8.2.0 to 9.3.0.
- [Release notes](https://github.com/treosh/lighthouse-ci-action/releases)
- [Commits](https://github.com/treosh/lighthouse-ci-action/compare/8.2.0...9.3.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-02-22 07:11:15 +08:00
Joshua Chen 5555290edc
misc: improve bug report template (#6726) 2022-02-20 22:53:55 +08:00
dependabot[bot] 224ec08931
chore(deps): bump actions/github-script from 5 to 6 (#6678)
Bumps [actions/github-script](https://github.com/actions/github-script) from 5 to 6.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/github-script
  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-02-15 10:20:05 +08:00
Joshua Chen 196c8ea434
docs: clean up CONTRIBUTING (#6513)
* docs: clean up CONTRIBUTING

* Update PR template
2022-01-30 20:29:47 +08: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
Nick Schonning 521eb119a7
chore: add cSpell for spell checking (#6456)
* chore: Add cSpell for spell checking

* chore: exclude map files and remove dups

* chore: exclude more binary files

* chore: remove MD headings

* Update .cspell.json

* fix a few spellings

* fix more

* fix

Signed-off-by: Joshua Chen <sidachen2003@gmail.com>

* fix a few

* oops

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-25 09:40:02 +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 9f9a96dc80
chore: upgrade lint-staged and globs (#6369) 2022-01-15 16:33:09 +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
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
Nick Schonning 98a03067e9
chore(ci): upgrade actions/github-script to v5 (#6328) 2022-01-13 15:31:20 +08:00
Nick Schonning 27a3bd5a33
misc(ci): remove redundant "CI: true" env (#6326) 2022-01-13 15:14:35 +08:00
Armano 4578b8b4c4
fix(website): resize showcase images, tighten CI check (#6043)
* fix(website): resize images to width 640

* revert changes first...

* resize images

* final changes

* Add to CI

* refactor tests

* Fix script

* fix script

* Final fixes

* Oops

* relax

* fix

* crop

* Optimize

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-07 14:03:43 +08:00
Kristoffer K b48c6defae
fix: declare missing dependencies (#6097)
* fix(utils-validation): add missing peer dependencies `react` and `react-dom`

* fix(theme-classic): add missing peer dependency `@docusaurus/core`

* ci: disable PnP fallbacks

* ci: link to the docs

* Update package.json

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-12-13 09:47:07 +08:00
Joshua Chen 4809a1aab1
chore: add NPM and PNPM to E2E tests (#6080)
* chore: add NPM and PNPM to E2E tests

* Align node versions

* Install PNPM

* Fix options

Maybe fix

Fix
2021-12-10 22:04:05 +08:00
Joshua Chen e07ebadf6c
fix: make Docusaurus PnP strict mode compatible (#6047)
Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>
2021-12-08 14:26:24 +01:00
Joshua Chen d5d10f5656
chore: add prefix to needs triage label; separate Windows test workflow (#6068)
* chore: add status prefix to needs triage label

* Separate Windows workflow
2021-12-08 09:23:47 +08:00