@ovh-ux/manager-dev-server-config 4.0.0 → 5.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 CHANGED
@@ -1,3 +1,17 @@
1
+ # [5.0.0](https://github.com/ovh/manager/compare/@ovh-ux/manager-dev-server-config@4.0.0...@ovh-ux/manager-dev-server-config@5.0.0) (2022-09-12)
2
+
3
+
4
+ ### Code Refactoring
5
+
6
+ * **dev-server-config:** remove registry proxy ([6339caf](https://github.com/ovh/manager/commit/6339caf22c59038a9fb45ae6c5fdfb336f6436e0))
7
+
8
+
9
+ ### BREAKING CHANGES
10
+
11
+ * **dev-server-config:** remove registry proxy configuration
12
+
13
+
14
+
1
15
  # [4.0.0](https://github.com/ovh/manager/compare/@ovh-ux/manager-dev-server-config@3.0.0...@ovh-ux/manager-dev-server-config@4.0.0) (2022-03-04)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ovh-ux/manager-dev-server-config",
3
- "version": "4.0.0",
3
+ "version": "5.0.0",
4
4
  "description": "Provide OVHcloud Manager dev server config",
5
5
  "keywords": [
6
6
  "config",
@@ -1,11 +1,9 @@
1
1
  const aapi = require('./aapi');
2
2
  const dev = require('./dev');
3
3
  const v6 = require('./v6');
4
- const registry = require('./registry');
5
4
 
6
5
  module.exports = {
7
6
  aapi,
8
7
  dev,
9
8
  v6,
10
- registry,
11
9
  };
@@ -1,16 +0,0 @@
1
- const TARGET = {
2
- eu: 'https://www.ovh.com/manager/fragments',
3
- ca: 'https://ca.ovh.com/manager/fragments',
4
- us: 'https://us.ovhcloud.com/manager/fragments',
5
- local: 'http://localhost:8888',
6
- };
7
-
8
- module.exports = (region, { local = false, registryUrl }) => ({
9
- target: registryUrl || TARGET[local ? 'local' : region.toLowerCase()],
10
- context: '/manager/fragments',
11
- pathRewrite: {
12
- '^/manager/fragments/': '/',
13
- },
14
- changeOrigin: true,
15
- logLevel: 'silent',
16
- });