@bayoudhi/moose-lib-serverless 0.7.0 → 0.7.2
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/README.md +6 -5
- package/package.json +6 -12
package/README.md
CHANGED
|
@@ -156,21 +156,22 @@ These native/C++ dependencies are **not** bundled and will never be loaded:
|
|
|
156
156
|
|
|
157
157
|
## Moose CLI Compatibility
|
|
158
158
|
|
|
159
|
-
This package
|
|
159
|
+
This package ships patched `moose-tspc` and `moose-runner` binaries that rewire internal paths to `@bayoudhi/moose-lib-serverless`, so the Moose CLI can compile and serialize your TypeScript models without `@514labs/moose-lib` installed.
|
|
160
160
|
|
|
161
|
-
|
|
161
|
+
Install the Moose CLI separately (via the [install script](https://docs.fiveonefour.com/moosestack/getting-started/quickstart) or your preferred method), then use it as normal:
|
|
162
162
|
|
|
163
163
|
### CI/CD Usage
|
|
164
164
|
|
|
165
165
|
```yaml
|
|
166
166
|
# GitHub Actions example
|
|
167
167
|
steps:
|
|
168
|
+
- run: bash -i <(curl -fsSL https://fiveonefour.com/install.sh) moose
|
|
168
169
|
- run: npm install
|
|
169
|
-
- run:
|
|
170
|
-
- run:
|
|
170
|
+
- run: moose generate migration
|
|
171
|
+
- run: moose migrate
|
|
171
172
|
```
|
|
172
173
|
|
|
173
|
-
|
|
174
|
+
The `moose-tspc` and `moose-runner` binaries are automatically available in `node_modules/.bin/` after `npm install` — the Moose CLI will find them there.
|
|
174
175
|
|
|
175
176
|
No extra configuration is needed beyond the standard [Compiler Plugin Setup](#compiler-plugin-setup) above.
|
|
176
177
|
|
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.2",
|
|
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",
|
|
@@ -48,32 +48,26 @@
|
|
|
48
48
|
"compiler-plugin"
|
|
49
49
|
],
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@514labs/moose-cli": "0.6.416",
|
|
52
51
|
"@clickhouse/client": "1.8.1",
|
|
53
52
|
"commander": "^13.1.0",
|
|
54
53
|
"csv-parse": "^5.5.5",
|
|
55
54
|
"jose": "5.9.2",
|
|
56
55
|
"toml": "3.0.0",
|
|
57
|
-
"ts-node": "^10.9.1"
|
|
56
|
+
"ts-node": "^10.9.1",
|
|
57
|
+
"ts-patch": "^3.3.0",
|
|
58
|
+
"tsconfig-paths": "^4.2.0",
|
|
59
|
+
"typescript": "~5.9.2"
|
|
58
60
|
},
|
|
59
61
|
"devDependencies": {
|
|
60
62
|
"@514labs/moose-lib": "workspace:*",
|
|
61
63
|
"tsup": "^8.4.0"
|
|
62
64
|
},
|
|
63
65
|
"peerDependencies": {
|
|
64
|
-
"typia": "^9.6.1"
|
|
65
|
-
"typescript": ">=5.0.0",
|
|
66
|
-
"ts-patch": "^3.3.0"
|
|
66
|
+
"typia": "^9.6.1"
|
|
67
67
|
},
|
|
68
68
|
"peerDependenciesMeta": {
|
|
69
69
|
"typia": {
|
|
70
70
|
"optional": true
|
|
71
|
-
},
|
|
72
|
-
"typescript": {
|
|
73
|
-
"optional": true
|
|
74
|
-
},
|
|
75
|
-
"ts-patch": {
|
|
76
|
-
"optional": true
|
|
77
71
|
}
|
|
78
72
|
},
|
|
79
73
|
"engines": {
|