dexie-cloud-addon 4.0.1-beta.32 → 4.0.1-beta.34

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,9 +1,11 @@
1
1
  {
2
2
  "name": "dexie-cloud-addon",
3
- "version": "4.0.1-beta.32",
3
+ "version": "4.0.1-beta.34",
4
4
  "description": "Dexie addon that syncs with to Dexie Cloud",
5
5
  "main": "dist/umd/dexie-cloud-addon.js",
6
+ "type": "module",
6
7
  "module": "dist/module-es5/dexie-cloud-addon.js",
8
+ "homepage": "https://dexie.org/cloud/docs/dexie-cloud-addon",
7
9
  "exports": {
8
10
  ".": {
9
11
  "development": {
@@ -87,13 +89,13 @@
87
89
  "# Copy dexie-cloud-client.d.ts to dist",
88
90
  "#node -e \"fs.writeFileSync('dist/dexie-cloud-addon.d.ts', fs.readFileSync('tools/tmp/modern/dexie-cloud-client.d.ts'))\"",
89
91
  "# Replace {version} and {date} in output files",
90
- "node tools/replaceVersionAndDate.js dist/umd/dexie-cloud-addon.js dist/module-es5/dexie-cloud-addon.js dist/modern/dexie-cloud-addon.js"
92
+ "node tools/replaceVersionAndDate.cjs dist/umd/dexie-cloud-addon.js dist/module-es5/dexie-cloud-addon.js dist/modern/dexie-cloud-addon.js"
91
93
  ],
92
94
  "service-worker": [
93
95
  "# Create a modern bundle in dist/modern",
94
96
  "rollup -c tools/build-configs/rollup.sw.modern.config.js",
95
97
  "# Replace {version} and {date} in output files",
96
- "node tools/replaceVersionAndDate.js dist/umd/service-worker.js dist/modern/service-worker.js"
98
+ "node tools/replaceVersionAndDate.cjs dist/umd/service-worker.js dist/modern/service-worker.js"
97
99
  ],
98
100
  "test": [
99
101
  "just-build test-unit"
@@ -127,10 +129,12 @@
127
129
  "tslib": "*",
128
130
  "typescript": "^4.9.4"
129
131
  },
130
- "peerDependencies": {
131
- "dexie": "^4.0.1-alpha.5",
132
+ "dependencies": {
132
133
  "rxjs": "^7.x"
133
134
  },
135
+ "peerDependencies": {
136
+ "dexie": "^4.0.1-alpha.5"
137
+ },
134
138
  "scripts": {
135
139
  "test": "just-build test && pnpm run test-unit",
136
140
  "test-unit": "karma start test/unit/karma.conf.js --single-run",