@bayoudhi/moose-lib-serverless 0.7.10 → 0.7.12
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/compilerPlugin.js +13 -0
- package/dist/moose-tspc.js +1 -5
- package/package.json +1 -1
package/dist/compilerPlugin.js
CHANGED
|
@@ -101,6 +101,19 @@ Update your tsconfig.json plugins section:
|
|
|
101
101
|
Also remove "isolatedModules": true if present (incompatible with type-dependent transformations).`
|
|
102
102
|
);
|
|
103
103
|
}
|
|
104
|
+
if (_extrasOrConfig && _extrasOrConfig.ts) {
|
|
105
|
+
var _hostTs = { default: _extrasOrConfig.ts, __esModule: true };
|
|
106
|
+
Object.keys(_extrasOrConfig.ts).forEach(function(k) {
|
|
107
|
+
_hostTs[k] = _extrasOrConfig.ts[k];
|
|
108
|
+
});
|
|
109
|
+
import_typescript = _hostTs;
|
|
110
|
+
import_typescript2 = _hostTs;
|
|
111
|
+
import_typescript3 = _hostTs;
|
|
112
|
+
import_typescript4 = _hostTs;
|
|
113
|
+
import_typescript5 = _hostTs;
|
|
114
|
+
import_typescript6 = _hostTs;
|
|
115
|
+
import_typescript7 = _hostTs;
|
|
116
|
+
}
|
|
104
117
|
const transformFunction = transform2(program.getTypeChecker(), program);
|
|
105
118
|
return (context) => {
|
|
106
119
|
return (sourceFile) => {
|
package/dist/moose-tspc.js
CHANGED
|
@@ -323,9 +323,7 @@ function runSingleCompilation(moduleSystem) {
|
|
|
323
323
|
"-p",
|
|
324
324
|
tempTsconfigPath,
|
|
325
325
|
"--rootDir",
|
|
326
|
-
"."
|
|
327
|
-
"--sourceMap",
|
|
328
|
-
"--inlineSources"
|
|
326
|
+
"."
|
|
329
327
|
];
|
|
330
328
|
if (shouldAddOutDir) {
|
|
331
329
|
tspcArgs.push("--outDir", outDir);
|
|
@@ -406,8 +404,6 @@ function runWatchCompilation(moduleSystem) {
|
|
|
406
404
|
tempTsconfigPath,
|
|
407
405
|
"--rootDir",
|
|
408
406
|
".",
|
|
409
|
-
"--sourceMap",
|
|
410
|
-
"--inlineSources",
|
|
411
407
|
"--watch",
|
|
412
408
|
"--preserveWatchOutput"
|
|
413
409
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bayoudhi/moose-lib-serverless",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.12",
|
|
4
4
|
"description": "Serverless-compatible subset of @514labs/moose-lib for AWS Lambda and edge runtimes. Provides OlapTable, Stream, Workflow, View, and other Moose SDK classes without native C++ dependencies (Kafka, Temporal). Includes a patched compiler plugin for type-driven schema injection.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|