diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 00000000..c74e95f9 --- /dev/null +++ b/.dockerignore @@ -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 diff --git a/Dockerfile b/Dockerfile index aa075c0d..48dce206 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/README.md b/README.md index fc0a0868..4cf43c18 100644 --- a/README.md +++ b/README.md @@ -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`. @@ -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 `` is declared correctly. I.e. `` 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. diff --git a/package.json b/package.json index eb09d815..01990ceb 100644 --- a/package.json +++ b/package.json @@ -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": { ".": {