Skip to content

Commit

Permalink
Fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed Sep 21, 2024
1 parent 76bac8f commit 5f11b04
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,12 @@ This re-packaged distribution serves two key purposes:
2. **Enabling partial customization of the Account UI**:
You can take ownership of specific parts of the Account UI by simply copying and modifying [source files](https://unpkg.com/browse/@keycloakify/keycloak-account-ui@25.0.4-rc.6/src/) as needed. The rest of the UI can remain in the original module, so your codebase will only include the files you've customized.


> **Note:** This package's GitHub repository does not contain any code as it is automatically generated at build time by [scripts/prepare.ts](/scripts/prepare.ts).
> You can browse the sources includes int the NPM package [here](https://unpkg.com/browse/@keycloakify/keycloak-account-ui@25.0.4-rc.6/src/).
## Installation
## Installation

This package is meant to be used via Keycloakify. Learn how to use this module on [the Keycloakify documentation website](https://keycloakify.dev).
This package is meant to be used via Keycloakify. Learn how to use this module on [the Keycloakify documentation website](https://keycloakify.dev).

> **Note:** This README file is automatically generated at build so the information above are guaranteed to be up to date.
> You are currently viewing the README of [`@keycloakify/keycloak-account-ui@25.0.4-rc.6`](https://www.npmjs.com/package/@keycloakify/keycloak-account-ui/v/25.0.4-rc.6) that
Expand Down
18 changes: 8 additions & 10 deletions scripts/README-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,21 @@ This project re-packages [`@keycloak/keycloak-account-ui`](https://www.npmjs.com
All credits goes to the keycloak team for the original work. Mainly [@jonkoops
](https://github.com/jonkoops) and [@edewit](https://github.com/edewit).

This re-packaged distribution exists to make it possible to take ownership of
some specific part of the Account UI to create your own custom version of it.
In straight forward therms it make the Account UI ejectable, you can copy
past [the source files](https://unpkg.com/browse/@keycloakify/keycloak-account-ui@{{THIS_VERSION}}/src/) that you want to modify into your codebase.
This re-packaged distribution serves two key purposes:

For more details on integrating this package into your project, refer to the [Keycloakify documentation](https://keycloakify.dev).
1. **Ensuring retro-compatibility with Keycloak**:
It allows the Account UI to work seamlessly with older versions of Keycloak (down to version 19) and future major versions. This enables you to create a custom Account UI with minimal maintenance, without worrying about which Keycloak version it will be deployed on.

2. **Enabling partial customization of the Account UI**:
You can take ownership of specific parts of the Account UI by simply copying and modifying [source files](https://unpkg.com/browse/@keycloakify/keycloak-account-ui@{{THIS_VERSION}}/src/) as needed. The rest of the UI can remain in the original module, so your codebase will only include the files you've customized.

> **Note:** This package's GitHub repository does not contain any code as it is automatically generated at build time by [scripts/prepare.ts](/scripts/prepare.ts).
> You can browse the sources includes int the NPM package [here](https://unpkg.com/browse/@keycloakify/keycloak-account-ui@{{THIS_VERSION}}/src/).
## Installation

This package is meant to be used via Keycloakify. Learn how to use this module on [the Keycloakify documentation website](https://keycloakify.dev).

> **Note:** This README file is automatically generated at build so the information above are guaranteed to be up to date.
> You are currently viewing the README of [`@keycloakify/keycloak-account-ui@{{THIS_VERSION}}`](https://www.npmjs.com/package/@keycloakify/keycloak-account-ui/v/{{THIS_VERSION}}) that
> mirrors [`@keycloak/keycloak-account-ui@{{ACCOUNT_UI_VERSION}}`](https://www.npmjs.com/package/@keycloak/keycloak-account-ui/v/{{ACCOUNT_UI_VERSION}}).
Expand All @@ -48,8 +51,3 @@ It's important to respect the exact version range listed here to avoid any compa
```json
{{DEPENDENCIES}}
```

## Ejecting

You can take partial ownership of some parts of the Account UI by copy pasting the sources files you want to modify into your codebase.
You can browse the sources files **[here](https://unpkg.com/browse/@keycloakify/keycloak-account-ui@{{THIS_VERSION}}/src/)**.

0 comments on commit 5f11b04

Please sign in to comment.