Commit Graph

258 Commits

Author SHA1 Message Date
Tony 06721a0f21
docs: ts config (#13690)
* docs: ts config

* chore: esm format script

* chore: bring back ast based formatting

* chore: revert 7b0493fbf4d93794a729289b24867e93732e703d

* chore: update dependabot config

* docs: rename to mdx extension

* fix: unused import

* docs: fix search build

* chore: remove deps changes
2023-11-03 23:17:17 +08:00
dependabot[bot] 72f9a1f214
chore(deps): bump the docusaurus group in /website with 6 updates (#13668)
* chore(deps): bump the docs group in /website with 6 updates

Bumps the docs group in /website with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus) | `2.4.3` | `3.0.0` |
| [@docusaurus/plugin-client-redirects](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-plugin-client-redirects) | `2.4.3` | `3.0.0` |
| [@docusaurus/plugin-pwa](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-plugin-pwa) | `2.4.3` | `3.0.0` |
| [@docusaurus/preset-classic](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-preset-classic) | `2.4.3` | `3.0.0` |
| [@docusaurus/module-type-aliases](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-module-type-aliases) | `2.4.3` | `3.0.0` |
| [@docusaurus/types](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-types) | `2.4.3` | `3.0.0` |


Updates `@docusaurus/core` from 2.4.3 to 3.0.0
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.0.0/packages/docusaurus)

Updates `@docusaurus/plugin-client-redirects` from 2.4.3 to 3.0.0
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.0.0/packages/docusaurus-plugin-client-redirects)

Updates `@docusaurus/plugin-pwa` from 2.4.3 to 3.0.0
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.0.0/packages/docusaurus-plugin-pwa)

Updates `@docusaurus/preset-classic` from 2.4.3 to 3.0.0
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.0.0/packages/docusaurus-preset-classic)

Updates `@docusaurus/module-type-aliases` from 2.4.3 to 3.0.0
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.0.0/packages/docusaurus-module-type-aliases)

Updates `@docusaurus/types` from 2.4.3 to 3.0.0
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.0.0/packages/docusaurus-types)

---
updated-dependencies:
- dependency-name: "@docusaurus/core"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: docs
- dependency-name: "@docusaurus/plugin-client-redirects"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: docs
- dependency-name: "@docusaurus/plugin-pwa"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: docs
- dependency-name: "@docusaurus/preset-classic"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: docs
- dependency-name: "@docusaurus/module-type-aliases"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: docs
- dependency-name: "@docusaurus/types"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: docs
...

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

* chore: fix dependencies

* docs: fix admonition

caution is deprecated in v3

