create-alta-app 1.6.1 → 1.6.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/index.mjs +10 -9
- 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 (
|
|
@@ -264,7 +264,8 @@ async function main() {
|
|
|
264
264
|
console.log(pc.magenta(' ┗' + '━'.repeat(W) + '┛'));
|
|
265
265
|
console.log('');
|
|
266
266
|
|
|
267
|
-
|
|
267
|
+
// Install under apps/ai-engineer/ relative to cwd (the monorepo root)
|
|
268
|
+
const MONOREPO_BASE = path.join(process.cwd(), 'apps', 'ai-engineer');
|
|
268
269
|
const argName = process.argv[2];
|
|
269
270
|
|
|
270
271
|
const response = await prompts(
|