-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.js
43 lines (42 loc) · 1.22 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
const features = {
prettier: {
label: 'prettier',
value: 'prettier',
hint: 'Add prettier config',
initial: true,
},
};
/** @type {TemplateConfig} */
export default {
versions: {
2: {
defaultTemplate: 'v2 starter template',
templatesRepos: [
{
url: 'roxiness/routify-starter',
name: 'v2 starter template',
description: 'Routify v2 starter template',
templateType: 'single',
author: 'Roxi (official)',
includeByDefault: true,
},
],
features: [features.prettier],
},
3: {
defaultTemplate: 'basic-starter',
templatesRepos: [
{
url: 'roxiness/routify#next',
// url: 'local:../routify',
path: 'examples',
templateType: 'directory',
author: 'Roxi (official)',
includeByDefault: true,
requireManifest: true,
},
],
features: [features.prettier],
},
},
};