@ovh-ux/url-builder 2.1.9 → 2.2.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 +11 -0
- package/README.md +7 -7
- package/package.json +2 -2
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
|
+
# [2.2.0](https://github.com/ovh/manager/compare/@ovh-ux/url-builder@2.1.9...@ovh-ux/url-builder@2.2.0) (2025-12-01)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* update hard-coded Manager URLs with latest URLs ([4b8bdd7](https://github.com/ovh/manager/commit/4b8bdd78e0a7d039d8ac884c98080fe827978b85)), closes [#MANAGER-18470](https://github.com/ovh/manager/issues/MANAGER-18470)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [2.1.9](https://github.com/ovh/manager/compare/@ovh-ux/url-builder@2.1.8...@ovh-ux/url-builder@2.1.9) (2025-11-27)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @ovh-ux/url-builder
|
package/README.md
CHANGED
|
@@ -15,12 +15,12 @@ When you want to build an URL for an outside application, you will use `url-buil
|
|
|
15
15
|
|
|
16
16
|
### Examples
|
|
17
17
|
|
|
18
|
-
Build the URL that redirect to `#/catalog` state from the `https://
|
|
18
|
+
Build the URL that redirect to `#/catalog` state from the `https://manager.eu.ovhcloud.com/` base URL with query parameter (`expand`)
|
|
19
19
|
|
|
20
20
|
```ts
|
|
21
21
|
import { buildURL } from '@ovh-ux/url-builder';
|
|
22
22
|
|
|
23
|
-
const url = buildURL('https://
|
|
23
|
+
const url = buildURL('https://manager.eu.ovhcloud.com/', '#/catalog', {
|
|
24
24
|
expand: true,
|
|
25
25
|
});
|
|
26
26
|
// use `url`;
|
|
@@ -33,11 +33,11 @@ import { buildURLs } from '@ovh-ux/url-builder';
|
|
|
33
33
|
|
|
34
34
|
const [dashboard, catalog] = buildURLs([
|
|
35
35
|
{
|
|
36
|
-
baseURL: 'https://
|
|
36
|
+
baseURL: 'https://manager.eu.ovhcloud.com/',
|
|
37
37
|
path: '#/',
|
|
38
38
|
params: { expand: true },
|
|
39
39
|
},
|
|
40
|
-
{ baseURL: 'https://
|
|
40
|
+
{ baseURL: 'https://manager.eu.ovhcloud.com/', path: '#/catalog' },
|
|
41
41
|
]);
|
|
42
42
|
// use `dashboard` and `catalog` URLs
|
|
43
43
|
```
|
|
@@ -49,13 +49,13 @@ import { buildURLs } from '@ovh-ux/url-builder';
|
|
|
49
49
|
|
|
50
50
|
const { dashboard, catalog } = buildURLs({
|
|
51
51
|
dashboard: {
|
|
52
|
-
baseURL: 'https://
|
|
52
|
+
baseURL: 'https://manager.eu.ovhcloud.com/',
|
|
53
53
|
path: '#/',
|
|
54
54
|
params: { expand: true },
|
|
55
55
|
},
|
|
56
|
-
catalog: { baseURL: 'https://
|
|
56
|
+
catalog: { baseURL: 'https://manager.eu.ovhcloud.com/', path: '#/catalog' },
|
|
57
57
|
emailDomainProducts: {
|
|
58
|
-
baseURL: 'https://
|
|
58
|
+
baseURL: 'https://manager.eu.ovhcloud.com/',
|
|
59
59
|
path: '#/:product',
|
|
60
60
|
params: { product: 'email_domain' },
|
|
61
61
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ovh-ux/url-builder",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "OVHcloud control panel URL Builder",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@ovh-ux/manager-static-analysis-kit": "^0.14.0",
|
|
32
32
|
"@ovh-ux/manager-tests-setup": "latest",
|
|
33
|
-
"@ovh-ux/manager-vite-config": "^0.15.
|
|
33
|
+
"@ovh-ux/manager-vite-config": "^0.15.2"
|
|
34
34
|
}
|
|
35
35
|
}
|