This is the repo for the main library. For information to integrate components for different framework, please refer to the respective README.
Framework | README Location |
---|---|
VanillaJS | ./sgds-masthead |
Angular | ./sgds-angular/projects/sgds-angular-component |
React | ./sgds-masthead-react |
Do this in a single commit
- Update the package version in ./sgds-masthead/package.json.
- In sgds-masthead directory, run
npm build
. This will generate the components for react and angular. - [FOR ANGULAR] Update the package version and the dependency version of sgds-masthead in ./sgds-angular/projects/sgds-angular-component/package.json.
- [FOR ANGULAR] In sgds-angular/projects/sgds-angular-component directory, run
npm install
to update the package-lock.json. - [FOR REACT] Update the package version and the dependency version of sgds-masthead in ./sgds-masthead-react/package.json
- [FOR REACT] In sgds-masthead-react directory, run
npm install
to update the package-lock.json. - Git commit all changes and git actions will publish the library