Commit graph

381 commits

Author SHA1 Message Date
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
5c3d3cfef1
chore: replace concurrently with npm-run-all (#7444) 2022-05-18 18:24:14 +08:00
Joshua Chen
1bec5f673a
chore: upgrade dependencies (#7436) 2022-05-17 13:11:20 +08:00
Joshua Chen
60960b471d
chore: upgrade dependencies, fix lint-staged not outputting formatted log (#7388)
* chore: upgrade dependencies, fix lint-staged not outputting formatted log

* fix

* fix lock...
2022-05-10 22:42:45 +08:00
Joshua Chen
5bc50ff71f
chore: upgrade dependencies (#7366) 2022-05-07 19:46:21 +08:00
Joshua Chen
5bed55aeda
refactor(types): JSDoc for docusaurus config fields (#7291) 2022-05-03 13:57:19 +08:00
Joshua Chen
f063e9add5
chore: upgrade dependencies (#7274)
* chore: upgrade dependencies

* remove nodemon
2022-04-30 14:32:37 +08:00
Joshua Chen
9a1b7217ba
chore: upgrade Jest to 28; add GitHub-actions reporter (#7243) 2022-04-27 23:47:59 +08:00
Joshua Chen
242f2e780e
chore: upgrade dependencies (#7232) 2022-04-23 11:55:01 +08:00
Joshua Chen
42ca13fadf
chore: remove netlify-cli from dependencies (#7216) 2022-04-20 22:14:03 +08:00
Joshua Chen
b154318c28
chore: upgrade dependencies (#7193) 2022-04-17 17:32:41 +08:00
Joshua Chen
2a7820582c
chore: upgrade dependencies (#7138)
* chore: upgrade dependencies

* reorg

* update comment
2022-04-09 12:36:10 +08:00
Joshua Chen
9145ae88cc
chore: disable string escaping in snapshots (#7131) 2022-04-08 11:23:19 +08:00
Joshua Chen
c7c0ee4e7c
chore: upgrade dependencies (#7101) 2022-04-02 08:32:26 +08:00
Joshua Chen
3f33e90704
chore: upgrade dependencies (#7065)
* chore: upgrade dependencies

* fix project words
2022-03-30 11:05:50 +08:00
Joshua Chen
fa50d09d3b
chore: upgrade dependencies (#6991)
* chore: upgrade dependencies

* fix
2022-03-25 10:47:08 +08:00
Joshua Chen
948271a0ff
test: improve test coverage; reorder theme-common files (#6956)
* test: improve test coverage; reorder theme-common files

* no need for this
2022-03-22 15:33:55 +08:00
Felipe Santos
e19a4e23e7
fix(content-docs): warn when files are not tracked (#6937)
* fix(docs): warn when files are not tracked

* chore(devcontainer): use non-root user

* test: fix jest in vscode

* test(docs): improve existing test

* chore(devcontainer): fix jest error on startup

* chore: fix comments

* chore: remove "probably" from error message
2022-03-21 08:42:36 +08:00
Joshua Chen
e8a2f66a0f
chore: upgrade dependencies (#6946)
* chore: upgrade dependencies

* reformat
2022-03-21 07:45:29 +08:00
Joshua Chen
19942f990a
chore: migrate Jest and website to SWC (#6944)
* chore: migrate Jest and website to SWC

* ignore template
2022-03-19 20:56:30 +08:00
Joshua Chen
ff1b7168ba
chore: upgrade dependencies (#6916) 2022-03-15 13:16:21 +08:00
Joshua Chen
3a4b9b4c30
refactor: install eslint-plugin-regexp (#6906)
* refactor: install eslint-plugin-regexp

* simplify

* simplify

* fix
2022-03-13 18:32:17 +08:00
Joshua Chen
f6baaa6b75
test(theme-common): improve test coverage (#6902)
* test(theme-common): improve test coverage

* revert
2022-03-12 13:17:21 +08:00
Joshua Chen
99b1fb90d5
chore: upgrade dependencies (#6879) 2022-03-09 07:34:35 +08:00
Joshua Chen
a4dc03edee
chore: upgrade dependencies (#6789)
* chore: upgrade dependencies

* upgrade setup-node
2022-03-01 10:40:34 +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
Joshua Chen
47c9a37c5f
chore: upgrade dependencies (#6715)
* chore: upgrade dependencies

* upgrade Node
2022-02-19 11:47:44 +08:00
Joshua Chen
0c7e592d34
chore: upgrade dependencies (#6660)
* chore: upgrade dependencies

* fix types
2022-02-12 15:29:40 +08:00
Joshua Chen
919f1600c2
refactor: remove Babel plugins that are included in preset-env (#6614) 2022-02-05 16:55:40 +08:00
Joshua Chen
661bc32402
chore(deps): bump all dependencies; regenerate lockfile (#6580) 2022-02-02 13:00:31 +08:00
Joshua Chen
58e07a6796
test: add test for readOutputHTMLFile (#6506) 2022-01-29 18:10:46 +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
Joshua Chen
83fb3a825f
refactor: clean up dependencies (#6470) 2022-01-26 13:12:03 +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
e40cafccd5
chore: enable stylelint standard config (#6442)
* chore: enable stylelint standard config

* remove empty line

* fix
2022-01-22 21:26:35 +08:00
Joshua Chen
2f4b2e1790
misc: fix stylelint erroring when lint-staged passed ignored file (#6441) 2022-01-22 20:33:06 +08:00
Joshua Chen
456ffbd330
chore: remove some unused dependencies from package.json (#6440) 2022-01-22 19:47:35 +08:00
Joshua Chen
e5801e49f6
feat(mdx-loader): read image dimensions when processing Markdown (#6339) 2022-01-19 12:45:14 +01:00
Joshua Chen
52db7320a6
chore: enable eslint-plugin-jest (#6375) 2022-01-16 15:53:23 +08:00
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
Nick Schonning
9f9a96dc80
chore: upgrade lint-staged and globs (#6369) 2022-01-15 16:33:09 +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]
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
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
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
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
Nayan Patel
1c7b0d1353
docs: update showcase images; remove GraphQL Code Generator site (#6231)
* Showcase: Update images

* Showcase: Remove sites that are not working, and have not been working since yesterday.

* Suspected no longer using docusaurus (please confirm)

* Revert "Showcase: Remove sites that are not working, and have not been working since yesterday."

This reverts commit c963f120e9.

* add notices

* test screen resolution

* all of them

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-07 16:35:46 +08:00