@ovh-ux/manager-dev-server-config 6.1.3 → 7.0.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 +45 -3
- package/package.json +1 -1
- package/src/proxy/aapi/index.js +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -3,15 +3,57 @@
|
|
|
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
|
+
# 7.0.0 (2025-07-10)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **dev-server-config:** allow to define custom host ([b59706d](https://github.com/ovh/manager/commit/b59706d20a3cf221ada6ab7779d14268dac84e9b))
|
|
12
|
+
* **proxy:** fix registry proxy path rewrite ([#4234](https://github.com/ovh/manager/issues/4234)) ([a42b53a](https://github.com/ovh/manager/commit/a42b53a99fba7ad4c8d770587a661e42b15d30d3))
|
|
13
|
+
* **sso:** avoid region config error ([#4140](https://github.com/ovh/manager/issues/4140)) ([3eb55c5](https://github.com/ovh/manager/commit/3eb55c5453d131557a7dee28efbe69994610e22d))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Build System
|
|
17
|
+
|
|
18
|
+
* bump nodejs to v18 and webpack to v5 ([6270204](https://github.com/ovh/manager/commit/6270204e59bbfb87ec000c5853be08027affbb69))
|
|
19
|
+
* **deps:** require Node.js 16 ([5687c17](https://github.com/ovh/manager/commit/5687c17f1ae65c07ffde12abeecd0f9a955af8b0)), closes [#6444](https://github.com/ovh/manager/issues/6444)
|
|
20
|
+
* require Node.js 14 ([f1ec93e](https://github.com/ovh/manager/commit/f1ec93ef1156184dda02762eb62c0d838be495b6))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Code Refactoring
|
|
24
|
+
|
|
25
|
+
* **dev-server-config:** remove registry proxy ([6339caf](https://github.com/ovh/manager/commit/6339caf22c59038a9fb45ae6c5fdfb336f6436e0))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* allow to rewrite path and headers when using dev proxy ([2a71352](https://github.com/ovh/manager/commit/2a71352a5500e897b740a0ec47b9834eeb3eb3cc))
|
|
31
|
+
* **dev-server-config:** add manager-dev-server-config package ([58b9589](https://github.com/ovh/manager/commit/58b95892c056bf1333c6f4c7956e7a6f4485a47f))
|
|
32
|
+
* **dev-server-config:** add registry proxy config ([bd61f39](https://github.com/ovh/manager/commit/bd61f396cea43c8c11a1e9c7dc0afb14bf924f89))
|
|
33
|
+
* **dev-server-config:** add registryUrl in registry proxy config ([6809a49](https://github.com/ovh/manager/commit/6809a491d88446ae3f843ba115ebb4c14843f99a))
|
|
34
|
+
* 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))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### BREAKING CHANGES
|
|
38
|
+
|
|
39
|
+
* bump webpack from v4 to v5
|
|
40
|
+
|
|
41
|
+
Signed-off-by: Florian Renaut <florian.renaut@corp.ovh.com>
|
|
42
|
+
Co-authored-by: Jisay <jean-christophe.alleman@corp.ovh.com>
|
|
43
|
+
Co-authored-by: Anoop N <anoop.n@ovhcloud.com>
|
|
44
|
+
* **dev-server-config:** remove registry proxy configuration
|
|
45
|
+
* **deps:** require Node.js 16
|
|
46
|
+
* require Node.js 14
|
|
47
|
+
* nic property is removed in favor of headers to allow more customization
|
|
48
|
+
* **dev-server-config:** add manager-dev-server-config package
|
|
49
|
+
|
|
50
|
+
Signed-off-by: Cyrille Bourgois <cyrille.bourgois@corp.ovh.com>
|
|
9
51
|
|
|
10
52
|
|
|
11
53
|
|
|
12
54
|
|
|
13
55
|
|
|
14
|
-
## [6.1.2](https://github.com/ovh/manager/compare/@ovh-ux/manager-dev-server-config@6.1.1...@ovh-ux/manager-dev-server-config@6.1.2) (2025-
|
|
56
|
+
## [6.1.2](https://github.com/ovh/manager/compare/@ovh-ux/manager-dev-server-config@6.1.1...@ovh-ux/manager-dev-server-config@6.1.2) (2025-04-04)
|
|
15
57
|
|
|
16
58
|
**Note:** Version bump only for package @ovh-ux/manager-dev-server-config
|
|
17
59
|
|
package/package.json
CHANGED
package/src/proxy/aapi/index.js
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
const bffHostHeader = {
|
|
2
|
-
EU: 'www.ovh.com',
|
|
3
|
-
CA: 'ca.ovh.com',
|
|
4
|
-
US: 'us.ovhcloud.com',
|
|
5
|
-
};
|
|
6
|
-
|
|
7
1
|
const config = {
|
|
8
2
|
aapi: {
|
|
9
3
|
url: 'http://localhost:8080',
|
|
@@ -19,7 +13,4 @@ module.exports = {
|
|
|
19
13
|
},
|
|
20
14
|
secure: false,
|
|
21
15
|
logLevel: 'debug',
|
|
22
|
-
headers: {
|
|
23
|
-
Host: bffHostHeader[process.env.REGION ?? 'EU'],
|
|
24
|
-
},
|
|
25
16
|
};
|