UNPKG

@elsikora/setup-wizard

Version:

Setup Wizard - CLI scaffolding utility

48 lines (46 loc) 3.3 kB
#!/usr/bin/env node const ESLINT_CONFIG_MESSAGES = { branchScriptDescription: "- description of each generated script", cannotEnableBothTypescript: "Cannot enable both TypeScript and TypeScript Strict mode. Please choose one.", configurationCannotProceed: "Configuration cannot proceed due to the following errors:\n", configurationCompleted: "ESLint configuration completed successfully!", configurationFilesLabel: "Configuration files:", customizeInFile: "You can customize the configuration in these file:", detectedFeatures: (features) => `Detected features: ${features}. Would you like to include these features?`, detectedFrameworks: (frameworks) => `Detected frameworks: ${frameworks}`, detectingFrameworks: "Detecting frameworks...", eslintConfigCreated: "ESLint configuration has been created.", eslintPackageName: "eslint", eslintSetupFailed: "Failed to complete ESLint setup", eslintUninstalledSuccessfully: "ESLint uninstalled successfully.", eslintUpdateCancelled: "ESLint update cancelled. Setup cannot proceed with the current version.", eslintVersionLower: (current, required) => `Detected ESLint version ${current}, which is lower than required version ${required}.`, existingConfigAborted: "Existing ElsiKora ESLint configuration detected. Setup aborted.", existingConfigDetected: "An existing ElsiKora ESLint configuration is detected. Would you like to uninstall it?", existingConfigUninstalled: "Existing ESLint configuration uninstalled successfully!", existingFilesAborted: "Existing ESLint configuration files detected. Setup aborted.", existingFilesDetected: (filesList) => `Existing ESLint configuration files detected:\n${filesList}\n\nDo you want to delete them?`, failedDetectFrameworks: "Failed to detect frameworks", failedSetupConfig: "Failed to setup ESLint configuration", failedUninstallConfig: "Failed to uninstall existing ESLint configuration", failedUserConfirmation: "Failed to get user confirmation", featureRequiresTypescript: (feature) => `${feature} requires TypeScript, but TypeScript is not detected in your project.`, frameworkConfigurationsLabel: "Framework-specific configurations:", frameworkDetectionCompleted: "Framework detection completed", frameworksLabel: "Detected Frameworks:", generatedScriptsLabel: "Generated scripts:", installedFeaturesLabel: "Installed features:", lintPaths: "Lint Paths:", noFeaturesSelected: "No features selected.", noFrameworkConfigurations: "No framework-specific configurations", noFrameworksDetected: "No frameworks detected", removeEslintVersion: (version) => `Do you want to remove ESLint version ${version} and install the latest version?`, selectFeatures: "Select the features you want to enable:", settingUpConfig: "Setting up ESLint configuration...", setupEslintPrompt: "Do you want to set up ESLint for your project?", typescriptStrictSelected: "Both TypeScript and TypeScript Strict were selected. Using TypeScript Strict mode (recommended).", uninstallingConfig: "Uninstalling existing ESLint configuration...", uninstallingEslint: "Uninstalling ESLint...", }; export { ESLINT_CONFIG_MESSAGES }; //# sourceMappingURL=messages.constant.js.map