@lexibase/create-rdx 1.2.2 → 1.2.3
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
|
@@ -16,6 +16,9 @@ pnpm dev
|
|
|
16
16
|
|
|
17
17
|
Edit files in `docs/` to create your documentation. RDX creates and maintains
|
|
18
18
|
its internal runtime in `.rdx/`.
|
|
19
|
+
Keep custom React components in `components/` and import them from
|
|
20
|
+
`rdx.config.ts` or `components/home.tsx`. The project-root `tsconfig.json` configures JSX
|
|
21
|
+
and bundler-style imports for these files, including inside a monorepo.
|
|
19
22
|
If installation failed during creation, keep these files, fix the reported error
|
|
20
23
|
and retry `pnpm install` (or `npm install` / `yarn install`) before starting.
|
|
21
24
|
|
|
@@ -39,7 +39,7 @@ export default defineConfig({
|
|
|
39
39
|
},
|
|
40
40
|
},
|
|
41
41
|
// When disabled, '/' redirects to '/docs'.
|
|
42
|
-
//
|
|
42
|
+
// Import your components/home.tsx and set homepage.component to use a custom page.
|
|
43
43
|
homepage: {
|
|
44
44
|
enabled: false,
|
|
45
45
|
},
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2022",
|
|
4
|
+
"lib": ["dom", "dom.iterable", "esnext"],
|
|
5
|
+
"module": "esnext",
|
|
6
|
+
"moduleResolution": "bundler",
|
|
7
|
+
"jsx": "react-jsx",
|
|
8
|
+
"types": ["node", "react"],
|
|
9
|
+
"esModuleInterop": true,
|
|
10
|
+
"resolveJsonModule": true,
|
|
11
|
+
"isolatedModules": true,
|
|
12
|
+
"strict": true,
|
|
13
|
+
"skipLibCheck": true,
|
|
14
|
+
"noEmit": true
|
|
15
|
+
},
|
|
16
|
+
"include": ["**/*.ts", "**/*.tsx"],
|
|
17
|
+
"exclude": ["node_modules", ".rdx"]
|
|
18
|
+
}
|