Commit Graph
412 Commits
Author SHA1 Message Date
dependabot[bot]andFleny 95c2343131 build(deps): bump actions/upload-artifact from 6 to 7 (#4819)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  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>
Co-authored-by: Fleny <Fleny113@outlook.com>
2026-03-03 17:43:48 +01:00
dependabot[bot]andFleny 8f23fdac7d build(deps): bump aquasecurity/trivy-action from 0.34.0 to 0.34.1 (#4795)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.34.0 to 0.34.1.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.34.0...0.34.1)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-version: 0.34.1
  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>
Co-authored-by: Fleny <Fleny113@outlook.com>
2026-02-24 18:39:51 +01:00
dependabot[bot]andAwesome Stickz afc1c349a5 build(deps): bump aquasecurity/trivy-action from 0.33.1 to 0.34.0 (#4769)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.33.1 to 0.34.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.33.1...0.34.0)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-version: 0.34.0
  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>
Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2026-02-17 00:04:14 +05:30
dependabot[bot]andAwesome Stickz cf5ba2a6ad build(deps): bump rharkor/caching-for-turbo from 2.3.5 to 2.3.11 (#4695)
Bumps [rharkor/caching-for-turbo](https://github.com/rharkor/caching-for-turbo) from 2.3.5 to 2.3.11.
- [Release notes](https://github.com/rharkor/caching-for-turbo/releases)
- [Commits](https://github.com/rharkor/caching-for-turbo/compare/v2.3.5...v2.3.11)

---
updated-dependencies:
- dependency-name: rharkor/caching-for-turbo
  dependency-version: 2.3.11
  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>
Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2026-01-20 11:50:30 +05:30
FlenyandAwesome Stickz a3bb9fc1a0 ci: Remove CI hard time limit on E2E (#4683)
Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2026-01-20 11:47:34 +05:30
FlenyandSkillz4Killz 011f0fe0dc ci: Use turbo remote cache (#4666)
* Use a turbo remote cache server for CI

`rharkor/caching-for-turbo` uses github actions cache to provide a remote cache server for turbo, so we can use previuously created cache if available and requested by turbo, and this doesn't have the downside of having the cache growing indefinitely like with normal github actions cache as since the single caches are uploaded to the github actions cache, github can evict the old cache when it's not used or there is no space left.

Also add turbo to website so we can cache the build

* Use turbo for website build & build:doc

* fix typo, tubo -> turbo

---------

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2026-01-07 13:40:27 -06:00
Seren_Modz 21andFleny 8b9930ffe0 ci(release): publish with yarn instead of npm (#4646)
* chore: update yarn to 4.12.0

* ci(release): publish with yarn instead of npm

* chore: update browsers list db

Signed-off-by: Seren_Modz 21 <seren@kings-world.net>

* chore(deps): add a resolution for react types

docusaurus is using react types v18, while discordeno uses v19

Signed-off-by: Seren_Modz 21 <seren@kings-world.net>

* fix: prefix the jsx element type with the react namespace

Signed-off-by: Seren_Modz 21 <seren@kings-world.net>

* chore(deps): update @rspack/core to v1.6.8

Signed-off-by: Seren_Modz 21 <seren@kings-world.net>

---------

Signed-off-by: Seren_Modz 21 <seren@kings-world.net>
Co-authored-by: Fleny <Fleny113@outlook.com>
2025-12-19 18:12:37 +01:00
Fleny 839cc2473b ci: Use trusted publishing for npm packages (#4644) 2025-12-18 09:14:37 +01:00
dependabot[bot]andFleny cc8f82e22e build(deps): bump actions/cache from 3 to 5 (#4636)
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v5)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '5'
  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>
Co-authored-by: Fleny <Fleny113@outlook.com>
2025-12-15 16:49:13 +01:00
dependabot[bot]andFleny 1a39f9fd7f build(deps): bump actions/download-artifact from 6 to 7 (#4635)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '7'
  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>
Co-authored-by: Fleny <Fleny113@outlook.com>
2025-12-15 16:46:10 +01:00
dependabot[bot]andFleny f7851727d9 build(deps): bump actions/upload-artifact from 5 to 6 (#4634)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  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>
Co-authored-by: Fleny <Fleny113@outlook.com>
2025-12-15 16:42:36 +01:00
dependabot[bot] 33e24c8c07 build(deps): bump actions/checkout from 5 to 6 (#4595)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [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/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  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>
2025-11-24 13:30:43 +01:00
dependabot[bot]andFleny 0e20dae28b build(deps): bump actions/upload-artifact from 4 to 5 (#4552)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  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>
Co-authored-by: Fleny <Fleny113@outlook.com>
2025-10-27 17:46:20 +01:00
dependabot[bot]andFleny 34c4f58842 build(deps): bump actions/download-artifact from 5 to 6 (#4551)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '6'
  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>
Co-authored-by: Fleny <Fleny113@outlook.com>
2025-10-27 17:43:37 +01:00
dependabot[bot]andFleny 3a4fdc1026 build(deps): bump actions/setup-node from 5 to 6 (#4539)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 5 to 6.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '6'
  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>
Co-authored-by: Fleny <Fleny113@outlook.com>
2025-10-20 19:06:11 +02:00
dependabot[bot]andFleny 85bd70dbd7 build(deps): bump github/codeql-action from 3 to 4 (#4524)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3 to 4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: '4'
  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>
Co-authored-by: Fleny <Fleny113@outlook.com>
2025-10-14 19:45:04 +02:00
dependabot[bot]andFleny 18e3538644 build(deps): bump snyk/actions from 0.5.0 to 1.0.0 (#4516)
Bumps [snyk/actions](https://github.com/snyk/actions) from 0.5.0 to 1.0.0.
- [Release notes](https://github.com/snyk/actions/releases)
- [Commits](https://github.com/snyk/actions/compare/v0.5.0...v1.0.0)

---
updated-dependencies:
- dependency-name: snyk/actions
  dependency-version: 1.0.0
  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>
Co-authored-by: Fleny <Fleny113@outlook.com>
2025-10-06 18:27:15 +02:00
dependabot[bot]andFleny bcd957b270 build(deps): bump snyk/actions from 0.4.0 to 0.5.0 (#4497)
Bumps [snyk/actions](https://github.com/snyk/actions) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/snyk/actions/releases)
- [Commits](https://github.com/snyk/actions/compare/0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: snyk/actions
  dependency-version: 0.5.0
  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>
Co-authored-by: Fleny <Fleny113@outlook.com>
2025-10-02 21:47:33 +02:00
Fleny b7c433056f Change dependabot update intervals to weekly (#4480)
Also add the website folder to be checked for npm updates
2025-10-02 21:33:22 +02:00
Fleny 2545bff5a6 Remove benchmarks page & package (#4479)
* Remove benchmarks package and page

* Remove benchmarks CI
2025-10-02 21:30:06 +02:00
dependabot[bot]andFleny 9daa4b7bb6 build(deps): bump aquasecurity/trivy-action from 0.33.0 to 0.33.1 (#4489)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.33.0 to 0.33.1.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.33.0...0.33.1)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-version: 0.33.1
  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>
Co-authored-by: Fleny <Fleny113@outlook.com>
2025-10-01 20:56:47 +02:00
dependabot[bot]andFleny ba8e9daded build(deps): bump actions/setup-node from 4 to 5 (#4487)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 5.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '5'
  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>
Co-authored-by: Fleny <Fleny113@outlook.com>
2025-10-01 20:47:20 +02:00
dependabot[bot]andFleny 9da42097a9 build(deps): bump actions/github-script from 7 to 8 (#4488)
Bumps [actions/github-script](https://github.com/actions/github-script) from 7 to 8.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-version: '8'
  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>
Co-authored-by: Fleny <Fleny113@outlook.com>
2025-10-01 20:39:22 +02:00
dependabot[bot] 9a811573e9 build(deps): bump actions/stale from 9 to 10 (#4490)
Bumps [actions/stale](https://github.com/actions/stale) from 9 to 10.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v9...v10)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-version: '10'
  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>
2025-10-01 20:34:48 +02:00
FlenyandLink 8efd604be3 ci: Add if for image scan job (#4416)
Co-authored-by: Link <link20050703@gmail.com>
2025-09-02 19:01:30 +02:00
dependabot[bot]andFleny ff7c51de0a build(deps): bump actions/checkout from 4 to 5 (#4408)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [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/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  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>
Co-authored-by: Fleny <Fleny113@outlook.com>
2025-09-02 09:35:36 +02:00
dependabot[bot]andFleny 322331e0e6 build(deps): bump actions/download-artifact from 4 to 5 (#4407)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '5'
  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>
Co-authored-by: Fleny <Fleny113@outlook.com>
2025-09-02 09:32:00 +02:00
dependabot[bot]andFleny 4bd338ce8c build(deps): bump aquasecurity/trivy-action from 0.32.0 to 0.33.0 (#4409)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.32.0 to 0.33.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.32.0...0.33.0)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-version: 0.33.0
  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>
Co-authored-by: Fleny <Fleny113@outlook.com>
2025-09-02 09:27:55 +02:00
dependabot[bot]andFleny 724a37ff34 build(deps): bump actions/upload-pages-artifact from 3 to 4 (#4410)
Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-pages-artifact/releases)
- [Commits](https://github.com/actions/upload-pages-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-pages-artifact
  dependency-version: '4'
  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>
Co-authored-by: Fleny <Fleny113@outlook.com>
2025-09-02 09:19:09 +02:00
FlenyandLink 3af54ca144 ci: Use biome ci in lib-check format (#4399)
Co-authored-by: Link <link20050703@gmail.com>
2025-08-26 20:00:36 +02:00
Link f274ec665a chore: Release pre-release as beta on NPM (#4388) 2025-08-22 12:10:04 -07:00
FlenyandLink 2ccf3c1437 ci: Fix snyk scan (#4317)
Co-authored-by: Link <link20050703@gmail.com>
2025-08-20 20:44:11 -07:00
FlenyandLink b6f2d914b8 ci: Use biome ci in lib-check format (#4319)
Co-authored-by: Link <link20050703@gmail.com>
2025-08-20 20:35:25 -07:00
FlenyandLink 9759eba986 ci: Specify permissions for CI (#4338)
Co-authored-by: Link <link20050703@gmail.com>
2025-08-20 19:07:49 -07:00
Fleny d5b2974d9f chore: use biome check instead of separate lint and format commands (#4320) 2025-08-20 16:03:42 -04:00
FlenyandLink df3cfebb86 chore(.github): Assign @discordeno/team to most codeowners (#4379)
* chore(.github): Add @discordeno/team to most codeowners

Also removes /.github/sync.yml, that file does not exist

* Remove explit mentions

They are already in the team, so they do get the perms anyway

* Update .github/CODEOWNERS

Co-authored-by: Link <link20050703@gmail.com>

---------

Co-authored-by: Link <link20050703@gmail.com>
2025-08-20 11:52:12 -05:00
Fleny 2ae8690faa ci: Use node v20 in CI (#4203)
* Use node v20 in CI

* Revert unit tests to use node 18

* Revert "Revert unit tests to use node 18"

This reverts commit 61dbd272f0.
2025-06-21 11:08:25 -05:00
FlenyandJonathan Ho 70bcd16e8d chore(website): Update docusarus v3.8, improve build perf (#4209)
* Update docusaurus to v3.8, improve performance

Docusaurus:
- Update to v3.8.0
- Enable new faster features, rspack bundler cache and worker threads
- Update CI to cache rspack bundler cache
- Update dependencies to latest versions
- Update blog posts to use the truncate tag
- Update caniuse-lite

Removed duplicated type documentation generation for bot package

* Use .jsonc files for typedoc
And use the readme option instead of a custom script

* remvoe typedoc script

---------

Co-authored-by: Jonathan Ho <heiheiho000@gmail.com>
2025-06-02 07:47:19 +02:00
Fleny b177eb40f8 chore: Update yarn, refactor packages setup (#4085)
* Update yarn, refactor packages setup

* Rename some jobs in lib-check.yml

* Update website/yarn.lock

* Revert build-type-and-test job name change
2025-01-16 22:27:10 -06:00
Fleny b0c1b9f795 ci: Use mocha for both deno and bun (#4067)
* Use mocha for both deno and bun

* Use any Bun 1.1

* remove build:type dependency in lib-check.yml

* Pin point 1.1.42

* remove packages/bot/.mocharc.json
2025-01-01 09:59:06 -08:00
Dominik Koch 55af73e878 fix(dependabot): monthly dependencie updates (#4076)
Skillz talked about wanting the dependabot prs to only be made every month so this pr changes it to monthly!
2024-12-30 11:04:32 -08:00
Fleny fb9aac0531 Remove turbo cache from release (#3995) 2024-11-19 16:43:17 -06:00
Fleny cf5e0336c4 Add id-token permission to release workflow (#3989) 2024-11-17 11:34:47 -06:00
Fleny 1e8873b3cb ci: Release v19 (#3988)
* Bump to 19.0.0, Add conditions for CI release

* Use next tag instead
2024-11-17 11:25:37 -06:00
dependabot[bot] 3f3801ede8 build(deps): bump codecov/codecov-action from 4 to 5 (#3985)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4 to 5.
- [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/v4...v5)

---
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>
2024-11-17 08:40:53 -06:00
Fleny ee11d39744 Add discordeno to the release workflow (#3790) 2024-07-23 00:29:42 -05:00
Fleny 31222855d8 fix(docker): prevent snyk null in severity scores for unassigned CVEs (#3746)
* Fix snyk null in severity scores for unassigned CVEs

* Keep node 18
2024-07-20 16:54:11 -05:00
Fleny 4778968aba Update actions versions (#3760)
Especially actions/cache and the artifacts related ones
2024-07-20 16:54:00 -05:00
Fleny 495c532d9f ci: Add token parameter to codecov action (#3759)
* Add token parameter to codecov action

* add secrets: inherit
2024-07-20 16:53:08 -05:00
FlenyandLTS20050703 27fc12ec34 feat(cli)!: CLI generated types (#3453)
* Move transformers types to a single file

* Add script to test TS Compiler api capabilities
Remove nested objects where possible

* Use Partial<Role> and DiscordOverwrite instead of objects in AuditLogChange

* Fix typescript errors

* Remove interfaces.json

It is a generated file from the test script, not something that should be commited

* Start work on the test generation script
The TS version got bumped to 5.5.3

* Fix any type, use node16 module resolution

"node" is a deprecated alias for "node10", node16 is the recommended

Add code to check for type errors when getting the types from the interfaces

Fix errors when TS tries to find the files that the root tsconfig.json handles

* remove some useless compile options in TSApiTest

* Add jsdoc parsing
JSDoc tags with the next right after are not supported

* fix small format issue

* Fix ApplicationCommandPermissions todo

* Fix CI error

* Simplify parseDocumentation

* get type directly from the sourceFile

* remove hasUndefinedUnion as it is no longer used

* fix discordeno bin file name

* Update the yarn lockfile

* Merge scripts into one

* Use `@internal` instead of `@private` + `@deprecated`

* work on .d.ts files

* Process interface members once

* Move emit/preEmit diagnostics to a unit test

they can take quite a while, even 3-4 seconds, so running in the CLI every time does not seem ideal

* test: add build:types to test:unit dependencies

This is a test commit, it will provably get reversed. The scope is to see what CI does with this

* add find-up to deno import map

* add typescript to the deno import map

* Add node:assert to deno import map

* check for this.timeout that exists

deno does not have the timeout

* add build:type to deno-unit

* Temp hack to work-around the script deno tests

* Test with bun running the test as well

* fix turbo deps for unit tests

* remove test scripts

* Update CI to use build:type cache

* Apply code review suggestion

Co-authored-by: LTS20050703 <lts20050703@gmail.com>

* Add code to modify the interface member

* use an actual config

The config source is still a dummy object for now

* Search and use discordeno.config.js file

* provide config from cli options

* Handle props in base objects
The dependencies of an object need to be declared/updated manually, it would be painful to fix this in such a way that would be something that Typescript can give us from the compiler API

* add some tests for desired proprieties

* also check for a .mjs config file

* Add support for .ts config files

We use the typescript compiler to emit an in-memory version of the config file, import it and then remove it. It does not do bundling so if the config imports local files it will not work. Also the file is not type-checked as it would slow down the config loading

* remove compiler host, use callback on program.emit

* fix deno ci error

* add node:fs/promises to deno import map

---------

Co-authored-by: LTS20050703 <lts20050703@gmail.com>
2024-07-20 16:52:21 -05:00