Fully fix npm issues

This commit is contained in:
2025-04-19 11:38:53 +02:00
parent 50978d248c
commit 02c297a310
4 changed files with 4444 additions and 3343 deletions

View File

@@ -11,7 +11,6 @@ const express = require( 'express' );
let app = express(); let app = express();
const path = require( 'path' ); const path = require( 'path' );
const expressSession = require( 'express-session' ); const expressSession = require( 'express-session' );
const cookieParser = require( 'cookie-parser' );
const http = require( 'http' ); const http = require( 'http' );
const fs = require( 'fs' ); const fs = require( 'fs' );
const token = require( './backend/token.js' ); const token = require( './backend/token.js' );
@@ -84,8 +83,6 @@ module.exports.run = ( rootDir ) => {
} }
} ) ); } ) );
app.use( cookieParser() );
let file = path.join( __dirname + '/webapp/main/dist/index.html' ); let file = path.join( __dirname + '/webapp/main/dist/index.html' );
if ( settings.setupDone ) { if ( settings.setupDone ) {

File diff suppressed because it is too large Load Diff

View File

@@ -1,84 +1,45 @@
{ {
"name": "libreevent", "name": "libreevent",
"version": "1.1.9", "version": "1.1.9",
"description": "Free & Open source event management solution", "description": "Free & Open source event management solution",
"main": "index.js", "main": "index.js",
"directories": { "directories": {
"doc": "docs" "doc": "docs"
}, },
"devDependencies": { "dependencies": {
"acorn": "^8.8.2", "@pdfme/generator": "^5.3.15",
"buffer-from": "^1.1.2", "axios": "^1.8.4",
"camel-case": "^4.1.2", "bcrypt": "^5.1.1",
"clean-css": "^5.3.2", "body-parser": "^1.20.3",
"commander": "^9.5.0", "crypto-js": "^4.2.0",
"css-b64-images": "^0.2.5", "express": "^4.21.2",
"debug": "^4.3.4", "express-session": "^1.18.1",
"dot-case": "^3.0.4", "html-to-text": "^9.0.5",
"entities": "^4.4.0", "multer": "^1.4.5-lts.1",
"find-up": "^6.3.0", "mysql": "^2.18.1",
"html-minifier-terser": "^7.1.0", "nodemailer": "^6.10.1",
"jju": "^1.4.0", "pdf-lib": "^1.17.1",
"locate-path": "^7.2.0", "png-to-ico": "^2.1.8",
"lower-case": "^2.0.2", "qs": "^6.14.0",
"minify": "^9.2.0", "stripe": "^12.18.0",
"ms": "^2.1.2", "vue": "^3.5.13"
"no-case": "^3.0.4", },
"p-limit": "^4.0.0", "scripts": {
"p-locate": "^6.0.0", "lint": "eslint . --ext .js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore"
"param-case": "^3.0.4", },
"pascal-case": "^3.1.2", "repository": {
"path-exists": "^5.0.0", "type": "git",
"readjson": "^2.2.2", "url": "git+https://github.com/simplePCBuilding/libreevent.git"
"relateurl": "^0.2.7", },
"response-time": "^2.3.2", "keywords": [
"simport": "^1.2.0", "event",
"source-map": "^0.6.1", "management",
"source-map-support": "^0.5.21", "solution"
"terser": "^5.16.5", ],
"try-catch": "^3.0.1", "author": "Janis Hutz",
"try-to-catch": "^3.0.1", "license": "GPL-3.0-or-later",
"tslib": "^2.5.0", "bugs": {
"yocto-queue": "^1.0.0" "url": "https://github.com/simplePCBuilding/libreevent/issues"
}, },
"dependencies": { "homepage": "https://libreevent.janishutz.com"
"@pdfme/generator": "^1.2.6",
"@seald-io/nedb": "^4.1.1",
"axios": "^1.8.4",
"bcrypt": "^5.1.1",
"body-parser": "^1.20.3",
"cookie-parser": "^1.4.7",
"crypto-js": "^4.2.0",
"express": "^4.21.2",
"express-session": "^1.18.1",
"html-to-text": "^9.0.5",
"multer": "^1.4.5-lts.1",
"mysql": "^2.18.1",
"nodemailer": "^6.10.1",
"pdf-lib": "^1.17.1",
"png-to-ico": "^2.1.8",
"qs": "^6.14.0",
"serve-favicon": "^2.5.0",
"serve-static": "^1.16.2",
"stripe": "^12.18.0",
"vue": "^3.5.13"
},
"scripts": {
"lint": "eslint . --ext .js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore"
},
"repository": {
"type": "git",
"url": "git+https://github.com/simplePCBuilding/libreevent.git"
},
"keywords": [
"event",
"management",
"solution"
],
"author": "Janis Hutz",
"license": "GPL-3.0-or-later",
"bugs": {
"url": "https://github.com/simplePCBuilding/libreevent/issues"
},
"homepage": "https://libreevent.janishutz.com"
} }

View File

@@ -1 +0,0 @@
../webapp/