@514labs/moose-lib 0.6.320-ci-6-g8ee5a20d → 0.6.320-ci-4-g05309f4d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browserCompatible.js +8 -0
- package/dist/browserCompatible.js.map +1 -1
- package/dist/browserCompatible.mjs +8 -0
- package/dist/browserCompatible.mjs.map +1 -1
- package/dist/dataModels/toDataModels.js +7 -3
- package/dist/dataModels/toDataModels.js.map +1 -1
- package/dist/dataModels/toDataModels.mjs +7 -3
- package/dist/dataModels/toDataModels.mjs.map +1 -1
- package/dist/dmv2/index.js +8 -0
- package/dist/dmv2/index.js.map +1 -1
- package/dist/dmv2/index.mjs +8 -0
- package/dist/dmv2/index.mjs.map +1 -1
- package/dist/index.js +59 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +63 -21
- package/dist/index.mjs.map +1 -1
- package/dist/moose-runner.js +107 -53
- package/dist/moose-runner.js.map +1 -1
- package/dist/moose-runner.mjs +114 -60
- package/dist/moose-runner.mjs.map +1 -1
- package/dist/moose-tspc.d.mts +1 -0
- package/dist/moose-tspc.d.ts +1 -0
- package/dist/moose-tspc.js +85 -0
- package/dist/moose-tspc.js.map +1 -0
- package/dist/moose-tspc.mjs +62 -0
- package/dist/moose-tspc.mjs.map +1 -0
- package/package.json +3 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
"use strict";
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
18
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
19
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
20
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
21
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
22
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
23
|
+
mod
|
|
24
|
+
));
|
|
25
|
+
|
|
26
|
+
// src/moose-tspc.ts
|
|
27
|
+
var import_child_process = require("child_process");
|
|
28
|
+
var import_fs = require("fs");
|
|
29
|
+
var import_path = __toESM(require("path"));
|
|
30
|
+
|
|
31
|
+
// src/compiler-config.ts
|
|
32
|
+
var MOOSE_COMPILER_PLUGINS = [
|
|
33
|
+
{
|
|
34
|
+
transform: "./node_modules/@514labs/moose-lib/dist/compilerPlugin.js",
|
|
35
|
+
transformProgram: true
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
transform: "typia/lib/transform"
|
|
39
|
+
}
|
|
40
|
+
];
|
|
41
|
+
var MOOSE_COMPILER_OPTIONS = {
|
|
42
|
+
experimentalDecorators: true,
|
|
43
|
+
// Match ts-node's ESM mode for consistent module output
|
|
44
|
+
module: "NodeNext",
|
|
45
|
+
moduleResolution: "NodeNext",
|
|
46
|
+
esModuleInterop: true
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
// src/moose-tspc.ts
|
|
50
|
+
var outDir = process.argv[2] || ".moose/compiled";
|
|
51
|
+
var projectRoot = process.cwd();
|
|
52
|
+
var tsconfigPath = import_path.default.join(projectRoot, "tsconfig.json");
|
|
53
|
+
var tempTsconfigPath = import_path.default.join(projectRoot, "tsconfig.moose-build.json");
|
|
54
|
+
if (!(0, import_fs.existsSync)(tsconfigPath)) {
|
|
55
|
+
console.error("Error: tsconfig.json not found in", projectRoot);
|
|
56
|
+
process.exit(1);
|
|
57
|
+
}
|
|
58
|
+
console.log(`Compiling TypeScript to ${outDir}...`);
|
|
59
|
+
try {
|
|
60
|
+
const buildTsconfig = {
|
|
61
|
+
extends: "./tsconfig.json",
|
|
62
|
+
compilerOptions: {
|
|
63
|
+
...MOOSE_COMPILER_OPTIONS,
|
|
64
|
+
plugins: [...MOOSE_COMPILER_PLUGINS]
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
(0, import_fs.writeFileSync)(tempTsconfigPath, JSON.stringify(buildTsconfig, null, 2));
|
|
68
|
+
console.log("Created temporary tsconfig with moose plugins...");
|
|
69
|
+
(0, import_child_process.execSync)(
|
|
70
|
+
`npx tspc -p ${tempTsconfigPath} --outDir ${outDir} --rootDir . --sourceMap --inlineSources --skipLibCheck`,
|
|
71
|
+
{
|
|
72
|
+
stdio: "inherit",
|
|
73
|
+
cwd: projectRoot
|
|
74
|
+
}
|
|
75
|
+
);
|
|
76
|
+
console.log("Compilation complete.");
|
|
77
|
+
} catch (error) {
|
|
78
|
+
console.error("Compilation failed:", error);
|
|
79
|
+
process.exit(1);
|
|
80
|
+
} finally {
|
|
81
|
+
if ((0, import_fs.existsSync)(tempTsconfigPath)) {
|
|
82
|
+
(0, import_fs.unlinkSync)(tempTsconfigPath);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
//# sourceMappingURL=moose-tspc.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/moose-tspc.ts","../src/compiler-config.ts"],"sourcesContent":["#!/usr/bin/env node\n/**\n * Pre-compiles TypeScript app code with moose compiler plugins and typia transforms.\n * Used during Docker build to eliminate ts-node overhead at runtime.\n *\n * Usage: moose-tspc [outDir]\n * outDir: Output directory for compiled files (default: .moose/compiled)\n *\n * This script creates a temporary tsconfig that extends the user's config and adds\n * the required moose compiler plugins, then runs tspc to compile with transforms.\n */\nimport { execSync } from \"child_process\";\nimport { existsSync, writeFileSync, unlinkSync } from \"fs\";\nimport path from \"path\";\nimport {\n MOOSE_COMPILER_PLUGINS,\n MOOSE_COMPILER_OPTIONS,\n} from \"./compiler-config\";\n\nconst outDir = process.argv[2] || \".moose/compiled\";\nconst projectRoot = process.cwd();\nconst tsconfigPath = path.join(projectRoot, \"tsconfig.json\");\nconst tempTsconfigPath = path.join(projectRoot, \"tsconfig.moose-build.json\");\n\nif (!existsSync(tsconfigPath)) {\n console.error(\"Error: tsconfig.json not found in\", projectRoot);\n process.exit(1);\n}\n\nconsole.log(`Compiling TypeScript to ${outDir}...`);\n\ntry {\n // Create a temporary tsconfig that extends the user's config and adds plugins.\n // We use extends (not spread) to properly inherit all user settings.\n // Only override what's needed for moose compilation.\n const buildTsconfig = {\n extends: \"./tsconfig.json\",\n compilerOptions: {\n ...MOOSE_COMPILER_OPTIONS,\n plugins: [...MOOSE_COMPILER_PLUGINS],\n },\n };\n\n // Write the temporary tsconfig\n writeFileSync(tempTsconfigPath, JSON.stringify(buildTsconfig, null, 2));\n console.log(\"Created temporary tsconfig with moose plugins...\");\n\n // Use tspc (ts-patch compiler CLI) with the temporary tsconfig\n // Include source maps for better error messages in production\n // --skipLibCheck avoids type-checking node_modules (some packages have type issues)\n // --rootDir . preserves directory structure (e.g., app/index.ts -> outDir/app/index.js)\n execSync(\n `npx tspc -p ${tempTsconfigPath} --outDir ${outDir} --rootDir . --sourceMap --inlineSources --skipLibCheck`,\n {\n stdio: \"inherit\",\n cwd: projectRoot,\n },\n );\n\n console.log(\"Compilation complete.\");\n} catch (error) {\n console.error(\"Compilation failed:\", error);\n process.exit(1);\n} finally {\n // Clean up the temporary tsconfig\n if (existsSync(tempTsconfigPath)) {\n unlinkSync(tempTsconfigPath);\n }\n}\n","import { existsSync } from \"fs\";\nimport path from \"path\";\n\n/**\n * Shared TypeScript compiler configuration for moose projects.\n * Used by both moose-runner.ts (runtime) and moose-tspc.ts (pre-compilation).\n *\n * This ensures identical compilation behavior between:\n * - Development: ts-node with plugins (dynamic compilation)\n * - Production: Pre-compiled JavaScript (via moose-tspc)\n */\n\nexport const MOOSE_COMPILER_PLUGINS = [\n {\n transform: \"./node_modules/@514labs/moose-lib/dist/compilerPlugin.js\",\n transformProgram: true,\n },\n {\n transform: \"typia/lib/transform\",\n },\n] as const;\n\nexport const MOOSE_COMPILER_OPTIONS = {\n experimentalDecorators: true,\n // Match ts-node's ESM mode for consistent module output\n module: \"NodeNext\",\n moduleResolution: \"NodeNext\",\n esModuleInterop: true,\n} as const;\n\n// Commands that require full plugin compilation (moose transforms + typia)\nexport const COMMANDS_REQUIRING_PLUGINS = [\n \"consumption-apis\",\n \"consumption-type-serializer\",\n \"dmv2-serializer\",\n \"streaming-functions\",\n \"scripts\",\n] as const;\n\n/**\n * Default source directory for user code.\n * Can be overridden via MOOSE_SOURCE_DIR environment variable.\n */\nexport function getSourceDir(): string {\n return process.env.MOOSE_SOURCE_DIR || \"app\";\n}\n\n/**\n * Check if pre-compiled artifacts exist for the current project.\n * Used to determine whether to use compiled code or fall back to ts-node.\n */\nexport function hasCompiledArtifacts(\n projectRoot: string = process.cwd(),\n): boolean {\n const sourceDir = getSourceDir();\n const compiledIndexPath = path.join(\n projectRoot,\n \".moose\",\n \"compiled\",\n sourceDir,\n \"index.js\",\n );\n return existsSync(compiledIndexPath);\n}\n\n/**\n * Determine if we should use pre-compiled code.\n * Returns true if MOOSE_USE_COMPILED=true AND compiled artifacts exist.\n * This provides automatic fallback to ts-node if compilation wasn't run.\n */\nexport function shouldUseCompiled(\n projectRoot: string = process.cwd(),\n): boolean {\n const envSaysCompiled = process.env.MOOSE_USE_COMPILED === \"true\";\n if (!envSaysCompiled) {\n return false;\n }\n\n const hasArtifacts = hasCompiledArtifacts(projectRoot);\n if (!hasArtifacts) {\n console.warn(\n \"[moose] MOOSE_USE_COMPILED=true but no compiled artifacts found at \" +\n `.moose/compiled/${getSourceDir()}/index.js. Falling back to ts-node.`,\n );\n }\n return hasArtifacts;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,2BAAyB;AACzB,gBAAsD;AACtD,kBAAiB;;;ACDV,IAAM,yBAAyB;AAAA,EACpC;AAAA,IACE,WAAW;AAAA,IACX,kBAAkB;AAAA,EACpB;AAAA,EACA;AAAA,IACE,WAAW;AAAA,EACb;AACF;AAEO,IAAM,yBAAyB;AAAA,EACpC,wBAAwB;AAAA;AAAA,EAExB,QAAQ;AAAA,EACR,kBAAkB;AAAA,EAClB,iBAAiB;AACnB;;;ADTA,IAAM,SAAS,QAAQ,KAAK,CAAC,KAAK;AAClC,IAAM,cAAc,QAAQ,IAAI;AAChC,IAAM,eAAe,YAAAA,QAAK,KAAK,aAAa,eAAe;AAC3D,IAAM,mBAAmB,YAAAA,QAAK,KAAK,aAAa,2BAA2B;AAE3E,IAAI,KAAC,sBAAW,YAAY,GAAG;AAC7B,UAAQ,MAAM,qCAAqC,WAAW;AAC9D,UAAQ,KAAK,CAAC;AAChB;AAEA,QAAQ,IAAI,2BAA2B,MAAM,KAAK;AAElD,IAAI;AAIF,QAAM,gBAAgB;AAAA,IACpB,SAAS;AAAA,IACT,iBAAiB;AAAA,MACf,GAAG;AAAA,MACH,SAAS,CAAC,GAAG,sBAAsB;AAAA,IACrC;AAAA,EACF;AAGA,+BAAc,kBAAkB,KAAK,UAAU,eAAe,MAAM,CAAC,CAAC;AACtE,UAAQ,IAAI,kDAAkD;AAM9D;AAAA,IACE,eAAe,gBAAgB,aAAa,MAAM;AAAA,IAClD;AAAA,MACE,OAAO;AAAA,MACP,KAAK;AAAA,IACP;AAAA,EACF;AAEA,UAAQ,IAAI,uBAAuB;AACrC,SAAS,OAAO;AACd,UAAQ,MAAM,uBAAuB,KAAK;AAC1C,UAAQ,KAAK,CAAC;AAChB,UAAE;AAEA,UAAI,sBAAW,gBAAgB,GAAG;AAChC,8BAAW,gBAAgB;AAAA,EAC7B;AACF;","names":["path"]}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// src/moose-tspc.ts
|
|
4
|
+
import { execSync } from "child_process";
|
|
5
|
+
import { existsSync, writeFileSync, unlinkSync } from "fs";
|
|
6
|
+
import path from "path";
|
|
7
|
+
|
|
8
|
+
// src/compiler-config.ts
|
|
9
|
+
var MOOSE_COMPILER_PLUGINS = [
|
|
10
|
+
{
|
|
11
|
+
transform: "./node_modules/@514labs/moose-lib/dist/compilerPlugin.js",
|
|
12
|
+
transformProgram: true
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
transform: "typia/lib/transform"
|
|
16
|
+
}
|
|
17
|
+
];
|
|
18
|
+
var MOOSE_COMPILER_OPTIONS = {
|
|
19
|
+
experimentalDecorators: true,
|
|
20
|
+
// Match ts-node's ESM mode for consistent module output
|
|
21
|
+
module: "NodeNext",
|
|
22
|
+
moduleResolution: "NodeNext",
|
|
23
|
+
esModuleInterop: true
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
// src/moose-tspc.ts
|
|
27
|
+
var outDir = process.argv[2] || ".moose/compiled";
|
|
28
|
+
var projectRoot = process.cwd();
|
|
29
|
+
var tsconfigPath = path.join(projectRoot, "tsconfig.json");
|
|
30
|
+
var tempTsconfigPath = path.join(projectRoot, "tsconfig.moose-build.json");
|
|
31
|
+
if (!existsSync(tsconfigPath)) {
|
|
32
|
+
console.error("Error: tsconfig.json not found in", projectRoot);
|
|
33
|
+
process.exit(1);
|
|
34
|
+
}
|
|
35
|
+
console.log(`Compiling TypeScript to ${outDir}...`);
|
|
36
|
+
try {
|
|
37
|
+
const buildTsconfig = {
|
|
38
|
+
extends: "./tsconfig.json",
|
|
39
|
+
compilerOptions: {
|
|
40
|
+
...MOOSE_COMPILER_OPTIONS,
|
|
41
|
+
plugins: [...MOOSE_COMPILER_PLUGINS]
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
writeFileSync(tempTsconfigPath, JSON.stringify(buildTsconfig, null, 2));
|
|
45
|
+
console.log("Created temporary tsconfig with moose plugins...");
|
|
46
|
+
execSync(
|
|
47
|
+
`npx tspc -p ${tempTsconfigPath} --outDir ${outDir} --rootDir . --sourceMap --inlineSources --skipLibCheck`,
|
|
48
|
+
{
|
|
49
|
+
stdio: "inherit",
|
|
50
|
+
cwd: projectRoot
|
|
51
|
+
}
|
|
52
|
+
);
|
|
53
|
+
console.log("Compilation complete.");
|
|
54
|
+
} catch (error) {
|
|
55
|
+
console.error("Compilation failed:", error);
|
|
56
|
+
process.exit(1);
|
|
57
|
+
} finally {
|
|
58
|
+
if (existsSync(tempTsconfigPath)) {
|
|
59
|
+
unlinkSync(tempTsconfigPath);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=moose-tspc.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/moose-tspc.ts","../src/compiler-config.ts"],"sourcesContent":["#!/usr/bin/env node\n/**\n * Pre-compiles TypeScript app code with moose compiler plugins and typia transforms.\n * Used during Docker build to eliminate ts-node overhead at runtime.\n *\n * Usage: moose-tspc [outDir]\n * outDir: Output directory for compiled files (default: .moose/compiled)\n *\n * This script creates a temporary tsconfig that extends the user's config and adds\n * the required moose compiler plugins, then runs tspc to compile with transforms.\n */\nimport { execSync } from \"child_process\";\nimport { existsSync, writeFileSync, unlinkSync } from \"fs\";\nimport path from \"path\";\nimport {\n MOOSE_COMPILER_PLUGINS,\n MOOSE_COMPILER_OPTIONS,\n} from \"./compiler-config\";\n\nconst outDir = process.argv[2] || \".moose/compiled\";\nconst projectRoot = process.cwd();\nconst tsconfigPath = path.join(projectRoot, \"tsconfig.json\");\nconst tempTsconfigPath = path.join(projectRoot, \"tsconfig.moose-build.json\");\n\nif (!existsSync(tsconfigPath)) {\n console.error(\"Error: tsconfig.json not found in\", projectRoot);\n process.exit(1);\n}\n\nconsole.log(`Compiling TypeScript to ${outDir}...`);\n\ntry {\n // Create a temporary tsconfig that extends the user's config and adds plugins.\n // We use extends (not spread) to properly inherit all user settings.\n // Only override what's needed for moose compilation.\n const buildTsconfig = {\n extends: \"./tsconfig.json\",\n compilerOptions: {\n ...MOOSE_COMPILER_OPTIONS,\n plugins: [...MOOSE_COMPILER_PLUGINS],\n },\n };\n\n // Write the temporary tsconfig\n writeFileSync(tempTsconfigPath, JSON.stringify(buildTsconfig, null, 2));\n console.log(\"Created temporary tsconfig with moose plugins...\");\n\n // Use tspc (ts-patch compiler CLI) with the temporary tsconfig\n // Include source maps for better error messages in production\n // --skipLibCheck avoids type-checking node_modules (some packages have type issues)\n // --rootDir . preserves directory structure (e.g., app/index.ts -> outDir/app/index.js)\n execSync(\n `npx tspc -p ${tempTsconfigPath} --outDir ${outDir} --rootDir . --sourceMap --inlineSources --skipLibCheck`,\n {\n stdio: \"inherit\",\n cwd: projectRoot,\n },\n );\n\n console.log(\"Compilation complete.\");\n} catch (error) {\n console.error(\"Compilation failed:\", error);\n process.exit(1);\n} finally {\n // Clean up the temporary tsconfig\n if (existsSync(tempTsconfigPath)) {\n unlinkSync(tempTsconfigPath);\n }\n}\n","import { existsSync } from \"fs\";\nimport path from \"path\";\n\n/**\n * Shared TypeScript compiler configuration for moose projects.\n * Used by both moose-runner.ts (runtime) and moose-tspc.ts (pre-compilation).\n *\n * This ensures identical compilation behavior between:\n * - Development: ts-node with plugins (dynamic compilation)\n * - Production: Pre-compiled JavaScript (via moose-tspc)\n */\n\nexport const MOOSE_COMPILER_PLUGINS = [\n {\n transform: \"./node_modules/@514labs/moose-lib/dist/compilerPlugin.js\",\n transformProgram: true,\n },\n {\n transform: \"typia/lib/transform\",\n },\n] as const;\n\nexport const MOOSE_COMPILER_OPTIONS = {\n experimentalDecorators: true,\n // Match ts-node's ESM mode for consistent module output\n module: \"NodeNext\",\n moduleResolution: \"NodeNext\",\n esModuleInterop: true,\n} as const;\n\n// Commands that require full plugin compilation (moose transforms + typia)\nexport const COMMANDS_REQUIRING_PLUGINS = [\n \"consumption-apis\",\n \"consumption-type-serializer\",\n \"dmv2-serializer\",\n \"streaming-functions\",\n \"scripts\",\n] as const;\n\n/**\n * Default source directory for user code.\n * Can be overridden via MOOSE_SOURCE_DIR environment variable.\n */\nexport function getSourceDir(): string {\n return process.env.MOOSE_SOURCE_DIR || \"app\";\n}\n\n/**\n * Check if pre-compiled artifacts exist for the current project.\n * Used to determine whether to use compiled code or fall back to ts-node.\n */\nexport function hasCompiledArtifacts(\n projectRoot: string = process.cwd(),\n): boolean {\n const sourceDir = getSourceDir();\n const compiledIndexPath = path.join(\n projectRoot,\n \".moose\",\n \"compiled\",\n sourceDir,\n \"index.js\",\n );\n return existsSync(compiledIndexPath);\n}\n\n/**\n * Determine if we should use pre-compiled code.\n * Returns true if MOOSE_USE_COMPILED=true AND compiled artifacts exist.\n * This provides automatic fallback to ts-node if compilation wasn't run.\n */\nexport function shouldUseCompiled(\n projectRoot: string = process.cwd(),\n): boolean {\n const envSaysCompiled = process.env.MOOSE_USE_COMPILED === \"true\";\n if (!envSaysCompiled) {\n return false;\n }\n\n const hasArtifacts = hasCompiledArtifacts(projectRoot);\n if (!hasArtifacts) {\n console.warn(\n \"[moose] MOOSE_USE_COMPILED=true but no compiled artifacts found at \" +\n `.moose/compiled/${getSourceDir()}/index.js. Falling back to ts-node.`,\n );\n }\n return hasArtifacts;\n}\n"],"mappings":";;;AAWA,SAAS,gBAAgB;AACzB,SAAS,YAAY,eAAe,kBAAkB;AACtD,OAAO,UAAU;;;ACDV,IAAM,yBAAyB;AAAA,EACpC;AAAA,IACE,WAAW;AAAA,IACX,kBAAkB;AAAA,EACpB;AAAA,EACA;AAAA,IACE,WAAW;AAAA,EACb;AACF;AAEO,IAAM,yBAAyB;AAAA,EACpC,wBAAwB;AAAA;AAAA,EAExB,QAAQ;AAAA,EACR,kBAAkB;AAAA,EAClB,iBAAiB;AACnB;;;ADTA,IAAM,SAAS,QAAQ,KAAK,CAAC,KAAK;AAClC,IAAM,cAAc,QAAQ,IAAI;AAChC,IAAM,eAAe,KAAK,KAAK,aAAa,eAAe;AAC3D,IAAM,mBAAmB,KAAK,KAAK,aAAa,2BAA2B;AAE3E,IAAI,CAAC,WAAW,YAAY,GAAG;AAC7B,UAAQ,MAAM,qCAAqC,WAAW;AAC9D,UAAQ,KAAK,CAAC;AAChB;AAEA,QAAQ,IAAI,2BAA2B,MAAM,KAAK;AAElD,IAAI;AAIF,QAAM,gBAAgB;AAAA,IACpB,SAAS;AAAA,IACT,iBAAiB;AAAA,MACf,GAAG;AAAA,MACH,SAAS,CAAC,GAAG,sBAAsB;AAAA,IACrC;AAAA,EACF;AAGA,gBAAc,kBAAkB,KAAK,UAAU,eAAe,MAAM,CAAC,CAAC;AACtE,UAAQ,IAAI,kDAAkD;AAM9D;AAAA,IACE,eAAe,gBAAgB,aAAa,MAAM;AAAA,IAClD;AAAA,MACE,OAAO;AAAA,MACP,KAAK;AAAA,IACP;AAAA,EACF;AAEA,UAAQ,IAAI,uBAAuB;AACrC,SAAS,OAAO;AACd,UAAQ,MAAM,uBAAuB,KAAK;AAC1C,UAAQ,KAAK,CAAC;AAChB,UAAE;AAEA,MAAI,WAAW,gBAAgB,GAAG;AAChC,eAAW,gBAAgB;AAAA,EAC7B;AACF;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@514labs/moose-lib",
|
|
3
|
-
"version": "0.6.320-ci-
|
|
3
|
+
"version": "0.6.320-ci-4-g05309f4d",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/514-labs/moosestack"
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"dist"
|
|
26
26
|
],
|
|
27
27
|
"bin": {
|
|
28
|
-
"moose-runner": "./dist/moose-runner.js"
|
|
28
|
+
"moose-runner": "./dist/moose-runner.js",
|
|
29
|
+
"moose-tspc": "./dist/moose-tspc.js"
|
|
29
30
|
},
|
|
30
31
|
"dependencies": {
|
|
31
32
|
"@clickhouse/client": "1.8.1",
|