Skip to content

Commit a13c2b4

Browse files
resolving conflickts in type.ts fiel and create-app.ts file
1 parent 6807462 commit a13c2b4

File tree

3 files changed

+1
-16
lines changed

3 files changed

+1
-16
lines changed

packages/create/src/create-app.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -234,26 +234,16 @@ async function runCommandsAndInstallDependencies(
234234

235235
function report(environment: Environment, options: Options) {
236236
const warnings: Array<string> = []
237-
// TODO: nextSteps displays post-creation instructions for add-ons that require additional setup
238-
// (e.g., starting a sibling server). Decide if this belongs in core or if add-ons should use README instead.
239-
const nextSteps: Array<string> = []
240237
for (const addOn of options.chosenAddOns) {
241238
if (addOn.warning) {
242239
warnings.push(addOn.warning)
243240
}
244-
if (addOn.nextSteps) {
245-
nextSteps.push(`${addOn.name}:\n${addOn.nextSteps}`)
246-
}
247241
}
248242

249243
if (warnings.length > 0) {
250244
environment.warn('Warnings', warnings.join('\n'))
251245
}
252246

253-
if (nextSteps.length > 0) {
254-
environment.info('Next Steps', nextSteps.join('\n\n'))
255-
}
256-
257247
// Format errors
258248
let errorStatement = ''
259249
if (environment.getErrors().length) {

packages/create/src/frameworks/react/add-ons/strapi/info.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"priority": 110,
1010
"modes": ["file-router"],
1111
"dependsOn": ["start"],
12-
"nextSteps": "cd ../server\nnpm install\nnpm run develop\nCreate an admin at http://localhost:1337/admin\nGo to Content Manager > Article and publish articles",
1312
"command": {
1413
"command": "sh",
1514
"args": [

packages/create/src/types.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,7 @@ export const AddOnBaseSchema = z.object({
3737
link: z.string().optional(),
3838
license: z.string().optional(),
3939
warning: z.string().optional(),
40-
// TODO: This property was added for add-ons that require post-creation setup steps
41-
// (e.g., Strapi needs users to install/run a sibling server directory).
42-
// Decide if this should be a core feature or if add-ons should document this in their README instead.
43-
nextSteps: z.string().optional(),
44-
tailwind: z.boolean().optional().default(true),
40+
tailwind: z.boolean().optional(),
4541
type: z.enum(['add-on', 'example', 'starter', 'toolchain', 'deployment']),
4642
category: z
4743
.enum([

0 commit comments

Comments
 (0)