@bayoudhi/moose-lib-serverless 0.5.0 → 0.7.0
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 +15 -2
- package/dist/moose-runner.js +3988 -0
- package/package.json +7 -3
package/README.md
CHANGED
|
@@ -156,11 +156,24 @@ 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 includes the full **Moose CLI** (`@514labs/moose-cli`) as a dependency, so commands like `moose generate migration` and `moose migrate` work out of the box — no separate CLI installation needed.
|
|
160
160
|
|
|
161
|
-
|
|
161
|
+
It also 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.
|
|
162
|
+
|
|
163
|
+
### CI/CD Usage
|
|
164
|
+
|
|
165
|
+
```yaml
|
|
166
|
+
# GitHub Actions example
|
|
167
|
+
steps:
|
|
168
|
+
- run: npm install
|
|
169
|
+
- run: npx moose generate migration
|
|
170
|
+
- run: npx moose migrate
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
All three binaries (`moose`, `moose-tspc`, `moose-runner`) are automatically available in `node_modules/.bin/` after `npm install`.
|
|
162
174
|
|
|
163
175
|
No extra configuration is needed beyond the standard [Compiler Plugin Setup](#compiler-plugin-setup) above.
|
|
176
|
+
|
|
164
177
|
## Origin
|
|
165
178
|
|
|
166
179
|
This package is derived from [MooseStack](https://github.com/514-labs/moosestack) by [Fiveonefour Labs](https://www.fiveonefour.com/), published under the MIT license.
|