chore: configure Volta correctly for a monorepo

This commit is contained in:
Joakim Carlstein 2023-11-10 14:46:51 +01:00
parent 75b494c2fd
commit 23d390e602
5 changed files with 15 additions and 2 deletions

View file

@ -33,7 +33,8 @@
], ],
"license": "MIT", "license": "MIT",
"volta": { "volta": {
"node": "20.9.0" "node": "20.9.0",
"pnpm": "8.10.2"
}, },
"engines": { "engines": {
"node": ">=18" "node": ">=18"

View file

@ -29,5 +29,8 @@
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@emigrate/plugin-tools": "workspace:*" "@emigrate/plugin-tools": "workspace:*"
},
"volta": {
"extends": "../../package.json"
} }
} }

View file

@ -32,5 +32,8 @@
}, },
"devDependencies": { "devDependencies": {
"@emigrate/tsconfig": "workspace:*" "@emigrate/tsconfig": "workspace:*"
},
"volta": {
"extends": "../../package.json"
} }
} }

View file

@ -35,5 +35,8 @@
}, },
"dependencies": { "dependencies": {
"import-from-esm": "1.2.1" "import-from-esm": "1.2.1"
},
"volta": {
"extends": "../../package.json"
} }
} }

View file

@ -9,5 +9,8 @@
"build.json" "build.json"
], ],
"author": "Aboviq AB <dev@aboviq.com> (https://www.aboviq.com)", "author": "Aboviq AB <dev@aboviq.com> (https://www.aboviq.com)",
"license": "MIT" "license": "MIT",
"volta": {
"extends": "../../package.json"
}
} }