@centreon/js-config 23.10.49 → 23.10.50
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.
|
@@ -5,7 +5,6 @@ import { execSync } from 'child_process';
|
|
|
5
5
|
|
|
6
6
|
import { defineConfig } from 'cypress';
|
|
7
7
|
import installLogsPrinter from 'cypress-terminal-report/src/installLogsPrinter';
|
|
8
|
-
import { config as configDotenv } from 'dotenv';
|
|
9
8
|
|
|
10
9
|
import esbuildPreprocessor from './esbuild-preprocessor';
|
|
11
10
|
import plugins from './plugins';
|
|
@@ -15,7 +14,6 @@ interface ConfigurationOptions {
|
|
|
15
14
|
cypressFolder?: string;
|
|
16
15
|
dockerName?: string;
|
|
17
16
|
env?: Record<string, unknown>;
|
|
18
|
-
envFile?: string;
|
|
19
17
|
isDevelopment?: boolean;
|
|
20
18
|
specPattern: string;
|
|
21
19
|
}
|
|
@@ -25,13 +23,8 @@ export default ({
|
|
|
25
23
|
cypressFolder,
|
|
26
24
|
isDevelopment,
|
|
27
25
|
dockerName,
|
|
28
|
-
env
|
|
29
|
-
envFile
|
|
26
|
+
env
|
|
30
27
|
}: ConfigurationOptions): Cypress.ConfigOptions => {
|
|
31
|
-
if (envFile) {
|
|
32
|
-
configDotenv({ path: envFile });
|
|
33
|
-
}
|
|
34
|
-
|
|
35
28
|
const resultsFolder = `${cypressFolder || '.'}/results`;
|
|
36
29
|
|
|
37
30
|
const webImageVersion = execSync('git rev-parse --abbrev-ref HEAD')
|
|
@@ -60,7 +53,7 @@ export default ({
|
|
|
60
53
|
},
|
|
61
54
|
env: {
|
|
62
55
|
...env,
|
|
63
|
-
OPENID_IMAGE_VERSION:
|
|
56
|
+
OPENID_IMAGE_VERSION: '23.04',
|
|
64
57
|
WEB_IMAGE_OS: 'alma9',
|
|
65
58
|
WEB_IMAGE_VERSION: webImageVersion,
|
|
66
59
|
dockerName: dockerName || 'centreon-dev'
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@centreon/js-config",
|
|
3
3
|
"description": "Centreon Frontend shared build configuration",
|
|
4
|
-
"version": "23.10.
|
|
4
|
+
"version": "23.10.50",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/centreon/centreon-frontend.git"
|
|
@@ -53,7 +53,6 @@
|
|
|
53
53
|
"cypress-multi-reporters": "^1.6.3",
|
|
54
54
|
"cypress-terminal-report": "^5.3.6",
|
|
55
55
|
"dockerode": "^3.3.5",
|
|
56
|
-
"dotenv": "^16.3.1",
|
|
57
56
|
"esbuild": "^0.19.3",
|
|
58
57
|
"mochawesome": "^7.1.3"
|
|
59
58
|
}
|