mongofire 6.5.3 → 6.5.5

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.
package/package.json CHANGED
@@ -1,36 +1,37 @@
1
1
  {
2
2
  "name": "mongofire",
3
- "version": "6.5.3",
3
+ "version": "6.5.5",
4
4
  "description": "Offline-first MongoDB sync — Local + Atlas feel like ONE database. Automatic conflict resolution, Mongoose plugin, interactive CLI, zero boilerplate.",
5
5
  "main": "./index.cjs",
6
6
  "types": "./dist/types/index.d.ts",
7
7
  "exports": {
8
8
  ".": {
9
+ "types": "./dist/types/index.d.ts",
9
10
  "import": "./index.mjs",
10
11
  "require": "./index.cjs",
11
- "types": "./dist/types/index.d.ts",
12
12
  "default": "./index.cjs"
13
13
  },
14
14
  "./plugin": {
15
- "require": "./dist/src/plugin.js",
16
- "types": "./dist/types/index.d.ts"
15
+ "types": "./dist/types/index.d.ts",
16
+ "import": "./dist/src/plugin.mjs",
17
+ "require": "./dist/src/plugin.js"
17
18
  }
18
19
  },
19
20
  "bin": {
20
- "mongofire": "./bin/mongofire.cjs"
21
+ "mongofire": "./dist/bin/mongofire.cjs"
21
22
  },
22
23
  "scripts": {
23
24
  "build": "node scripts/build.js",
24
- "prepublishOnly": "npm run build",
25
+ "prepublishOnly": "npm run build && node test/smoke.test.js",
25
26
  "test": "node test/smoke.test.js",
26
27
  "verify": "npm pack --dry-run",
27
- "release:patch": "npm version patch && npm publish --access public",
28
- "release:minor": "npm version minor && npm publish --access public",
29
- "release:major": "npm version major && npm publish --access public"
28
+ "release": "bash scripts/release-dual.sh patch",
29
+ "release:patch": "bash scripts/release-dual.sh patch",
30
+ "release:minor": "bash scripts/release-dual.sh minor",
31
+ "release:major": "bash scripts/release-dual.sh major"
30
32
  },
31
33
  "files": [
32
34
  "dist/",
33
- "bin/",
34
35
  "index.cjs",
35
36
  "index.mjs",
36
37
  "README.md",
@@ -40,14 +41,14 @@
40
41
  "keywords": [
41
42
  "mongodb",
42
43
  "mongoose",
43
- "sync",
44
44
  "atlas",
45
+ "sync",
45
46
  "offline-first",
46
47
  "local-first",
47
- "conflict-resolution",
48
- "replication",
49
48
  "offline",
50
49
  "sync-engine",
50
+ "replication",
51
+ "conflict-resolution",
51
52
  "realtime",
52
53
  "change-streams",
53
54
  "typescript"
@@ -57,16 +58,16 @@
57
58
  "node": ">=18.0.0"
58
59
  },
59
60
  "dependencies": {
60
- "dotenv": "^16.0.0",
61
- "inquirer": "^8.0.0"
61
+ "@clack/prompts": "^1.1.0"
62
62
  },
63
63
  "devDependencies": {
64
- "javascript-obfuscator": "^4.1.1"
64
+ "javascript-obfuscator": "^4.1.1",
65
+ "terser": "^5.27.0"
65
66
  },
66
67
  "peerDependencies": {
68
+ "dotenv": ">=16.0.0",
67
69
  "mongodb": ">=4.0.0",
68
- "mongoose": ">=7.0.0",
69
- "dotenv": ">=16.0.0"
70
+ "mongoose": ">=7.0.0"
70
71
  },
71
72
  "peerDependenciesMeta": {
72
73
  "mongoose": {
@@ -78,7 +79,7 @@
78
79
  },
79
80
  "repository": {
80
81
  "type": "git",
81
- "url": "https://github.com/Abid-Khan-Dev/mongofire.git"
82
+ "url": "git+https://github.com/Abid-Khan-Dev/mongofire.git"
82
83
  },
83
84
  "homepage": "https://github.com/Abid-Khan-Dev/mongofire#readme",
84
85
  "bugs": {