@rebasepro/cli 0.12.0 → 0.12.1-canary.g009ed95

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebasepro/cli",
3
- "version": "0.12.0",
3
+ "version": "0.12.1-canary.g009ed95",
4
4
  "description": "Developer tools for Rebase projects",
5
5
  "main": "./dist/index.es.js",
6
6
  "module": "./dist/index.es.js",
@@ -31,20 +31,20 @@
31
31
  "execa": "^9.6.1",
32
32
  "inquirer": "14.0.2",
33
33
  "jiti": "^2.7.0",
34
- "@rebasepro/codegen": "0.12.0",
35
- "@rebasepro/agent-skills": "0.12.0",
36
- "@rebasepro/server": "0.12.0",
37
- "@rebasepro/types": "0.12.0",
38
- "@rebasepro/client": "0.12.0",
39
- "@rebasepro/server-postgres": "0.12.0"
34
+ "@rebasepro/agent-skills": "0.12.1-canary.g009ed95",
35
+ "@rebasepro/codegen": "0.12.1-canary.g009ed95",
36
+ "@rebasepro/server": "0.12.1-canary.g009ed95",
37
+ "@rebasepro/server-postgres": "0.12.1-canary.g009ed95",
38
+ "@rebasepro/client": "0.12.1-canary.g009ed95",
39
+ "@rebasepro/types": "0.12.1-canary.g009ed95"
40
40
  },
41
41
  "devDependencies": {
42
- "@types/node": "^25.9.3",
42
+ "@types/node": "^26.1.2",
43
43
  "@types/pg": "^8.20.0",
44
- "pg": "^8.21.0",
44
+ "pg": "^8.22.0",
45
45
  "typescript": "^6.0.3",
46
- "vite": "^8.0.16",
47
- "vitest": "4.1.8"
46
+ "vite": "^8.1.5",
47
+ "vitest": "4.1.10"
48
48
  },
49
49
  "files": [
50
50
  "bin/",
@@ -11,8 +11,8 @@
11
11
  "@rebasepro/server-postgres": "workspace:*",
12
12
  "@rebasepro/types": "workspace:*",
13
13
  "drizzle-orm": "^0.45.2",
14
- "hono": "^4.12.10",
15
- "@hono/node-server": "^1.19.12",
14
+ "hono": "^4.12.27",
15
+ "@hono/node-server": "^2.0.12",
16
16
  "pg": "^8.11.3",
17
17
  "ws": "^8.16.0",
18
18
  "dotenv": "^16.0.0",
@@ -17,12 +17,11 @@
17
17
  "generate:sdk": "rebase generate-sdk",
18
18
  "skills:install": "rebase skills install",
19
19
  "example": "tsx scripts/example.ts",
20
- "deploy": "rebase build && rebase start"
20
+ "deploy": "rebase cloud deploy"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@rebasepro/cli": "workspace:*",
24
24
  "@rebasepro/types": "workspace:*",
25
- "concurrently": "^8.2.2",
26
25
  "tsx": "^4.20.6",
27
26
  "typescript": "^5.9.2"
28
27
  },
@@ -13,8 +13,8 @@
13
13
  "@rebasepro/server-postgres": "workspace:*",
14
14
  "@rebasepro/types": "workspace:*",
15
15
  "drizzle-orm": "^0.45.2",
16
- "hono": "^4.12.25",
17
- "@hono/node-server": "^1.19.12",
16
+ "hono": "^4.12.27",
17
+ "@hono/node-server": "^2.0.12",
18
18
  "pg": "^8.11.3",
19
19
  "ws": "^8.16.0",
20
20
  "dotenv": "^16.0.0",
@@ -8,7 +8,15 @@ export const collections = [postsCollection, authorsCollection, tagsCollection,
8
8
 
9
9
  /**
10
10
  * Applied to any collection in this directory that declares no
11
- * `securityRules` of its own: anyone can read, only admins can write.
11
+ * `securityRules` of its own: every signed-in user reads every row, only
12
+ * admins write.
13
+ *
14
+ * `access: "public"` is about ROWS, not about who may call the API — it means
15
+ * "no row filter", not "no login". A request with no token is still answered
16
+ * 401 by the API before RLS is ever consulted. To serve readers who are not
17
+ * signed in (a public website reading this backend), set `AUTH_REQUIRE=false`
18
+ * in the backend's environment; access then rests entirely on these rules,
19
+ * which is what they are for.
12
20
  *
13
21
  * These live here, next to the collections, because `rebase db push`
14
22
  * generates the Postgres policies from these files — that is what actually
@@ -15,10 +15,10 @@
15
15
  "{{PROJECT_NAME}}-config": "*",
16
16
  "react": "^19.0.0",
17
17
  "react-dom": "^19.0.0",
18
- "react-router": "^7.0.0",
19
- "react-router-dom": "^7.0.0",
18
+ "react-router": "^8.3.0",
20
19
  "react-compiler-runtime": "^1.0.0",
21
- "@fontsource/rubik": "^5.2.5"
20
+ "@fontsource-variable/inter": "^5.3.0",
21
+ "@fontsource-variable/instrument-sans": "^5.3.0"
22
22
  },
23
23
  "scripts": {
24
24
  "dev": "vite --mode development",
@@ -1,7 +1,8 @@
1
1
  import React from "react";
2
2
 
3
3
  import "@fontsource/jetbrains-mono";
4
- import "@fontsource/rubik";
4
+ import "@fontsource-variable/inter";
5
+ import "@fontsource-variable/instrument-sans";
5
6
 
6
7
  import { Rebase, RebaseAuth, useRebaseAuthController } from "@rebasepro/app";
7
8
  import { RebaseAdmin, RebaseShell } from "@rebasepro/admin";
@@ -1,6 +1,7 @@
1
1
  import React from "react";
2
2
  import ReactDOM from "react-dom/client";
3
- import { createBrowserRouter, RouterProvider } from "react-router-dom";
3
+ import { createBrowserRouter } from "react-router";
4
+ import { RouterProvider } from "react-router/dom";
4
5
  import { App } from "./App";
5
6
  import "./index.css";
6
7
 
@@ -22,7 +22,6 @@ export default defineConfig({
22
22
  "react",
23
23
  "react-dom",
24
24
  "react-router",
25
- "react-router-dom",
26
25
  "@remix-run/router"
27
26
  ]
28
27
  },
@@ -20,12 +20,11 @@
20
20
  "schema:generate": "rebase schema generate --collections ../config/collections",
21
21
  "generate:sdk": "rebase generate-sdk",
22
22
  "skills:install": "rebase skills install",
23
- "deploy": "rebase build && rebase start"
23
+ "deploy": "rebase cloud deploy"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@rebasepro/cli": "workspace:*",
27
27
  "@rebasepro/types": "workspace:*",
28
- "concurrently": "^8.2.2",
29
28
  "typescript": "^5.9.2"
30
29
  },
31
30
  "engines": {