Skip to content

Commit

Permalink
chore(keycloakify): update dependencies (#1235)
Browse files Browse the repository at this point in the history
* feat(build): Set explicit image versions in keycloakify docker file

* Use keycloakify 9.4.4

* Treat keycloakify updates separately, restrict grouped updates to minor and patch

* Update react types

* Update typescript

* Upgrade typescript

* Upgrade react

* Use typescript 5.1.6 for now

* Fix strip-ansi to ^6 in resolutions

* Run yarn upgrade

* Use frozen lockfile for install
  • Loading branch information
corneliusroemer authored Mar 5, 2024
1 parent d5f58f5 commit d14c643
Show file tree
Hide file tree
Showing 4 changed files with 2,707 additions and 2,522 deletions.
5 changes: 3 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ updates:
schedule:
interval: monthly
groups:
allUpdates:
minorAndPatch:
update-types:
- "minor"
- "patch"
- "major"
exclude-patterns:
- "keycloakify"
10 changes: 7 additions & 3 deletions keycloak/keycloakify/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
FROM node:latest as builder
FROM node:21-bookworm as builder

USER root
RUN apt-get update && apt-get install -y maven

RUN mvn --version

RUN yarn versions

WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn
RUN yarn install --frozen-lockfile
COPY . .
RUN yarn build-keycloak-theme

FROM alpine:latest
FROM alpine:3.19
RUN mkdir /output
COPY --from=builder /app/build_keycloak/target/*.jar /output/
RUN apk add --no-cache wget curl
Expand Down
19 changes: 11 additions & 8 deletions keycloak/keycloakify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"keywords": [],
"dependencies": {
"evt": "^2.5.7",
"keycloakify": "^9.3.0",
"react": "18.1.0",
"react-dom": "18.1.0"
"keycloakify": "~9.4.4",
"react": "~18.2.0",
"react-dom": "~18.2.0"
},
"devDependencies": {
"@storybook/addon-actions": "^6.5.16",
Expand All @@ -34,12 +34,15 @@
"@storybook/preset-create-react-app": "^4.1.2",
"@storybook/react": "^6.5.16",
"@storybook/testing-library": "^0.0.13",
"@types/node": "^15.3.1",
"@types/react": "18.0.9",
"@types/react-dom": "18.0.4",
"react-scripts": "5.0.1",
"@types/node": "~20.11.24",
"@types/react": "^18.2.62",
"@types/react-dom": "^18.2.19",
"react-scripts": "^5.0.1",
"rimraf": "^5.0.5",
"typescript": "~4.7.0"
"typescript": "~5.1.6"
},
"resolutions": {
"strip-ansi": "6.0.1"
},
"eslintConfig": {
"extends": [
Expand Down
Loading

0 comments on commit d14c643

Please sign in to comment.