@bayoudhi/moose-lib-serverless 0.7.1 → 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.
Files changed (2) hide show
  1. package/README.md +6 -5
  2. package/package.json +1 -2
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 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.
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
- 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.
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: npx moose generate migration
170
- - run: npx moose migrate
170
+ - run: moose generate migration
171
+ - run: moose migrate
171
172
  ```
172
173
 
173
- All three binaries (`moose`, `moose-tspc`, `moose-runner`) are automatically available in `node_modules/.bin/` after `npm install`.
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.1",
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,7 +48,6 @@
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",