X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=package.json;h=b317ab87fe62b9a7db917a9d7912803f55db9c1f;hb=129fdda549b8c7dc7c43ec5893d14a1151ed61a9;hp=60737c440d7bcd79bf92f12ee506dab10bb2f249;hpb=295e38190e483fe24379fd375853878b62662a58;p=e-mobility-charging-stations-simulator.git diff --git a/package.json b/package.json index 60737c44..b317ab87 100644 --- a/package.json +++ b/package.json @@ -3,12 +3,12 @@ "name": "e-mobility-charging-stations-simulator", "version": "1.2.23", "engines": { - "node": ">=18.17.0", + "node": ">=18.18.0", "pnpm": ">=8.6.0" }, "volta": { - "node": "20.8.0", - "pnpm": "8.8.0" + "node": "20.9.0", + "pnpm": "8.10.3" }, "repository": { "type": "git", @@ -57,26 +57,25 @@ "prepare": "node prepare.js", "build-requirements": "node --no-warnings build-requirements.js", "start": "pnpm build && cross-env NODE_ENV=production node dist/start.js", - "start:dev": "pnpm build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.js", - "start:dev:debug": "pnpm build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.js", - "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.js", - "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.js", - "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.js", - "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.js", - "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node -r source-map-support/register dist/start.js", - "rollup": "pnpm build-requirements && rollup --config", - "build": "pnpm rollup", - "build:cf": "pnpm clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm rollup", - "build:dev": "pnpm rollup --environment BUILD:development", - "build:dev:analyze": "pnpm rollup --environment ANALYZE,BUILD:development", - "build:dev:watch": "pnpm rollup --environment BUILD:development --watch", + "start:dev": "pnpm build:dev && cross-env NODE_ENV=development node --enable-source-maps dist/start.js", + "start:dev:debug": "pnpm build:dev && cross-env NODE_ENV=development node --enable-source-maps --inspect dist/start.js", + "start:prof": "cross-env NODE_ENV=production node --enable-source-maps --prof dist/start.js", + "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node --enable-source-maps dist/start.js", + "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node --enable-source-maps dist/start.js", + "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node --enable-source-maps dist/start.js", + "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node --enable-source-maps dist/start.js", + "esbuild": "pnpm build-requirements && node bundle.js", + "build": "pnpm esbuild", + "build:dev": "cross-env BUILD=development pnpm esbuild", + "build:cf": "pnpm clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm build", + "build:cf:dev": "pnpm clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm build:dev", "clean:dist": "npx rimraf dist", "clean:node_modules": "npx rimraf node_modules", "lint": "cross-env TIMING=1 eslint --cache src", "lint:fix": "cross-env TIMING=1 eslint --cache --fix src", "format": "prettier --cache --write .", - "test": "glob -c \"c8 node --loader tsx --no-warnings=ExperimentalWarning --test\" \"tests/**/*.test.ts\"", - "test:debug": "glob -c \"node --loader tsx --no-warnings=ExperimentalWarning --test --inspect\" \"tests/**/*.test.ts\"", + "test": "glob -c \"c8 node --import tsx --test\" \"tests/**/*.test.ts\"", + "test:debug": "glob -c \"node --import tsx --test --inspect\" \"tests/**/*.test.ts\"", "coverage": "c8 report --reporter=lcov", "coverage:html": "c8 report --reporter=html", "clinic:clean": "clinic clean", @@ -94,10 +93,10 @@ } }, "dependencies": { - "@mikro-orm/core": "^5.8.7", - "@mikro-orm/mariadb": "^5.8.7", - "@mikro-orm/reflection": "^5.8.7", - "@mikro-orm/sqlite": "^5.8.7", + "@mikro-orm/core": "^5.9.3", + "@mikro-orm/mariadb": "^5.9.3", + "@mikro-orm/reflection": "^5.9.3", + "@mikro-orm/sqlite": "^5.9.3", "ajv": "^8.12.0", "ajv-formats": "^2.1.1", "basic-ftp": "^5.0.3", @@ -105,11 +104,10 @@ "date-fns": "^2.30.0", "http-status-codes": "^2.3.0", "just-merge": "^3.2.0", - "logform": "^2.5.1", + "logform": "^2.6.0", "mnemonist": "^0.39.5", - "mongodb": "^6.1.0", - "poolifier": "^3.0.0", - "source-map-support": "^0.5.21", + "mongodb": "^6.2.0", + "poolifier": "^3.0.5", "tar": "^6.2.0", "tslib": "^2.6.2", "winston": "^3.11.0", @@ -117,50 +115,43 @@ "ws": "^8.14.2" }, "optionalDependencies": { - "bufferutil": "^4.0.7", + "bufferutil": "^4.0.8", "utf-8-validate": "^6.0.3" }, "devDependencies": { - "@commitlint/cli": "^17.7.2", - "@commitlint/config-conventional": "^17.7.0", - "@mikro-orm/cli": "^5.8.7", - "@release-it/bumper": "^5.1.0", - "@rollup/plugin-json": "^6.0.1", - "@rollup/plugin-terser": "^0.4.4", - "@rollup/plugin-typescript": "^11.1.5", - "@types/node": "^20.8.4", - "@types/sinon": "^10.0.19", - "@types/tar": "^6.1.6", - "@types/ws": "^8.5.6", - "@typescript-eslint/eslint-plugin": "^6.7.4", - "@typescript-eslint/parser": "^6.7.4", - "@web/rollup-plugin-copy": "^0.4.0", + "@commitlint/cli": "^18.4.1", + "@commitlint/config-conventional": "^18.4.0", + "@mikro-orm/cli": "^5.9.3", + "@release-it/bumper": "^6.0.1", + "@types/node": "^20.9.0", + "@types/tar": "^6.1.9", + "@types/ws": "^8.5.9", + "@typescript-eslint/eslint-plugin": "^6.10.0", + "@typescript-eslint/parser": "^6.10.0", "auto-changelog": "^2.4.0", "c8": "^8.0.1", "clinic": "^13.0.0", "cross-env": "^7.0.3", - "eslint": "^8.51.0", + "esbuild": "^0.19.5", + "esbuild-plugin-clean": "^1.0.1", + "esbuild-plugin-copy": "^2.1.1", + "eslint": "^8.53.0", "eslint-config-prettier": "^9.0.0", "eslint-import-resolver-typescript": "^3.6.1", - "eslint-plugin-import": "^2.28.1", - "eslint-plugin-jsdoc": "^46.8.2", - "eslint-plugin-n": "^16.1.0", - "eslint-plugin-prettier": "^5.0.0", + "eslint-plugin-import": "^2.29.0", + "eslint-plugin-jsdoc": "^46.9.0", + "eslint-plugin-n": "^16.3.1", + "eslint-plugin-prettier": "^5.0.1", "eslint-plugin-tsdoc": "^0.2.17", "expect": "^29.7.0", "glob": "^10.3.10", "husky": "^8.0.3", - "lint-staged": "^14.0.1", + "lint-staged": "^15.1.0", "prettier": "^3.0.3", - "release-it": "^16.2.1", + "release-it": "^17.0.0", "rimraf": "^5.0.5", - "rollup": "^4.0.2", - "rollup-plugin-analyzer": "^4.0.0", - "rollup-plugin-delete": "^2.0.0", "semver": "^7.5.4", - "sinon": "^16.1.0", - "ts-node": "^10.9.1", - "tsx": "^3.13.0", + "tsx": "^4.1.1", "typescript": "~5.2.2" } }