Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency and NodeJS Upgrades. #25

Merged
merged 3 commits into from
Dec 6, 2023
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
Binary file modified .yarn/install-state.gz
Binary file not shown.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Loading