Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
import { exit } from 'node:process'
+// eslint-disable-next-line n/no-unsupported-features/node-builtins
import { parseArgs } from 'node:util'
import {
"prepublishOnly": "pnpm build:prod"
},
"engines": {
- "node": ">=18.14.0",
+ "node": ">=18.0.0",
"pnpm": ">=9.0.0"
},
"volta": {
const availableParallelism = () => {
let availableParallelism = 1
try {
+ // eslint-disable-next-line n/no-unsupported-features/node-builtins
availableParallelism = os.availableParallelism()
} catch {
const cpus = os.cpus()
expect(Number.isSafeInteger(parallelism)).toBe(true)
let expectedParallelism = 1
try {
+ // eslint-disable-next-line n/no-unsupported-features/node-builtins
expectedParallelism = os.availableParallelism()
} catch {
expectedParallelism = os.cpus().length