Skip to content

Commit d2e848b

Browse files
committedFeb 2, 2025
chore(deps): first stage of updating all the things
1 parent d393632 commit d2e848b

File tree

6 files changed

+6305
-3073
lines changed

6 files changed

+6305
-3073
lines changed
 

‎.husky/pre-commit

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npx lint-staged

‎.lintstagedrc.js

-9
This file was deleted.

‎.eslintrc.js renamed to ‎eslint.config.js

+7-12
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
module.exports = {
2-
env: {
3-
es6: true
4-
},
5-
extends: [
6-
'standard'
7-
],
8-
parserOptions: {
9-
ecmaFeatures: {
2+
languageOptions: {
3+
ecmaVersion: 6,
4+
parserOptions: {
5+
ecmaFeatures: {
6+
},
7+
ecmaVersion: 2018,
8+
sourceType: 'module'
109
},
11-
ecmaVersion: 2018,
12-
sourceType: 'module'
1310
},
14-
plugins: [
15-
],
1611
rules: {
1712
'no-multiple-empty-lines': ['error', {
1813
max: 1,

‎lint-staged.config.js

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
'*.{js,ts,jsx,tsx}': (files) => `eslint --max-warnings=0 --fix ${files.join(' ')}`,
3+
'*.{ts,tsx}': (_) => 'tsc --noEmit',
4+
};

‎package.json

+62-65
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"test:slim": "ava",
2020
"test:report": "nyc --skip-full --reporter=lcov ava",
2121
"commit": "git cz",
22-
"copy-static": "cpy \"server/**/*\" \"!**/*.{j,t}s\" \"migrations\" dist/ --parents"
22+
"copy-static": "cpy \"server/**/*\" \"!**/*.{j,t}s\" \"migrations\" dist/ --parents",
23+
"prepare": "husky install"
2324
},
2425
"nodemonConfig": {
2526
"watch": [
@@ -29,86 +30,82 @@
2930
],
3031
"delay": "1000"
3132
},
32-
"husky": {
33-
"hooks": {
34-
"pre-commit": "lint-staged"
35-
}
36-
},
3733
"dependencies": {
38-
"@google-cloud/storage": "5.3.0",
39-
"aws-sdk": "2.726.0",
40-
"content-disposition": "0.5.3",
41-
"data-uri-to-buffer": "3.0.1",
42-
"deepmerge": "4.2.2",
43-
"dotenv": "8.2.0",
34+
"@google-cloud/storage": "7.15.0",
35+
"aws-sdk": "2.1692.0",
36+
"content-disposition": "0.5.4",
37+
"data-uri-to-buffer": "6.0.2",
38+
"deepmerge": "4.3.1",
39+
"dotenv": "16.4.7",
4440
"email-validator": "2.0.4",
45-
"fastify": "3.2.0",
46-
"fastify-cors": "4.1.0",
47-
"fastify-helmet": "5.0.0",
41+
"fastify": "5.2.1",
42+
"fastify-cors": "6.1.0",
43+
"fastify-helmet": "7.1.0",
4844
"fastify-static": "4.7.0",
49-
"got": "11.5.2",
45+
"got": "14.4.5",
5046
"hyperid": "3.3.0",
51-
"jss-plugin-global": "10.4.0",
47+
"jss-plugin-global": "10.10.0",
5248
"mailgun-js": "0.22.0",
53-
"mustache": "4.0.1",
54-
"node-pg-migrate": "5.5.0",
55-
"nodemailer": "6.4.16",
56-
"pg": "8.3.3",
57-
"redis": "3.0.2",
58-
"uuid": "8.3.0",
59-
"yaml": "1.10.0"
49+
"mustache": "4.2.0",
50+
"node-pg-migrate": "7.9.0",
51+
"nodemailer": "6.10.0",
52+
"pg": "8.13.1",
53+
"redis": "4.7.0",
54+
"uuid": "11.0.5",
55+
"yaml": "2.7.0"
6056
},
6157
"devDependencies": {
62-
"@types/content-disposition": "0.5.3",
63-
"@types/mailgun-js": "0.22.10",
64-
"@types/mustache": "4.0.1",
65-
"@types/nodemailer": "6.4.0",
66-
"@types/pg": "7.14.5",
67-
"@types/uuid": "8.3.0",
68-
"@typescript-eslint/eslint-plugin": "4.0.0",
69-
"@typescript-eslint/parser": "3.10.1",
70-
"ava": "3.12.1",
58+
"@types/content-disposition": "0.5.8",
59+
"@types/mailgun-js": "0.22.18",
60+
"@types/mustache": "4.2.5",
61+
"@types/nodemailer": "6.4.17",
62+
"@types/pg": "8.11.11",
63+
"@types/uuid": "10.0.0",
64+
"@typescript-eslint/eslint-plugin": "8.22.0",
65+
"@typescript-eslint/parser": "8.22.0",
66+
"ava": "6.2.0",
7167
"babel-eslint": "10.1.0",
7268
"babel-plugin-transform-export-extensions": "6.22.0",
73-
"cirrus-ui": "0.5.5",
74-
"commitizen": "4.1.2",
69+
"cirrus-ui": "0.7.2-patch.1",
70+
"commitizen": "4.3.1",
7571
"concurrently": "9.1.2",
76-
"cpy-cli": "3.1.1",
77-
"cross-env": "7.0.2",
78-
"cz-conventional-changelog": "3.2.0",
79-
"eslint": "7.6.0",
80-
"eslint-config-preact": "1.1.1",
81-
"eslint-config-standard": "14.1.1",
82-
"eslint-plugin-ava": "10.5.0",
72+
"cpy-cli": "5.0.0",
73+
"cross-env": "7.0.3",
74+
"cz-conventional-changelog": "3.3.0",
75+
"eslint": "9.19.0",
76+
"eslint-config-preact": "1.5.0",
77+
"eslint-config-standard": "17.1.0",
78+
"eslint-plugin-ava": "15.0.1",
8379
"eslint-plugin-import": "2.31.0",
8480
"eslint-plugin-node": "11.1.0",
85-
"eslint-plugin-promise": "4.2.1",
86-
"eslint-plugin-standard": "4.0.1",
87-
"faker": "5.1.0",
88-
"get-port": "5.1.1",
89-
"glob": "7.1.6",
90-
"husky": "4.2.5",
91-
"jss": "10.4.0",
81+
"eslint-plugin-promise": "7.2.1",
82+
"eslint-plugin-standard": "5.0.0",
83+
"faker": "6.6.6",
84+
"get-port": "7.1.0",
85+
"glob": "11.0.1",
86+
"husky": "^8.0.0",
87+
"jss": "10.10.0",
9288
"jss-camel-case": "6.1.0",
9389
"jss-nested": "6.0.1",
9490
"jss-vendor-prefixer": "8.0.1",
95-
"linkstate": "1.1.1",
96-
"lint-staged": "10.2.11",
97-
"loader-utils": "2.0.0",
98-
"nodemon": "2.0.4",
99-
"nyc": "15.1.0",
100-
"pascal-case": "3.1.1",
101-
"pino-pretty": "4.1.0",
102-
"preact": "10.4.7",
103-
"preact-cli": "3.0.1",
104-
"preact-markup": "2.0.0",
105-
"preact-router": "3.2.1",
91+
"linkstate": "2.0.1",
92+
"lint-staged": "15.4.3",
93+
"loader-utils": "3.3.1",
94+
"nodemon": "3.1.9",
95+
"nyc": "17.1.0",
96+
"pascal-case": "4.0.0",
97+
"pino-pretty": "13.0.0",
98+
"pinst": "3.0.0",
99+
"preact": "10.25.4",
100+
"preact-cli": "3.5.1",
101+
"preact-markup": "2.1.1",
102+
"preact-router": "4.1.2",
106103
"purgecss-webpack-plugin": "7.0.2",
107-
"snarkdown": "1.2.2",
108-
"supertest": "4.0.2",
109-
"svg-sprite-loader": "5.0.0",
110-
"type-fest": "0.16.0",
111-
"typescript": "3.9.7"
104+
"snarkdown": "2.0.0",
105+
"supertest": "7.0.0",
106+
"svg-sprite-loader": "6.0.11",
107+
"type-fest": "4.33.0",
108+
"typescript": "5.7.3"
112109
},
113110
"description": "rctf is RedpwnCTF's CTF platform. It is developed and maintained by the [redpwn](https://redpwn.net) CTF team.",
114111
"repository": {

0 commit comments

Comments
 (0)