Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: rewrite to djs v14 #2505

Merged
merged 27 commits into from
Dec 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
ed8b1bb
refactor: rewrite to djs v14
kyranet Oct 21, 2023
0792798
fix: merge `discord-api-types` imports
kyranet Nov 9, 2023
cd342d7
refactor: cleanup and permissions fixes
kyranet Nov 9, 2023
eb79151
refactor: fix i18next usage
kyranet Nov 9, 2023
2abd3f8
fix: support missing i18n keys
kyranet Nov 9, 2023
90eebdd
refactor: remove unused env var
kyranet Nov 9, 2023
55723c3
fix: added missing return
kyranet Nov 9, 2023
e126458
refactor: use subpackage imports for djs
kyranet Nov 9, 2023
5b02845
refactor: remove URL imports
kyranet Nov 9, 2023
00dee52
fix: resolved more bugs
kyranet Nov 9, 2023
e7cc993
chore: update Yarn to v4
kyranet Nov 9, 2023
63d1e72
refactor: many requested changes
kyranet Nov 11, 2023
5f25c2b
refactor: make the worker file a JS file
kyranet Nov 11, 2023
900826a
fix: missed this node v20 bump in CI
kyranet Nov 11, 2023
3f3e17f
refactor: update dependencies
kyranet Dec 27, 2023
c03642c
refactor: many bugfixes
kyranet Dec 28, 2023
e379295
fix: couple bugs
kyranet Dec 28, 2023
ee59b02
fix: more things
kyranet Dec 28, 2023
9147a46
refactor: clean up
kyranet Dec 28, 2023
3ef864a
refactor: requested changes
kyranet Dec 28, 2023
4c980e4
build: cleanup tsconfig.base.json
favna Dec 28, 2023
d3a6cd0
fix: update all http links to https
favna Dec 28, 2023
3f77856
feat: use `omitKeysFromObject`
favna Dec 28, 2023
659d628
build: update renovate config
favna Dec 28, 2023
12e69dc
chore: moved something to somewhere... goodnight...
favna Dec 28, 2023
5cad6db
build: fix test script
favna Dec 28, 2023
07215c8
test: improve test coverage reporting
favna Dec 28, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
24 changes: 24 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
codecov:
notify:
after_n_builds: 1
strict_yaml_branch: main

coverage:
range: '50...100'
status:
project:
default:
target: auto
threshold: 5%
patch: off

flag_management:
default_rules:
statuses:
- type: project
target: auto
threshold: 2%

comment:
require_changes: true
after_n_builds: 1
18 changes: 9 additions & 9 deletions .github/TERMS_OF_SERVICE.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,23 @@ Skyra Project

**Table of contents**:

- [TERMS](#terms)
- [TERMS](#terms)

- [USE LICENSE](#use-license)
- [USE LICENSE](#use-license)

- [DISCLAIMER](#disclaimer)
- [DISCLAIMER](#disclaimer)

- [LIMITATIONS](#limitations)
- [LIMITATIONS](#limitations)

- [REVISIONS AND ERRATA](#revisions-and-errata)
- [REVISIONS AND ERRATA](#revisions-and-errata)

- [LINKS](#links)
- [LINKS](#links)

- [TERMS OF SERVICE MODIFICATIONS](#terms-of-service-modifications)
- [TERMS OF SERVICE MODIFICATIONS](#terms-of-service-modifications)

- [YOUR PRIVACY](#your-privacy)
- [YOUR PRIVACY](#your-privacy)

- [GOVERNING LAW](#governing-law)
- [GOVERNING LAW](#governing-law)

---

Expand Down
32 changes: 1 addition & 31 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,3 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"enabled": false,
"labels": ["Meta: Dependencies"],
"npm": {
"packageRules": [
{
"matchPackagePatterns": [
"typeorm",
"tslib",
"typescript",
"@napi-rs/canvas",
"discord-api-types",
"@discordjs/builders",
"@sapphire/decorators",
"@sapphire/discord.js-utilities",
"@sapphire/framework",
"@sapphire/plugin-api",
"@sapphire/plugin-editable-commands",
"@sapphire/plugin-i18next",
"@sapphire/plugin-logger",
"@sapphire/plugin-subcommands",
"@sapphire/ts-config"
],
"enabled": false
},
{
"matchPackagePatterns": ["@influxdata"],
"groupName": "InfluxDB Dependencies"
}
]
}
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
}
23 changes: 2 additions & 21 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,28 +62,9 @@ jobs:
run: yarn --immutable
- name: Run unit tests
run: yarn test --coverage
- name: Store code coverage report
uses: actions/upload-artifact@v3
with:
name: nodejs-coverage
path: coverage/

Upload_Coverage_Report:
name: Upload coverage report to codecov
needs: UnitTesting
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Download NodeJS Unit Test Coverage report
uses: actions/download-artifact@v3
with:
name: nodejs-coverage
path: coverage/
- name: Codecov Upload
uses: codecov/codecov-action@v3.1.1
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage/cobertura-coverage.xml
fail_ci_if_error: true

This file was deleted.

32 changes: 0 additions & 32 deletions .yarn/patches/@sapphire-framework-npm-2.5.1-e9e3e6d600.patch

This file was deleted.

93 changes: 0 additions & 93 deletions .yarn/patches/discord.js-npm-13.16.0-03bbf983c5.patch

This file was deleted.

Loading