Commit Graph
46 Commits
Author SHA1 Message Date
Jonathan Ho 860bbe1820 ci: temp fix #3299 (#3300)
* fix: temp fix #3299

* ci: add Workflow Queue
2023-12-11 20:24:06 +00:00
Jonathan HoandFleny 2163399d8d ci: add dependabot (#3272)
* ci: add dependabot

* fix: bin/**

* ci: add update github-actions

* Update dependabot.yml

---------

Co-authored-by: Fleny <Fleny113@outlook.com>
2023-12-10 13:13:01 +00:00
Jonathan Ho c1fed5a163 ci: make required ci always run (#3278) 2023-12-10 13:04:02 +00:00
Jonathan Ho 78300e59bb chore: move architecture to new docs (#3274)
* chore: move architecture to new docs

* chore: move api reference

* chore: faster local build

* fix: env
2023-12-09 13:27:16 +00:00
Jonathan Ho a65e911214 ci: add merge group event to site (#3277) 2023-12-09 13:25:57 +00:00
Jonathan Ho 0dfcc0c056 chore: mark bot, utils, types as beta (#3271)
* chore: mark bot, utils, types as beta

* fix: benchmark import
2023-12-09 11:42:31 +00:00
Jonathan Ho 97be09d65f Revert "Fix the TS error in transformers benchmark (#3261)" (#3268)
This reverts commit 721b8a82f6.
2023-12-07 02:29:16 +00:00
Jonathan Ho 79cc362c22 feat: add site back to website (temp) (#3267)
* feat: add site back to website

* refactor: use same sidebar

* fix: delete generated docs
2023-12-07 01:00:20 +00:00
Jonathan Ho 81586743f7 refactor: try faster docusaurus build (#3263)
* refactor: try esbuild-loader time

* refactor: try swc-loader time

* refactor: try switch minifiers and disable cache

* refactor: try switch minifiers and compress cache

* refactor: try switch minifiers and disable cache with swc

* refactor: change back to switch minifiers and disable cache with esbuild

* chore(deps): update caniuse-lite
2023-12-06 15:57:22 +00:00
Jonathan Ho 2138da531e chore(deps): update docusaurus to v3 (#3264)
* chore(deps): update docusaurus to v3

* chore(deps): update all deps in site
2023-12-05 02:09:58 +00:00
Jonathan Ho e7d32e4be6 fix: cjs extensions for require (#3256) 2023-12-03 23:13:52 +00:00
Jonathan Ho 1974834b20 feat: all cjs export (#3189)
* feat: all cjs export

* test: fix deno test

* style: fix error  Expected space or tab before '*/' in comment  spaced-comment

* fix: deno import map

* fix: sneak in a fix for yarn
2023-11-27 01:17:54 +00:00
Jonathan Ho 8f2daff769 feat(ci): add cache for deno (#3158)
* feat(ci): add cache for deno

* refactor(ci): per package cache
2023-10-28 12:50:19 +00:00
Jonathan Ho 6a55a6ff6f feat(cli): add cli (#3037)
* feat(bot): add cli

* refactor: move to discordeno package

* refactor(cli): blank state
2023-10-15 04:25:08 +00:00
Jonathan Ho 8d1ba2a1cc test(rest): fix test for new user system (#3057)
* test(rest): fix test for new user system

* Update user.spec.ts
2023-06-18 22:20:31 +00:00
Jonathan Ho abfa0bb8fb test(rest-proxy): add image scan on push to main (#3046) 2023-06-06 01:46:39 +00:00
Jonathan Ho 6ea65c70e3 chore(rest-proxy): update base image (#3045) 2023-06-05 02:37:46 +00:00
Jonathan Ho 169e11771d ci: add snyk for image scan (#3031) 2023-05-11 15:12:20 +00:00
Jonathan Ho dda4d75de1 fix(rest,utils): reverse "refactor: use node-fetch" 6a6a334 (#2995) 2023-04-13 22:05:18 +00:00
Jonathan Ho 7151b338e4 ci(bench): fix benchmark result not saved for pr (#2981) 2023-04-08 16:31:35 +02:00
Jonathan Ho 0b8cb1e463 ci(rest): proxy multi arch image (#2980)
* ci(rest-proxy): multi arch image

* ci(rest-proxy): fix doc

* ci(rest-proxy): add test build multi arch image

* ci(rest-proxy): update version

* ci(rest-proxy): fix missing setup buildx

* ci(rest-proxy): fix target

* ci(rest-proxy): fix trivy

* ci(rest-proxy): fix cache

* ci(rest-proxy): load true

* ci(rest-proxy): move image scan

* ci(rest-proxy): fix name

* ci(rest-proxy): fix cache

* ci(rest-proxy): add name

* ci(rest-proxy): add schedule scan

* ci(rest-proxy): fix string

* ci(rest-proxy): update cache version
2023-04-08 16:30:42 +02:00
Jonathan Ho 51fd668dfb ci(rest): proxy add basic ci (#2976)
* ci(rest-proxy); add basic ci

* ci(rest-proxy); add workflow to path filter

* ci(rest-proxy): fix path

* ci(rest-proxy): add target

* ci(rest-proxy): add publish job

* ci(rest-proxy): fix image name path
2023-04-05 21:57:41 +00:00
Jonathan Ho 79ff2bf0c8 docs(rest-proxy): add comment (#2975) 2023-04-05 19:28:50 +00:00
Jonathan HoandSkillz4Killz 747c80f1f6 feat(rest-proxy): init docker (#2972)
* feat(rest-proxy): init docker

* refactor(rest-proxy): smaller size

---------

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2023-04-05 19:21:40 +00:00
Jonathan Ho fda9ef25f2 fix(bench): missing app id (#2955) 2023-04-03 03:05:20 +00:00
Jonathan HoandITOH 7a69c02d13 feat(site): add back benchmark to site (also change cpu model) (#2939)
* ci: add concurrency for deploy site

* feat(site): add benchmark

* refactor(bench): overwrite old result with new

* Update packages/benchmark/src/generateMessage.ts

Co-authored-by: ITOH <to@itoh.at>

* Update scripts/generateMessage.js

Co-authored-by: ITOH <to@itoh.at>

* Update site.yml

---------

Co-authored-by: ITOH <to@itoh.at>
2023-04-02 15:39:52 +00:00
Jonathan Ho 782a778a1d ci: add git reset before store benchmark (#2938) 2023-04-02 02:25:01 +00:00
Jonathan Ho 9c7b2b832e Fix(bench): wrong location (#2932)
* Update commentBenchResult.yml

* ci: fix ext

* refactor(bench): better table
2023-04-01 23:27:54 +00:00
Jonathan Ho a29e45218d feat(bench): commit benchmark benchies (#2918)
* refactor(bench): better readdir

* Update retryBenchmark.yml

* Update benchmark.yml

* Update benchmark.yml

* Update benchmark.yml

* Update benchmark.yml

* ci: comment the result

* ci: fix missing data
2023-04-01 04:53:35 +00:00
Jonathan Ho 18150174ae chore(all): add dev guide (#2919) 2023-03-31 16:11:27 +00:00
Jonathan Ho aba7de6e3b benchmark test (#2830)
* ci: test

* ci: add script

* ci: change to js

* ci: test

* ci: fix error

* ci: fix script

* chore: add benchmark

* ci: fix need input

* fix: read file with dir

* ci: change push to trigger on main only

* ci: try new method

* ci: fix "true"

* chore: fix set output

* fix: set output

* ci: increase number of try

* chore: clean up dir

* fix needs

* bench: add memory bench

* bench: import memory bench

* bench: fix v19 syntax

* bench: more fix

* bench: add filter

* bench: minor fix

* ci: read file in sync

* chore: yarn install

* chore: add db to ignore

* refactor(bench): use loader

* bench: only bench on one event

* bench: add type to db event

* chore(bench): better type

* bench: add rest simplifyUrl bench

* chore: add microtime

* refactor: add fall back

* Revert "ci: change push to trigger on main only"

This reverts commit 04df971025.

* chore: yarn install

* ci: trigger push event only on main branch

* chore(bench): use node-fetch

* refactor(bench): make it work with other function and event

* chore(bench): better name
2023-03-31 07:57:53 +00:00
Jonathan Ho abe8c0fa29 ci: add run e2e test on merge group (#2915) 2023-03-31 01:45:02 +00:00
Jonathan Ho a6c3ffe0ee test(bot): fix test type (#2839) 2023-03-25 10:35:47 -05:00
Jonathan Ho f1f4322673 ci(site): add trigger on more file (#2837) 2023-03-18 20:45:22 -05:00
Jonathan Ho e0427d98ba test(gw): fix gw integration test (#2835)
* test(gw): fix gw integration test

* ci: increase timeout

* chore(gw): fix redundant import
2023-03-15 18:49:28 -05:00
Jonathan Ho a196e22d9b chore: bump deps (#2836)
* chore: add yarn interactive-tools

* chore(deps): bump swc

* chore(deps): bump chai types

* chore(deps): bump mocha

* chore(deps): bump node types

* chore(deps): bump eslint

* chore(deps): bump other
2023-03-15 18:48:16 -05:00
Jonathan Ho 6a6a3348c0 refactor: use node-fetch (#2832)
* refactor: use node-fetch

* test: fix import map
2023-03-14 19:08:30 -05:00
Jonathan Ho 918cee2514 test(utils): increase coverage (part 1) (#2795)
* close test(utils): more test for Collection.ts #2793

* fix: after each not defined

* close test(utils): more test for base64.ts #2796

* close test(utils): more test for casing.ts #2797

* test(utils): remove dev code

* close #2799

* fix #2800

* close #2823

* test(utils): fix site move

* close #2826

* refactor(utils): remove redundant if

* close #2827

* close #2828
2023-03-06 16:48:16 -06:00
Jonathan Ho 9347b57ec9 chore: disable swc minify (#2809)
* chore: disable minify

* test: fix deno test
2023-03-01 11:25:40 -06:00
Jonathan Ho 3c54907dd6 ci: update website build process (#2808)
* ci: update website build process

* ci: also trigger on ci file change

* ci: fix id used two times

* ci: fix missing work dir
2023-02-28 15:28:17 -06:00
Jonathan Ho e48b9a16c6 ci: update website path (#2806) 2023-02-27 22:46:07 -06:00
Jonathan Ho 99fbe1effd ci: fix add publish client (#2803) 2023-02-27 14:44:49 -06:00
Jonathan Ho 3bbdf78857 fix: npm publish ignoring folder (#2801) 2023-02-27 11:32:13 -06:00
Jonathan Ho 181585fb04 chore: fix readme (#2787) 2023-02-21 09:25:31 -06:00
Jonathan Ho e610091f3c ci: seperate test (#2785)
* ci: seperate test

* ci: fix site

* chore(site): remove blog
2023-02-20 15:55:54 -06:00
Jonathan Ho c522cd9a0e Update release.yml (#2722) 2023-01-13 11:00:46 -06:00