UNPKG

@storm-software/workspace-tools

Version:

Tools for managing a Storm workspace, including various Nx generators and executors for common development tasks.

180 lines (172 loc) 4.09 kB
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); var _chunkI734UVDTjs = require('./chunk-I734UVDT.js'); var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js'); // src/base/typescript-build-executor.untyped.ts var _untyped = require('untyped'); var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, { ..._chunkI734UVDTjs.base_executor_untyped_default, $schema: { id: "TypeScriptBuildExecutorSchema", title: "TypeScript Build Executor", description: "A type definition for the base TypeScript build executor schema", required: [ "entry", "tsconfig" ] }, entry: { $schema: { title: "Entry File(s)", format: "path", type: "array", description: "The entry file or files to build", items: { type: "string" } }, $default: [ "{sourceRoot}/index.ts" ] }, tsconfig: { $schema: { title: "TSConfig Path", type: "string", format: "path", description: "The path to the tsconfig file" }, $default: "{projectRoot}/tsconfig.json" }, bundle: { $schema: { title: "Bundle", type: "boolean", description: "Bundle the output" } }, minify: { $schema: { title: "Minify", type: "boolean", description: "Minify the output" } }, debug: { $schema: { title: "Debug", type: "boolean", description: "Debug the output" } }, sourcemap: { $schema: { title: "Sourcemap", type: "boolean", description: "Generate a sourcemap" } }, silent: { $schema: { title: "Silent", type: "boolean", description: "Should the build run silently - only report errors back to the user" }, $default: false }, target: { $schema: { title: "Target", type: "string", description: "The target to build", enum: [ "es3", "es5", "es6", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022", "es2023", "es2024", "esnext", "node12", "node14", "node16", "node18", "node20", "node22", "browser", "chrome58", "chrome59", "chrome60" ] }, $default: "esnext", $resolve: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (val = "esnext") => val.toLowerCase(), "$resolve") }, format: { $schema: { title: "Format", type: "array", description: "The format to build", items: { type: "string", enum: [ "cjs", "esm", "iife" ] } }, $resolve: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (val = [ "cjs", "esm" ]) => [].concat(val), "$resolve") }, platform: { $schema: { title: "Platform", type: "string", description: "The platform to build", enum: [ "neutral", "node", "browser" ] }, $default: "neutral" }, external: { $schema: { title: "External", type: "array", description: "The external dependencies" }, $resolve: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (val = []) => [].concat(val), "$resolve") }, define: { $schema: { title: "Define", type: "object", tsType: "Record<string, string>", description: "The define values" }, $resolve: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (val = {}) => val, "$resolve"), $default: {} }, env: { $schema: { title: "Environment Variables", type: "object", tsType: "Record<string, string>", description: "The environment variable values" }, $resolve: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (val = {}) => val, "$resolve"), $default: {} } }); exports.typescript_build_executor_untyped_default = typescript_build_executor_untyped_default;