create-webiny-project 6.6.0-alpha.1 → 6.6.0-alpha.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.
|
@@ -153,7 +153,7 @@ class CreateWebinyProject {
|
|
|
153
153
|
if ("server" === hostingType) {
|
|
154
154
|
console.log(`🎉 Your new self-hosted Webiny project ${green(projectName)} has been created!`);
|
|
155
155
|
console.log();
|
|
156
|
-
console.log(yellow("⚠ The self-hosted (server) hosting type is in ALPHA. It's for local\n development and testing with `webiny watch
|
|
156
|
+
console.log(yellow("⚠ The self-hosted (server) hosting type is in ALPHA. It's for local\n development and testing with `webiny watch`.\n It's still maturing, so expect some rough edges."));
|
|
157
157
|
console.log();
|
|
158
158
|
if ("other" === aiAgent) await configureMcp({
|
|
159
159
|
instructions: true
|
|
@@ -161,8 +161,7 @@ class CreateWebinyProject {
|
|
|
161
161
|
console.log([
|
|
162
162
|
`First, enter the project directory: ${green(`cd ${projectName}`)}`,
|
|
163
163
|
"",
|
|
164
|
-
|
|
165
|
-
`so run the API and Admin apps separately, each in its own terminal: ${green("yarn webiny watch api")} and ${green("yarn webiny watch admin")}.`,
|
|
164
|
+
`Then start Webiny locally: ${green("yarn dev")}`,
|
|
166
165
|
"",
|
|
167
166
|
`To see all of the available CLI commands, run ${green("yarn webiny --help")} in your ${green(projectName)} directory.`,
|
|
168
167
|
"",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"features/CreateWebinyProject.js","sources":["../../src/features/CreateWebinyProject.ts"],"sourcesContent":["import { execa } from \"execa\";\nimport fs from \"fs-extra\";\nimport type { ListrTask } from \"listr2\";\nimport { Listr } from \"listr2\";\nimport path from \"path\";\nimport { rimrafSync } from \"rimraf\";\nimport chalk from \"chalk\";\nimport yesno from \"yesno\";\nimport { configureMcp } from \"@webiny/mcp\";\nimport type { IUi } from \"@webiny/mcp\";\nimport { SetupBaseWebinyProject } from \"./CreateWebinyProject/projects/base/SetupBaseWebinyProject.js\";\nimport { SetupAwsWebinyProject } from \"./CreateWebinyProject/projects/aws/SetupAwsWebinyProject.js\";\nimport { SetupServerWebinyProject } from \"./CreateWebinyProject/projects/server/SetupServerWebinyProject.js\";\nimport {\n runHostingTypePrompt,\n type HostingType\n} from \"./CreateWebinyProject/projects/runHostingTypePrompt.js\";\nimport {\n Analytics,\n EnsureNoGlobalWebinyCli,\n EnsureNoTargetFolder,\n EnsureNoYarnLockPackageJson,\n EnsureValidProjectName,\n GetProjectRootPath,\n InitGit,\n IsGitAvailable,\n PrintErrorInfo,\n PrintSystemInfo,\n SetupYarn,\n SetWebinyPackageVersions\n} from \"../services/index.js\";\nimport { CliParams } from \"../types.js\";\nimport ora from \"ora\";\n\nconst { green, bold, cyan, gray, yellow } = chalk;\n\n/* Styled UI for MCP setup output — aligns visually with the rest of CWP output. */\nclass CwpUi implements IUi {\n info(text: string, ...args: any[]): void {\n console.log(gray(text), ...args);\n }\n\n success(text: string, ...args: any[]): void {\n console.log(`${green(\"✔\")} ${text}`, ...args);\n }\n\n error(text: string, ...args: any[]): void {\n console.error(`${chalk.red(\"✘\")} ${text}`, ...args);\n }\n\n warning(text: string, ...args: any[]): void {\n console.warn(`${yellow(\"⚠\")} ${text}`, ...args);\n }\n\n text(text: string): void {\n console.log(text);\n }\n\n emptyLine(): void {\n console.log();\n }\n}\n\nexport class CreateWebinyProject {\n async execute(cliArgs: CliParams) {\n const { projectName, debug, cleanup, log } = cliArgs;\n\n if (!projectName) {\n throw Error(\"You must provide a name for the project to use.\");\n }\n\n const getProjectRootPath = new GetProjectRootPath();\n const projectRootPath = getProjectRootPath.execute(cliArgs);\n\n // All of these `ensureXyz` services will terminate the process if something is wrong.\n const ensureValidProjectName = new EnsureValidProjectName();\n ensureValidProjectName.execute(projectName);\n\n const ensureNoTargetFolder = new EnsureNoTargetFolder();\n ensureNoTargetFolder.execute(cliArgs);\n\n const ensureNoYarnLockPackageJson = new EnsureNoYarnLockPackageJson();\n await ensureNoYarnLockPackageJson.execute();\n\n const ensureNoGlobalWebinyCli = new EnsureNoGlobalWebinyCli();\n await ensureNoGlobalWebinyCli.execute();\n\n const isGitAvailable = new IsGitAvailable().execute();\n\n console.log(`Initializing a new Webiny project in ${green(projectRootPath)}...`);\n\n const analytics = new Analytics();\n // No `hostingType` here: in interactive mode the choice hasn't been made yet, and reporting\n // the placeholder default would inflate \"aws\". Use `-end` / `-error` to segment by hosting\n // type, and this event as the funnel denominator.\n await analytics.track(\"start\");\n\n // AI agent selected during the hosting-type prompt (used for MCP setup + final messages).\n let aiAgent: string = \"other\";\n\n // Hosting type. Resolved interactively below, or taken from `--hosting-type` in non-interactive\n // mode (defaults to \"aws\").\n let hostingType: HostingType = cliArgs.hostingType === \"server\" ? \"server\" : \"aws\";\n\n // In interactive mode the value above is only a placeholder until the prompt below runs.\n // Telemetry reports \"unknown\" while that's the case, so a failure before the prompt isn't\n // counted as an AWS project.\n let hostingTypeResolved = cliArgs.interactive === false;\n\n try {\n const taskItems: ListrTask[] = [\n {\n // Creates root package.json.\n title: \"Prepare project folder\",\n task: () => fs.ensureDirSync(projectName)\n },\n {\n title: \"Setup Yarn\",\n task: async () => {\n const setupYarn = new SetupYarn();\n await setupYarn.execute(cliArgs);\n }\n }\n ];\n\n if (isGitAvailable) {\n taskItems.push({\n title: `Initialize git`,\n task: (_, task) => {\n const initGit = new InitGit();\n try {\n initGit.execute(cliArgs);\n } catch {\n task.skip(\"Git repo not initialized\");\n }\n }\n });\n }\n\n const tasks = new Listr(taskItems);\n await tasks.run();\n\n console.log();\n\n // Ask which hosting type to scaffold before anything hosting-specific is copied.\n if (cliArgs.interactive !== false) {\n hostingType = await runHostingTypePrompt();\n hostingTypeResolved = true;\n console.log();\n }\n\n const setupBaseWebinyProject = new SetupBaseWebinyProject();\n setupBaseWebinyProject.execute(cliArgs);\n\n if (hostingType === \"server\") {\n const setupServerWebinyProject = new SetupServerWebinyProject();\n const serverProjectParams = await setupServerWebinyProject.execute(cliArgs);\n aiAgent = serverProjectParams.aiAgent;\n } else {\n const setupAwsWebinyProject = new SetupAwsWebinyProject();\n const awsProjectParams = await setupAwsWebinyProject.execute(cliArgs);\n aiAgent = awsProjectParams.aiAgent;\n }\n\n const setWebinyPackageVersions = new SetWebinyPackageVersions();\n await setWebinyPackageVersions.execute(cliArgs);\n\n // Install dependencies.\n console.log();\n const spinner = ora(\"Installing packages...\").start();\n try {\n const subprocess = execa(\"yarn\", [], {\n cwd: projectRootPath,\n maxBuffer: 500_000_000\n });\n await subprocess;\n spinner.succeed(\"Packages installed successfully.\");\n } catch (e) {\n spinner.fail(\"Failed to install packages.\");\n\n console.log(e.message);\n\n throw new Error(\n \"Failed while installing project dependencies. Please check the above Yarn logs for more information.\",\n { cause: e }\n );\n }\n\n // Configure MCP server for the selected AI agent.\n if (aiAgent !== \"other\") {\n console.log();\n console.log(bold(`Configuring MCP server for ${cyan(aiAgent)}...`));\n console.log();\n await configureMcp({\n agent: aiAgent,\n ui: new CwpUi(),\n cwd: projectRootPath\n });\n }\n\n await analytics.track(\"end\", { hostingType });\n } catch (err) {\n const stage = \"error\";\n // Commenting out for now, as we don't have any graceful errors implemented yet.\n // if (err instanceof GracefulError) {\n // stage = \"error-graceful\";\n // }\n\n await analytics.track(stage, {\n hostingType: hostingTypeResolved ? hostingType : \"unknown\",\n errorMessage: err.cause?.message || err.message,\n errorStack: err.cause?.stack || err.stack\n });\n\n const printErrorInfo = new PrintErrorInfo();\n printErrorInfo.execute(err, cliArgs);\n\n const printSystemInfo = new PrintSystemInfo();\n printSystemInfo.execute(cliArgs);\n\n console.log(`Writing logs to ${green(path.resolve(log))}...`);\n fs.writeFileSync(path.resolve(log), err.toString());\n\n console.log();\n if (cleanup) {\n console.log(\"Deleting created files and folders...\");\n rimrafSync(projectRootPath);\n } else {\n console.log(\"Project cleanup skipped.\");\n }\n\n process.exit(1);\n }\n\n console.log();\n\n // Self-hosted (server) hosting type: no deploy step (ALPHA — dev-first, run with `webiny watch`).\n if (hostingType === \"server\") {\n console.log(\n `🎉 Your new self-hosted Webiny project ${green(projectName)} has been created!`\n );\n console.log();\n console.log(\n yellow(\n \"⚠ The self-hosted (server) hosting type is in ALPHA. It's for local\\n\" +\n \" development and testing with `webiny watch api` / `webiny watch admin`.\\n\" +\n \" It's still maturing, so expect some rough edges.\"\n )\n );\n console.log();\n\n // For \"other\" agents, show manual MCP setup instructions.\n if (aiAgent === \"other\") {\n await configureMcp({ instructions: true });\n }\n\n console.log(\n [\n `First, enter the project directory: ${green(`cd ${projectName}`)}`,\n \"\",\n \"Then start development mode. Watching all apps at once isn't supported yet,\",\n `so run the API and Admin apps separately, each in its own terminal: ${green(\n \"yarn webiny watch api\"\n )} and ${green(\"yarn webiny watch admin\")}.`,\n \"\",\n `To see all of the available CLI commands, run ${green(\n \"yarn webiny --help\"\n )} in your ${green(projectName)} directory.`,\n \"\",\n \"Want to dive deeper into Webiny? Check out https://webiny.com/docs/!\",\n \"Like the project? Star us on https://github.com/webiny/webiny-js!\",\n \"\",\n \"Need help? Join our Slack community! https://www.webiny.com/slack\",\n \"\",\n \"🚀 Happy coding!\"\n ].join(\"\\n\")\n );\n\n return;\n }\n\n console.log(\n `🎉 Your new Webiny project ${green(\n projectName\n )} has been created and is ready to be deployed for the first time!`\n );\n console.log();\n\n const ok = await yesno({\n question: bold(`${green(\"?\")} Would you like to deploy your project now (Y/n)?`),\n defaultValue: true\n });\n\n console.log();\n\n if (ok) {\n console.log(\"🚀 Deploying your new Webiny project...\");\n console.log();\n\n try {\n const command = [\"webiny\", \"deploy\"];\n if (debug) {\n command.push(\"--debug\");\n }\n\n await execa(\"yarn\", command, {\n cwd: projectRootPath,\n stdio: \"inherit\"\n });\n } catch {\n // Don't do anything. This is because the `webiny deploy` command has its own\n // error handling and will print the error message. As far as this setup script\n // is concerned, it succeeded, and it doesn't need to do anything else.\n }\n\n // For \"other\" agents, show manual MCP setup instructions after deploy has finished.\n if (aiAgent === \"other\") {\n await configureMcp({ instructions: true });\n }\n\n return;\n }\n\n // For \"other\" agents, show manual MCP setup instructions instead of blocking the deploy step.\n if (aiAgent === \"other\") {\n await configureMcp({ instructions: true });\n }\n\n console.log(\n [\n `Finish the setup by running the following command: ${green(\n `cd ${projectName} && yarn webiny deploy`\n )}`,\n \"\",\n `To see all of the available CLI commands, run ${green(\n \"yarn webiny --help\"\n )} in your ${green(projectName)} directory.`,\n \"\",\n \"Want to dive deeper into Webiny? Check out https://webiny.com/docs/!\",\n \"Like the project? Star us on https://github.com/webiny/webiny-js!\",\n \"\",\n \"Need help? Join our Slack community! https://www.webiny.com/slack\",\n \"\",\n \"🚀 Happy coding!\"\n ].join(\"\\n\")\n );\n }\n}\n"],"names":["green","bold","cyan","gray","yellow","chalk","CwpUi","text","args","console","CreateWebinyProject","cliArgs","projectName","debug","cleanup","log","Error","getProjectRootPath","GetProjectRootPath","projectRootPath","ensureValidProjectName","EnsureValidProjectName","ensureNoTargetFolder","EnsureNoTargetFolder","ensureNoYarnLockPackageJson","EnsureNoYarnLockPackageJson","ensureNoGlobalWebinyCli","EnsureNoGlobalWebinyCli","isGitAvailable","IsGitAvailable","analytics","Analytics","aiAgent","hostingType","hostingTypeResolved","taskItems","fs","setupYarn","SetupYarn","_","task","initGit","InitGit","tasks","Listr","runHostingTypePrompt","setupBaseWebinyProject","SetupBaseWebinyProject","setupServerWebinyProject","SetupServerWebinyProject","serverProjectParams","setupAwsWebinyProject","SetupAwsWebinyProject","awsProjectParams","setWebinyPackageVersions","SetWebinyPackageVersions","spinner","ora","subprocess","execa","e","configureMcp","err","stage","printErrorInfo","PrintErrorInfo","printSystemInfo","PrintSystemInfo","path","rimrafSync","process","ok","yesno","command"],"mappings":";;;;;;;;;;;;;;AAkCA,MAAM,EAAEA,OAAAA,KAAK,EAAEC,MAAAA,IAAI,EAAEC,MAAAA,IAAI,EAAEC,MAAAA,IAAI,EAAEC,QAAAA,MAAM,EAAE,GAAGC;AAG5C,MAAMC;IACF,KAAKC,IAAY,EAAE,GAAGC,IAAW,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AK;QAG5CpD,QAAQ,GAAG,CACP;YACI,CAAC,mDAAmD,EAAET,MAClD,CAAC,GAAG,EAAEY,YAAY,sBAAsB,CAAC,GAC1C;YACH;YACA,CAAC,8CAA8C,EAAEZ,MAC7C,sBACF,SAAS,EAAEA,MAAMY,aAAa,WAAW,CAAC;YAC5C;YACA;YACA;YACA;YACA;YACA;YACA;SACH,CAAC,IAAI,CAAC;IAEf;AACJ"}
|
|
1
|
+
{"version":3,"file":"features/CreateWebinyProject.js","sources":["../../src/features/CreateWebinyProject.ts"],"sourcesContent":["import { execa } from \"execa\";\nimport fs from \"fs-extra\";\nimport type { ListrTask } from \"listr2\";\nimport { Listr } from \"listr2\";\nimport path from \"path\";\nimport { rimrafSync } from \"rimraf\";\nimport chalk from \"chalk\";\nimport yesno from \"yesno\";\nimport { configureMcp } from \"@webiny/mcp\";\nimport type { IUi } from \"@webiny/mcp\";\nimport { SetupBaseWebinyProject } from \"./CreateWebinyProject/projects/base/SetupBaseWebinyProject.js\";\nimport { SetupAwsWebinyProject } from \"./CreateWebinyProject/projects/aws/SetupAwsWebinyProject.js\";\nimport { SetupServerWebinyProject } from \"./CreateWebinyProject/projects/server/SetupServerWebinyProject.js\";\nimport {\n runHostingTypePrompt,\n type HostingType\n} from \"./CreateWebinyProject/projects/runHostingTypePrompt.js\";\nimport {\n Analytics,\n EnsureNoGlobalWebinyCli,\n EnsureNoTargetFolder,\n EnsureNoYarnLockPackageJson,\n EnsureValidProjectName,\n GetProjectRootPath,\n InitGit,\n IsGitAvailable,\n PrintErrorInfo,\n PrintSystemInfo,\n SetupYarn,\n SetWebinyPackageVersions\n} from \"../services/index.js\";\nimport { CliParams } from \"../types.js\";\nimport ora from \"ora\";\n\nconst { green, bold, cyan, gray, yellow } = chalk;\n\n/* Styled UI for MCP setup output — aligns visually with the rest of CWP output. */\nclass CwpUi implements IUi {\n info(text: string, ...args: any[]): void {\n console.log(gray(text), ...args);\n }\n\n success(text: string, ...args: any[]): void {\n console.log(`${green(\"✔\")} ${text}`, ...args);\n }\n\n error(text: string, ...args: any[]): void {\n console.error(`${chalk.red(\"✘\")} ${text}`, ...args);\n }\n\n warning(text: string, ...args: any[]): void {\n console.warn(`${yellow(\"⚠\")} ${text}`, ...args);\n }\n\n text(text: string): void {\n console.log(text);\n }\n\n emptyLine(): void {\n console.log();\n }\n}\n\nexport class CreateWebinyProject {\n async execute(cliArgs: CliParams) {\n const { projectName, debug, cleanup, log } = cliArgs;\n\n if (!projectName) {\n throw Error(\"You must provide a name for the project to use.\");\n }\n\n const getProjectRootPath = new GetProjectRootPath();\n const projectRootPath = getProjectRootPath.execute(cliArgs);\n\n // All of these `ensureXyz` services will terminate the process if something is wrong.\n const ensureValidProjectName = new EnsureValidProjectName();\n ensureValidProjectName.execute(projectName);\n\n const ensureNoTargetFolder = new EnsureNoTargetFolder();\n ensureNoTargetFolder.execute(cliArgs);\n\n const ensureNoYarnLockPackageJson = new EnsureNoYarnLockPackageJson();\n await ensureNoYarnLockPackageJson.execute();\n\n const ensureNoGlobalWebinyCli = new EnsureNoGlobalWebinyCli();\n await ensureNoGlobalWebinyCli.execute();\n\n const isGitAvailable = new IsGitAvailable().execute();\n\n console.log(`Initializing a new Webiny project in ${green(projectRootPath)}...`);\n\n const analytics = new Analytics();\n // No `hostingType` here: in interactive mode the choice hasn't been made yet, and reporting\n // the placeholder default would inflate \"aws\". Use `-end` / `-error` to segment by hosting\n // type, and this event as the funnel denominator.\n await analytics.track(\"start\");\n\n // AI agent selected during the hosting-type prompt (used for MCP setup + final messages).\n let aiAgent: string = \"other\";\n\n // Hosting type. Resolved interactively below, or taken from `--hosting-type` in non-interactive\n // mode (defaults to \"aws\").\n let hostingType: HostingType = cliArgs.hostingType === \"server\" ? \"server\" : \"aws\";\n\n // In interactive mode the value above is only a placeholder until the prompt below runs.\n // Telemetry reports \"unknown\" while that's the case, so a failure before the prompt isn't\n // counted as an AWS project.\n let hostingTypeResolved = cliArgs.interactive === false;\n\n try {\n const taskItems: ListrTask[] = [\n {\n // Creates root package.json.\n title: \"Prepare project folder\",\n task: () => fs.ensureDirSync(projectName)\n },\n {\n title: \"Setup Yarn\",\n task: async () => {\n const setupYarn = new SetupYarn();\n await setupYarn.execute(cliArgs);\n }\n }\n ];\n\n if (isGitAvailable) {\n taskItems.push({\n title: `Initialize git`,\n task: (_, task) => {\n const initGit = new InitGit();\n try {\n initGit.execute(cliArgs);\n } catch {\n task.skip(\"Git repo not initialized\");\n }\n }\n });\n }\n\n const tasks = new Listr(taskItems);\n await tasks.run();\n\n console.log();\n\n // Ask which hosting type to scaffold before anything hosting-specific is copied.\n if (cliArgs.interactive !== false) {\n hostingType = await runHostingTypePrompt();\n hostingTypeResolved = true;\n console.log();\n }\n\n const setupBaseWebinyProject = new SetupBaseWebinyProject();\n setupBaseWebinyProject.execute(cliArgs);\n\n if (hostingType === \"server\") {\n const setupServerWebinyProject = new SetupServerWebinyProject();\n const serverProjectParams = await setupServerWebinyProject.execute(cliArgs);\n aiAgent = serverProjectParams.aiAgent;\n } else {\n const setupAwsWebinyProject = new SetupAwsWebinyProject();\n const awsProjectParams = await setupAwsWebinyProject.execute(cliArgs);\n aiAgent = awsProjectParams.aiAgent;\n }\n\n const setWebinyPackageVersions = new SetWebinyPackageVersions();\n await setWebinyPackageVersions.execute(cliArgs);\n\n // Install dependencies.\n console.log();\n const spinner = ora(\"Installing packages...\").start();\n try {\n const subprocess = execa(\"yarn\", [], {\n cwd: projectRootPath,\n maxBuffer: 500_000_000\n });\n await subprocess;\n spinner.succeed(\"Packages installed successfully.\");\n } catch (e) {\n spinner.fail(\"Failed to install packages.\");\n\n console.log(e.message);\n\n throw new Error(\n \"Failed while installing project dependencies. Please check the above Yarn logs for more information.\",\n { cause: e }\n );\n }\n\n // Configure MCP server for the selected AI agent.\n if (aiAgent !== \"other\") {\n console.log();\n console.log(bold(`Configuring MCP server for ${cyan(aiAgent)}...`));\n console.log();\n await configureMcp({\n agent: aiAgent,\n ui: new CwpUi(),\n cwd: projectRootPath\n });\n }\n\n await analytics.track(\"end\", { hostingType });\n } catch (err) {\n const stage = \"error\";\n // Commenting out for now, as we don't have any graceful errors implemented yet.\n // if (err instanceof GracefulError) {\n // stage = \"error-graceful\";\n // }\n\n await analytics.track(stage, {\n hostingType: hostingTypeResolved ? hostingType : \"unknown\",\n errorMessage: err.cause?.message || err.message,\n errorStack: err.cause?.stack || err.stack\n });\n\n const printErrorInfo = new PrintErrorInfo();\n printErrorInfo.execute(err, cliArgs);\n\n const printSystemInfo = new PrintSystemInfo();\n printSystemInfo.execute(cliArgs);\n\n console.log(`Writing logs to ${green(path.resolve(log))}...`);\n fs.writeFileSync(path.resolve(log), err.toString());\n\n console.log();\n if (cleanup) {\n console.log(\"Deleting created files and folders...\");\n rimrafSync(projectRootPath);\n } else {\n console.log(\"Project cleanup skipped.\");\n }\n\n process.exit(1);\n }\n\n console.log();\n\n // Self-hosted (server) hosting type: no deploy step (ALPHA — dev-first, run with `webiny watch`).\n if (hostingType === \"server\") {\n console.log(\n `🎉 Your new self-hosted Webiny project ${green(projectName)} has been created!`\n );\n console.log();\n console.log(\n yellow(\n \"⚠ The self-hosted (server) hosting type is in ALPHA. It's for local\\n\" +\n \" development and testing with `webiny watch`.\\n\" +\n \" It's still maturing, so expect some rough edges.\"\n )\n );\n console.log();\n\n // For \"other\" agents, show manual MCP setup instructions.\n if (aiAgent === \"other\") {\n await configureMcp({ instructions: true });\n }\n\n console.log(\n [\n `First, enter the project directory: ${green(`cd ${projectName}`)}`,\n \"\",\n `Then start Webiny locally: ${green(\"yarn dev\")}`,\n \"\",\n `To see all of the available CLI commands, run ${green(\n \"yarn webiny --help\"\n )} in your ${green(projectName)} directory.`,\n \"\",\n \"Want to dive deeper into Webiny? Check out https://webiny.com/docs/!\",\n \"Like the project? Star us on https://github.com/webiny/webiny-js!\",\n \"\",\n \"Need help? Join our Slack community! https://www.webiny.com/slack\",\n \"\",\n \"🚀 Happy coding!\"\n ].join(\"\\n\")\n );\n\n return;\n }\n\n console.log(\n `🎉 Your new Webiny project ${green(\n projectName\n )} has been created and is ready to be deployed for the first time!`\n );\n console.log();\n\n const ok = await yesno({\n question: bold(`${green(\"?\")} Would you like to deploy your project now (Y/n)?`),\n defaultValue: true\n });\n\n console.log();\n\n if (ok) {\n console.log(\"🚀 Deploying your new Webiny project...\");\n console.log();\n\n try {\n const command = [\"webiny\", \"deploy\"];\n if (debug) {\n command.push(\"--debug\");\n }\n\n await execa(\"yarn\", command, {\n cwd: projectRootPath,\n stdio: \"inherit\"\n });\n } catch {\n // Don't do anything. This is because the `webiny deploy` command has its own\n // error handling and will print the error message. As far as this setup script\n // is concerned, it succeeded, and it doesn't need to do anything else.\n }\n\n // For \"other\" agents, show manual MCP setup instructions after deploy has finished.\n if (aiAgent === \"other\") {\n await configureMcp({ instructions: true });\n }\n\n return;\n }\n\n // For \"other\" agents, show manual MCP setup instructions instead of blocking the deploy step.\n if (aiAgent === \"other\") {\n await configureMcp({ instructions: true });\n }\n\n console.log(\n [\n `Finish the setup by running the following command: ${green(\n `cd ${projectName} && yarn webiny deploy`\n )}`,\n \"\",\n `To see all of the available CLI commands, run ${green(\n \"yarn webiny --help\"\n )} in your ${green(projectName)} directory.`,\n \"\",\n \"Want to dive deeper into Webiny? Check out https://webiny.com/docs/!\",\n \"Like the project? Star us on https://github.com/webiny/webiny-js!\",\n \"\",\n \"Need help? Join our Slack community! https://www.webiny.com/slack\",\n \"\",\n \"🚀 Happy coding!\"\n ].join(\"\\n\")\n );\n }\n}\n"],"names":["green","bold","cyan","gray","yellow","chalk","CwpUi","text","args","console","CreateWebinyProject","cliArgs","projectName","debug","cleanup","log","Error","getProjectRootPath","GetProjectRootPath","projectRootPath","ensureValidProjectName","EnsureValidProjectName","ensureNoTargetFolder","EnsureNoTargetFolder","ensureNoYarnLockPackageJson","EnsureNoYarnLockPackageJson","ensureNoGlobalWebinyCli","EnsureNoGlobalWebinyCli","isGitAvailable","IsGitAvailable","analytics","Analytics","aiAgent","hostingType","hostingTypeResolved","taskItems","fs","setupYarn","SetupYarn","_","task","initGit","InitGit","tasks","Listr","runHostingTypePrompt","setupBaseWebinyProject","SetupBaseWebinyProject","setupServerWebinyProject","SetupServerWebinyProject","serverProjectParams","setupAwsWebinyProject","SetupAwsWebinyProject","awsProjectParams","setWebinyPackageVersions","SetWebinyPackageVersions","spinner","ora","subprocess","execa","e","configureMcp","err","stage","printErrorInfo","PrintErrorInfo","printSystemInfo","PrintSystemInfo","path","rimrafSync","process","ok","yesno","command"],"mappings":";;;;;;;;;;;;;;AAkCA,MAAM,EAAEA,OAAAA,KAAK,EAAEC,MAAAA,IAAI,EAAEC,MAAAA,IAAI,EAAEC,MAAAA,IAAI,EAAEC,QAAAA,MAAM,EAAE,GAAGC;AAG5C,MAAMC;IACF,KAAKC,IAAY,EAAE,GAAGC,IAAW,EAAQ;QACrCC,QAAQ,GAAG,CAACN,KAAKI,UAAUC;IAC/B;IAEA,QAAQD,IAAY,EAAE,GAAGC,IAAW,EAAQ;QACxCC,QAAQ,GAAG,CAAC,GAAGT,MAAM,KAAK,CAAC,EAAEO,MAAM,KAAKC;IAC5C;IAEA,MAAMD,IAAY,EAAE,GAAGC,IAAW,EAAQ;QACtCC,QAAQ,KAAK,CAAC,GAAGJ,MAAM,GAAG,CAAC,KAAK,CAAC,EAAEE,MAAM,KAAKC;IAClD;IAEA,QAAQD,IAAY,EAAE,GAAGC,IAAW,EAAQ;QACxCC,QAAQ,IAAI,CAAC,GAAGL,OAAO,KAAK,CAAC,EAAEG,MAAM,KAAKC;IAC9C;IAEA,KAAKD,IAAY,EAAQ;QACrBE,QAAQ,GAAG,CAACF;IAChB;IAEA,YAAkB;QACdE,QAAQ,GAAG;IACf;AACJ;AAEO,MAAMC;IACT,MAAM,QAAQC,OAAkB,EAAE;QAC9B,MAAM,EAAEC,WAAW,EAAEC,KAAK,EAAEC,OAAO,EAAEC,GAAG,EAAE,GAAGJ;QAE7C,IAAI,CAACC,aACD,MAAMI,MAAM;QAGhB,MAA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AGD,MAAM,KAAK,iDAAiD,CAAC;YAC/E,cAAc;QAClB;QAEAS,QAAQ,GAAG;QAEX,IAAI8D,IAAI;YACJ9D,QAAQ,GAAG,CAAC;YACZA,QAAQ,GAAG;YAEX,IAAI;gBACA,MAAMgE,UAAU;oBAAC;oBAAU;iBAAS;gBACpC,IAAI5D,OACA4D,QAAQ,IAAI,CAAC;gBAGjB,MAAMd,MAAM,QAAQc,SAAS;oBACzB,KAAKtD;oBACL,OAAO;gBACX;YACJ,EAAE,OAAM,CAIR;YAGA,IAAIa,AAAY,YAAZA,SACA,MAAM6B,aAAa;gBAAE,cAAc;YAAK;YAG5C;QACJ;QAGA,IAAI7B,AAAY,YAAZA,SACA,MAAM6B,aAAa;YAAE,cAAc;QAAK;QAG5CpD,QAAQ,GAAG,CACP;YACI,CAAC,mDAAmD,EAAET,MAClD,CAAC,GAAG,EAAEY,YAAY,sBAAsB,CAAC,GAC1C;YACH;YACA,CAAC,8CAA8C,EAAEZ,MAC7C,sBACF,SAAS,EAAEA,MAAMY,aAAa,WAAW,CAAC;YAC5C;YACA;YACA;YACA;YACA;YACA;YACA;SACH,CAAC,IAAI,CAAC;IAEf;AACJ"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-webiny-project",
|
|
3
|
-
"version": "6.6.0-alpha.
|
|
3
|
+
"version": "6.6.0-alpha.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Webiny project bootstrap tool.",
|
|
6
6
|
"exports": {
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
"author": "Webiny Ltd.",
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@webiny/build-tools": "6.6.0-alpha.
|
|
17
|
-
"@webiny/mcp": "6.6.0-alpha.
|
|
16
|
+
"@webiny/build-tools": "6.6.0-alpha.3",
|
|
17
|
+
"@webiny/mcp": "6.6.0-alpha.3",
|
|
18
18
|
"@webiny/stdlib": "0.0.17",
|
|
19
|
-
"@webiny/system-requirements": "6.6.0-alpha.
|
|
20
|
-
"@webiny/telemetry": "6.6.0-alpha.
|
|
19
|
+
"@webiny/system-requirements": "6.6.0-alpha.3",
|
|
20
|
+
"@webiny/telemetry": "6.6.0-alpha.3",
|
|
21
21
|
"chalk": "6.0.0",
|
|
22
22
|
"execa": "10.0.1",
|
|
23
23
|
"find-up": "8.0.0",
|