forked from clerk/javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.ts
More file actions
21 lines (18 loc) · 712 Bytes
/
Copy pathastro.ts
File metadata and controls
21 lines (18 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { applicationConfig } from '../models/applicationConfig';
import { templates } from '../templates';
const astroNode = applicationConfig()
.setName('astro-node')
.useTemplate(templates['astro-node'])
.setEnvFormatter('public', key => `PUBLIC_${key}`)
.addScript('setup', 'pnpm install')
.addScript('dev', 'pnpm dev')
.addScript('build', 'pnpm build')
.addScript('serve', 'pnpm preview')
.addDependency('@clerk/astro', '*')
.addDependency('@clerk/types', '*')
.addDependency('@clerk/localizations', '*');
const astroStatic = astroNode.clone().setName('astro-hybrid').useTemplate(templates['astro-hybrid']);
export const astro = {
node: astroNode,
static: astroStatic,
} as const;