Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync main branch with Apache main branch #22

Merged
merged 4 commits into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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
Loading