@rebasepro/cli 0.11.1-canary.gfadf355 → 0.12.0

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.11.1-canary.gfadf355",
3
+ "version": "0.12.0",
4
4
  "description": "Developer tools for Rebase projects",
5
5
  "main": "./dist/index.es.js",
6
6
  "module": "./dist/index.es.js",
@@ -31,12 +31,12 @@
31
31
  "execa": "^9.6.1",
32
32
  "inquirer": "14.0.2",
33
33
  "jiti": "^2.7.0",
34
- "@rebasepro/agent-skills": "0.11.1-canary.gfadf355",
35
- "@rebasepro/client": "0.11.1-canary.gfadf355",
36
- "@rebasepro/codegen": "0.11.1-canary.gfadf355",
37
- "@rebasepro/server": "0.11.1-canary.gfadf355",
38
- "@rebasepro/server-postgres": "0.11.1-canary.gfadf355",
39
- "@rebasepro/types": "0.11.1-canary.gfadf355"
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"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/node": "^25.9.3",
@@ -13,7 +13,22 @@
13
13
  "resolveJsonModule": true,
14
14
  "declaration": true,
15
15
  "sourceMap": true,
16
- "jsx": "preserve"
16
+ "jsx": "preserve",
17
+ // Pin the ambient type libraries.
18
+ //
19
+ // Unset, TypeScript sweeps every `node_modules/@types` it can reach and
20
+ // treats each folder as an implicit type library. Under pnpm that reaches
21
+ // the virtual store, where packages hoisted for peer resolution live —
22
+ // `dompurify` among them, pulled in transitively by the admin editor. The
23
+ // backend has no dependency on it and cannot resolve its entry point, so
24
+ // `rebase build` failed the whole bundle with:
25
+ //
26
+ // error TS2688: Cannot find type definition file for 'dompurify'
27
+ //
28
+ // `frontend/tsconfig.json` has always pinned its own list, which is why the
29
+ // frontend never saw this. Naming what this program needs is both the fix
30
+ // and the faster compile.
31
+ "types": ["node"]
17
32
  },
18
33
  // `functions/` is included so `tsc` actually checks your custom routes. It
19
34
  // was omitted here (the baas flavour has always had it), which meant the one
@@ -13,7 +13,22 @@
13
13
  "outDir": "./dist",
14
14
  "skipLibCheck": true,
15
15
  "forceConsistentCasingInFileNames": true,
16
- "resolveJsonModule": true
16
+ "resolveJsonModule": true,
17
+ // Pin the ambient type libraries.
18
+ //
19
+ // Unset, TypeScript sweeps every `node_modules/@types` it can reach and
20
+ // treats each folder as an implicit type library. Under pnpm that reaches
21
+ // the virtual store, where packages hoisted for peer resolution live —
22
+ // `dompurify` among them, pulled in transitively by the admin editor. The
23
+ // backend has no dependency on it and cannot resolve its entry point, so
24
+ // `rebase build` failed the whole bundle with:
25
+ //
26
+ // error TS2688: Cannot find type definition file for 'dompurify'
27
+ //
28
+ // `frontend/tsconfig.json` has always pinned its own list, which is why the
29
+ // frontend never saw this. Naming what this program needs is both the fix
30
+ // and the faster compile.
31
+ "types": ["node"]
17
32
  },
18
33
  "include": ["**/*.ts"],
19
34
  "exclude": ["node_modules", "dist"]