Skip to content

Commit c93408b

Browse files
committed
fix: unshift volumes instead of adding them in
1 parent bf08dca commit c93408b

File tree

3 files changed

+204
-288
lines changed

3 files changed

+204
-288
lines changed

bin/cmds/test_cmds/auto-compose.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,14 @@ async function tester(compose, argv) {
3232
const sourceDir = argv.mutagenDir || '${PWD}';
3333
const mutagenWorkingDir = argv.mutagenWorkingDir || workingDir;
3434
const workingVolume = `${sourceDir}:${mutagenWorkingDir}`;
35+
36+
/**
37+
* @type {string[]}
38+
*/
3539
const volumes = testerConfig.volumes.filter((volume) => volume !== workingVolume);
3640

37-
volumes.push(
41+
// this will allow one to "override" folders inside
42+
volumes.unshift(
3843
argv.isMutagen ? `${argv.mutagenVolumeName}:${mutagenWorkingDir}` : workingVolume
3944
);
4045

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"type": "module",
2626
"devDependencies": {
27-
"c8": "^8.0.1",
27+
"c8": "^9.0.0",
2828
"eslint": "^8.56.0",
2929
"eslint-config-makeomatic": "^6.0.0",
3030
"eslint-plugin-import": "^2.29.1",
@@ -33,10 +33,10 @@
3333
"typescript": "^5.3.3"
3434
},
3535
"dependencies": {
36-
"@commitlint/cli": "^18.4.3",
36+
"@commitlint/cli": "^18.4.4",
3737
"@fastify/compress": "^6.5.0",
38-
"@sinclair/typebox": "^0.32.3",
39-
"@types/node": "^20.10.5",
38+
"@sinclair/typebox": "^0.32.5",
39+
"@types/node": "^20.10.7",
4040
"chrome-launcher": "^1.1.0",
4141
"chrome-remote-interface": "^0.33.0",
4242
"cosmiconfig": "^9.0.0",
@@ -55,15 +55,15 @@
5555
"lodash.set": "^4.3.2",
5656
"npm-path": "^2.0.4",
5757
"p-limit": "^5.0.0",
58-
"pino": "^8.17.1",
58+
"pino": "^8.17.2",
5959
"read-pkg": "^9.0.1",
6060
"rimraf": "^5.0.5",
6161
"semantic-release": "22.0.12",
6262
"serialize-error": "^11.0.3",
6363
"split2": "^4.2.0",
6464
"strip-final-newline": "^4.0.0",
6565
"tempy": "^3.1.0",
66-
"undici": "^6.2.1",
66+
"undici": "^6.3.0",
6767
"yargs": "^17.7.2"
6868
},
6969
"bin": {

0 commit comments

Comments
 (0)