create-alta-app 1.6.2 → 1.7.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/index.mjs +13 -18
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -148,8 +148,8 @@ export default function Root() {
|
|
|
148
148
|
|
|
149
149
|
fs.writeFileSync(
|
|
150
150
|
path.join(appDir, 'components', 'layout', 'header.tsx'),
|
|
151
|
-
`import { Separator } from '@
|
|
152
|
-
import { Text } from '@
|
|
151
|
+
`import { Separator } from '@alta/design-system/components/ui/separator';
|
|
152
|
+
import { Text } from '@alta/design-system/components/ui/text';
|
|
153
153
|
|
|
154
154
|
export function Header() {
|
|
155
155
|
return (
|
|
@@ -166,10 +166,10 @@ export function Header() {
|
|
|
166
166
|
|
|
167
167
|
fs.writeFileSync(
|
|
168
168
|
path.join(appDir, 'routes', 'app', 'dashboard.tsx'),
|
|
169
|
-
`import { Card, CardContent, CardHeader, CardTitle } from '@
|
|
170
|
-
import { Text } from '@
|
|
171
|
-
import { Badge } from '@
|
|
172
|
-
import { Separator } from '@
|
|
169
|
+
`import { Card, CardContent, CardHeader, CardTitle } from '@alta/design-system/components/ui/card';
|
|
170
|
+
import { Text } from '@alta/design-system/components/ui/text';
|
|
171
|
+
import { Badge } from '@alta/design-system/components/ui/badge';
|
|
172
|
+
import { Separator } from '@alta/design-system/components/ui/separator';
|
|
173
173
|
|
|
174
174
|
export default function DashboardRoute() {
|
|
175
175
|
return (
|
|
@@ -217,8 +217,8 @@ export default function DashboardRoute() {
|
|
|
217
217
|
|
|
218
218
|
fs.writeFileSync(
|
|
219
219
|
path.join(appDir, 'routes', 'app', 'settings.tsx'),
|
|
220
|
-
`import { Card, CardContent, CardHeader, CardTitle } from '@
|
|
221
|
-
import { Text } from '@
|
|
220
|
+
`import { Card, CardContent, CardHeader, CardTitle } from '@alta/design-system/components/ui/card';
|
|
221
|
+
import { Text } from '@alta/design-system/components/ui/text';
|
|
222
222
|
|
|
223
223
|
export default function SettingsRoute() {
|
|
224
224
|
return (
|
|
@@ -351,20 +351,15 @@ async function main() {
|
|
|
351
351
|
},
|
|
352
352
|
},
|
|
353
353
|
serve: {
|
|
354
|
-
executor: '
|
|
354
|
+
executor: 'nx:run-commands',
|
|
355
355
|
defaultConfiguration: 'development',
|
|
356
356
|
options: {
|
|
357
|
-
|
|
357
|
+
command: 'npx react-router dev',
|
|
358
|
+
cwd: `apps/ai-engineer/${projectName}`,
|
|
358
359
|
},
|
|
359
360
|
configurations: {
|
|
360
|
-
development: {
|
|
361
|
-
|
|
362
|
-
hmr: true,
|
|
363
|
-
},
|
|
364
|
-
production: {
|
|
365
|
-
buildTarget: `${projectName}:build:production`,
|
|
366
|
-
hmr: false,
|
|
367
|
-
},
|
|
361
|
+
development: {},
|
|
362
|
+
production: {},
|
|
368
363
|
},
|
|
369
364
|
},
|
|
370
365
|
preview: {
|