@tomsd/mongodbclient 4.0.2 → 4.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -3
  2. package/package.json +11 -9
package/README.md CHANGED
@@ -5,13 +5,11 @@ See [mongodbclient.netlify.app](https://mongodbclient.netlify.app/) for details.
5
5
 
6
6
  ![npm](https://img.shields.io/npm/v/@tomsd/mongodbclient?style=for-the-badge&logo=npm)
7
7
  ![NPM](https://img.shields.io/npm/l/@tomsd/mongodbclient?style=for-the-badge&logo=npm)
8
- ![release date](https://img.shields.io/github/release-date/tomsdoo/mongodbclient?style=for-the-badge&logo=npm)
9
- ![Libraries.io dependency status for latest release](https://img.shields.io/librariesio/release/npm/@tomsd/mongodbclient?style=for-the-badge&logo=npm)
10
8
 
11
9
  ![ci](https://img.shields.io/github/actions/workflow/status/tomsdoo/mongodbclient/ci.yml?style=social&logo=github)
12
10
  ![checks](https://img.shields.io/github/check-runs/tomsdoo/mongodbclient/main?style=social&logo=github)
13
11
  ![top language](https://img.shields.io/github/languages/top/tomsdoo/mongodbclient?style=social&logo=typescript)
14
- ![Maintenance](https://img.shields.io/maintenance/yes/2024?style=social&logo=github)
12
+ ![Maintenance](https://img.shields.io/maintenance/yes/2025?style=social&logo=github)
15
13
  ![depends on mongodb@6](https://img.shields.io/badge/mongodb-mongodb@6-informational?style=social&logo=mongodb)
16
14
  ![depends on node greater or equal 18](https://img.shields.io/badge/node.js-%3E%3D%2018-lightyellow?style=social&logo=nodedotjs)
17
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomsd/mongodbclient",
3
- "version": "4.0.2",
3
+ "version": "4.0.4",
4
4
  "description": "It's a handy mongodb client for easy-use.",
5
5
  "exports": {
6
6
  ".": {
@@ -16,9 +16,11 @@
16
16
  "build": "tsup",
17
17
  "lint": "biome check",
18
18
  "prepare": "husky",
19
+ "start-db": "docker run --name mongodb-mongodbclient --rm -d -p 27017:27017 -e MONGO_INITDB_ROOT_USERNAME=user -e MONGO_INITDB_ROOT_PASSWORD=password mongodb/mongodb-community-server:6.0.3-ubuntu2204",
20
+ "stop-db": "docker container stop mongodb-mongodbclient",
19
21
  "serve:doc": "mdbook --serve --directory docs",
20
- "test:local": "docker run --name mongodb-mongodbclient --rm -d -p 27017:27017 -e MONGO_INITDB_ROOT_USERNAME=user -e MONGO_INITDB_ROOT_PASSWORD=password mongodb/mongodb-community-server:6.0.3-ubuntu2204 && npx vitest run && docker container stop mongodb-mongodbclient",
21
- "test": "vitest"
22
+ "test": "vitest --project node",
23
+ "test:local": "vitest --project local"
22
24
  },
23
25
  "lint-staged": {
24
26
  "docs/**/*.html": [
@@ -41,19 +43,19 @@
41
43
  "url": "https://github.com/tomsdoo/mongodbclient"
42
44
  },
43
45
  "dependencies": {
44
- "mongodb": "6.11.0",
46
+ "mongodb": "6.12.0",
45
47
  "uuid": "11.0.3"
46
48
  },
47
49
  "devDependencies": {
48
50
  "@biomejs/biome": "1.9.4",
49
- "@tomsd/md-book": "1.3.3",
50
- "@types/node": "22.9.3",
51
+ "@tomsd/md-book": "1.3.4",
52
+ "@types/node": "22.10.2",
51
53
  "@types/uuid": "10.0.0",
52
- "dotenv": "16.4.5",
54
+ "dotenv": "16.4.7",
53
55
  "husky": "9.1.7",
54
- "lint-staged": "15.2.10",
56
+ "lint-staged": "15.3.0",
55
57
  "tsup": "8.3.5",
56
58
  "typescript": "5.7.2",
57
- "vitest": "2.1.5"
59
+ "vitest": "2.1.8"
58
60
  }
59
61
  }