/
dependencies.ts
177 lines (159 loc) · 4.89 KB
/
dependencies.ts
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
export const WIZARD_DEPENDENCY_WEBPACK = {
type: 'webpack',
name: 'Webpack',
package: 'webpack',
installer: 'webpack',
description: 'Webpack is a module bundler',
minVersion: '>=4.0.0 || >=5.0.0',
} as const
export const WIZARD_DEPENDENCY_VUE_2 = {
type: 'vue',
name: 'Vue.js 2',
package: 'vue',
installer: 'vue@2',
description: 'The Progressive JavaScript Framework',
minVersion: '^2.0.0',
} as const
export const WIZARD_DEPENDENCY_VUE_3 = {
type: 'vue',
name: 'Vue.js 3',
package: 'vue',
installer: 'vue',
description: 'The Progressive JavaScript Framework',
minVersion: '^3.0.0',
} as const
export const WIZARD_DEPENDENCY_REACT = {
type: 'react',
name: 'React.js',
package: 'react',
installer: 'react',
description: 'A JavaScript library for building user interfaces',
minVersion: '^=16.0.0 || ^=17.0.0 || ^=18.0.0',
} as const
export const WIZARD_DEPENDENCY_REACT_DOM = {
type: 'react-dom',
name: 'React DOM',
package: 'react-dom',
installer: 'react-dom',
description: 'This package serves as the entry point to the DOM and server renderers for React',
minVersion: '^=16.0.0 || ^=17.0.0 || ^=18.0.0',
} as const
export const WIZARD_DEPENDENCY_TYPESCRIPT = {
type: 'typescript',
name: 'TypeScript',
package: 'typescript',
installer: 'typescript',
description: 'TypeScript is a language for application-scale JavaScript',
minVersion: '>=3.0.0',
} as const
export const WIZARD_DEPENDENCY_REACT_SCRIPTS = {
type: 'reactscripts',
name: 'React Scripts',
package: 'react-scripts',
installer: 'react-scripts',
description: 'Create React apps with no build configuration',
minVersion: '^=4.0.0 || ^=5.0.0',
} as const
export const WIZARD_DEPENDENCY_VUE_CLI_SERVICE = {
type: 'vuecliservice',
name: 'Vue CLI',
package: '@vue/cli-service',
installer: '@vue/cli-service',
description: 'Standard Tooling for Vue.js Development',
minVersion: '^=4.0.0 || ^=5.0.0',
} as const
export const WIZARD_DEPENDENCY_VITE = {
type: 'vite',
name: 'Vite',
package: 'vite',
installer: 'vite',
description: 'Vite is dev server that serves your source files over native ES modules',
minVersion: '^=2.0.0 || ^=3.0.0',
} as const
export const WIZARD_DEPENDENCY_NUXT = {
type: 'nuxt',
name: 'Nuxt',
package: 'nuxt',
installer: 'nuxt@2',
description: 'The Intuitive Vue Framework',
minVersion: '^2.0.0',
} as const
export const WIZARD_DEPENDENCY_NEXT = {
type: 'next',
name: 'Next',
package: 'next',
installer: 'next',
description: 'The React Framework for Production',
minVersion: '^=10.0.0 || ^=11.0.0 || ^=12.0.0 || ^=13.0.0',
} as const
export const WIZARD_DEPENDENCY_ANGULAR_CLI = {
type: 'angular',
name: 'Angular CLI',
package: '@angular/cli',
installer: '@angular/cli',
description: 'CLI tool that you use to initialize, develop, scaffold, and maintain Angular applications.',
minVersion: '>=13.0.0',
} as const
export const WIZARD_DEPENDENCY_ANGULAR_DEVKIT_BUILD_ANGULAR = {
type: 'angular',
name: 'Angular DevKit Build Angular',
package: '@angular-devkit/build-angular',
installer: '@angular-devkit/build-angular',
description: 'Angular Webpack build facade',
minVersion: '>=13.0.0',
} as const
export const WIZARD_DEPENDENCY_ANGULAR_CORE = {
type: 'angular',
name: 'Angular Core',
package: '@angular/core',
installer: '@angular/core',
description: 'The core of the Angular framework',
minVersion: '>=13.0.0',
} as const
export const WIZARD_DEPENDENCY_ANGULAR_COMMON = {
type: 'angular',
name: 'Angular Common',
package: '@angular/common',
installer: '@angular/common',
description: 'Commonly needed Angular directives and services',
minVersion: '>=13.0.0',
} as const
export const WIZARD_DEPENDENCY_ANGULAR_PLATFORM_BROWSER_DYNAMIC = {
type: 'angular',
name: 'Angular Platform Browser Dynamic',
package: '@angular/platform-browser-dynamic',
installer: '@angular/platform-browser-dynamic',
description: 'Library for using Angular in a web browser with JIT compilation',
minVersion: '>=13.0.0',
} as const
export const WIZARD_DEPENDENCY_SVELTE = {
type: 'svelte',
name: 'Svelte.js',
package: 'svelte',
installer: 'svelte',
description: 'Cybernetically enhanced web apps',
minVersion: '^3.0.0',
} as const
export const WIZARD_DEPENDENCIES = [
WIZARD_DEPENDENCY_WEBPACK,
WIZARD_DEPENDENCY_TYPESCRIPT,
WIZARD_DEPENDENCY_REACT_SCRIPTS,
WIZARD_DEPENDENCY_VUE_CLI_SERVICE,
WIZARD_DEPENDENCY_VITE,
WIZARD_DEPENDENCY_NUXT,
WIZARD_DEPENDENCY_NEXT,
WIZARD_DEPENDENCY_REACT,
WIZARD_DEPENDENCY_REACT_DOM,
WIZARD_DEPENDENCY_VUE_2,
WIZARD_DEPENDENCY_VUE_3,
WIZARD_DEPENDENCY_ANGULAR_CLI,
WIZARD_DEPENDENCY_ANGULAR_DEVKIT_BUILD_ANGULAR,
WIZARD_DEPENDENCY_ANGULAR_CORE,
WIZARD_DEPENDENCY_ANGULAR_COMMON,
WIZARD_DEPENDENCY_ANGULAR_PLATFORM_BROWSER_DYNAMIC,
WIZARD_DEPENDENCY_SVELTE,
] as const
export const WIZARD_BUNDLERS = [
WIZARD_DEPENDENCY_WEBPACK,
WIZARD_DEPENDENCY_VITE,
] as const