First off, thanks for taking the time to contribute! 👍
You can launch a quick question on the #acpaas-ui slack channel.
For something that requires longer discussion it may be better to book an issue.
Please book a GitHub issue.
This widget is part of the ACPaaS UI platform. For more info about Smart Widgets, check the documentation hub.
Before contributing code, you should be aware of the following:
- The architecture consists of a separate front-end and back-end package. The back-end is a so-called Backend-For-Frontend (BFF). The architecture should conform to the SA2020 guidelines.
- There may be multiple independent front-ends and back-ends for the different technologies that Digipolis supports. All of these should implement the same BFF API. The set of supported technologies is described in the DAAS standard.
./src
contains the service library (typescript)./example
contains the demo app (typescript)./test
contains the jasmine unit tests (javascript)
> npm install
Commands:
-
Start the demo app
> npm start
-
Run the tests (with coverage)
> npm test
Please send us your changes as a GitHub pull request.
In order for us to be able to accept your pull request without remarks, please do these things:
- Follow the above style guides.
- Please update the readme documentation and example app along with the code.
- Make sure all the tests pass.
- Provide a clear description on the pull request of what was changed
- Link to a relevant issue. Feel free to create one if none exists.
If possible, do provide meaningful and clean commit messages. A good commit message completes the sentence "When committed this will …"
Only the ACPaaS UI team publishes new packages. Contact us if you need a new release published.
Follow these steps to publish a new version of the package. You must have a Digipolis account with access to Nexus.
-
Increment the version in package.json
-
Log in to the the private registry
> npm login --registry=https://nexusrepo.antwerpen.be/repository/npm-private/
-
Publish the package
> npm publish --registry=https://nexusrepo.antwerpen.be/repository/npm-private/