Skip to content

Commit

Permalink
Merge pull request #22 from rgdoliveira/sync_main
Browse files Browse the repository at this point in the history
Sync main branch with Apache main branch
  • Loading branch information
rgdoliveira authored Apr 23, 2024
2 parents c799f4b + e1d6551 commit a5eff71
Show file tree
Hide file tree
Showing 1,964 changed files with 1,117 additions and 278,422 deletions.
9 changes: 0 additions & 9 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,9 +0,0 @@
/ui-packages/ @paulovmr

/runtime-tools-quarkus-extension-parent/ @paulovmr

/kogito-quarkus-serverless-workflow-devui-parent/ @paulovmr

/management-console/ @paulovmr

/task-console/ @paulovmr
2 changes: 0 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

cd ui-packages && npx lint-staged
53 changes: 1 addition & 52 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,57 +15,6 @@ git clone [email protected]:kiegroup/kogito-apps.git
> ```
> git clone https://github.com/kiegroup/kogito-apps.git
> ```
- Install Node and NPM package manager
See detailed instructions [here](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) for your OS.
- Install [pnpm](https://pnpm.io/)
```bash
cd kogito-apps/ui-packages
npm install -g pnpm
```
- Install projects dependencies using pnpm
```bash
cd kogito-apps/ui-packages
pnpm install
```

- Build with pnpm:
```bash
cd kogito-apps/ui-packages
pnpm run init

#prod
pnpm run build:prod

# dev
pnpm run build # skips integration tests and production packing
```

> Final artifacts will be on `packages/*/dist` directories.
## Management Console

For detailed instructions on how to develop and run the Management Console, please check instructions on the specific
[README](./ui-packages/packages/management-console/README.md) file.

## `ui-packages` dependencies

`ui-packages` are managed with [pnpm Workspaces](https://pnpm.io/workspaces). Dependencies shared between packages are listed in the top-level [`package.json`](./ui-packages/package.json).

A `locktt` npm script relying on [lock-treatment-tool](https://github.com/Ginxo/lock-treatment-tool) is available to allow the usage of a private npm registry during building.

`locktt` replaces the host from [`ui-packages/pnpm-lock`](./ui-packages/pnpm-lock) resolved field with the custom registry. It is set to run just before the execution of `pnpm install`. See [`ui-packages/pom.xml`](./ui-packages/pom.xml) for further details.

## Skipping frontend build

To skip the frontend build when running maven, simply execute Maven with the following parameters

```bash
mvn clean install -Dskip.ui.build -Dskip.ui.deps
```
## Getting Help
### Issues
Expand All @@ -77,4 +26,4 @@ mvn clean install -Dskip.ui.build -Dskip.ui.deps
### Requests
- Do you have a feature/enhancement request?
- Please open a new thread in the [Kogito stream](https://kie.zulipchat.com/#narrow/stream/232676-kogito) of the KIE Zulip chat to start a discussion there.
- Please open a new thread in the [Kogito stream](https://kie.zulipchat.com/#narrow/stream/232676-kogito) of the KIE Zulip chat to start a discussion there.
55 changes: 0 additions & 55 deletions apps-integration-tests/integration-tests-trusty-audit/README.md

This file was deleted.

Loading

0 comments on commit a5eff71

Please sign in to comment.