*.mta
mta_archives/
+# mise local overrides
+mise.local.toml
+mise.*.local.toml
+.mise.local.toml
+.mise.*.local.toml
+mise.local.lock
+mise.*.local.lock
+.mise.local.lock
+.mise.*.local.lock
+
# pnpm
package-lock.json
--- /dev/null
+min_version = "2026.9.18"
+
+[settings]
+# Read development tool versions from package.json.
+idiomatic_version_file_enable_tools = ["node", "pnpm"]
### Development prerequisites (optional)
-Install [volta](https://volta.sh/) for managing automatically the node.js runtime and package manager version:
+Install [mise](https://mise.jdx.dev/) for managing automatically the node.js runtime and package manager version:
#### Unix
```shell
-curl https://get.volta.sh | bash
+curl -fsSL https://mise.run | sh
```
#### Windows
```powershell
-choco install -y volta
+winget install jdx.mise
```
-Setup [volta](https://volta.sh/) with [pnpm](https://github.com/pnpm/pnpm) package manager support: https://docs.volta.sh/advanced/pnpm
+Then [activate mise](https://mise.jdx.dev/getting-started.html#activate-mise) in your shell and run `mise install` from the repository root to install the development tools.
### Branching model
### Dependencies
-Enable corepack, if [volta](https://volta.sh/) is not installed and configured, and install latest pnpm version:
+From the repository root, enable Corepack and install the pnpm version declared in `package.json` if [mise](https://mise.jdx.dev/) is not installed and configured. If Corepack is not available, install it with `npm install --global corepack` first.
```shell
corepack enable
-corepack prepare pnpm@latest --activate
+corepack install
```
In the repository root, run the following command:
"node": ">=22.0.0",
"pnpm": ">=10.9.0"
},
- "volta": {
- "node": "24.21.0",
- "pnpm": "12.9.0"
+ "devEngines": {
+ "runtime": {
+ "name": "node",
+ "version": "24.21.0",
+ "onFail": "ignore"
+ }
},
"packageManager": "pnpm@12.9.0",
"repository": {
"test": "cross-env NODE_ENV=test node --import tsx --test --test-force-exit 'tests/**/*.test.ts'",
"test:debug": "cross-env NODE_ENV=test node --import tsx --test --inspect 'tests/**/*.test.ts'",
"test:coverage": "mkdir -p coverage && cross-env NODE_ENV=test node --import tsx --test --test-force-exit --experimental-test-coverage --test-coverage-include='src/**/*.ts' --test-reporter=lcov --test-reporter-destination=coverage/lcov.info 'tests/**/*.test.ts'",
- "sea": "pnpm exec rimraf ./dist/evse-simulator ./dist/evse-simulator.blob && node --experimental-sea-config sea-config.json && pnpm dlx ncp $(volta which node || n which lts || nvm which node || command -v node) ./dist/evse-simulator && pnpm dlx postject ./dist/evse-simulator NODE_SEA_BLOB ./dist/evse-simulator.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2 && pnpm exec rimraf ./dist/evse-simulator.blob"
+ "sea": "pnpm exec rimraf ./dist/evse-simulator ./dist/evse-simulator.blob && node --experimental-sea-config sea-config.json && pnpm dlx ncp $(mise which node || n which lts || nvm which node || command -v node) ./dist/evse-simulator && pnpm dlx postject ./dist/evse-simulator NODE_SEA_BLOB ./dist/evse-simulator.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2 && pnpm exec rimraf ./dist/evse-simulator.blob"
},
"dependencies": {
"@mikro-orm/better-sqlite": "^6.6.14",
"node": ">=22.0.0",
"pnpm": ">=10.9.0"
},
- "volta": {
- "node": "24.21.0",
- "pnpm": "12.9.0"
- },
"packageManager": "pnpm@12.9.0",
"type": "module",
"bin": {
"node": ">=22.0.0",
"pnpm": ">=10.9.0"
},
- "volta": {
- "node": "24.21.0",
- "pnpm": "12.9.0"
- },
"packageManager": "pnpm@12.9.0",
"type": "module",
"exports": "./src/index.ts",
"node": ">=22.0.0",
"pnpm": ">=10.9.0"
},
- "volta": {
- "node": "24.21.0",
- "pnpm": "12.9.0"
- },
"packageManager": "pnpm@12.9.0",
"type": "module",
"scripts": {