@acmekit/framework 2.13.43 → 2.13.44
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/build-tools/index.d.ts +1 -0
- package/dist/build-tools/index.d.ts.map +1 -1
- package/dist/build-tools/index.js +1 -0
- package/dist/build-tools/index.js.map +1 -1
- package/dist/build-tools/local-plugin-transpiler.d.ts +37 -0
- package/dist/build-tools/local-plugin-transpiler.d.ts.map +1 -0
- package/dist/build-tools/local-plugin-transpiler.js +216 -0
- package/dist/build-tools/local-plugin-transpiler.js.map +1 -0
- package/package.json +10 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/build-tools/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/build-tools/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,2BAA2B,CAAA"}
|
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./compiler"), exports);
|
|
18
|
+
__exportStar(require("./local-plugin-transpiler"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/build-tools/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/build-tools/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,4DAAyC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { Logger } from "@acmekit/types";
|
|
2
|
+
export interface LocalPluginTranspilerOptions {
|
|
3
|
+
pluginRoot: string;
|
|
4
|
+
logger: Logger;
|
|
5
|
+
onFileChange?: (transpiledFilePath: string, action: "add" | "change" | "unlink") => void;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Encapsulates SWC transform + chokidar watch for local plugin
|
|
9
|
+
* development. Used by both the host dev server (Feature A) and
|
|
10
|
+
* the embedded solo mode (Feature B).
|
|
11
|
+
*/
|
|
12
|
+
export declare class LocalPluginTranspiler {
|
|
13
|
+
#private;
|
|
14
|
+
constructor(options: LocalPluginTranspilerOptions);
|
|
15
|
+
/**
|
|
16
|
+
* Full TypeScript compilation via the Compiler class.
|
|
17
|
+
* Ensures `.acmekit/server/` exists before the server starts.
|
|
18
|
+
*/
|
|
19
|
+
initialBuild(): Promise<boolean>;
|
|
20
|
+
/**
|
|
21
|
+
* Creates `acmekit-plugin-options.json` with srcDir pointing to the
|
|
22
|
+
* plugin's source directory. This makes admin extensions resolve
|
|
23
|
+
* from live source.
|
|
24
|
+
*/
|
|
25
|
+
writeOptionsFile(): Promise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Starts chokidar on the plugin root and transpiles changed `.ts`
|
|
28
|
+
* files with SWC, writing output to `.acmekit/server/`.
|
|
29
|
+
* Calls `onFileChange` with the **transpiled output path**.
|
|
30
|
+
*/
|
|
31
|
+
watch(): Promise<void>;
|
|
32
|
+
/**
|
|
33
|
+
* Stops the chokidar watcher.
|
|
34
|
+
*/
|
|
35
|
+
close(): Promise<void>;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=local-plugin-transpiler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"local-plugin-transpiler.d.ts","sourceRoot":"","sources":["../../src/build-tools/local-plugin-transpiler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAO5C,MAAM,WAAW,4BAA4B;IAC3C,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,CACb,kBAAkB,EAAE,MAAM,EAC1B,MAAM,EAAE,KAAK,GAAG,QAAQ,GAAG,QAAQ,KAChC,IAAI,CAAA;CACV;AAED;;;;GAIG;AACH,qBAAa,qBAAqB;;gBAapB,OAAO,EAAE,4BAA4B;IAOjD;;;OAGG;IACG,YAAY,IAAI,OAAO,CAAC,OAAO,CAAC;IAYtC;;;;OAIG;IACG,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC;IAqDvC;;;;OAIG;IACG,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IA8D5B;;OAEG;IACG,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAM7B"}
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
36
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
37
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
38
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
39
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
40
|
+
};
|
|
41
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
42
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
43
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
44
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
45
|
+
};
|
|
46
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
47
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
48
|
+
};
|
|
49
|
+
var _LocalPluginTranspiler_instances, _LocalPluginTranspiler_pluginRoot, _LocalPluginTranspiler_logger, _LocalPluginTranspiler_onFileChange, _LocalPluginTranspiler_watcher, _LocalPluginTranspiler_distFolder, _LocalPluginTranspiler_backendIgnoreFiles, _LocalPluginTranspiler_transformFile, _LocalPluginTranspiler_isScriptFile;
|
|
50
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
|
+
exports.LocalPluginTranspiler = void 0;
|
|
52
|
+
const utils_1 = require("@acmekit/utils");
|
|
53
|
+
const swcCore = __importStar(require("@swc/core"));
|
|
54
|
+
const chokidar_1 = __importDefault(require("chokidar"));
|
|
55
|
+
const path_1 = __importDefault(require("path"));
|
|
56
|
+
const compiler_1 = require("./compiler");
|
|
57
|
+
/**
|
|
58
|
+
* Encapsulates SWC transform + chokidar watch for local plugin
|
|
59
|
+
* development. Used by both the host dev server (Feature A) and
|
|
60
|
+
* the embedded solo mode (Feature B).
|
|
61
|
+
*/
|
|
62
|
+
class LocalPluginTranspiler {
|
|
63
|
+
constructor(options) {
|
|
64
|
+
_LocalPluginTranspiler_instances.add(this);
|
|
65
|
+
_LocalPluginTranspiler_pluginRoot.set(this, void 0);
|
|
66
|
+
_LocalPluginTranspiler_logger.set(this, void 0);
|
|
67
|
+
_LocalPluginTranspiler_onFileChange.set(this, void 0);
|
|
68
|
+
_LocalPluginTranspiler_watcher.set(this, null);
|
|
69
|
+
_LocalPluginTranspiler_distFolder.set(this, void 0);
|
|
70
|
+
_LocalPluginTranspiler_backendIgnoreFiles.set(this, [
|
|
71
|
+
"integration-tests",
|
|
72
|
+
"test",
|
|
73
|
+
"unit-tests",
|
|
74
|
+
"src/admin",
|
|
75
|
+
]);
|
|
76
|
+
__classPrivateFieldSet(this, _LocalPluginTranspiler_pluginRoot, options.pluginRoot, "f");
|
|
77
|
+
__classPrivateFieldSet(this, _LocalPluginTranspiler_logger, options.logger, "f");
|
|
78
|
+
__classPrivateFieldSet(this, _LocalPluginTranspiler_onFileChange, options.onFileChange, "f");
|
|
79
|
+
__classPrivateFieldSet(this, _LocalPluginTranspiler_distFolder, path_1.default.join(__classPrivateFieldGet(this, _LocalPluginTranspiler_pluginRoot, "f"), ".acmekit/server"), "f");
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Full TypeScript compilation via the Compiler class.
|
|
83
|
+
* Ensures `.acmekit/server/` exists before the server starts.
|
|
84
|
+
*/
|
|
85
|
+
async initialBuild() {
|
|
86
|
+
const compiler = new compiler_1.Compiler(__classPrivateFieldGet(this, _LocalPluginTranspiler_pluginRoot, "f"), __classPrivateFieldGet(this, _LocalPluginTranspiler_logger, "f"));
|
|
87
|
+
const parsedConfig = await compiler.loadTSConfigFile();
|
|
88
|
+
if (!parsedConfig) {
|
|
89
|
+
__classPrivateFieldGet(this, _LocalPluginTranspiler_logger, "f").error(`Failed to load tsconfig.json for plugin at ${__classPrivateFieldGet(this, _LocalPluginTranspiler_pluginRoot, "f")}`);
|
|
90
|
+
return false;
|
|
91
|
+
}
|
|
92
|
+
return await compiler.buildPluginBackend(parsedConfig);
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Creates `acmekit-plugin-options.json` with srcDir pointing to the
|
|
96
|
+
* plugin's source directory. This makes admin extensions resolve
|
|
97
|
+
* from live source.
|
|
98
|
+
*/
|
|
99
|
+
async writeOptionsFile() {
|
|
100
|
+
const fs = new utils_1.FileSystem(__classPrivateFieldGet(this, _LocalPluginTranspiler_distFolder, "f"));
|
|
101
|
+
await fs.createJson("acmekit-plugin-options.json", {
|
|
102
|
+
srcDir: path_1.default.join(__classPrivateFieldGet(this, _LocalPluginTranspiler_pluginRoot, "f"), "src"),
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Starts chokidar on the plugin root and transpiles changed `.ts`
|
|
107
|
+
* files with SWC, writing output to `.acmekit/server/`.
|
|
108
|
+
* Calls `onFileChange` with the **transpiled output path**.
|
|
109
|
+
*/
|
|
110
|
+
async watch() {
|
|
111
|
+
const fs = new utils_1.FileSystem(__classPrivateFieldGet(this, _LocalPluginTranspiler_distFolder, "f"));
|
|
112
|
+
__classPrivateFieldSet(this, _LocalPluginTranspiler_watcher, chokidar_1.default.watch(["."], {
|
|
113
|
+
ignoreInitial: true,
|
|
114
|
+
cwd: __classPrivateFieldGet(this, _LocalPluginTranspiler_pluginRoot, "f"),
|
|
115
|
+
ignored: [
|
|
116
|
+
/(^|[\\/\\])\../,
|
|
117
|
+
"node_modules",
|
|
118
|
+
"dist",
|
|
119
|
+
"static",
|
|
120
|
+
"private",
|
|
121
|
+
".acmekit",
|
|
122
|
+
...__classPrivateFieldGet(this, _LocalPluginTranspiler_backendIgnoreFiles, "f"),
|
|
123
|
+
],
|
|
124
|
+
}), "f");
|
|
125
|
+
__classPrivateFieldGet(this, _LocalPluginTranspiler_watcher, "f").on("add", async (file) => {
|
|
126
|
+
if (!__classPrivateFieldGet(this, _LocalPluginTranspiler_instances, "m", _LocalPluginTranspiler_isScriptFile).call(this, file)) {
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
const absolutePath = path_1.default.join(__classPrivateFieldGet(this, _LocalPluginTranspiler_pluginRoot, "f"), file);
|
|
130
|
+
const outputPath = file.replace(/\.ts$/, ".js");
|
|
131
|
+
const absoluteOutputPath = path_1.default.join(__classPrivateFieldGet(this, _LocalPluginTranspiler_distFolder, "f"), outputPath);
|
|
132
|
+
__classPrivateFieldGet(this, _LocalPluginTranspiler_logger, "f").info(`[LocalPlugin] ${file} added: transpiling`);
|
|
133
|
+
await fs.create(outputPath, await __classPrivateFieldGet(this, _LocalPluginTranspiler_instances, "m", _LocalPluginTranspiler_transformFile).call(this, absolutePath));
|
|
134
|
+
__classPrivateFieldGet(this, _LocalPluginTranspiler_onFileChange, "f")?.call(this, absoluteOutputPath, "add");
|
|
135
|
+
});
|
|
136
|
+
__classPrivateFieldGet(this, _LocalPluginTranspiler_watcher, "f").on("change", async (file) => {
|
|
137
|
+
if (!__classPrivateFieldGet(this, _LocalPluginTranspiler_instances, "m", _LocalPluginTranspiler_isScriptFile).call(this, file)) {
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
const absolutePath = path_1.default.join(__classPrivateFieldGet(this, _LocalPluginTranspiler_pluginRoot, "f"), file);
|
|
141
|
+
const outputPath = file.replace(/\.ts$/, ".js");
|
|
142
|
+
const absoluteOutputPath = path_1.default.join(__classPrivateFieldGet(this, _LocalPluginTranspiler_distFolder, "f"), outputPath);
|
|
143
|
+
__classPrivateFieldGet(this, _LocalPluginTranspiler_logger, "f").info(`[LocalPlugin] ${file} changed: transpiling`);
|
|
144
|
+
await fs.create(outputPath, await __classPrivateFieldGet(this, _LocalPluginTranspiler_instances, "m", _LocalPluginTranspiler_transformFile).call(this, absolutePath));
|
|
145
|
+
__classPrivateFieldGet(this, _LocalPluginTranspiler_onFileChange, "f")?.call(this, absoluteOutputPath, "change");
|
|
146
|
+
});
|
|
147
|
+
__classPrivateFieldGet(this, _LocalPluginTranspiler_watcher, "f").on("unlink", async (file) => {
|
|
148
|
+
if (!__classPrivateFieldGet(this, _LocalPluginTranspiler_instances, "m", _LocalPluginTranspiler_isScriptFile).call(this, file)) {
|
|
149
|
+
return;
|
|
150
|
+
}
|
|
151
|
+
const outputPath = file.replace(/\.ts$/, ".js");
|
|
152
|
+
const absoluteOutputPath = path_1.default.join(__classPrivateFieldGet(this, _LocalPluginTranspiler_distFolder, "f"), outputPath);
|
|
153
|
+
__classPrivateFieldGet(this, _LocalPluginTranspiler_logger, "f").info(`[LocalPlugin] ${file} removed`);
|
|
154
|
+
await fs.remove(outputPath);
|
|
155
|
+
__classPrivateFieldGet(this, _LocalPluginTranspiler_onFileChange, "f")?.call(this, absoluteOutputPath, "unlink");
|
|
156
|
+
});
|
|
157
|
+
__classPrivateFieldGet(this, _LocalPluginTranspiler_watcher, "f").on("ready", () => {
|
|
158
|
+
__classPrivateFieldGet(this, _LocalPluginTranspiler_logger, "f").info(`[LocalPlugin] Watching ${__classPrivateFieldGet(this, _LocalPluginTranspiler_pluginRoot, "f")} for changes`);
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Stops the chokidar watcher.
|
|
163
|
+
*/
|
|
164
|
+
async close() {
|
|
165
|
+
if (__classPrivateFieldGet(this, _LocalPluginTranspiler_watcher, "f")) {
|
|
166
|
+
await __classPrivateFieldGet(this, _LocalPluginTranspiler_watcher, "f").close();
|
|
167
|
+
__classPrivateFieldSet(this, _LocalPluginTranspiler_watcher, null, "f");
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
exports.LocalPluginTranspiler = LocalPluginTranspiler;
|
|
172
|
+
_LocalPluginTranspiler_pluginRoot = new WeakMap(), _LocalPluginTranspiler_logger = new WeakMap(), _LocalPluginTranspiler_onFileChange = new WeakMap(), _LocalPluginTranspiler_watcher = new WeakMap(), _LocalPluginTranspiler_distFolder = new WeakMap(), _LocalPluginTranspiler_backendIgnoreFiles = new WeakMap(), _LocalPluginTranspiler_instances = new WeakSet(), _LocalPluginTranspiler_transformFile =
|
|
173
|
+
/**
|
|
174
|
+
* Transforms a TypeScript file using @swc/core (fast, no type checking).
|
|
175
|
+
*/
|
|
176
|
+
async function _LocalPluginTranspiler_transformFile(filePath) {
|
|
177
|
+
const output = await swcCore.transformFile(filePath, {
|
|
178
|
+
sourceMaps: "inline",
|
|
179
|
+
module: {
|
|
180
|
+
type: "commonjs",
|
|
181
|
+
strictMode: true,
|
|
182
|
+
noInterop: false,
|
|
183
|
+
},
|
|
184
|
+
jsc: {
|
|
185
|
+
externalHelpers: false,
|
|
186
|
+
target: "es2021",
|
|
187
|
+
parser: {
|
|
188
|
+
syntax: "typescript",
|
|
189
|
+
tsx: true,
|
|
190
|
+
decorators: true,
|
|
191
|
+
dynamicImport: true,
|
|
192
|
+
},
|
|
193
|
+
transform: {
|
|
194
|
+
legacyDecorator: true,
|
|
195
|
+
decoratorMetadata: true,
|
|
196
|
+
react: {
|
|
197
|
+
throwIfNamespace: false,
|
|
198
|
+
useBuiltins: false,
|
|
199
|
+
pragma: "React.createElement",
|
|
200
|
+
pragmaFrag: "React.Fragment",
|
|
201
|
+
importSource: "react",
|
|
202
|
+
runtime: "automatic",
|
|
203
|
+
},
|
|
204
|
+
},
|
|
205
|
+
keepClassNames: true,
|
|
206
|
+
baseUrl: __classPrivateFieldGet(this, _LocalPluginTranspiler_pluginRoot, "f"),
|
|
207
|
+
},
|
|
208
|
+
});
|
|
209
|
+
return output.code;
|
|
210
|
+
}, _LocalPluginTranspiler_isScriptFile = function _LocalPluginTranspiler_isScriptFile(filePath) {
|
|
211
|
+
if (filePath.endsWith(".ts") && !filePath.endsWith(".d.ts")) {
|
|
212
|
+
return true;
|
|
213
|
+
}
|
|
214
|
+
return filePath.endsWith(".js");
|
|
215
|
+
};
|
|
216
|
+
//# sourceMappingURL=local-plugin-transpiler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"local-plugin-transpiler.js","sourceRoot":"","sources":["../../src/build-tools/local-plugin-transpiler.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAA2C;AAC3C,mDAAoC;AACpC,wDAA8C;AAC9C,gDAAuB;AACvB,yCAAqC;AAWrC;;;;GAIG;AACH,MAAa,qBAAqB;IAahC,YAAY,OAAqC;;QAZjD,oDAAmB;QACnB,gDAAe;QACf,sDAA4D;QAC5D,yCAA6B,IAAI,EAAA;QACjC,oDAAmB;QACnB,oDAAsB;YACpB,mBAAmB;YACnB,MAAM;YACN,YAAY;YACZ,WAAW;SACZ,EAAA;QAGC,uBAAA,IAAI,qCAAe,OAAO,CAAC,UAAU,MAAA,CAAA;QACrC,uBAAA,IAAI,iCAAW,OAAO,CAAC,MAAM,MAAA,CAAA;QAC7B,uBAAA,IAAI,uCAAiB,OAAO,CAAC,YAAY,MAAA,CAAA;QACzC,uBAAA,IAAI,qCAAe,cAAI,CAAC,IAAI,CAAC,uBAAA,IAAI,yCAAY,EAAE,iBAAiB,CAAC,MAAA,CAAA;IACnE,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,YAAY;QAChB,MAAM,QAAQ,GAAG,IAAI,mBAAQ,CAA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AAM,OAAO,CAAC,aAAa,CAAC,QAAQ,EAAE;QACnD,UAAU,EAAE,QAAQ;QACpB,MAAM,EAAE;YACN,IAAI,EAAE,UAAU;YAChB,UAAU,EAAE,IAAI;YAChB,SAAS,EAAE,KAAK;SACjB;QACD,GAAG,EAAE;YACH,eAAe,EAAE,KAAK;YACtB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE;gBACN,MAAM,EAAE,YAAY;gBACpB,GAAG,EAAE,IAAI;gBACT,UAAU,EAAE,IAAI;gBAChB,aAAa,EAAE,IAAI;aACpB;YACD,SAAS,EAAE;gBACT,eAAe,EAAE,IAAI;gBACrB,iBAAiB,EAAE,IAAI;gBACvB,KAAK,EAAE;oBACL,gBAAgB,EAAE,KAAK;oBACvB,WAAW,EAAE,KAAK;oBAClB,MAAM,EAAE,qBAAqB;oBAC7B,UAAU,EAAE,gBAAgB;oBAC5B,YAAY,EAAE,OAAO;oBACrB,OAAO,EAAE,WAAW;iBACrB;aACF;YACD,cAAc,EAAE,IAAI;YACpB,OAAO,EAAE,uBAAA,IAAI,yCAAY;SAC1B;KACF,CAAC,CAAA;IACF,OAAO,MAAM,CAAC,IAAI,CAAA;AACpB,CAAC,qFAEa,QAAgB;IAC5B,IAAI,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC;QAC5D,OAAO,IAAI,CAAA;IACb,CAAC;IACD,OAAO,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;AACjC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acmekit/framework",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.44",
|
|
4
4
|
"description": "Framework",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -71,16 +71,16 @@
|
|
|
71
71
|
"test": "../../../node_modules/.bin/jest --bail --forceExit --testPathPattern=src"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@acmekit/cli": "2.13.
|
|
74
|
+
"@acmekit/cli": "2.13.44"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@acmekit/deps": "2.13.
|
|
78
|
-
"@acmekit/modules-sdk": "2.13.
|
|
79
|
-
"@acmekit/orchestration": "2.13.
|
|
80
|
-
"@acmekit/telemetry": "2.13.
|
|
81
|
-
"@acmekit/types": "2.13.
|
|
82
|
-
"@acmekit/utils": "2.13.
|
|
83
|
-
"@acmekit/workflows-sdk": "2.13.
|
|
77
|
+
"@acmekit/deps": "2.13.44",
|
|
78
|
+
"@acmekit/modules-sdk": "2.13.44",
|
|
79
|
+
"@acmekit/orchestration": "2.13.44",
|
|
80
|
+
"@acmekit/telemetry": "2.13.44",
|
|
81
|
+
"@acmekit/types": "2.13.44",
|
|
82
|
+
"@acmekit/utils": "2.13.44",
|
|
83
|
+
"@acmekit/workflows-sdk": "2.13.44",
|
|
84
84
|
"@jercle/yargonaut": "^1.1.5",
|
|
85
85
|
"@types/express": "^4.17.21",
|
|
86
86
|
"chokidar": "^4.0.3",
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"zod-validation-error": "3.5.1"
|
|
100
100
|
},
|
|
101
101
|
"peerDependencies": {
|
|
102
|
-
"@acmekit/cli": "2.13.
|
|
102
|
+
"@acmekit/cli": "2.13.44",
|
|
103
103
|
"@aws-sdk/client-dynamodb": "^3.218.0",
|
|
104
104
|
"connect-dynamodb": "^3.0.5",
|
|
105
105
|
"ioredis": "^5.4.1"
|