Skip to content
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 65 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Using "**/" prefix to make ignores work in root and in subdirectories at any level.
#
# From https://docs.docker.com/build/concepts/context/#dockerignore-files
# "Docker also supports a special wildcard string ** that matches any
# number of directories (including zero). For example, **/*.go excludes
# all files that end with .go found anywhere in the build context."
#
# NOTE:
# You can add an exception for a specific file by prefixing the line with an !
# if you need to include a file that would otherwise be ignored.

# Node modules
**/node_modules

# Environment variable files
**/*.env
**/*.env.example
**/.env
**/.env.*

# Certificate/keystore/key files
**/*.ca-bundle
**/*.cer
**/*.cert
**/*.crt
**/*.jks
**/*.key
**/*.keystore
**/*.p7b
**/*.p7c
**/*.p7s
**/*.p12
**/*.pem
**/*.pfx
**/*.ppk
**/*.pvk

# Build files
**/build
**/dist
**/target

# Miscellaneous
**/*.log
**/*.temp
**/*.tmp
**/.cache
**/.dockerignore
**/.DS_Store
**/.eslintcache
**/.git
**/.gitattributes
**/.github
**/.gitignore
**/.idea
**/.ssh
**/.venv
**/.vscode
**/compose.*
**/docker-compose.*
**/Dockerfile
**/temp
**/tmp
**/tsconfig.tsbuildinfo
**/venv
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ===============================================
FROM registry.access.redhat.com/ubi9/nodejs-20 AS appbase
FROM registry.access.redhat.com/ubi9/nodejs-22 AS appbase
# ===============================================

# Set environment
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ On a new release, a new version is released to npm.

Storybook is a frontend workshop for building UI components and pages in isolation https://storybook.js.org/. The Storybook can be used to develop and to test the components, but also to document the components and their features.

The project is using the Storybook 8.
The project is using the Storybook 10.

**NOTE: Storybook version 8 may require the `playwright-chromium` installation.**
**NOTE: Storybook version 10 may require the `playwright-chromium` installation.**

The `yarn dev` command will start `storybook` in port `6006`. When you make changes in `src`, they'll be automatically updated to `storybook`.

Expand Down Expand Up @@ -378,5 +378,4 @@ yarn publish-canary
## Known issues

- Jest has difficulties loading this library. When this library is required in a test file, it's possible that some imports are cjs and some are esm. These two variants do not share a react context which can result in `useConfig` calls that return an empty config object even though `<ConfigProvider>` is declared correctly. I.e. `<ConfigProvider>` sets values for `context1` and `useConfig` reads `context2`.
- `yarn generate:graphql` does not work with Node.js v16 or greater
- Some of the built packages created with `yarn build` does some issues with some types. This leads to a situation where the application that uses the library cannot read all the exported types. Especially the exported enums inside a built package might be handled incorrectly (https://github.com/rollup/rollup/issues/4291), but there are other type related issues also, but not on every built package.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"generate:graphql": "cross-env DOTENV_CONFIG_PATH=./.env graphql-codegen -r dotenv/config --config codegen.yml"
},
"engines": {
"node": ">=18.17.1"
"node": ">=22.11.0"
},
"exports": {
".": {
Expand Down