@equinor/roma-nx-plugin 6.4.0 → 6.4.1
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
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [6.4.1](https://github.com/equinor/tops-roma/compare/roma-6.4.0...roma-6.4.1) (2026-11-26)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* **ROMA-424:** make cypress an optional peer dependency of the roma nx plugin ([e97fd6e](https://github.com/equinor/tops-roma/commit/e97fd6e25c3b7bcbc8068b0c7d401e076171a413))
|
|
10
|
+
|
|
5
11
|
# [6.4.0](https://github.com/equinor/tops-roma/compare/roma-6.3.0...roma-6.4.0) (2026-11-25)
|
|
6
12
|
|
|
7
13
|
### Features
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/roma-nx-plugin",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "6.4.
|
|
4
|
+
"version": "6.4.1",
|
|
5
5
|
"repository": "https://github.com/equinor/tops-roma",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@azure/identity": "^4.14.1",
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
"@nx/devkit": "^22.7.12",
|
|
12
12
|
"@nx/react": "^22.7.12",
|
|
13
13
|
"@vitejs/plugin-react": "^6.3.0",
|
|
14
|
-
"cypress": "^15.21.2",
|
|
15
14
|
"esbuild": "0.27.7",
|
|
16
15
|
"express": "^4.22.3",
|
|
17
16
|
"get-port": "^7.2.0",
|
|
@@ -29,8 +28,14 @@
|
|
|
29
28
|
"@nx/devkit": "^22.0.3",
|
|
30
29
|
"@nx/react": "^22.0.3",
|
|
31
30
|
"@nx/vite": "^22.0.3",
|
|
31
|
+
"cypress": "^15.0.0",
|
|
32
32
|
"nx": "^22.0.3"
|
|
33
33
|
},
|
|
34
|
+
"peerDependenciesMeta": {
|
|
35
|
+
"cypress": {
|
|
36
|
+
"optional": true
|
|
37
|
+
}
|
|
38
|
+
},
|
|
34
39
|
"devDependencies": {
|
|
35
40
|
"@types/express": "^4.17.25"
|
|
36
41
|
},
|
|
@@ -6,7 +6,14 @@ const node_util_1 = require("node:util");
|
|
|
6
6
|
const path_1 = require("path");
|
|
7
7
|
const exec = (0, node_util_1.promisify)(node_child_process_1.exec);
|
|
8
8
|
const runExecutor = async (options, context) => {
|
|
9
|
-
|
|
9
|
+
let cypress;
|
|
10
|
+
try {
|
|
11
|
+
cypress = await Promise.resolve().then(() => tslib_1.__importStar(require('cypress')));
|
|
12
|
+
}
|
|
13
|
+
catch (_a) {
|
|
14
|
+
console.error('Cypress is not installed. Run the @equinor/roma-nx-plugin:component-test generator or add "cypress" to your devDependencies.');
|
|
15
|
+
return { success: false };
|
|
16
|
+
}
|
|
10
17
|
const { projectName, projectsConfigurations, root } = context;
|
|
11
18
|
const workdir = (0, path_1.join)(root, projectsConfigurations.projects[projectName].root);
|
|
12
19
|
let success = true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.js","sourceRoot":"","sources":["../../../../../../plugins/roma/src/executors/component-test/executor.ts"],"names":[],"mappings":";;;AAAA,2DAAoD;AACpD,yCAAsC;AAGtC,+BAA4B;AAG5B,MAAM,IAAI,GAAG,IAAA,qBAAS,EAAC,yBAAM,CAAC,CAAC;AAE/B,MAAM,WAAW,GAAiD,KAAK,EACrE,OAAO,EACP,OAAO,EACP,EAAE;IACF,
|
|
1
|
+
{"version":3,"file":"executor.js","sourceRoot":"","sources":["../../../../../../plugins/roma/src/executors/component-test/executor.ts"],"names":[],"mappings":";;;AAAA,2DAAoD;AACpD,yCAAsC;AAGtC,+BAA4B;AAG5B,MAAM,IAAI,GAAG,IAAA,qBAAS,EAAC,yBAAM,CAAC,CA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