Commit Graph

4700 Commits

Author SHA1 Message Date
H01001000
da18e11d69 chore: bump typescript 2022-12-01 12:39:48 +08:00
H01001000
cc222b8218 fix: utils 2022-12-01 11:45:07 +08:00
H01001000
25c38a045a chore: rename to index 2022-12-01 11:30:10 +08:00
H01001000
1625a9b60c chore: seperate util 2022-12-01 11:26:55 +08:00
H01001000
735d5d498b chore: move to seperate packages 2022-12-01 11:06:17 +08:00
H01001000
818b273d4a chore: remove site from turborepo 2022-12-01 10:43:27 +08:00
H01001000
d1fe9fa6bd chore: add build script 2022-12-01 10:42:31 +08:00
H01001000
0b5a4d992f chore: fix formatter 2022-12-01 10:41:56 +08:00
H01001000
753b52dc89 fix: tests import ext 2022-12-01 02:58:33 +08:00
H01001000
c99dfe4f96 style: run eslint --fix 2022-12-01 02:57:26 +08:00
H01001000
08bf2dc15b chore: add node types 2022-12-01 02:57:09 +08:00
H01001000
496e867f48 fix: rewrite to process.env 2022-12-01 02:49:44 +08:00
Skillz4Killz
34b3df8ad7 fix: .vscode set prettier and remove deno configs (#2611) 2022-11-30 12:39:35 -06:00
Jonathan Ho
7cd425c479 setup more eslint and tsconfig (#2612)
* fix packages setting lcoation

* add dist to ignore

* style
2022-12-01 02:30:48 +08:00
Jonathan Ho
d04a040f28 Setup turborepo (#2610)
* chore: BREAKING move to monorepo structure

* chore: setup turborepo
2022-12-01 01:59:02 +08:00
dependabot[bot]
42719cd2c1 chore(deps): bump minimatch, recursive-readdir and serve-handler (#2596)
Bumps [minimatch](https://github.com/isaacs/minimatch), [recursive-readdir](https://github.com/jergason/recursive-readdir) and [serve-handler](https://github.com/zeit/serve-handler). These dependencies needed to be updated together.

Updates `minimatch` from 3.0.4 to 3.1.2
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

Updates `recursive-readdir` from 2.2.2 to 2.2.3
- [Release notes](https://github.com/jergason/recursive-readdir/releases)
- [Changelog](https://github.com/jergason/recursive-readdir/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jergason/recursive-readdir/commits/v2.2.3)

Updates `serve-handler` from 6.1.3 to 6.1.5
- [Release notes](https://github.com/zeit/serve-handler/releases)
- [Commits](https://github.com/zeit/serve-handler/compare/6.1.3...6.1.5)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
- dependency-name: recursive-readdir
  dependency-type: indirect
- dependency-name: serve-handler
  dependency-type: indirect
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-30 10:43:10 -06:00
dependabot[bot]
ace5e26154 chore(deps): bump fastify from 4.8.1 to 4.10.2 in /template/bigbot (#2594)
Bumps [fastify](https://github.com/fastify/fastify) from 4.8.1 to 4.10.2.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v4.8.1...v4.10.2)

---
updated-dependencies:
- dependency-name: fastify
  dependency-type: direct:production
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-30 10:41:13 -06:00
Jonathan Ho
50c6c6fbfb [helper] Fix entity metadata (#2595)
* change to null if no location

* style: deno fmt
2022-11-29 10:12:23 -06:00
Danny May
0910965de5 Fix sending files through a rest proxy (#2593)
* Fix rest proxy not working with files

* Fix some credits

* Add tests

* Fix test

* Remove some usage of any

* Fix mime matching

* Fix formatting issues
2022-11-20 16:50:50 -06:00
dependabot[bot]
5ad03ac562 chore(deps): bump loader-utils from 1.4.1 to 1.4.2 in /site (#2591)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-17 09:04:14 -06:00
LTS20050703
f615e8520c helpers: add appliedTags to editHelper options (#2590) 2022-11-15 14:37:03 -06:00
Jonathan Ho
5a1887462d Fix: typing (#2589)
* deno fmt

* import SortOrderTypes

* add bigString to reverse snowflake
2022-11-14 15:49:25 -06:00
Andreas Fink
e59ec94f55 BREAKING: fix(plugins/validations): remove bot arg from validateApplicationCommandLength, fixes #2543 (#2553) 2022-11-14 13:02:43 -06:00
Skillz
0628d849e4 fix: remove debugs 2022-11-14 12:54:55 -06:00
LTS20050703
65b7534551 public thread can be in forum channel (#2586)
* public thread can be in forum channel

* Update types/shared.ts

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-11-14 12:36:20 -06:00
LTS20050703
e1ba1ae90d delete follow up and original now support ephemeral (#2585) 2022-11-14 12:35:40 -06:00
LTS20050703
e995a651ce role name must be less than 100 characters (#2584) 2022-11-14 12:35:02 -06:00
LTS20050703
cd5915c8b6 add new select menu components (#2583)
* add new select menu components

* fix: check for component type
2022-11-14 12:34:41 -06:00
LTS20050703
23897b7fcb helpers: Add missing properties for create guild channel (#2581)
* helpers: Add missing properties for create guild channel

* Update helpers/channels/createChannel.ts

* Update helpers/channels/createChannel.ts

* Update helpers/channels/createChannel.ts

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-11-14 12:32:41 -06:00
LTS20050703
84cd7165e2 types: add SortOrderTypes and default_sort_order to DiscordChannel, helpers: add defaultSortOrder to createChannel and editChannel options (#2582)
* types: add SortOrderTypes and default_sort_order to DiscordChannel
helpers: add defaultSortOrder to createChannel and editChannel options

* Update types/discord.ts

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-11-14 12:31:45 -06:00
RanAS
58ac893c3a calculateBasePermissions may not correctly retrieve cached members (#2580)
* fix: this might be an oversight

* Update plugins/permissions/src/permissions.ts

* Update plugins/permissions/src/permissions.ts

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-11-14 12:26:30 -06:00
dependabot[bot]
63b88ee949 chore(deps): bump loader-utils from 1.4.0 to 1.4.1 in /site (#2577)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 12:17:51 -06:00
Skillz4Killz
76ea7d9a67 Bucking Rest (#2588)
* Pending changes exported from your codespace

* fix: more testing needed

* fix: try fix

* fix: global shared scope erro

* fix: cleanup console logs
2022-11-14 12:17:29 -06:00
Jonathan Ho
a385176d8a bench: add cpu correction (#2572)
* feat: add cpu correction

* feat: add more bench

* fix: cpu correction

* chore: add comment

* fix: add unstable to tranform

* fix: comment message

* deno fmt
2022-11-05 11:17:43 -05:00
Jonathan Ho
dc186589cb feat: add benchmark to site (#2567)
* feat: add benchmark to site

* test

* remove test file
2022-11-02 10:13:11 -05:00
Awesome Stickz
788bd85218 fix: add members collection to guild in guild transformer if available (#2569) 2022-11-01 14:56:38 -05:00
Jonathan Ho
d62e442224 enable inlay (#2568)
* enable inlay

* sneak in

* feat: add lock file
2022-11-01 14:29:46 -05:00
Jonathan Ho
8e8f221861 Fix: commit not showing (#2566)
* testing

* remove test

* fix

* fix typo

* chore: remove path from flag
2022-10-31 09:35:57 -05:00
Jonathan Ho
fd82b12c17 Fix Ci (#2565)
* fix: Validate not running cron

* fix: always upload artifact

* fix: generate fail on first comment
2022-10-29 14:45:58 -05:00
Jonathan Ho
7a1a41fac8 CI: Run benchmark (#2563)
* fix(bench): try to fix benchmark

* style: deno fmt

* fix: remove check formating

* fix: add fake token

* fix: tranform

* deno fmt

* add parseFloat

* fix unit

* refactor: change fetch target to benchrepo

* fix: oldBot

* refactor: use custom input

* ci: add tee

* style: deno fmt

* ci: cache deps

* chore: remove

* ci: add memory benchmark

* fix: fix url for main repo

* deno fmt

* ci: add comment-always

* fix: link

* just trying trigger

* ci: only push on main

* fix: type

* fix: range

* fixed

* style: deno fmt

* fix: path

* Add upload output

* style: deno fmt

* ci: add create branch on pr owner's repo

* fix: github.repository

* ci: fix remove id benchmark-action

* fix

* fix: type

* reverse change

* ci: add cache

* feat: add using cache

* bench: update name and ignore previous when ci

* style: name

* feat: fix pr message style

* add more benchmark

* deno fmt

* fix

* fix: wording

* chore: only run on success

* fix: used last head as current commit
2022-10-29 14:22:23 -05:00
Jonathan Ho
716499e865 ci: disable integration test on pr (#2561)
* ci: disable integration test on pr

* chore: add show carryforward

* ci: add dummy action
2022-10-27 10:16:30 -05:00
deepsarda
0fdf5d2528 feat(Amethyst): Update Docs (#2558) 2022-10-27 09:30:59 -05:00
Jonathan Ho
9d9ba4c251 CI: fix path (#2557)
* ci: also upload coverage for pr

* ci: bump codecov action

* ci: add path filter

* ci: fix add checkout

* ci: fix 'true'

* ci: remove /

* ci: add flag to codecov

* ci: add carryforward on integration
2022-10-27 09:29:49 -05:00
Dorian Oszczęda
999fdb2c45 fix: Not being able to clear member timeout. (#2556) 2022-10-27 09:21:40 -05:00
Jonathan Ho
1c7859fea9 Test: clean up CI and test (#2555)
* style: format Deno.test\("(.+)", async \(\) => \{\n([\S\s]*?)^\}\);

* style: format Deno.test\("(.+)", \(\) => \{\n([\S\s]*?)^\}\);

* style: format Deno.test\("(.+)", async \(t\) => \{\n([\S\s]*?)^\}\);

* style: format async function

* chore: turn all to async

* chore: format add t

* style: function format

* chore: add integration and unit test difference

* ci: combine test

* ci: remove if

* ci: add parallel flag

* ci: add UNIT_TEST_GUILD_ID

* ci: static deno version

* ci: add concurrency to Integration test

* ci: bump actions/checkout to v3
2022-10-26 10:41:26 -05:00
Andreas Fink
c07f2454ef feat(types): Add Error 50039: InvalidActivityAction, fixes #2548 (#2554) 2022-10-24 15:35:16 -05:00
Andreas Fink
5808179369 feat(transformers,types): add DEVELOPER_SUPPORT_SERVER feature (fixes #2550) (#2552) 2022-10-24 15:34:48 -05:00
Andreas Fink
3dcc2f0eaf feat(types): add NitroBasic to PremiumTypes, fixes #2547 (#2551) 2022-10-24 14:46:36 -05:00
Jonathan Ho
98f964e294 Bigbot: multiple gateway, bot process (#2545)
* refactor: remove experimental-specifier-resolution flag

* fix: listen on all interface

* fix: tsconfig set target es2022

* refactor: use top level await

* style: deno fmt

* feat: add rabbitmq

* fix:  DEVELOPMENT env not working

* style

* feat: add using message queue

* chore: readme add influx and rabbitmq info to node

* chore: increase rest replica
2022-10-23 07:32:17 -05:00
Jonathan Ho
fd2987313b fix: #2541 (#2542) 2022-10-22 12:48:35 -05:00