UNPKG

@schemifyjs/core

Version:

Core module of the SchemifyJS CLI. Provides reusable functions such as scaffolding, template handling, and general utilities.

7 lines (6 loc) 234 B
import { PackageManagerType } from '@schemifyjs/types'; export function validatePackageManager(value) { return Object.values(PackageManagerType).includes(value) ? true : 'Please select a valid package manager.'; }