caution(v2 yellow) => warning(v3 yellow)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 23:24:57 +08:00
TonyRL 9fdb3d1a9d chore: use node18 for npm publish
until https://github.com/compulim/version-from-git/issues/16 is fixed
2023-10-25 13:31:07 +00:00
dependabot[bot] e7c371d098
chore(deps): bump actions/setup-node from 3 to 4 (#13621)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

[skip ci]
---
updated-dependencies:
- dependency-name: actions/setup-node
  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>
2023-10-24 01:23:12 +00:00
Tony 475372751f
chore: revise github actions (#13612)
* chore: rename actions

* chore: fix path maintainer build

* feat: prepare script for node20

* chore: fix semgrep cant access secret
2023-10-23 03:44:46 +08:00
dependabot[bot] 9abaf79f30
chore(deps): bump bdougie/take-action from 1.5 to 1.6 (#13568)
Bumps [bdougie/take-action](https://github.com/bdougie/take-action) from 1.5 to 1.6.
- [Release notes](https://github.com/bdougie/take-action/releases)
- [Commits](https://github.com/bdougie/take-action/compare/v1.5...v1.6)

---
updated-dependencies:
- dependency-name: bdougie/take-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>
2023-10-20 02:24:06 +00:00
TonyRL 8a3d9adc76 revert: "chore(deps): bump codecov/codecov-action from 3 to 4 (#13301)"
This reverts commit c5b96621aa.
Refs: https://github.com/codecov/codecov-action/issues/1089
2023-09-15 12:02:52 +00:00
dependabot[bot] c5b96621aa
chore(deps): bump codecov/codecov-action from 3 to 4 (#13301)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-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>
2023-09-15 09:38:34 +08:00
Tony 3273b2770d chore: disable docker release on deps bump 2023-09-14 22:16:55 +00:00
dependabot[bot] 00b5d7292f
chore(deps): bump docker/build-push-action from 4 to 5 (#13275)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/build-push-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>
2023-09-13 06:25:54 +08:00
dependabot[bot] fe06f343a9
chore(deps): bump docker/setup-qemu-action from 2 to 3 (#13274)
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-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>
2023-09-13 06:24:17 +08:00
dependabot[bot] 377d9a2e6e
chore(deps): bump docker/metadata-action from 4 to 5 (#13276)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4 to 5.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](https://github.com/docker/metadata-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/metadata-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>
2023-09-13 06:18:57 +08:00
dependabot[bot] 6862b5c2e8
chore(deps): bump docker/login-action from 2 to 3 (#13273)
Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/login-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>
2023-09-13 06:13:10 +08:00
dependabot[bot] 96452f238b
chore(deps): bump docker/setup-buildx-action from 2 to 3 (#13272)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-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>
2023-09-13 06:09:52 +08:00
dependabot[bot] 5dc8d67a40
chore(deps): bump actions/checkout from 3 to 4 (#13214)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [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/v3...v4)

---
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>
2023-09-05 07:39:41 +08:00
dependabot[bot] 391c8443f2
chore(deps): bump Simek/yarn-lock-changes from 0.11.1 to 0.11.2 (#13213)
Bumps [Simek/yarn-lock-changes](https://github.com/simek/yarn-lock-changes) from 0.11.1 to 0.11.2.
- [Release notes](https://github.com/simek/yarn-lock-changes/releases)
- [Commits](https://github.com/simek/yarn-lock-changes/compare/v0.11.1...v0.11.2)

---
updated-dependencies:
- dependency-name: Simek/yarn-lock-changes
  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>
2023-09-04 22:03:38 +00:00
TonyRL f1d1b49253 chore: remove foresight
Foresight is no longer in service
https://github.com/runforesight
2023-09-03 13:09:56 +00:00
Tony 8e8bed5981
chore: meilisearch index swap
prevent downtime after updating the docs
2023-09-01 16:29:07 +00:00
TonyRL a15383005e chore: update meilisearch config
`p`: general content
`.params`: route params
`table`: route params table
`code`: env
2023-08-22 13:30:45 +00:00
Tony 7daa88abb4
docs: i18nable component (#13084) 2023-08-20 19:58:53 +01:00
DIYgod 8a58d74922
docs: documentation prioritizes English and maintains only one route list (#13075) 2023-08-20 15:57:05 +01:00
dependabot[bot] db706ede4d
chore(deps-dev): bump typescript from 4.7.4 to 5.1.6 in /website (#13044)
* chore(deps-dev): bump typescript from 4.7.4 to 5.1.6 in /website

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.7.4 to 5.1.6.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.7.4...v5.1.6)

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

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

* chore: use group updates

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-19 03:25:03 +08:00
Tony d1eaccabcb
docs: redirect old docs urls (#13060)
* docs: redirect old docs urls

* fix: fix start en docs script
2023-08-17 08:33:40 +08:00
TonyRL ddbc760dc8 docs: fix new docs link 2023-08-16 13:04:07 +00:00
Tony 06f43cb664
docs: add back meilisearch (#13041)
* docs: add back meilisearch

* fix: remove unused variable

* Revert "fix: remove unused variable"

This reverts commit 52bec57a1ec8c54166793b31cf972131555dc6bc.
What is React
2023-08-16 06:22:52 +08:00
DIYgod 52c0b18e2d
fix: github workflows 2023-08-15 03:33:27 +01:00
DIYgod 7b65ba69bb
feat: add docusaurus website (#13039) 2023-08-15 03:12:12 +01:00
TonyRL c98cbf8ce9 chore: try fix arm64 build 2023-08-14 14:30:28 +00:00
Tony 79eae1eb45
refactor: replace re2 with re2-wasm (#12998)
* refactor: replace re2 with re2-wasm

* refactor: remove migrated routes

* ci: remove foresight

https://github.com/runforesight
Foresight is no longer in service

* fix: add back removed wasm

chore: bump base OS image
2023-08-12 00:34:28 +08:00
TonyRL 0590e12333 ci: enable experimental feature in gha 2023-07-29 14:16:33 +00:00
DIYgod 541cae4397
test: fix empty request error and remove node 16 support 2023-07-23 21:41:12 +01:00
dependabot[bot] 79bfb3a3f8
chore(deps): bump fluxninja/openai-pr-reviewer from 0 to 1 (#12852)
* chore(deps): bump fluxninja/openai-pr-reviewer from 0 to 1

Bumps [fluxninja/openai-pr-reviewer](https://github.com/fluxninja/openai-pr-reviewer) from 0 to 1.
- [Release notes](https://github.com/fluxninja/openai-pr-reviewer/releases)
- [Commits](https://github.com/fluxninja/openai-pr-reviewer/compare/v0...v1)

---
updated-dependencies:
- dependency-name: fluxninja/openai-pr-reviewer
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* fix: don't relabel for `dependabot[bot]`

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 20:25:49 +08:00
Tony e291fb598b
chore: bring back lint-staged (#12844)
* chore: bring back lint-staged

* fix: gha label

* fix: yml format
2023-07-21 00:18:37 +08:00
TonyRL 977e3beccf chore: disable chatgpt review 2023-06-22 12:27:49 +00:00
TonyRL 9b31d57095 chore: fix install from git with production flag
reference:
https://github.com/typicode/husky/issues/914#issuecomment-1046274220

https://github.com/typicode/husky/issues/920#issuecomment-1202503697
fix: bc162849da (commitcomment-117186018)
fix: #12686
2023-06-21 12:17:59 +00:00
Tony 84ee153f81
chore: update deps (#12675)
* chore: update deps

* chore: extend docker build test timeout
2023-06-16 23:15:22 +08:00
Tony 1cf1d43eae
chore: use fluxninja/openai-pr-reviewer@v0 instead
since it supports pull_request_target event which allows it to review PR from fork
2023-06-12 19:12:55 +00:00
TonyRL 664830c317 chore: add chatgpt code review 2023-06-12 14:01:57 +00:00
Tony 8c1e4be962
chore: fix on demand test pptr not found (#12660)
* chore: fix on demand test pptr not found

* chore: add node 20 to ci env
2023-06-12 21:24:39 +08:00
Tony c250039b1e
test: relax fulltest parser timeout (#12659) 2023-06-12 19:20:58 +08:00
TonyRL 9394797621 chore: add stale and auto close PR 2023-05-31 15:09:52 +00:00
TonyRL e3a3173448 chore: use pnpm to publish 2023-05-05 16:19:26 +00:00
Tony a0ea328013
build: fix pnpm pptr postinstall (#12450)
* chore: fix chrome not found in jest

* chore: explicitly require deps for stealth plugin
2023-05-05 23:58:29 +08:00
Tony 1de1e9ae56
build: use pnpm (#12438)
* build: use pnpm

* fix: use corepack pnpm

* chore: use pnpm in gha

* chore: add setup pnpm

* fix: install command

* fix: pnpm lock file not updated

* chore: pnpm no recursive install

* docs: use pnpm

* fix: ignore yarn lock

* chore: update command for cloud dev env
2023-05-05 20:09:54 +08:00
dependabot[bot] fd05cd7585
chore(deps): bump puppeteer from 19.11.1 to 20.0.0 (#12424)
* chore(deps): bump puppeteer from 19.11.1 to 20.0.0

Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 19.11.1 to 20.0.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v19.11.1...puppeteer-v20.0.0)

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

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

* fix: use `PUPPETEER_SKIP_DOWNLOAD`

ref: https://github.com/puppeteer/puppeteer/pull/10054

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-04 03:57:04 +08:00
TonyRL 1e8d030e0f docs: fix build on relative path
it worked on netlify but not cloudflare pages
2023-04-27 13:30:19 +00:00
dependabot[bot] 3a62de1cdc
chore(deps): bump lru-cache from 8.0.5 to 9.1.1 (#12383)
* chore(deps): bump lru-cache from 8.0.5 to 9.1.1

Bumps [lru-cache](https://github.com/isaacs/node-lru-cache) from 8.0.5 to 9.1.1.
- [Release notes](https://github.com/isaacs/node-lru-cache/releases)
- [Changelog](https://github.com/isaacs/node-lru-cache/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-lru-cache/compare/v8.0.5...v9.1.1)

---
updated-dependencies:
- dependency-name: lru-cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* fix: use named export

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-25 23:01:18 +08:00
Tony b0ff4a0fee
docs: split docs package for vuepress (#12382)
* docs: split docs package for vuepress

* fix: yarn lock changes gha

* fix: remove npm script at top level

* docs: update oneclick link

refs: https://github.blog/changelog/2023-04-24-one-click-into-github-codespaces
2023-04-25 22:20:56 +08:00
Tony 6433a3cf19
chore: signed release 2023-04-21 20:49:37 +08:00
Tony f642eda7fa
chore: signed release
75d99082c2/content/packages-and-modules/securing-your-code/generating-provenance-statements.mdx

> Note: At this time, `lerna` and `yarn` are not supported tools for publishing your packages with provenance.
2023-04-21 20:42:58 +08:00