@augment-vir/node 31.6.0 → 31.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { log } from '@augment-vir/common';
|
|
2
|
+
import { dirname } from 'node:path';
|
|
2
3
|
import { interpolationSafeWindowsPath } from '../augments/path/os-path.js';
|
|
3
4
|
import { runShellCommand } from '../augments/terminal/shell.js';
|
|
4
5
|
import { PrismaSchemaError } from './prisma-errors.js';
|
|
@@ -18,6 +19,8 @@ schemaFilePath, env = {}) {
|
|
|
18
19
|
...process.env,
|
|
19
20
|
...env,
|
|
20
21
|
},
|
|
22
|
+
hookUpToConsole: true,
|
|
23
|
+
cwd: schemaFilePath ? dirname(schemaFilePath) : process.cwd(),
|
|
21
24
|
});
|
|
22
25
|
return verifyOutput(schemaFilePath || '', result, ignoreExitCode);
|
|
23
26
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@augment-vir/node",
|
|
3
|
-
"version": "31.
|
|
3
|
+
"version": "31.7.0",
|
|
4
4
|
"description": "A collection of augments, helpers types, functions, and classes only for Node.js (backend) JavaScript environments.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"augment",
|
|
@@ -37,17 +37,17 @@
|
|
|
37
37
|
"test:update": "npm test"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@augment-vir/assert": "^31.
|
|
41
|
-
"@augment-vir/common": "^31.
|
|
42
|
-
"@date-vir/duration": "^7.1.
|
|
40
|
+
"@augment-vir/assert": "^31.7.0",
|
|
41
|
+
"@augment-vir/common": "^31.7.0",
|
|
42
|
+
"@date-vir/duration": "^7.1.2",
|
|
43
43
|
"ansi-styles": "^6.2.1",
|
|
44
44
|
"terminate": "^2.8.0",
|
|
45
|
-
"type-fest": "^4.
|
|
45
|
+
"type-fest": "^4.32.0",
|
|
46
46
|
"typed-event-target": "^4.0.2"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@augment-vir/test": "^31.
|
|
50
|
-
"@prisma/client": "^6.1
|
|
49
|
+
"@augment-vir/test": "^31.7.0",
|
|
50
|
+
"@prisma/client": "^6.2.1",
|
|
51
51
|
"@types/node": "^22.10.5",
|
|
52
52
|
"@web/dev-server-esbuild": "^1.0.3",
|
|
53
53
|
"@web/test-runner": "^0.19.0",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"c8": "^10.1.3",
|
|
58
58
|
"concurrently": "^9.1.2",
|
|
59
59
|
"istanbul-smart-text-reporter": "^1.1.5",
|
|
60
|
-
"prisma": "^6.1
|
|
60
|
+
"prisma": "^6.2.1",
|
|
61
61
|
"typescript": "^5.7.2"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {log} from '@augment-vir/common';
|
|
2
|
+
import {dirname} from 'node:path';
|
|
2
3
|
import {interpolationSafeWindowsPath} from '../augments/path/os-path.js';
|
|
3
4
|
import {runShellCommand, type ShellOutput} from '../augments/terminal/shell.js';
|
|
4
5
|
import {PrismaSchemaError} from './prisma-errors.js';
|
|
@@ -35,6 +36,8 @@ export async function runPrismaCommand(
|
|
|
35
36
|
...process.env,
|
|
36
37
|
...env,
|
|
37
38
|
},
|
|
39
|
+
hookUpToConsole: true,
|
|
40
|
+
cwd: schemaFilePath ? dirname(schemaFilePath) : process.cwd(),
|
|
38
41
|
});
|
|
39
42
|
|
|
40
43
|
return verifyOutput(schemaFilePath || '', result, ignoreExitCode);
|