- Add a new module in the
components/
directory that exports the component class or function with the same name as the module file - Test the new component by adding an example instance to the testComponents object in
common/test-components.tsx
- Expose the local UIX library on
localhost:4242
by runningdeno task expose-uix
- Start the test app on
localhost:4201
withdeno task run-test-app
from the root directory
When new command line arguments are added or updated, run
deno run -A run.ts --generate-help
once to update the RUN.md
file.
This file is used for uix --help
(See https://github.com/unyt-org/command-line-args for more information)
You can test your local UIX library in UIX apps on the same host:
- Expose the local UIX library on
localhost:4242
by runningdeno task expose-uix
- Copy the
importmap.uixdev.json
from the uix repo to your project repo - Launch your app with
deno run --import-map importmap.uixdev.json -Aqr http://localhost:4242/run.ts -wr
The main branch is develop
. This repository uses semantic versioning.
To develop a feature, branch of develop and call the branch feature/YOUR-NAME
. When finished, go to Gitlab > CI > Pipelines > Run Pipeline > select your branch, add a variable called DEPLOY_TYPE
and major
or minor
as value.
This creates a release branch, and merge request.
When making fixes to a branch (refer to the article), branch off the release branch and do a manual merge request to the branch in question