@rtorcato/repo-tooling 3.15.2 โ 3.15.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/dist/cli/commands/setup.js +10 -10
- package/package.json +1 -1
|
@@ -110,7 +110,7 @@ async function promptForLanguage(targetDir) {
|
|
|
110
110
|
const detected = await detectLanguage(targetDir);
|
|
111
111
|
const { language } = await inquirer.prompt([
|
|
112
112
|
{
|
|
113
|
-
type: '
|
|
113
|
+
type: 'select',
|
|
114
114
|
name: 'language',
|
|
115
115
|
message: '๐ฃ๏ธ What is the primary language of this repo?',
|
|
116
116
|
choices: Object.values(LANGUAGES).map((module) => ({
|
|
@@ -178,7 +178,7 @@ async function promptForConfig(targetDir) {
|
|
|
178
178
|
validate: (input) => input.trim().length > 0 || 'Project name is required',
|
|
179
179
|
},
|
|
180
180
|
{
|
|
181
|
-
type: '
|
|
181
|
+
type: 'select',
|
|
182
182
|
name: 'projectType',
|
|
183
183
|
message: '๐๏ธ What type of project are you building?',
|
|
184
184
|
choices: [
|
|
@@ -196,7 +196,7 @@ async function promptForConfig(targetDir) {
|
|
|
196
196
|
default: true,
|
|
197
197
|
},
|
|
198
198
|
{
|
|
199
|
-
type: '
|
|
199
|
+
type: 'select',
|
|
200
200
|
name: 'tsConfig',
|
|
201
201
|
message: 'โ๏ธ Which TypeScript configuration?',
|
|
202
202
|
choices: (answers) => {
|
|
@@ -221,7 +221,7 @@ async function promptForConfig(targetDir) {
|
|
|
221
221
|
when: (answers) => answers.useTypeScript,
|
|
222
222
|
},
|
|
223
223
|
{
|
|
224
|
-
type: '
|
|
224
|
+
type: 'select',
|
|
225
225
|
name: 'lintingTool',
|
|
226
226
|
message: '๐ Which linting/formatting tool?',
|
|
227
227
|
choices: [
|
|
@@ -233,7 +233,7 @@ async function promptForConfig(targetDir) {
|
|
|
233
233
|
default: 'biome',
|
|
234
234
|
},
|
|
235
235
|
{
|
|
236
|
-
type: '
|
|
236
|
+
type: 'select',
|
|
237
237
|
name: 'eslintConfig',
|
|
238
238
|
message: '๐ง Which ESLint configuration?',
|
|
239
239
|
choices: (answers) => {
|
|
@@ -253,7 +253,7 @@ async function promptForConfig(targetDir) {
|
|
|
253
253
|
when: (answers) => answers.lintingTool !== 'none',
|
|
254
254
|
},
|
|
255
255
|
{
|
|
256
|
-
type: '
|
|
256
|
+
type: 'select',
|
|
257
257
|
name: 'testingFramework',
|
|
258
258
|
message: '๐งช Which testing framework?',
|
|
259
259
|
choices: [
|
|
@@ -266,7 +266,7 @@ async function promptForConfig(targetDir) {
|
|
|
266
266
|
default: 'vitest',
|
|
267
267
|
},
|
|
268
268
|
{
|
|
269
|
-
type: '
|
|
269
|
+
type: 'select',
|
|
270
270
|
name: 'testEnvironment',
|
|
271
271
|
message: '๐ Test environment?',
|
|
272
272
|
choices: [
|
|
@@ -291,7 +291,7 @@ async function promptForConfig(targetDir) {
|
|
|
291
291
|
when: (answers) => answers.gitHooks,
|
|
292
292
|
},
|
|
293
293
|
{
|
|
294
|
-
type: '
|
|
294
|
+
type: 'select',
|
|
295
295
|
name: 'releaseTool',
|
|
296
296
|
message: '๐ Automated release tool?',
|
|
297
297
|
choices: [
|
|
@@ -336,7 +336,7 @@ async function promptForConfig(targetDir) {
|
|
|
336
336
|
default: true,
|
|
337
337
|
},
|
|
338
338
|
{
|
|
339
|
-
type: '
|
|
339
|
+
type: 'select',
|
|
340
340
|
name: 'orchestrator',
|
|
341
341
|
message: '๐ Monorepo task orchestrator?',
|
|
342
342
|
choices: [
|
|
@@ -358,7 +358,7 @@ async function promptForConfig(targetDir) {
|
|
|
358
358
|
answers.projectType === 'nextjs-app',
|
|
359
359
|
},
|
|
360
360
|
{
|
|
361
|
-
type: '
|
|
361
|
+
type: 'select',
|
|
362
362
|
name: 'bundler',
|
|
363
363
|
message: '๐ฆ Which bundler/build tool?',
|
|
364
364
|
choices: (answers) => {
|
package/package.json
CHANGED