Skip to content

Commit 1345f53

Browse files
committed
docs(documentation): Add component type to configuration page
1 parent 9478c4b commit 1345f53

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

internal/documentation/docs/pages/Configuration.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ metadata:
2929
### Specification Version and -Type
3030
A project must define a specification version (`specVersion`), to which its configuration is compatible to. Also see [Specification Versions](#specification-versions).
3131

32-
In addition, a project must define a `type`. This can be either `application`, `library`, `theme-library` (since Specification Version 1.1), or `module`.
32+
In addition, a project must define a `type`. This can be either `application`, `component`, `library`, `theme-library` (since Specification Version 1.1), or `module`.
3333

3434
The type defines the default path mappings and build tasks. See [UI5 Builder: Types](./Builder.md#types) for details.
3535

@@ -40,6 +40,11 @@ specVersion: "5.0"
4040
type: application
4141
```
4242

43+
```yaml [component]
44+
specVersion: "5.0"
45+
type: component
46+
```
47+
4348
```yaml [library]
4449
specVersion: "5.0"
4550
type: library
@@ -125,7 +130,7 @@ resources:
125130
webapp: webapp
126131
```
127132

128-
#### Libraries
133+
#### Libraries and Components
129134
- `src`: Mapped to runtime path `/resources`
130135
- `test`: Mapped to runtime path `/test-resources`
131136

@@ -275,7 +280,7 @@ Projects that use the OpenUI5 framework cannot depend on projects that use the S
275280

276281
::: code-group Example
277282

278-
```yaml [application]
283+
```yaml [application/component]
279284
specVersion: "5.0"
280285
type: application
281286
metadata:
@@ -367,7 +372,7 @@ You can choose which theme library to use by the application that is consuming t
367372

368373
::: code-group Example
369374

370-
```yaml [application]
375+
```yaml [application/component]
371376
builder:
372377
resources:
373378
excludes:
@@ -377,7 +382,7 @@ builder:
377382
- "/resources/my/project/namespace/test/**"
378383
```
379384

380-
```yaml [library or theme-library]
385+
```yaml [library/theme-library]
381386
builder:
382387
resources:
383388
excludes:

0 commit comments

Comments
 (0)