X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=package.json;h=44b34d29e27322a70e837229a62bb28120c47997;hb=de073a748bcd60308615b81c3f6da817639461a1;hp=90ce1fc7c91957b7007c978b8c564afa0a670c19;hpb=7d2c0180c26b00d12bd2e4f38ad7ceee5eff358d;p=e-mobility-charging-stations-simulator.git diff --git a/package.json b/package.json index 90ce1fc7..44b34d29 100644 --- a/package.json +++ b/package.json @@ -1,15 +1,16 @@ { "$schema": "https://json.schemastore.org/package", "name": "e-mobility-charging-stations-simulator", - "version": "1.2.23", + "version": "1.3.2", "engines": { - "node": ">=18.17.0", - "pnpm": ">=8.6.0" + "node": ">=18.18.0", + "pnpm": ">=9.0.0" }, "volta": { - "node": "20.9.0", - "pnpm": "8.10.2" + "node": "20.12.2", + "pnpm": "9.0.2" }, + "packageManager": "pnpm@9.0.2", "repository": { "type": "git", "url": "https://github.com/sap/e-mobility-charging-stations-simulator.git" @@ -39,9 +40,7 @@ } ], "type": "module", - "exports": [ - "./dist/start.js" - ], + "exports": "./dist/start.js", "auto-changelog": { "commitUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/commit/{id}", "issueUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/issues/{id}", @@ -49,30 +48,31 @@ "compareUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/compare/{from}...{to}" }, "mikro-orm": { - "tsConfigPath": "./tsconfig-orm.json", + "tsConfigPath": "./tsconfig-mikro-orm.json", "useTsNode": true }, "scripts": { - "preinstall": "node skip-preinstall.js || npx --yes only-allow pnpm", "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", + "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:cf": "pnpm clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && 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", + "build:entities": "tsc -p tsconfig-mikro-orm.json", "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 .", + "lint": "cross-env TIMING=1 eslint --cache src tests .eslintrc.cjs bundle.js mikro-orm.config-template.ts", + "lint:fix": "cross-env TIMING=1 eslint --cache --fix src tests .eslintrc.cjs bundle.js mikro-orm.config-template.ts", + "format": "prettier --cache --write .; eslint --cache --fix src .eslintrc.cjs tests bundle.js mikro-orm.config-template.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", @@ -92,68 +92,67 @@ } }, "dependencies": { - "@mikro-orm/core": "^5.9.2", - "@mikro-orm/mariadb": "^5.9.2", - "@mikro-orm/reflection": "^5.9.2", - "@mikro-orm/sqlite": "^5.9.2", + "@mikro-orm/core": "^6.2.1", + "@mikro-orm/mariadb": "^6.2.1", + "@mikro-orm/reflection": "^6.2.1", + "@mikro-orm/sqlite": "^6.2.1", "ajv": "^8.12.0", - "ajv-formats": "^2.1.1", - "basic-ftp": "^5.0.3", + "ajv-formats": "^3.0.1", + "basic-ftp": "^5.0.5", "chalk": "^5.3.0", - "date-fns": "^2.30.0", + "date-fns": "^3.6.0", "http-status-codes": "^2.3.0", - "just-merge": "^3.2.0", "logform": "^2.6.0", - "mnemonist": "^0.39.5", - "mongodb": "^6.2.0", - "poolifier": "^3.0.5", - "source-map-support": "^0.5.21", - "tar": "^6.2.0", - "tslib": "^2.6.2", - "winston": "^3.11.0", - "winston-daily-rotate-file": "^4.7.1", - "ws": "^8.14.2" + "mnemonist": "0.40.0-rc1", + "mongodb": "^6.5.0", + "poolifier": "^3.1.29", + "rambda": "^9.2.0", + "tar": "^7.0.1", + "winston": "^3.13.0", + "winston-daily-rotate-file": "^5.0.0", + "ws": "^8.16.0" }, "optionalDependencies": { "bufferutil": "^4.0.8", "utf-8-validate": "^6.0.3" }, "devDependencies": { - "@commitlint/cli": "^18.2.0", - "@commitlint/config-conventional": "^18.1.0", - "@mikro-orm/cli": "^5.9.2", - "@release-it/bumper": "^5.1.0", - "@types/node": "^20.8.10", - "@types/sinon": "^17.0.0", - "@types/tar": "^6.1.7", - "@types/ws": "^8.5.8", - "@typescript-eslint/eslint-plugin": "^6.9.1", - "@typescript-eslint/parser": "^6.9.1", + "@commitlint/cli": "^19.2.2", + "@commitlint/config-conventional": "^19.2.2", + "@mikro-orm/cli": "^6.2.1", + "@release-it/bumper": "^6.0.1", + "@types/node": "^20.12.7", + "@types/semver": "^7.5.8", + "@types/ws": "^8.5.10", + "@typescript-eslint/eslint-plugin": "^7.7.0", + "@typescript-eslint/parser": "^7.7.0", "auto-changelog": "^2.4.0", - "c8": "^8.0.1", + "c8": "^9.1.0", "clinic": "^13.0.0", "cross-env": "^7.0.3", - "esbuild": "^0.19.5", + "esbuild": "^0.20.2", "esbuild-plugin-clean": "^1.0.1", "esbuild-plugin-copy": "^2.1.1", - "eslint": "^8.53.0", - "eslint-config-prettier": "^9.0.0", + "eslint": "^8.57.0", + "eslint-config-love": "^47.0.0", + "eslint-config-standard": "^17.1.0", + "eslint-define-config": "^2.1.0", "eslint-import-resolver-typescript": "^3.6.1", - "eslint-plugin-import": "^2.29.0", - "eslint-plugin-jsdoc": "^46.8.2", - "eslint-plugin-n": "^16.2.0", - "eslint-plugin-prettier": "^5.0.1", + "eslint-plugin-import": "^2.29.1", + "eslint-plugin-jsdoc": "^48.2.3", + "eslint-plugin-n": "^17.2.1", + "eslint-plugin-simple-import-sort": "^12.1.0", "eslint-plugin-tsdoc": "^0.2.17", "expect": "^29.7.0", - "glob": "^10.3.10", - "husky": "^8.0.3", - "lint-staged": "^15.0.2", - "prettier": "^3.0.3", - "release-it": "^16.2.1", + "glob": "^10.3.12", + "husky": "^9.0.11", + "lint-staged": "^15.2.2", + "prettier": "^3.2.5", + "release-it": "^17.2.0", "rimraf": "^5.0.5", - "semver": "^7.5.4", - "sinon": "^17.0.1", - "tsx": "^3.14.0", - "typescript": "~5.2.2" + "semver": "^7.6.0", + "ts-node": "^10.9.2", + "tsx": "^4.7.2", + "typescript": "~5.4.5" } }