@rebasepro/cli 0.10.1-canary.8d27c46 → 0.10.1-canary.af2af91
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.10.1-canary.
|
|
3
|
+
"version": "0.10.1-canary.af2af91",
|
|
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.10.1-canary.
|
|
35
|
-
"@rebasepro/codegen": "0.10.1-canary.
|
|
36
|
-
"@rebasepro/
|
|
37
|
-
"@rebasepro/
|
|
38
|
-
"@rebasepro/
|
|
39
|
-
"@rebasepro/
|
|
34
|
+
"@rebasepro/agent-skills": "0.10.1-canary.af2af91",
|
|
35
|
+
"@rebasepro/codegen": "0.10.1-canary.af2af91",
|
|
36
|
+
"@rebasepro/server": "0.10.1-canary.af2af91",
|
|
37
|
+
"@rebasepro/client": "0.10.1-canary.af2af91",
|
|
38
|
+
"@rebasepro/types": "0.10.1-canary.af2af91",
|
|
39
|
+
"@rebasepro/server-postgres": "0.10.1-canary.af2af91"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@types/node": "^25.9.3",
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ambient declarations for the asset imports a frontend component makes.
|
|
3
|
+
*
|
|
4
|
+
* A collection that points at a custom `Field` or `Preview` with a lazy `import()`
|
|
5
|
+
* thunk gets that reference type-checked — which means TypeScript resolves the
|
|
6
|
+
* component's *own* imports too, including `import icon from "./icon.png"`. That
|
|
7
|
+
* import is Vite's doing and means nothing to `tsc`: the frontend gets away with it
|
|
8
|
+
* through `vite/client` types, but those belong to the frontend's program, not this
|
|
9
|
+
* one, and Vite is not a dependency here (nothing in `config/` runs in a browser).
|
|
10
|
+
*
|
|
11
|
+
* Without these three lines, adding your first custom component fails the config and
|
|
12
|
+
* backend builds with `Cannot find module './icon.png'` — pointing at a frontend file
|
|
13
|
+
* from a build that has no obvious business compiling it.
|
|
14
|
+
*/
|
|
15
|
+
declare module "*.png" { const src: string; export default src; }
|
|
16
|
+
declare module "*.svg" { const src: string; export default src; }
|
|
17
|
+
declare module "*.jpg" { const src: string; export default src; }
|