diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index fd689d44..c0f2d601 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -12,7 +12,7 @@ Please help other contributors to the project wherever you can, as people all st ## Prerequisites -- [node](https://nodejs.org/) version >= 18.x +- [node](https://nodejs.org/) version >= 22.x ## Ground Rules @@ -61,7 +61,7 @@ This library will load a file from the `config` folder, based on an environment ### Setting up the config -1. Create a file named `development.json` at [../config/](../config/). +1. Create a file named `development.json` at [../config/](../config). 2. Paste the contents of [../config/staging.json](../config/staging.json) into `development.json`. 3. In your `.env` file set `NODE_CONFIG_ENV` to `development`. 4. In your `development.json` file replace the `guildId` field with your server ID. diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index e4f2729f..8a52cf89 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -23,10 +23,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Use Node.js 18.x - uses: actions/setup-node@v3 + - name: Use Node.js 22.x + uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version-file: package.json - name: Install dependencies run: npm ci - name: Build diff --git a/package-lock.json b/package-lock.json index a10096ac..8042de44 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "@octokit/request": "^8.1.1", "bad-words": "^3.0.4", "cache-manager": "^5.7.6", - "config": "^3.3.9", + "config": "^3.3.12", "discord.js": "^14.16.1", "jsdom": "^23.2.0", "moment": "^2.29.4", @@ -39,7 +39,7 @@ "typescript": "^5.5.4" }, "engines": { - "node": "18.x" + "node": "22.x" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -3613,9 +3613,10 @@ "dev": true }, "node_modules/config": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/config/-/config-3.3.10.tgz", - "integrity": "sha512-9Kl3LpQ6zj93KaqgfIMTcpwTpgozFOqNl/Dk7mjras1BgGIOlqxWkyIGeU1my+sRuskRYwrCATgCk1RjAnRPGA==", + "version": "3.3.12", + "resolved": "https://registry.npmjs.org/config/-/config-3.3.12.tgz", + "integrity": "sha512-Vmx389R/QVM3foxqBzXO8t2tUikYZP64Q6vQxGrsMpREeJc/aWRnPRERXWsYzOHAumx/AOoILWe6nU3ZJL+6Sw==", + "license": "MIT", "dependencies": { "json5": "^2.2.3" }, diff --git a/package.json b/package.json index ec58a2b3..234c203c 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "@octokit/request": "^8.1.1", "bad-words": "^3.0.4", "cache-manager": "^5.7.6", - "config": "^3.3.9", + "config": "^3.3.12", "discord.js": "^14.16.1", "jsdom": "^23.2.0", "moment": "^2.29.4", @@ -45,6 +45,6 @@ "typescript": "^5.5.4" }, "engines": { - "node": "18.x" + "node": "22.x" } }