@ovh-ux/manager-dev-server-config 5.0.1 → 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
@@ -1,3 +1,39 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
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
+
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)
18
+
19
+
20
+ ### Build System
21
+
22
+ * bump nodejs to v18 and webpack to v5 ([6270204](https://github.com/ovh/manager/commit/6270204e59bbfb87ec000c5853be08027affbb69))
23
+
24
+
25
+ ### BREAKING CHANGES
26
+
27
+ * bump webpack from v4 to v5
28
+
29
+ Signed-off-by: Florian Renaut <florian.renaut@corp.ovh.com>
30
+ Co-authored-by: Jisay <jean-christophe.alleman@corp.ovh.com>
31
+ Co-authored-by: Anoop N <anoop.n@ovhcloud.com>
32
+
33
+
34
+
35
+
36
+
1
37
  ## [5.0.1](https://github.com/ovh/manager/compare/@ovh-ux/manager-dev-server-config@5.0.0...@ovh-ux/manager-dev-server-config@5.0.1) (2022-10-19)
2
38
 
3
39
 
@@ -100,6 +136,3 @@
100
136
  * **dev-server-config:** add manager-dev-server-config package
101
137
 
102
138
  Signed-off-by: Cyrille Bourgois <cyrille.bourgois@corp.ovh.com>
103
-
104
-
105
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ovh-ux/manager-dev-server-config",
3
- "version": "5.0.1",
3
+ "version": "6.1.0",
4
4
  "description": "Provide OVHcloud Manager dev server config",
5
5
  "keywords": [
6
6
  "config",
@@ -21,7 +21,7 @@
21
21
  "request": "^2.88.0"
22
22
  },
23
23
  "engines": {
24
- "node": "^16",
24
+ "node": "^18",
25
25
  "yarn": ">=1.21.1"
26
26
  }
27
- }
27
+ }
@@ -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
+ };