@ovh-ux/manager-dev-server-config 6.0.0 → 6.1.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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [6.1.0](https://github.com/ovh/manager/compare/@ovh-ux/manager-dev-server-config@6.0.0...@ovh-ux/manager-dev-server-config@6.1.0) (2024-02-26)
7
+
8
+
9
+ ### Features
10
+
11
+ * make it easy to target LABEU instead of PROD api ([#10878](https://github.com/ovh/manager/issues/10878)) ([f7e5045](https://github.com/ovh/manager/commit/f7e5045545056cdf6d3164e08ec63d08e5ed747e))
12
+
13
+
14
+
15
+
16
+
6
17
  # [6.0.0](https://github.com/ovh/manager/compare/@ovh-ux/manager-dev-server-config@5.0.1...@ovh-ux/manager-dev-server-config@6.0.0) (2023-09-07)
7
18
 
8
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ovh-ux/manager-dev-server-config",
3
- "version": "6.0.0",
3
+ "version": "6.1.0",
4
4
  "description": "Provide OVHcloud Manager dev server config",
5
5
  "keywords": [
6
6
  "config",
@@ -1,9 +1,11 @@
1
1
  const aapi = require('./aapi');
2
2
  const dev = require('./dev');
3
3
  const v6 = require('./v6');
4
+ const lab = require('./lab');
4
5
 
5
6
  module.exports = {
6
7
  aapi,
7
8
  dev,
8
9
  v6,
10
+ lab,
9
11
  };
@@ -0,0 +1,16 @@
1
+ const LABEU_API_TARGET = 'https://eu.api.build-ovh.com';
2
+
3
+ module.exports = {
4
+ v2: {
5
+ target: `${LABEU_API_TARGET}/v2`,
6
+ context: ['/engine/api/v2'],
7
+ changeOrigin: true,
8
+ logLevel: 'silent',
9
+ },
10
+ v6: {
11
+ target: `${LABEU_API_TARGET}/v1`,
12
+ context: ['/engine/apiv6'],
13
+ changeOrigin: true,
14
+ logLevel: 'silent',
15
+ },
16
+ };