X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=package.json;h=2801fa1a6b76d5db5329f35f6fe74339e0d3cc0f;hb=dbbe79a098315ce2cb3ebd00840fd5badd1806dc;hp=63d36dd99930397c7e0f75e38616d98f2a5bc78d;hpb=c07b63eaf501fa2ba4f2139b1a66592230733c6d;p=e-mobility-charging-stations-simulator.git diff --git a/package.json b/package.json index 63d36dd9..2801fa1a 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.1", "engines": { - "node": ">=18.17.0", + "node": ">=18.18.0", "pnpm": ">=8.6.0" }, "volta": { - "node": "20.9.0", - "pnpm": "8.9.2" + "node": "20.12.1", + "pnpm": "8.15.6" }, + "packageManager": "pnpm@8.15.6", "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,32 +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", - "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", + "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", @@ -94,73 +92,68 @@ } }, "dependencies": { - "@mikro-orm/core": "^5.9.0", - "@mikro-orm/mariadb": "^5.9.0", - "@mikro-orm/reflection": "^5.9.0", - "@mikro-orm/sqlite": "^5.9.0", + "@mikro-orm/core": "^6.2.0", + "@mikro-orm/mariadb": "^6.2.0", + "@mikro-orm/reflection": "^6.2.0", + "@mikro-orm/sqlite": "^6.2.0", "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": "^6.2.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.0", - "@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.9", - "@types/sinon": "^10.0.20", - "@types/tar": "^6.1.7", - "@types/ws": "^8.5.8", - "@typescript-eslint/eslint-plugin": "^6.9.0", - "@typescript-eslint/parser": "^6.9.0", - "@web/rollup-plugin-copy": "^0.4.1", + "@commitlint/cli": "^19.2.1", + "@commitlint/config-conventional": "^19.1.0", + "@mikro-orm/cli": "^6.2.0", + "@release-it/bumper": "^6.0.1", + "@types/node": "^20.12.7", + "@types/semver": "^7.5.8", + "@types/tar": "^6.1.12", + "@types/ws": "^8.5.10", + "@typescript-eslint/eslint-plugin": "^7.6.0", + "@typescript-eslint/parser": "^7.6.0", "auto-changelog": "^2.4.0", - "c8": "^8.0.1", + "c8": "^9.1.0", "clinic": "^13.0.0", "cross-env": "^7.0.3", - "eslint": "^8.52.0", - "eslint-config-prettier": "^9.0.0", + "esbuild": "^0.20.2", + "esbuild-plugin-clean": "^1.0.1", + "esbuild-plugin-copy": "^2.1.1", + "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.0", + "eslint-plugin-simple-import-sort": "^12.0.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.1.1", "rimraf": "^5.0.5", - "rollup": "^4.1.4", - "rollup-plugin-analyzer": "^4.0.0", - "rollup-plugin-delete": "^2.0.0", - "semver": "^7.5.4", - "sinon": "^17.0.0", - "ts-node": "^10.9.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.4" } }