UNPKG

@catladder/cli

Version:

Panter cli tool for cloud CI/CD and DevOps

84 lines 2.6 kB
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { desc = { enumerable: true, get: function() { return m[k]; } }; } Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })); var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; Object.defineProperty(exports, "__esModule", { value: true }); exports.WORKSPACE_BUILD_TYPES = exports.BUILD_TYPES = void 0; const custom_1 = require("./custom"); const node_1 = require("./node"); const rails_1 = require("./rails"); __exportStar(require("./node"), exports); __exportStar(require("./types"), exports); exports.BUILD_TYPES = { node: { jobs: node_1.createNodeJobs, defaults: () => ({ buildCommand: "yarn build", startCommand: "yarn start", artifactsPaths: ["dist", ".next"], artifactsExcludePaths: [".next/cache/**/*"], }), }, "node-static": { jobs: node_1.createNodeJobs, defaults: () => ({ buildCommand: "yarn build", artifactsPaths: ["dist"], }), }, storybook: { jobs: node_1.createStorybookJobs, defaults: () => ({ buildCommand: ["yarn build-storybook --quiet -o ./dist"], artifactsPaths: ["dist"], }), }, meteor: { jobs: node_1.createMeteorJobs, defaults: () => ({ startCommand: "node main.js", artifactsPaths: ["dist"], }), }, custom: { jobs: custom_1.createCustomJobs, defaults: () => ({ artifactsPaths: ["dist"], }), }, rails: { jobs: rails_1.createRailsJobs, defaults: () => ({ cnbBuilder: { image: "heroku/builder:24", packVersion: "0.36.4", }, }), }, }; exports.WORKSPACE_BUILD_TYPES = { node: { jobs: node_1.createNodeJobs, defaults: () => ({ buildCommand: "yarn build", lint: { command: "yarn lint", }, test: { command: "yarn test", }, }), }, }; //# sourceMappingURL=index.js.map