-
Notifications
You must be signed in to change notification settings - Fork 80
How to add a new component to the platform
Tien Nguyen edited this page Dec 7, 2018
·
1 revision
- Add version information into
versions.json
as a child ofcore
orvaadin
depending on it's a core or a pro component. e.g.
"vaadin-new-component": {
"npmName": "@vaadin/vaadin-new-component",
"javaVersion": "1.0.0",
"jsVersion": "1.0.0",
"component": true,
"pro": true
},
-
If the component has Java implementation:
-
Add its version into
scripts/generator/templates/template-vaadin-spring-bom.xml
. Example:<dependency> <groupId>com.vaadin</groupId> <artifactId>vaadin-new-component-flow</artifactId> <version>${vaadin.new.component.version}</version> </dependency>
-
Add the dependency to
vaadin-core/pom.xml
for core components orvaadin/pom.xml
for pro components<dependency> <groupId>com.vaadin</groupId> <artifactId>vaadin-new-component</artifactId> </dependency>
-
Add an IT test for the new component like others did in
vaadin-platform-test
.
-
-
Check if we need to include any information of the new component in release note:
scripts/generator/templates/template-release-notes.md
-
Update
README.md
to include the information if needed -
Make a PR to a correct branch (
master
for the latest,vX
for version X, e.g. v12 for Platform 12)