You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/documentation/docs/pages/extensibility/ProjectShims.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,20 +5,20 @@ Also see [RFC 0002 Project Shims](https://github.com/UI5/cli/blob/main/rfcs/0002
5
5
6
6
#### Structure
7
7
```yaml
8
-
specVersion: "4.0"
8
+
specVersion: "5.0"
9
9
kind: extension
10
10
type: project-shim
11
11
metadata:
12
12
name: <name of project shim extension>
13
13
shims:
14
14
configurations:
15
15
<module name (id)>:
16
-
specVersion: "4.0"
16
+
specVersion: "5.0"
17
17
type: <project type>
18
18
metadata:
19
19
name: <project name>
20
20
<module name (id)>:
21
-
specVersion: "4.0"
21
+
specVersion: "5.0"
22
22
type: <project type>
23
23
metadata:
24
24
name: <project name>
@@ -61,20 +61,20 @@ An application "my-application" defines a npm dependency to [lodash](https://lod
61
61
62
62
**ui5.yaml**
63
63
```yaml
64
-
specVersion: "4.0"
64
+
specVersion: "5.0"
65
65
type: application
66
66
metadata:
67
67
name: my.application
68
68
--- # Everything below this line could also be put into the ui5.yaml of a standalone extension module
69
-
specVersion: "4.0"
69
+
specVersion: "5.0"
70
70
kind: extension
71
71
type: project-shim
72
72
metadata:
73
73
name: my.application.thirdparty
74
74
shims:
75
75
configurations:
76
76
lodash: # name as defined in package.json
77
-
specVersion: "4.0"
77
+
specVersion: "5.0"
78
78
type: module # Use module type
79
79
metadata:
80
80
name: lodash
@@ -142,30 +142,30 @@ application-a/
142
142
The shim defined in the application configures the legacy libraries and defines their dependencies. This shim might as well be a standalone module that is added to the applications dependencies. That would be the typical reuse scenario for shims.
0 commit comments