X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=package.json;h=a33ff1c9111834c1de82a228892ca16cea937659;hb=d64ea57bcb4fd9151a43b16ff4d4b5ed059ad1d7;hp=c535508937fc4cf3393b33cc5e9e316d69a9bfc0;hpb=a823e5fc80a9f1e36eb4b4a754cf660efebfc819;p=e-mobility-charging-stations-simulator.git diff --git a/package.json b/package.json index c5355089..a33ff1c9 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,14 @@ { "$schema": "https://json.schemastore.org/package", "name": "e-mobility-charging-stations-simulator", - "version": "1.2.23", + "version": "1.2.37", "engines": { - "node": ">=18.17.0", + "node": ">=18.18.0", "pnpm": ">=8.6.0" }, "volta": { - "node": "20.8.0", - "pnpm": "8.9.0" + "node": "20.11.1", + "pnpm": "8.15.4" }, "repository": { "type": "git", @@ -39,9 +39,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,7 +47,7 @@ "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": { @@ -57,26 +55,26 @@ "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 .", - "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\"", + "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", "coverage:html": "c8 report --reporter=html", "clinic:clean": "clinic clean", @@ -94,73 +92,67 @@ } }, "dependencies": { - "@mikro-orm/core": "^5.8.7", - "@mikro-orm/mariadb": "^5.8.7", - "@mikro-orm/reflection": "^5.8.8", - "@mikro-orm/sqlite": "^5.8.7", + "@mikro-orm/core": "^6.1.6", + "@mikro-orm/mariadb": "^6.1.6", + "@mikro-orm/reflection": "^6.1.6", + "@mikro-orm/sqlite": "^6.1.6", "ajv": "^8.12.0", "ajv-formats": "^2.1.1", - "basic-ftp": "^5.0.3", + "basic-ftp": "^5.0.5", "chalk": "^5.3.0", - "date-fns": "^2.30.0", + "date-fns": "^3.3.1", "http-status-codes": "^2.3.0", - "just-merge": "^3.2.0", - "logform": "^2.5.1", - "mnemonist": "^0.39.5", - "mongodb": "^6.1.0", - "poolifier": "^3.0.0", - "source-map-support": "^0.5.21", + "logform": "^2.6.0", + "mnemonist": "0.40.0-rc1", + "mongodb": "^6.4.0", + "poolifier": "^3.1.21", + "rambda": "^9.1.0", "tar": "^6.2.0", - "tslib": "^2.6.2", "winston": "^3.11.0", - "winston-daily-rotate-file": "^4.7.1", - "ws": "^8.14.2" + "winston-daily-rotate-file": "^5.0.0", + "ws": "^8.16.0" }, "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.8", - "@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.7", - "@typescript-eslint/eslint-plugin": "^6.7.5", - "@typescript-eslint/parser": "^6.7.5", - "@web/rollup-plugin-copy": "^0.4.0", + "@commitlint/cli": "^19.0.3", + "@commitlint/config-conventional": "^19.0.3", + "@mikro-orm/cli": "^6.1.6", + "@release-it/bumper": "^6.0.1", + "@types/node": "^20.11.24", + "@types/semver": "^7.5.8", + "@types/tar": "^6.1.11", + "@types/ws": "^8.5.10", + "@typescript-eslint/eslint-plugin": "^7.1.0", + "@typescript-eslint/parser": "^7.1.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.51.0", - "eslint-config-prettier": "^9.0.0", + "esbuild": "^0.20.1", + "esbuild-plugin-clean": "^1.0.1", + "esbuild-plugin-copy": "^2.1.1", + "eslint": "^8.57.0", + "eslint-config-standard": "^17.1.0", + "eslint-config-standard-with-typescript": "^43.0.1", + "eslint-define-config": "^2.1.0", "eslint-import-resolver-typescript": "^3.6.1", - "eslint-plugin-import": "^2.28.1", - "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.0", + "eslint-plugin-n": "^16.6.2", "eslint-plugin-tsdoc": "^0.2.17", "expect": "^29.7.0", "glob": "^10.3.10", - "husky": "^8.0.3", - "lint-staged": "^14.0.1", - "prettier": "^3.0.3", - "release-it": "^16.2.1", + "husky": "^9.0.11", + "lint-staged": "^15.2.2", + "prettier": "^3.2.5", + "release-it": "^17.1.1", "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", - "typescript": "~5.2.2" + "semver": "^7.6.0", + "ts-node": "^10.9.2", + "tsx": "^4.7.1", + "typescript": "~5.3.3" } }