@commercetools-frontend/cypress-environments 0.1.7 → 0.1.9
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/config/.env.ctp-gcp-staging.config +2 -2
- package/config/.env.ctp_staging_gcp_europe-west1_v1.config +2 -2
- package/dist/commercetools-frontend-cypress-environments.cjs.dev.js +2 -1
- package/dist/commercetools-frontend-cypress-environments.cjs.prod.js +2 -1
- package/dist/commercetools-frontend-cypress-environments.esm.js +2 -1
- package/dist/declarations/src/environments.d.ts +4 -2
- package/dist/declarations/src/index.d.ts +2 -1
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
MC_API_URL=https://mc-api.europe-west1.gcp.
|
|
2
|
-
MC_URL=https://mc.europe-west1.gcp.
|
|
1
|
+
MC_API_URL=https://mc-api.europe-west1.gcp.integration.commercetools.com
|
|
2
|
+
MC_URL=https://mc.europe-west1.gcp.integration.commercetools.com
|
|
3
3
|
API_URL=https://api.europe-west1.gcp.commercetools.com
|
|
4
4
|
AUTH_URL=https://auth.europe-west1.gcp.commercetools.com
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
MC_API_URL=https://mc-api.europe-west1.gcp.
|
|
2
|
-
MC_URL=https://mc.europe-west1.gcp.
|
|
1
|
+
MC_API_URL=https://mc-api.europe-west1.gcp.integration.commercetools.com
|
|
2
|
+
MC_URL=https://mc.europe-west1.gcp.integration.commercetools.com
|
|
3
3
|
API_URL=https://api.europe-west1.gcp.commercetools.com
|
|
4
4
|
AUTH_URL=https://auth.europe-west1.gcp.commercetools.com
|
|
5
5
|
|
|
@@ -123,7 +123,8 @@ async function getConfigurationForEnvironment(environmentName) {
|
|
|
123
123
|
console.log(`ℹ️ No shared configuration for ${environmentName} defined.`);
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
|
|
126
|
+
const config = _objectSpread(_objectSpread({}, sharedEnvironmentConfiguration), mergedConfigurationAndSecrests);
|
|
127
|
+
return config;
|
|
127
128
|
}
|
|
128
129
|
|
|
129
130
|
exports.getConfigurationForEnvironment = getConfigurationForEnvironment;
|
|
@@ -123,7 +123,8 @@ async function getConfigurationForEnvironment(environmentName) {
|
|
|
123
123
|
console.log(`ℹ️ No shared configuration for ${environmentName} defined.`);
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
|
|
126
|
+
const config = _objectSpread(_objectSpread({}, sharedEnvironmentConfiguration), mergedConfigurationAndSecrests);
|
|
127
|
+
return config;
|
|
127
128
|
}
|
|
128
129
|
|
|
129
130
|
exports.getConfigurationForEnvironment = getConfigurationForEnvironment;
|
|
@@ -100,7 +100,8 @@ async function getConfigurationForEnvironment(environmentName) {
|
|
|
100
100
|
console.log(`ℹ️ No shared configuration for ${environmentName} defined.`);
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
|
-
|
|
103
|
+
const config = _objectSpread(_objectSpread({}, sharedEnvironmentConfiguration), mergedConfigurationAndSecrests);
|
|
104
|
+
return config;
|
|
104
105
|
}
|
|
105
106
|
|
|
106
107
|
export { getConfigurationForEnvironment };
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
type
|
|
2
|
-
|
|
1
|
+
export type TConfigForEnvironment = {
|
|
2
|
+
[key: string]: string;
|
|
3
|
+
};
|
|
4
|
+
declare function getConfigurationForEnvironment(environmentName: string): Promise<TConfigForEnvironment>;
|
|
3
5
|
export { getConfigurationForEnvironment };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/cypress-environments",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"description": "Cypress package to setup environment configuration using dotenv files",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
"@babel/core": "^7.22.11",
|
|
20
20
|
"@babel/runtime-corejs3": "^7.21.0",
|
|
21
21
|
"cosmiconfig": "9.0.0",
|
|
22
|
-
"dotenv": "16.
|
|
22
|
+
"dotenv": "16.6.1",
|
|
23
23
|
"glob": "10.4.5",
|
|
24
24
|
"pkg-dir": "5.0.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@tsconfig/node20": "20.1.
|
|
27
|
+
"@tsconfig/node20": "20.1.6",
|
|
28
28
|
"@types/glob": "8.1.0",
|
|
29
|
-
"@types/node": "22.
|
|
29
|
+
"@types/node": "22.18.8",
|
|
30
30
|
"typescript": "5.2.2"
|
|
31
31
|
},
|
|
32
32
|
"engines": {
|