@toptal/davinci-qa 16.3.3 → 16.3.4
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.
- package/CHANGELOG.md +7 -0
- package/bin/davinci-qa.js +4 -31
- package/package.json +1 -2
- package/src/init.js +0 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 16.3.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2327](https://github.com/toptal/davinci/pull/2327) [`5b74652f`](https://github.com/toptal/davinci/commit/5b74652f4a44bf7440079b841df3f87563bbb4d6) Thanks [@AlecksJohannes](https://github.com/AlecksJohannes)!
|
|
8
|
+
- remove not needed Node flags
|
|
9
|
+
|
|
3
10
|
## 16.3.3
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/bin/davinci-qa.js
CHANGED
|
@@ -1,34 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
3
|
-
import { fileURLToPath } from 'url'
|
|
4
|
-
import execa from 'execa'
|
|
2
|
+
import cliEngine from '@toptal/davinci-cli-shared'
|
|
5
3
|
|
|
6
|
-
|
|
7
|
-
// to davinci-qa to combat Jest memory issues in some Node versions
|
|
8
|
-
// see https://github.com/kulshekhar/ts-jest/issues/1967
|
|
9
|
-
// At some point when this is fixed, the original binary @ qaExecutablePath can be used again
|
|
4
|
+
import { commands } from '../src/index.js'
|
|
10
5
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const qaExecutablePath = resolve(
|
|
14
|
-
dirname(fileURLToPath(import.meta.url)),
|
|
15
|
-
'../src/init.js'
|
|
16
|
-
)
|
|
17
|
-
|
|
18
|
-
try {
|
|
19
|
-
execa.sync(
|
|
20
|
-
// When running
|
|
21
|
-
// davinci-qa unit --coverage
|
|
22
|
-
// would translate to:
|
|
23
|
-
// node --no-compilation-cache --expose-gc /home/user/davinci/packages/qa/src/init.js unit --coverage
|
|
24
|
-
'node',
|
|
25
|
-
[...NODE_OPTIONS, qaExecutablePath, ...process.argv.slice(2)],
|
|
26
|
-
{
|
|
27
|
-
// Pipe all stdio to the parent process, behave as a normal shell
|
|
28
|
-
stdio: 'inherit',
|
|
29
|
-
shell: true,
|
|
30
|
-
}
|
|
31
|
-
)
|
|
32
|
-
} catch (error) {
|
|
33
|
-
process.exit(error.exitCode)
|
|
34
|
-
}
|
|
6
|
+
cliEngine.loadCommands(commands, 'davinci-qa')
|
|
7
|
+
cliEngine.bootstrap()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/davinci-qa",
|
|
3
|
-
"version": "16.3.
|
|
3
|
+
"version": "16.3.4",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"qa",
|
|
6
6
|
"testing"
|
|
@@ -50,7 +50,6 @@
|
|
|
50
50
|
"@toptal/davinci-cli-shared": "^2.3.9",
|
|
51
51
|
"@types/jest": "^28.1.1",
|
|
52
52
|
"babel-jest": "^28.1.3",
|
|
53
|
-
"execa": "^5.1.1",
|
|
54
53
|
"fs-extra": "^11.1.1",
|
|
55
54
|
"glob": "^8.0.3",
|
|
56
55
|
"happo-cypress": "^4.1.1",
|