@stoker-platform/cli 0.5.105 → 0.5.109

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.
@@ -1,4 +1,7 @@
1
1
  {
2
+ "overrides": {
3
+ "vite": "^7.3.5"
4
+ },
2
5
  "name": "stoker",
3
6
  "private": true,
4
7
  "version": "0.0.1",
@@ -26,7 +29,7 @@
26
29
  "@stoker-platform/utils": "latest",
27
30
  "@stoker-platform/web-app": "latest",
28
31
  "@stoker-platform/web-client": "latest",
29
- "firebase-admin": "latest"
32
+ "firebase-admin": "^13.10.0"
30
33
  },
31
34
  "devDependencies": {
32
35
  "@typescript-eslint/eslint-plugin": "latest",
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoker-platform/cli",
3
- "version": "0.5.104",
3
+ "version": "0.5.108",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "./lib/src/main.js",
@@ -11,11 +11,12 @@ export const generateStorageRules = async () => {
11
11
  const __dirname = dirname(__filename);
12
12
  const schema = await generateSchema();
13
13
  await lintSchema(true);
14
+ const edition = process.env.FB_FIRESTORE_EDITION || "enterprise";
14
15
  const rulesResponse = await fetch(process.env.URL_STORAGE_RULES, {
15
16
  headers: {
16
17
  "Content-Type": "application/json",
17
18
  },
18
- body: JSON.stringify({ schema }),
19
+ body: JSON.stringify({ schema, edition }),
19
20
  method: "POST",
20
21
  });
21
22
  const rules = await rulesResponse.text();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoker-platform/cli",
3
- "version": "0.5.105",
3
+ "version": "0.5.109",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "./lib/src/main.js",