UNPKG

piral-cli

Version:

The standard CLI for creating and building a Piral instance or a Pilet.

16 lines 634 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = default_1; /** * Checks that the Piral instance depends either on `piral` or `piral-core` or `piral-base`. */ function default_1(context, options = undefined) { if (!context.dependencies.piral && !context.dependencies.piralCore && !context.dependencies.piralBase) { context.warning(` The dependencies of the Piral instance should list either piral, piral-core, or piral-base. Expected: "piral" | "piral-core" | "piral-base" in dependencies. Received: <none>. `); } } //# sourceMappingURL=piral-depends-on-piral.js.map