Commit graph

219 commits

Author SHA1 Message Date
Joshua Chen
8b1acb50d1
fix: make type-checking pass in Yarn PnP (#7521)
* fix: make type-checking pass in Yarn PnP

* fix

* fix?

* fix...

* almost there

* try again

* little fix

* disable
2022-05-28 23:52:05 +08:00
Joshua Chen
47a2cca17d
chore: require Node 16.14 (#7501) 2022-05-26 11:44:18 +02: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
ba0d94d02b
chore: normalize naming of admin scripts (#7448) 2022-05-18 21:34:34 +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
dependabot[bot]
52e466e5de
chore(deps): bump github/codeql-action from 2.1.9 to 2.1.10 (#7395)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.9 to 2.1.10.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](7502d6e991...75b4f1c466)

---
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-11 13:14:28 +08:00
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
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
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
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
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
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