@datadog/datadog-ci-plugin-synthetics 3.22.2 → 4.0.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.
- package/README.md +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -146,7 +146,7 @@ Global Config < Environment variables < CLI parameters
|
|
|
146
146
|
You can also use the `datadog-ci` package as a library in your Node.js application to trigger tests. To do so, import the package from the Synthetics `run-tests` command and call the `executeWithDetails()` function.
|
|
147
147
|
|
|
148
148
|
``` javascript
|
|
149
|
-
import
|
|
149
|
+
import * as synthetics from '@datadog/datadog-ci-plugin-synthetics'
|
|
150
150
|
|
|
151
151
|
const { results, summary } = await synthetics.executeTests(...)
|
|
152
152
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datadog/datadog-ci-plugin-synthetics",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Datadog CI plugin for `synthetics` commands",
|
|
6
6
|
"keywords": [
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"url": "https://github.com/DataDog/datadog-ci.git",
|
|
15
15
|
"directory": "packages/plugin-synthetics"
|
|
16
16
|
},
|
|
17
|
+
"main": "dist/index.js",
|
|
17
18
|
"exports": {
|
|
18
19
|
"./package.json": "./package.json",
|
|
19
20
|
".": {
|
|
@@ -39,7 +40,7 @@
|
|
|
39
40
|
"prepack": "yarn package:clean-dist"
|
|
40
41
|
},
|
|
41
42
|
"peerDependencies": {
|
|
42
|
-
"@datadog/datadog-ci-base": "
|
|
43
|
+
"@datadog/datadog-ci-base": "4.0.0"
|
|
43
44
|
},
|
|
44
45
|
"dependencies": {
|
|
45
46
|
"axios": "^1.12.1",
|