@decaf-ts/core 0.28.0 → 0.28.1
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 +2 -2
- package/dist/core.cjs +1 -1
- package/dist/core.cjs.map +1 -1
- package/dist/core.js +1 -1
- package/dist/core.js.map +1 -1
- package/lib/cjs/index.cjs +3 -3
- package/lib/cjs/migrations/Migration.cjs +16 -2
- package/lib/cjs/migrations/Migration.cjs.map +1 -1
- package/lib/cjs/migrations/MigrationService.cjs +48 -25
- package/lib/cjs/migrations/MigrationService.cjs.map +1 -1
- package/lib/esm/index.js +3 -3
- package/lib/esm/migrations/Migration.js +17 -3
- package/lib/esm/migrations/Migration.js.map +1 -1
- package/lib/esm/migrations/MigrationService.js +48 -25
- package/lib/esm/migrations/MigrationService.js.map +1 -1
- package/lib/types/index.d.cts +3 -3
- package/lib/types/index.d.mts +3 -3
- package/lib/types/migrations/Migration.d.cts +6 -2
- package/lib/types/migrations/Migration.d.mts +6 -2
- package/lib/types/migrations/MigrationService.d.cts +13 -5
- package/lib/types/migrations/MigrationService.d.mts +13 -5
- package/lib/types/migrations/types.d.cts +1 -0
- package/lib/types/migrations/types.d.mts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ Decaf Core provides the foundational building blocks for the Decaf TypeScript ec
|
|
|
39
39
|
|
|
40
40
|
Documentation [here](https://decaf-ts.github.io/injectable-decorators/), Test results [here](https://decaf-ts.github.io/injectable-decorators/workdocs/reports/html/test-report.html) and Coverage [here](https://decaf-ts.github.io/injectable-decorators/workdocs/reports/coverage/lcov-report/index.html)
|
|
41
41
|
|
|
42
|
-
Minimal size: 47.
|
|
42
|
+
Minimal size: 47.5 KB kb gzipped
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
# Core Package — Detailed Description
|
|
@@ -576,7 +576,7 @@ Task attempts are bounded by `maxAttempts` and `backoff` (configured via builder
|
|
|
576
576
|
- `persistenceFlavour`: restricts the execution plan to a single adapter flavour alias.
|
|
577
577
|
- `targetVersion`: semver/string goal for this run (CLI defaults to `package.json.version`).
|
|
578
578
|
- `taskMode`: when `true`, migrations are executed through the TaskService as `CompositeTask`s built per version. When `false`, `executeMigration` runs each migration inline.
|
|
579
|
-
- `includeGenericInTaskMode`:
|
|
579
|
+
- `includeGenericInTaskMode`: set this to `true` to include generic migrations in multi-adapter task runs; it defaults to `false` for those runs and to `true` otherwise. An explicit value is forwarded to every selected adapter execution.
|
|
580
580
|
- `retrieveLastVersion` / `setCurrentVersion`: asynchronous handlers so each migration scope can persist its own migration head. `retrieveLastVersion` is called prior to building the execution plan; `setCurrentVersion` runs after every successfully completed version (per task in task mode, once at the end in normal mode). When no `persistenceFlavour` is configured, handlers still run and receive `undefined` for the adapter argument.
|
|
581
581
|
- `taskService`: required when `taskMode` is enabled; the CLI boots a `TaskService` backed by a dedicated `RamAdapter` (`decaf-cli-task-engine`).
|
|
582
582
|
- `versioning`: override the default npm-semver comparator (`MigrationVersioning`) if you deploy a non-semver scheme.
|