Skip to content

Commit

Permalink
Update dependencies for all packages (#221)
Browse files Browse the repository at this point in the history
* Update dependencies for all packages
* Use global Codecov token for code coverage report upload
  • Loading branch information
pkosiec authored May 11, 2024
1 parent 7f054db commit 7723d6f
Show file tree
Hide file tree
Showing 16 changed files with 2,907 additions and 2,800 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- main

env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

jobs:
build-node-apps:
name: Build and test Node.js apps
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
branches:
- main

env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

jobs:
build-node-apps:
name: Build and test Node.js apps
Expand Down
574 changes: 210 additions & 364 deletions cli/package-lock.json

Large diffs are not rendered by default.

556 changes: 201 additions & 355 deletions core/package-lock.json

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,8 @@ export class Seeder {

if (!config.dropDatabase && config.removeAllDocuments) {
this.log('Removing all documents from collections...');
const promises = collections.map(
(collection) =>
database?.removeAllDocumentsIfCollectionExists(collection.name),
const promises = collections.map((collection) =>
database?.removeAllDocumentsIfCollectionExists(collection.name),
);
await Promise.all(promises);
}
Expand Down
4 changes: 2 additions & 2 deletions docker-image/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Stage 1: Core
#

FROM node:20.10-alpine AS builder
FROM node:20.13.1 AS builder

WORKDIR /app

Expand All @@ -23,7 +23,7 @@ RUN npx lerna run build --scope mongo-seeding-cli
# Stage 3: Final Docker image
#

FROM node:20.10-alpine
FROM node:20.13.1
LABEL org.opencontainers.image.title="Mongo Seeding" \
org.opencontainers.image.description="The ultimate solution for populating your MongoDB database." \
org.opencontainers.image.url="https://mongo-seeding.kosiec.dev" \
Expand Down
2 changes: 1 addition & 1 deletion docker-image/prod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.10-alpine
FROM node:20.13.1
LABEL org.opencontainers.image.title="Mongo Seeding" \
org.opencontainers.image.description="The ultimate solution for populating your MongoDB database." \
org.opencontainers.image.url="https://mongo-seeding.kosiec.dev" \
Expand Down
2 changes: 1 addition & 1 deletion docker-image/test/tester/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.10-alpine
FROM node:20.13.1

WORKDIR /app

Expand Down
496 changes: 188 additions & 308 deletions docker-image/test/tester/package-lock.json

Large diffs are not rendered by default.

46 changes: 23 additions & 23 deletions examples/custom-docker-image/sample-data/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7723d6f

Please sign in to comment.