@rebasepro/firebase 0.17.3 → 0.18.1

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 Rebase
3
+ Copyright (c) 2026 Rebase
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -8,6 +8,10 @@ Firebase client adapter for Rebase — connects the Rebase admin panel to Fireba
8
8
  pnpm add @rebasepro/firebase
9
9
  ```
10
10
 
11
+ ESM-only: `"type": "module"` with no CommonJS build, so it is loaded with
12
+ `import`. `require()` of it resolves only on Node 22.12+, which supports
13
+ `require(esm)`.
14
+
11
15
  **Peer dependencies:** `firebase ^10.12.2 || ^11.0.0 || ^12.0.0`, `react >= 19.0.0`, `react-dom >= 19.0.0`, `typesense ^1.8.0` (optional)
12
16
 
13
17
  ## What This Package Does
package/package.json CHANGED
@@ -1,31 +1,50 @@
1
1
  {
2
2
  "name": "@rebasepro/firebase",
3
- "type": "module",
4
- "version": "0.17.3",
3
+ "version": "0.18.1",
4
+ "description": "Firebase data source for Rebase — run the Rebase admin panel and SDK against Firestore.",
5
+ "keywords": [
6
+ "rebase",
7
+ "firebase",
8
+ "firestore",
9
+ "cms",
10
+ "admin-panel"
11
+ ],
12
+ "homepage": "https://rebase.pro",
13
+ "bugs": {
14
+ "url": "https://github.com/rebasepro/rebase/issues"
15
+ },
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "https://github.com/rebasepro/rebase.git",
19
+ "directory": "packages/firebase"
20
+ },
5
21
  "license": "MIT",
22
+ "engines": {
23
+ "node": ">=22.22.0"
24
+ },
25
+ "type": "module",
6
26
  "publishConfig": {
7
27
  "access": "public"
8
28
  },
9
29
  "main": "./dist/index.es.js",
10
30
  "module": "./dist/index.es.js",
11
31
  "types": "./dist/index.d.ts",
12
- "source": "src/index.ts",
13
32
  "dependencies": {
14
33
  "fast-equals": "6.0.2",
15
34
  "fuse.js": "^7.5.0",
16
35
  "react-router": "^8.3.0",
17
- "@rebasepro/cms": "0.17.3",
18
- "@rebasepro/app": "0.17.3",
19
- "@rebasepro/cms-types": "0.17.3",
20
- "@rebasepro/common": "0.17.3",
21
- "@rebasepro/ui": "0.17.3",
22
- "@rebasepro/types": "0.17.3",
23
- "@rebasepro/utils": "0.17.3"
36
+ "@rebasepro/app": "0.18.1",
37
+ "@rebasepro/cms": "0.18.1",
38
+ "@rebasepro/types": "0.18.1",
39
+ "@rebasepro/common": "0.18.1",
40
+ "@rebasepro/ui": "0.18.1",
41
+ "@rebasepro/utils": "0.18.1",
42
+ "@rebasepro/cms-types": "0.18.1"
24
43
  },
25
44
  "peerDependencies": {
26
45
  "firebase": "^10.12.2 || ^11.0.0 || ^12.0.0",
27
- "react": ">=19.0.0",
28
- "react-dom": ">=19.0.0",
46
+ "react": "^19.2.7",
47
+ "react-dom": "^19.2.7",
29
48
  "typesense": "^1.8.0"
30
49
  },
31
50
  "peerDependenciesMeta": {
@@ -37,7 +56,8 @@
37
56
  ".": {
38
57
  "types": "./dist/index.d.ts",
39
58
  "development": "./dist/index.es.js",
40
- "import": "./dist/index.es.js"
59
+ "import": "./dist/index.es.js",
60
+ "default": "./dist/index.es.js"
41
61
  },
42
62
  "./package.json": "./package.json"
43
63
  },
@@ -62,15 +82,9 @@
62
82
  "vite": "^8.1.5"
63
83
  },
64
84
  "files": [
65
- "dist",
66
- "src"
85
+ "dist"
67
86
  ],
68
87
  "gitHead": "d935eefa5aa8d1009a2398cfac2c1e4ee9aeb6b6",
69
- "repository": {
70
- "type": "git",
71
- "url": "https://github.com/rebasepro/rebase.git",
72
- "directory": "packages/firebase"
73
- },
74
88
  "scripts": {
75
89
  "dev": "vite",
76
90
  "build": "vite build && tsc --emitDeclarationOnly -p tsconfig.prod.json && node ../../tooling/scripts/add-dts-extensions.mjs dist && node ../../tooling/scripts/assert-build-output.mjs",