Skip to content

Commit

Permalink
Bump dependencies (#60)
Browse files Browse the repository at this point in the history
* Bump dependencies

* Bump dependencies

* Update .dockerignore

* Fix .dockerignore

* Update Dockerfiles

* Update Dockerfile

* yarn install

* Backstage 1.32.4

* yarn upgrade

* yarn backstage-cli versions:bump --pattern '@{backstage,humanitec}/*'

* cookie: 0.7.0
  • Loading branch information
mathieu-benoit authored Oct 31, 2024
1 parent 3cbec6c commit 1a2a355
Show file tree
Hide file tree
Showing 8 changed files with 1,154 additions and 911 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ packages/*/dist
packages/*/node_modules
plugins/*/dist
plugins/*/node_modules
*.local.yaml
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ COPY plugins plugins
RUN find packages \! -name "package.json" -mindepth 2 -maxdepth 2 -exec rm -rf {} \+

# Stage 2 - Install dependencies and build packages
FROM node:18-bookworm-slim AS build
FROM node:20-bookworm-slim AS build

# Install isolate-vm dependencies, these are needed by the @backstage/plugin-scaffolder-backend.
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
Expand Down Expand Up @@ -62,7 +62,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
apt-get install -y --no-install-recommends python3 python3-pip python3-venv g++ build-essential && \
yarn config set python /usr/bin/python3 && \
python3 -m venv $VIRTUAL_ENV && \
pip3 install mkdocs-techdocs-core==1.2.3
pip3 install mkdocs-techdocs-core==1.4.2

# Install sqlite3 dependencies. You can skip this if you don't use sqlite3 in the image,
# in which case you should also move better-sqlite3 to "devDependencies" in package.json.
Expand Down
2 changes: 1 addition & 1 deletion backstage.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "1.32.1"
"version": "1.32.4"
}
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
]
},
"devDependencies": {
"@backstage/cli": "^0.28.0",
"@backstage/cli": "^0.28.2",
"@backstage/e2e-test-utils": "^0.1.1",
"@playwright/test": "^1.32.3",
"@spotify/prettier-config": "^12.0.0",
"concurrently": "^6.0.0",
"concurrently": "^9.0.1",
"lerna": "^7.3.0",
"node-gyp": "^10.0.0",
"prettier": "^2.3.2",
Expand All @@ -43,7 +43,8 @@
"resolutions": {
"@types/react": "^18",
"@types/react-dom": "^18",
"jsonpath-plus": "^10.0.0"
"jsonpath-plus": "^10.0.0",
"cookie": "^0.7.0"
},
"prettier": "@spotify/prettier-config",
"lint-staged": {
Expand Down
16 changes: 8 additions & 8 deletions packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
},
"dependencies": {
"@backstage-community/plugin-github-actions": "^0.6.15",
"@backstage-community/plugin-tech-radar": "^0.7.4",
"@backstage-community/plugin-tech-radar": "^1.0.0",
"@backstage/app-defaults": "^1.5.12",
"@backstage/catalog-model": "^1.7.0",
"@backstage/cli": "^0.28.0",
"@backstage/cli": "^0.28.2",
"@backstage/core-app-api": "^1.15.1",
"@backstage/core-components": "^0.15.1",
"@backstage/core-plugin-api": "^1.10.0",
Expand All @@ -31,19 +31,19 @@
"@backstage/plugin-catalog-react": "^1.14.0",
"@backstage/plugin-org": "^0.6.31",
"@backstage/plugin-permission-react": "^0.4.27",
"@backstage/plugin-scaffolder": "^1.26.0",
"@backstage/plugin-scaffolder-react": "^1.13.0",
"@backstage/plugin-scaffolder": "^1.26.2",
"@backstage/plugin-scaffolder-react": "^1.13.2",
"@backstage/plugin-search": "^1.4.18",
"@backstage/plugin-search-react": "^1.8.1",
"@backstage/plugin-techdocs": "^1.11.0",
"@backstage/plugin-techdocs-module-addons-contrib": "^1.1.16",
"@backstage/plugin-techdocs-react": "^1.2.9",
"@backstage/plugin-user-settings": "^0.8.14",
"@backstage/theme": "^0.6.0",
"@humanitec/backstage-plugin": "^0.8.0",
"@humanitec/backstage-plugin": "^0.9.5",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"backstage-plugin-techdocs-addon-mermaid": "^0.11.0",
"backstage-plugin-techdocs-addon-mermaid": "^0.14.0",
"history": "^5.0.0",
"react": "^18.0.2",
"react-dom": "^18.0.2",
Expand All @@ -54,9 +54,9 @@
"devDependencies": {
"@backstage/test-utils": "^1.7.0",
"@playwright/test": "^1.32.3",
"@testing-library/dom": "^9.0.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^14.0.0",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.0.0",
"@types/react-dom": "*",
"cross-env": "^7.0.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#
# Once the commands have been run, you can build the image using `yarn build-image`

FROM node:18-bookworm-slim
FROM node:20-bookworm-slim

# Install isolate-vm dependencies, these are needed by the @backstage/plugin-scaffolder-backend.
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
Expand All @@ -26,7 +26,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
apt-get install -y --no-install-recommends libsqlite3-dev

RUN apt-get update && apt-get install -y python3 python3-pip
RUN pip3 install mkdocs-techdocs-core==1.2.0
RUN pip3 install mkdocs-techdocs-core==1.4.2

# From here on we use the least-privileged `node` user to run the backend.
USER node
Expand Down
32 changes: 16 additions & 16 deletions packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,43 +17,43 @@
},
"dependencies": {
"@backstage/backend-common": "^0.25.0",
"@backstage/backend-defaults": "^0.5.1",
"@backstage/backend-defaults": "^0.5.2",
"@backstage/backend-tasks": "^0.6.1",
"@backstage/config": "^1.2.0",
"@backstage/plugin-app-backend": "^0.3.76",
"@backstage/plugin-auth-backend": "^0.23.1",
"@backstage/plugin-auth-backend-module-github-provider": "^0.2.1",
"@backstage/plugin-auth-backend-module-guest-provider": "^0.2.1",
"@backstage/plugin-auth-node": "^0.5.3",
"@backstage/plugin-catalog-backend": "^1.27.0",
"@backstage/plugin-catalog-backend-module-logs": "^0.1.2",
"@backstage/plugin-catalog-backend": "^1.27.1",
"@backstage/plugin-catalog-backend-module-logs": "^0.1.3",
"@backstage/plugin-catalog-backend-module-scaffolder-entity-model": "^0.2.1",
"@backstage/plugin-permission-backend": "^0.5.50",
"@backstage/plugin-permission-backend-module-allow-all-policy": "^0.2.1",
"@backstage/plugin-permission-common": "^0.8.1",
"@backstage/plugin-permission-node": "^0.8.4",
"@backstage/plugin-proxy-backend": "^0.5.7",
"@backstage/plugin-scaffolder-backend": "^1.26.1",
"@backstage/plugin-scaffolder-backend": "^1.26.2",
"@backstage/plugin-scaffolder-backend-module-github": "^0.5.1",
"@backstage/plugin-scaffolder-backend-module-gitea": "^0.2.1",
"@backstage/plugin-search-backend": "^1.6.0",
"@backstage/plugin-search-backend-module-catalog": "^0.2.3",
"@backstage/plugin-search-backend-module-techdocs": "^0.3.0",
"@backstage/plugin-search-backend-node": "^1.3.3",
"@backstage/plugin-techdocs-backend": "^1.11.0",
"@humanitec/backstage-plugin-backend": "^0.8.2",
"@humanitec/backstage-plugin-scaffolder-backend-module": "^0.5.2",
"@backstage/plugin-search-backend": "^1.6.1",
"@backstage/plugin-search-backend-module-catalog": "^0.2.4",
"@backstage/plugin-search-backend-module-techdocs": "^0.3.1",
"@backstage/plugin-search-backend-node": "^1.3.4",
"@backstage/plugin-techdocs-backend": "^1.11.1",
"@humanitec/backstage-plugin-backend": "^0.8.4",
"@humanitec/backstage-plugin-scaffolder-backend-module": "^0.5.4",
"app": "link:../app",
"better-sqlite3": "^9.0.0",
"better-sqlite3": "^11.5.0",
"node-gyp": "^10.0.0",
"pg": "^8.11.3",
"winston": "^3.2.1"
},
"devDependencies": {
"@backstage/cli": "^0.28.0",
"@types/express": "^4.17.6",
"@types/express-serve-static-core": "^4.17.5",
"@types/luxon": "^2.0.4"
"@backstage/cli": "^0.28.2",
"@types/express": "^5.0.0",
"@types/express-serve-static-core": "^5.0.1",
"@types/luxon": "^3.4.2"
},
"files": [
"dist"
Expand Down
Loading

0 comments on commit 1a2a355

Please sign in to comment.