Skip to content

Commit

Permalink
Update dependencies for all packages
Browse files Browse the repository at this point in the history
  • Loading branch information
pkosiec committed May 11, 2024
1 parent 7f054db commit eb8e282
Show file tree
Hide file tree
Showing 14 changed files with 2,901 additions and 2,800 deletions.
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 eb8e282

Please sign in to comment.