Upgraded modules
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
soraefir 2023-06-14 15:06:57 +02:00
parent 98e729bdd6
commit b735dcc0b8
Signed by: sora
GPG Key ID: A362EA0491E2EEA0
3 changed files with 820 additions and 746 deletions

View File

@ -5,7 +5,8 @@
"main": "server.js", "main": "server.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"start": "node server.js" "start": "node server.js",
"demon": "nodemon server.js"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@ -14,11 +15,12 @@
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"axios": "latest", "@fastify/leveldb": "^5.0.1",
"fastify": "latest", "@fastify/static": "^6.10.2",
"fastify-leveldb": "latest", "axios": "^1.4.0",
"fastify-static": "latest", "fastify": "^4.18.0",
"mkdirp": "latest", "mkdirp": "^3.0.1",
"node-sass": "latest" "node-sass": "^9.0.0",
"nodemon": "^2.0.22"
} }
} }

View File

@ -3,12 +3,12 @@ const path = require('path');
const csass = require("./compile_sass").compileSassMain(); const csass = require("./compile_sass").compileSassMain();
fastify.register(require('fastify-static'), { fastify.register(require('@fastify/static'), {
root: path.join(__dirname, 'public'), root: path.join(__dirname, 'public'),
prefix: '/public/', prefix: '/public/',
}); });
fastify.register(require('fastify-leveldb'), { fastify.register(require('@fastify/leveldb'), {
name: 'db' name: 'db'
}, err => { }, err => {
if (err) throw err if (err) throw err

1546
yarn.lock

File diff suppressed because it is too large Load Diff