@rytass/bpm-core-nestjs-module 0.1.1 → 0.1.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/CHANGELOG.md +18 -0
- package/package.json +1 -1
- package/src/lib/migrations/{0000000000000-enable-postgres-extensions.d.ts → 0000000000001-enable-postgres-extensions.d.ts} +2 -2
- package/src/lib/migrations/{0000000000000-enable-postgres-extensions.js → 0000000000001-enable-postgres-extensions.js} +5 -5
- package/src/lib/migrations/{0000000000000-enable-postgres-extensions.js.map → 0000000000001-enable-postgres-extensions.js.map} +1 -1
- package/src/lib/migrations/index.d.ts +1 -1
- package/src/lib/migrations/index.js +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
Releases are managed by [`nx release`](https://nx.dev/recipes/nx-release) with
|
|
10
10
|
Conventional Commits — see `nx.json` for the release config.
|
|
11
11
|
|
|
12
|
+
## 0.1.2 — 2026-05-27
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
16
|
+
- **First migration class-name suffix collision with TypeORM timestamp
|
|
17
|
+
validation.** `EnablePostgresExtensions0000000000000` from 0.1.1
|
|
18
|
+
parsed to a JavaScript timestamp of `0`, which TypeORM 0.3's
|
|
19
|
+
`MigrationExecutor.getMigrations()` rejects with
|
|
20
|
+
`migration name is wrong. Migration class name should have a JavaScript
|
|
21
|
+
timestamp appended.` (the check is `!timestamp || isNaN(timestamp)`).
|
|
22
|
+
Renamed to `EnablePostgresExtensions0000000000001` (timestamp `1`).
|
|
23
|
+
The file was also renamed
|
|
24
|
+
`0000000000000-enable-postgres-extensions.ts` →
|
|
25
|
+
`0000000000001-enable-postgres-extensions.ts` so file ordering still
|
|
26
|
+
matches class ordering.
|
|
27
|
+
|
|
28
|
+
Consumers on 0.1.0 / 0.1.1 should upgrade directly to 0.1.2.
|
|
29
|
+
|
|
12
30
|
## 0.1.1 — 2026-05-27
|
|
13
31
|
|
|
14
32
|
### Fixed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rytass/bpm-core-nestjs-module",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Embeddable NestJS BPM approval workflow module: workflow engine, approval templates, forms, organization/member contracts, attachments, signatures, notifications, delegation, and TypeORM migrations.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bpm",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MigrationInterface, QueryRunner } from 'typeorm';
|
|
2
|
-
export declare class
|
|
3
|
-
readonly name = "
|
|
2
|
+
export declare class EnablePostgresExtensions0000000000001 implements MigrationInterface {
|
|
3
|
+
readonly name = "EnablePostgresExtensions0000000000001";
|
|
4
4
|
up(queryRunner: QueryRunner): Promise<void>;
|
|
5
5
|
down(queryRunner: QueryRunner): Promise<void>;
|
|
6
6
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
class
|
|
3
|
+
exports.EnablePostgresExtensions0000000000001 = void 0;
|
|
4
|
+
class EnablePostgresExtensions0000000000001 {
|
|
5
5
|
constructor() {
|
|
6
|
-
this.name = '
|
|
6
|
+
this.name = 'EnablePostgresExtensions0000000000001';
|
|
7
7
|
}
|
|
8
8
|
async up(queryRunner) {
|
|
9
9
|
await queryRunner.query('CREATE EXTENSION IF NOT EXISTS "uuid-ossp"');
|
|
@@ -13,5 +13,5 @@ class EnablePostgresExtensions0000000000000 {
|
|
|
13
13
|
await queryRunner.query('DROP EXTENSION IF EXISTS "ltree"');
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
exports.
|
|
17
|
-
//# sourceMappingURL=
|
|
16
|
+
exports.EnablePostgresExtensions0000000000001 = EnablePostgresExtensions0000000000001;
|
|
17
|
+
//# sourceMappingURL=0000000000001-enable-postgres-extensions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"0000000000001-enable-postgres-extensions.js","sourceRoot":"","sources":["../../../../../../libs/bpm-core/src/lib/migrations/0000000000001-enable-postgres-extensions.ts"],"names":[],"mappings":";;;AAEA,MAAa,qCAAqC;IAAlD;QACW,SAAI,GAAG,uCAAuC,CAAC;IAU1D,CAAC;IARC,KAAK,CAAC,EAAE,CAAC,WAAwB;QAC/B,MAAM,WAAW,CAAC,KAAK,CAAC,4CAA4C,CAAC,CAAC;QACtE,MAAM,WAAW,CAAC,KAAK,CAAC,wCAAwC,CAAC,CAAC;IACpE,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,WAAwB;QACjC,MAAM,WAAW,CAAC,KAAK,CAAC,kCAAkC,CAAC,CAAC;IAC9D,CAAC;CACF;AAXD,sFAWC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MigrationInterface } from 'typeorm';
|
|
2
2
|
export declare const BPM_CORE_MIGRATIONS: readonly (new () => MigrationInterface)[];
|
|
3
|
-
export * from './
|
|
3
|
+
export * from './0000000000001-enable-postgres-extensions';
|
|
4
4
|
export * from './0000000001000-identity-organization-foundation';
|
|
5
5
|
export * from './0000000002000-form-builder-foundation';
|
|
6
6
|
export * from './0000000003000-approval-template-foundation';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BPM_CORE_MIGRATIONS = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const
|
|
5
|
+
const _0000000000001_enable_postgres_extensions_1 = require("./0000000000001-enable-postgres-extensions");
|
|
6
6
|
const _0000000001000_identity_organization_foundation_1 = require("./0000000001000-identity-organization-foundation");
|
|
7
7
|
const _0000000002000_form_builder_foundation_1 = require("./0000000002000-form-builder-foundation");
|
|
8
8
|
const _0000000003000_approval_template_foundation_1 = require("./0000000003000-approval-template-foundation");
|
|
@@ -17,7 +17,7 @@ const _0000000011000_remove_attachment_encryption_key_1 = require("./00000000110
|
|
|
17
17
|
const _0000000012000_notification_sla_idempotency_1 = require("./0000000012000-notification-sla-idempotency");
|
|
18
18
|
const _0000000013000_workflow_query_indexes_1 = require("./0000000013000-workflow-query-indexes");
|
|
19
19
|
exports.BPM_CORE_MIGRATIONS = [
|
|
20
|
-
|
|
20
|
+
_0000000000001_enable_postgres_extensions_1.EnablePostgresExtensions0000000000001,
|
|
21
21
|
_0000000001000_identity_organization_foundation_1.IdentityOrganizationFoundation0000000001000,
|
|
22
22
|
_0000000002000_form_builder_foundation_1.FormBuilderFoundation0000000002000,
|
|
23
23
|
_0000000003000_approval_template_foundation_1.ApprovalTemplateFoundation0000000003000,
|
|
@@ -32,7 +32,7 @@ exports.BPM_CORE_MIGRATIONS = [
|
|
|
32
32
|
_0000000012000_notification_sla_idempotency_1.NotificationSlaIdempotency0000000012000,
|
|
33
33
|
_0000000013000_workflow_query_indexes_1.WorkflowQueryIndexes0000000013000,
|
|
34
34
|
];
|
|
35
|
-
tslib_1.__exportStar(require("./
|
|
35
|
+
tslib_1.__exportStar(require("./0000000000001-enable-postgres-extensions"), exports);
|
|
36
36
|
tslib_1.__exportStar(require("./0000000001000-identity-organization-foundation"), exports);
|
|
37
37
|
tslib_1.__exportStar(require("./0000000002000-form-builder-foundation"), exports);
|
|
38
38
|
tslib_1.__exportStar(require("./0000000003000-approval-template-foundation"), exports);
|