Skip to content

Commit

Permalink
Merge pull request #25 from rally25rs/dep-upgrades
Browse files Browse the repository at this point in the history
Dependency and NodeJS Upgrades.
  • Loading branch information
rally25rs committed Dec 6, 2023
2 parents 4db2eea + c18fcfd commit 01e2c13
Show file tree
Hide file tree
Showing 8 changed files with 2,070 additions and 3,838 deletions.
Binary file modified .yarn/install-state.gz
Binary file not shown.
10 changes: 10 additions & 0 deletions CHANGELOG.md
@@ -0,0 +1,10 @@
## v0.2.0

- Upgrade yarn from classic `v1` to modern `v4.0.2` (Used locally for build and test)
- Upgrade yarn from classic `v1` to modern `v4.0.2` (Used in deployed Docker images)
- Update deployed docker images from `node:13-alpine` to `node:20-alpine`
- Upgrade all dependencies.

## v0.1.0

- Initial Release
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "k8s-wait",
"version": "0.1.0",
"version": "0.2.0",
"description": "Wait for Kubernetes pods to be availabe.",
"main": "index.js",
"author": "Jeff Valore (rally25rs)",
Expand Down
5 changes: 3 additions & 2 deletions packages/k8s-when-ready-client/Dockerfile
@@ -1,10 +1,11 @@
FROM node:13-alpine
FROM node:20-alpine

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

COPY package.json /usr/src/app
RUN yarn install --production --non-interactive
RUN corepack enable
RUN yarn workspaces focus --production

COPY . /usr/src/app

Expand Down
6 changes: 3 additions & 3 deletions packages/k8s-when-ready-client/package.json
@@ -1,6 +1,6 @@
{
"name": "k8s-when-ready-client",
"version": "0.1.0",
"version": "0.2.0",
"description": "Wait for Kubernetes pods to be availabe.",
"main": "index.js",
"author": "Jeff Valore (rally25rs)",
Expand All @@ -11,10 +11,10 @@
"build": "docker build ."
},
"dependencies": {
"yargs": "^15.0.2"
"yargs": "^17.7.2"
},
"devDependencies": {
"jest": "^24.9.0"
"jest": "^29.7.0"
},
"jest": {
"setupFilesAfterEnv": [
Expand Down
5 changes: 3 additions & 2 deletions packages/k8s-when-ready-server/Dockerfile
@@ -1,10 +1,11 @@
FROM node:13-alpine
FROM node:20-alpine

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

COPY package.json /usr/src/app
RUN yarn install --production --non-interactive
RUN corepack enable
RUN yarn workspaces focus --production

COPY . /usr/src/app

Expand Down
8 changes: 4 additions & 4 deletions packages/k8s-when-ready-server/package.json
@@ -1,6 +1,6 @@
{
"name": "k8s-when-ready-server",
"version": "0.1.0",
"version": "0.2.0",
"description": "Wait for Kubernetes pods to be availabe.",
"main": "index.js",
"author": "Jeff Valore (rally25rs)",
Expand All @@ -11,11 +11,11 @@
"build": "docker build ."
},
"dependencies": {
"@kubernetes/client-node": "^0.11.0",
"express": "^4.17.1"
"@kubernetes/client-node": "^0.20.0",
"express": "^4.18.2"
},
"devDependencies": {
"jest": "^24.9.0"
"jest": "^29.7.0"
},
"jest": {
"setupFilesAfterEnv": [
Expand Down

0 comments on commit 01e2c13

Please sign in to comment.