@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 +36 -3
- package/package.json +3 -3
- package/src/proxy/index.js +2 -0
- package/src/proxy/lab/index.js +16 -0
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": "
|
|
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": "^
|
|
24
|
+
"node": "^18",
|
|
25
25
|
"yarn": ">=1.21.1"
|
|
26
26
|
}
|
|
27
|
-
}
|
|
27
|
+
}
|
package/src/proxy/index.js
CHANGED
|
@@ -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
|
+
};
|