@alkemio/matrix-adapter-lib 0.8.17 → 0.8.18
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/dist/commands.d.ts +5 -1
- package/dist/commands.js +4 -0
- package/dist/commands.js.map +1 -1
- package/dist/dto/generated.d.ts +22 -0
- package/dist/dto/generated.js +4 -2
- package/dist/dto/generated.js.map +1 -1
- package/dist/matrix.adapter.event.type.d.ts +1 -0
- package/dist/matrix.adapter.event.type.js +1 -0
- package/dist/matrix.adapter.event.type.js.map +1 -1
- package/package.json +7 -5
package/dist/commands.d.ts
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import type { AddReactionRequest, AddReactionResponse, BaseResponse, BatchAddMemberRequest, BatchAddMemberResponse, BatchAddSpaceMemberRequest, BatchAddSpaceMemberResponse, BatchGetLastMessagesRequest, BatchGetLastMessagesResponse, BatchGetUnreadCountsRequest, BatchGetUnreadCountsResponse, BatchRemoveMemberRequest, BatchRemoveMemberResponse, BatchRemoveSpaceMemberRequest, BatchRemoveSpaceMemberResponse, CheckRoomRequest, CheckRoomResponse, CreateRoomRequest, CreateSpaceRequest, DMRequestedEvent, DeleteMessageRequest, DeleteRoomRequest, DeleteSpaceRequest, GetLastMessageRequest, GetLastMessageResponse, GetMessageRequest, GetMessageResponse, GetReactionRequest, GetReactionResponse, GetRoomAsUserRequest, GetRoomAsUserResponse, GetRoomInfoRequest, GetRoomInfoResponse, GetRoomMembersRequest, GetRoomMembersResponse, GetRoomRequest, GetRoomResponse, GetRoomStateRequest, GetRoomStateResponse, GetSpaceRequest, GetSpaceResponse, GetSpaceStateRequest, GetSpaceStateResponse, GetThreadMessagesRequest, GetThreadMessagesResponse, GetUnreadCountsRequest, GetUnreadCountsResponse, ListRoomsRequest, ListRoomsResponse, ListSpacesRequest, ListSpacesResponse, MarkMessageReadRequest, MessageEditedEvent, MessageReceivedPayload, MessageRedactedEvent, ReactionAddedEvent, ReactionRemovedEvent, ReadReceiptUpdatedEvent, RemoveReactionRequest, RoomCreatedEvent, RoomMemberLeftEvent, RoomMemberUpdatedEvent, RoomUpdatedEvent, SendMessageRequest, SendMessageResponse, SetParentRequest, SetRoomStateRequest, SetSpaceStateRequest, SpaceUpdatedEvent, SyncActorRequest, UpdateRoomRequest, UpdateSpaceRequest } from './dto';
|
|
1
|
+
import type { AddReactionRequest, AddReactionResponse, BaseResponse, BatchAddMemberRequest, BatchAddMemberResponse, BatchAddSpaceMemberRequest, BatchAddSpaceMemberResponse, BatchGetLastMessagesRequest, BatchGetLastMessagesResponse, BatchGetUnreadCountsRequest, BatchGetUnreadCountsResponse, BatchRemoveMemberRequest, BatchRemoveMemberResponse, BatchRemoveSpaceMemberRequest, BatchRemoveSpaceMemberResponse, CheckRoomRequest, CheckRoomResponse, CreateRoomRequest, CreateSpaceRequest, DMRequestedEvent, DeleteMessageRequest, DeleteRoomRequest, DeleteSpaceRequest, GetLastMessageRequest, GetLastMessageResponse, GetMessageRequest, GetMessageResponse, GetReactionRequest, GetReactionResponse, GetRoomAsUserRequest, GetRoomAsUserResponse, GetRoomInfoRequest, GetRoomInfoResponse, GetRoomMembersRequest, GetRoomMembersResponse, GetRoomRequest, GetRoomResponse, GetRoomStateRequest, GetRoomStateResponse, GetSpaceRequest, GetSpaceResponse, GetSpaceStateRequest, GetSpaceStateResponse, GetThreadMessagesRequest, GetThreadMessagesResponse, GetUnreadCountsRequest, GetUnreadCountsResponse, ListRoomsRequest, ListRoomsResponse, ListSpacesRequest, ListSpacesResponse, MarkMessageReadRequest, MessageEditedEvent, MessageReceivedPayload, MessageRedactedEvent, ReactionAddedEvent, ReactionRemovedEvent, ReadReceiptUpdatedEvent, RemoveReactionRequest, RoomCreatedEvent, RoomMemberLeftEvent, RoomMemberUpdatedEvent, RoomUpdatedEvent, SendMessageRequest, SendMessageResponse, SetChildrenRequest, SetChildrenResponse, SetParentRequest, SetRoomStateRequest, SetSpaceStateRequest, SpaceUpdatedEvent, SyncActorRequest, UpdateRoomRequest, UpdateSpaceRequest } from './dto';
|
|
2
2
|
export declare const Commands: {
|
|
3
3
|
readonly 'communication.actor.sync': {
|
|
4
4
|
readonly request: SyncActorRequest;
|
|
5
5
|
readonly response: BaseResponse;
|
|
6
6
|
};
|
|
7
|
+
readonly 'communication.hierarchy.set_children': {
|
|
8
|
+
readonly request: SetChildrenRequest;
|
|
9
|
+
readonly response: SetChildrenResponse;
|
|
10
|
+
};
|
|
7
11
|
readonly 'communication.hierarchy.set_parent': {
|
|
8
12
|
readonly request: SetParentRequest;
|
|
9
13
|
readonly response: BaseResponse;
|
package/dist/commands.js
CHANGED
package/dist/commands.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commands.js","sourceRoot":"","sources":["../src/commands.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"commands.js","sourceRoot":"","sources":["../src/commands.ts"],"names":[],"mappings":";;;AAmFa,QAAA,QAAQ,GAAG;IACtB,0BAA0B,EAAE;QAC1B,OAAO,EAAE,EAAsB;QAC/B,QAAQ,EAAE,EAAkB;KAC7B;IACD,sCAAsC,EAAE;QACtC,OAAO,EAAE,EAAwB;QACjC,QAAQ,EAAE,EAAyB;KACpC;IACD,oCAAoC,EAAE;QACpC,OAAO,EAAE,EAAsB;QAC/B,QAAQ,EAAE,EAAkB;KAC7B;IACD,8BAA8B,EAAE;QAC9B,OAAO,EAAE,EAA0B;QACnC,QAAQ,EAAE,EAAkB;KAC7B;IACD,2BAA2B,EAAE;QAC3B,OAAO,EAAE,EAAuB;QAChC,QAAQ,EAAE,EAAwB;KACnC;IACD,4BAA4B,EAAE;QAC5B,OAAO,EAAE,EAA4B;QACrC,QAAQ,EAAE,EAAkB;KAC7B;IACD,4BAA4B,EAAE;QAC5B,OAAO,EAAE,EAAwB;QACjC,QAAQ,EAAE,EAAyB;KACpC;IACD,4BAA4B,EAAE;QAC5B,OAAO,EAAE,EAAwB;QACjC,QAAQ,EAAE,E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AE,EAA0B;KACpC;IACD,8BAA8B,EAAE;QAC9B,OAAO,EAAE,EAAwB;KAClC;IACD,gCAAgC,EAAE;QAChC,OAAO,EAAE,EAA0B;KACpC;IACD,4BAA4B,EAAE;QAC5B,OAAO,EAAE,EAAsB;KAChC;IACD,iCAAiC,EAAE;QACjC,OAAO,EAAE,EAAsB;KAChC;IACD,gCAAgC,EAAE;QAChC,OAAO,EAAE,EAAyB;KACnC;IACD,mCAAmC,EAAE;QACnC,OAAO,EAAE,EAA4B;KACtC;IACD,oCAAoC,EAAE;QACpC,OAAO,EAAE,EAA6B;KACvC;IACD,4BAA4B,EAAE;QAC5B,OAAO,EAAE,EAAsB;KAChC;IACD,6BAA6B,EAAE;QAC7B,OAAO,EAAE,EAAuB;KACjC;CACO,CAAC"}
|
package/dist/dto/generated.d.ts
CHANGED
|
@@ -73,6 +73,7 @@ export declare const TopicSpaceUpdate = "communication.space.update";
|
|
|
73
73
|
export declare const TopicSpaceDelete = "communication.space.delete";
|
|
74
74
|
export declare const TopicSpaceList = "communication.space.list";
|
|
75
75
|
export declare const TopicHierarchySetParent = "communication.hierarchy.set_parent";
|
|
76
|
+
export declare const TopicHierarchySetChildren = "communication.hierarchy.set_children";
|
|
76
77
|
export declare const TopicSpaceMemberBatchAdd = "communication.space.member.batch.add";
|
|
77
78
|
export declare const TopicSpaceMemberBatchRemove = "communication.space.member.batch.remove";
|
|
78
79
|
export declare const TopicRoomStateSet = "communication.room.state.set";
|
|
@@ -121,6 +122,7 @@ export declare const ErrCodeActorNotFound: ErrorCode;
|
|
|
121
122
|
export declare const ErrCodeMessageNotFound: ErrorCode;
|
|
122
123
|
export declare const ErrCodeReactionNotFound: ErrorCode;
|
|
123
124
|
export declare const ErrCodeMatrixError: ErrorCode;
|
|
125
|
+
export declare const ErrCodeDeadlineExceeded: ErrorCode;
|
|
124
126
|
export declare const ErrCodeInternalError: ErrorCode;
|
|
125
127
|
export declare const ErrCodeNotAllowed: ErrorCode;
|
|
126
128
|
export interface ErrorResponse {
|
|
@@ -197,6 +199,26 @@ export interface SetParentRequest {
|
|
|
197
199
|
order?: string;
|
|
198
200
|
suggested?: boolean;
|
|
199
201
|
}
|
|
202
|
+
export interface SetChildrenRequest {
|
|
203
|
+
parent_context_id: AlkemioContextID;
|
|
204
|
+
desired_child_context_ids: string[];
|
|
205
|
+
children_are_spaces: boolean;
|
|
206
|
+
apply_removals: boolean;
|
|
207
|
+
prune_unknown: boolean;
|
|
208
|
+
sync_child_parent: boolean;
|
|
209
|
+
dry_run: boolean;
|
|
210
|
+
}
|
|
211
|
+
export interface SetChildrenResponse extends BaseResponse {
|
|
212
|
+
added: string[];
|
|
213
|
+
removed: string[];
|
|
214
|
+
pruned_unknown: string[];
|
|
215
|
+
unknown_kept: string[];
|
|
216
|
+
unresolved: string[];
|
|
217
|
+
parent_pointers_repaired: string[];
|
|
218
|
+
parent_pointers_deferred: string[];
|
|
219
|
+
changed: boolean;
|
|
220
|
+
dry_run: boolean;
|
|
221
|
+
}
|
|
200
222
|
export interface MessageDto {
|
|
201
223
|
id: MessageID;
|
|
202
224
|
content: string;
|
package/dist/dto/generated.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.JoinRuleRestricted = exports.JoinRuleInvite = exports.JoinRulePublic = exports.RoomTypeDirect = exports.RoomTypeCommunity = exports.ErrCodeNotAllowed = exports.ErrCodeInternalError = exports.ErrCodeMatrixError = exports.ErrCodeReactionNotFound = exports.ErrCodeMessageNotFound = exports.ErrCodeActorNotFound = exports.ErrCodeSpaceNotFound = void 0;
|
|
3
|
+
exports.ErrCodeInvalidParam = exports.TopicSpaceUpdated = exports.TopicRoomUpdated = exports.TopicRoomMemberUpdated = exports.TopicRoomCreated = exports.TopicMessageRedacted = exports.TopicMessageEdited = exports.TopicReadReceiptUpdated = exports.TopicRoomInfo = exports.TopicRoomCheck = exports.TopicBatchLastMessagesGet = exports.TopicLastMessageGet = exports.TopicBatchUnreadCountsGet = exports.TopicUnreadCountsGet = exports.TopicMessageRead = exports.TopicThreadMessagesGet = exports.TopicRoomMembersGet = exports.TopicRoomMemberLeft = exports.TopicReactionRemoved = exports.TopicReactionAdded = exports.TopicRoomDMRequested = exports.TopicSpaceStateGet = exports.TopicSpaceStateSet = exports.TopicRoomStateGet = exports.TopicRoomStateSet = exports.TopicSpaceMemberBatchRemove = exports.TopicSpaceMemberBatchAdd = exports.TopicHierarchySetChildren = exports.TopicHierarchySetParent = exports.TopicSpaceList = exports.TopicSpaceDelete = exports.TopicSpaceUpdate = exports.TopicSpaceGet = exports.TopicSpaceCreate = exports.TopicActorSync = exports.TopicRoomMemberBatchRemove = exports.TopicRoomMemberBatchAdd = exports.TopicReactionGet = exports.TopicReactionRemove = exports.TopicReactionAdd = exports.TopicMessageReceived = exports.TopicMessageDelete = exports.TopicMessageGet = exports.TopicMessageSend = exports.TopicRoomList = exports.TopicRoomDelete = exports.TopicRoomUpdate = exports.TopicRoomGetAsUser = exports.TopicRoomGet = exports.TopicRoomCreate = void 0;
|
|
4
|
+
exports.JoinRuleRestricted = exports.JoinRuleInvite = exports.JoinRulePublic = exports.RoomTypeDirect = exports.RoomTypeCommunity = exports.ErrCodeNotAllowed = exports.ErrCodeInternalError = exports.ErrCodeDeadlineExceeded = exports.ErrCodeMatrixError = exports.ErrCodeReactionNotFound = exports.ErrCodeMessageNotFound = exports.ErrCodeActorNotFound = exports.ErrCodeSpaceNotFound = exports.ErrCodeRoomNotFound = void 0;
|
|
5
5
|
exports.TopicRoomCreate = "communication.room.create";
|
|
6
6
|
exports.TopicRoomGet = "communication.room.get";
|
|
7
7
|
exports.TopicRoomGetAsUser = "communication.room.get.as_user";
|
|
@@ -24,6 +24,7 @@ exports.TopicSpaceUpdate = "communication.space.update";
|
|
|
24
24
|
exports.TopicSpaceDelete = "communication.space.delete";
|
|
25
25
|
exports.TopicSpaceList = "communication.space.list";
|
|
26
26
|
exports.TopicHierarchySetParent = "communication.hierarchy.set_parent";
|
|
27
|
+
exports.TopicHierarchySetChildren = "communication.hierarchy.set_children";
|
|
27
28
|
exports.TopicSpaceMemberBatchAdd = "communication.space.member.batch.add";
|
|
28
29
|
exports.TopicSpaceMemberBatchRemove = "communication.space.member.batch.remove";
|
|
29
30
|
exports.TopicRoomStateSet = "communication.room.state.set";
|
|
@@ -57,6 +58,7 @@ exports.ErrCodeActorNotFound = "ACTOR_NOT_FOUND";
|
|
|
57
58
|
exports.ErrCodeMessageNotFound = "MESSAGE_NOT_FOUND";
|
|
58
59
|
exports.ErrCodeReactionNotFound = "REACTION_NOT_FOUND";
|
|
59
60
|
exports.ErrCodeMatrixError = "MATRIX_ERROR";
|
|
61
|
+
exports.ErrCodeDeadlineExceeded = "DEADLINE_EXCEEDED";
|
|
60
62
|
exports.ErrCodeInternalError = "INTERNAL_ERROR";
|
|
61
63
|
exports.ErrCodeNotAllowed = "NOT_ALLOWED";
|
|
62
64
|
exports.RoomTypeCommunity = "community";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generated.js","sourceRoot":"","sources":["../../src/dto/generated.ts"],"names":[],"mappings":";;;;AAkHa,QAAA,eAAe,GAAG,2BAA2B,CAAC;AAI9C,QAAA,YAAY,GAAG,wBAAwB,CAAC;AAIxC,QAAA,kBAAkB,GAAG,gCAAgC,CAAC;AAItD,QAAA,eAAe,GAAG,2BAA2B,CAAC;AAI9C,QAAA,eAAe,GAAG,2BAA2B,CAAC;AAI9C,QAAA,aAAa,GAAG,yBAAyB,CAAC;AAI1C,QAAA,gBAAgB,GAAG,4BAA4B,CAAC;AAIhD,QAAA,eAAe,GAAG,2BAA2B,CAAC;AAI9C,QAAA,kBAAkB,GAAG,8BAA8B,CAAC;AAIpD,QAAA,oBAAoB,GAAG,gCAAgC,CAAC;AAIxD,QAAA,gBAAgB,GAAG,4BAA4B,CAAC;AAIhD,QAAA,mBAAmB,GAAG,+BA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AAgB,GAAG,4BAA4B,CAAC;AAIhD,QAAA,iBAAiB,GAAG,6BAA6B,CAAC;AAgElD,QAAA,mBAAmB,GAAc,eAAe,CAAC;AAIjD,QAAA,mBAAmB,GAAc,gBAAgB,CAAC;AAIlD,QAAA,oBAAoB,GAAc,iBAAiB,CAAC;AAIpD,QAAA,oBAAoB,GAAc,iBAAiB,CAAC;AAIpD,QAAA,sBAAsB,GAAc,mBAAmB,CAAC;AAIxD,QAAA,uBAAuB,GAAc,oBAAoB,CAAC;AAI1D,QAAA,kBAAkB,GAAc,cAAc,CAAC;AAQ/C,QAAA,uBAAuB,GAAc,mBAAmB,CAAC;AAIzD,QAAA,oBAAoB,GAAc,gBAAgB,CAAC;AAInD,QAAA,iBAAiB,GAAc,aAAa,CAAC;AAg1B7C,QAAA,iBAAiB,GAAa,WAAW,CAAC;AAI1C,QAAA,cAAc,GAAa,QAAQ,CAAC;AAQpC,QAAA,cAAc,GAAa,QAAQ,CAAC;AAIpC,QAAA,cAAc,GAAa,QAAQ,CAAC;AAIpC,QAAA,kBAAkB,GAAa,YAAY,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare enum MatrixAdapterEventType {
|
|
2
2
|
COMMUNICATION_ACTOR_SYNC = "communication.actor.sync",
|
|
3
|
+
COMMUNICATION_HIERARCHY_SET_CHILDREN = "communication.hierarchy.set_children",
|
|
3
4
|
COMMUNICATION_HIERARCHY_SET_PARENT = "communication.hierarchy.set_parent",
|
|
4
5
|
COMMUNICATION_MESSAGE_DELETE = "communication.message.delete",
|
|
5
6
|
COMMUNICATION_MESSAGE_EDITED = "communication.message.edited",
|
|
@@ -4,6 +4,7 @@ exports.MatrixAdapterEventType = void 0;
|
|
|
4
4
|
var MatrixAdapterEventType;
|
|
5
5
|
(function (MatrixAdapterEventType) {
|
|
6
6
|
MatrixAdapterEventType["COMMUNICATION_ACTOR_SYNC"] = "communication.actor.sync";
|
|
7
|
+
MatrixAdapterEventType["COMMUNICATION_HIERARCHY_SET_CHILDREN"] = "communication.hierarchy.set_children";
|
|
7
8
|
MatrixAdapterEventType["COMMUNICATION_HIERARCHY_SET_PARENT"] = "communication.hierarchy.set_parent";
|
|
8
9
|
MatrixAdapterEventType["COMMUNICATION_MESSAGE_DELETE"] = "communication.message.delete";
|
|
9
10
|
MatrixAdapterEventType["COMMUNICATION_MESSAGE_EDITED"] = "communication.message.edited";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"matrix.adapter.event.type.js","sourceRoot":"","sources":["../src/matrix.adapter.event.type.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"matrix.adapter.event.type.js","sourceRoot":"","sources":["../src/matrix.adapter.event.type.ts"],"names":[],"mappings":";;;AAAA,IAAY,sBAoDX;AApDD,WAAY,sBAAsB;IAEhC,+EAAqD,CAAA;IACrD,uGAA6E,CAAA;IAC7E,mGAAyE,CAAA;IACzE,uFAA6D,CAAA;IAC7D,uFAA6D,CAAA;IAC7D,iFAAuD,CAAA;IACvD,mFAAyD,CAAA;IACzD,2FAAiE,CAAA;IACjE,2FAAiE,CAAA;IACjE,mFAAyD,CAAA;IACzD,mFAAyD,CAAA;IACzD,uFAA6D,CAAA;IAC7D,mFAAyD,CAAA;IACzD,yFAA+D,CAAA;IAC/D,2FAAiE,CAAA;IACjE,mHAAyF,CAAA;IACzF,mHAAyF,CAAA;IACzF,+EAAqD,CAAA;IACrD,iFAAuD,CAAA;IACvD,mFAAyD,CAAA;IACzD,iFAAuD,CAAA;IACvD,6FAAmE,CAAA;IACnE,2EAAiD,CAAA;IACjD,2FAAiE,CAAA;IACjE,6EAAmD,CAAA;IACnD,qGAA2E,CAAA;IAC3E,6EAAmD,CAAA;IACnD,2FAAiE,CAAA;IACjE,qGAA2E,CAAA;IAC3E,2GAAiF,CAAA;IACjF,2FAAiE,CAAA;IACjE,iGAAuE,CAAA;IACvE,mGAAyE,CAAA;IACzE,uFAA6D,CAAA;IAC7D,uFAA6D,CAAA;IAC7D,uGAA6E,CAAA;IAC7E,iFAAuD,CAAA;IACvD,mFAAyD,CAAA;IACzD,mFAAyD,CAAA;IACzD,mFAAyD,CAAA;IACzD,6EAAmD,CAAA;IACnD,+EAAqD,CAAA;IACrD,uGAA6E,CAAA;IAC7E,6GAAmF,CAAA;IACnF,yFAA+D,CAAA;IAC/D,yFAA+D,CAAA;IAC/D,mFAAyD,CAAA;IACzD,qFAA2D,CAAA;IAC3D,iGAAuE,CAAA;AAEzE,CAAC,EApDW,sBAAsB,sCAAtB,sBAAsB,QAoDjC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alkemio/matrix-adapter-lib",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.18",
|
|
4
4
|
"description": "Library for interacting with Alkemio Matrix Adapter service",
|
|
5
5
|
"author": "Alkemio Foundation",
|
|
6
6
|
"private": false,
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"@types/node": "^22.18.13",
|
|
16
16
|
"@typescript-eslint/eslint-plugin": "^8.46.2",
|
|
17
17
|
"@typescript-eslint/parser": "^8.46.2",
|
|
18
|
+
"@typescript/native": "npm:typescript@7.0.2",
|
|
18
19
|
"eslint": "^9.38.0",
|
|
19
20
|
"eslint-config-prettier": "^10.1.8",
|
|
20
21
|
"eslint-plugin-import": "^2.31.0",
|
|
@@ -26,7 +27,7 @@
|
|
|
26
27
|
"rimraf": "^6.1.0",
|
|
27
28
|
"ts-jest": "^29.2.5",
|
|
28
29
|
"ts-node": "^10.9.2",
|
|
29
|
-
"typescript": "
|
|
30
|
+
"typescript": "npm:@typescript/typescript6@~6.0.2"
|
|
30
31
|
},
|
|
31
32
|
"_moduleAliases": {
|
|
32
33
|
"@src": "./dist"
|
|
@@ -54,11 +55,12 @@
|
|
|
54
55
|
],
|
|
55
56
|
"scripts": {
|
|
56
57
|
"prebuild": "rimraf dist",
|
|
57
|
-
"build": "
|
|
58
|
+
"build": "tsc6 --project tsconfig.prod.json",
|
|
58
59
|
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
59
60
|
"start": "nest start",
|
|
60
61
|
"lint": "eslint --config eslint.config.mjs .",
|
|
61
|
-
"lint:prod": "
|
|
62
|
-
"lint:fix": "eslint --config eslint.config.mjs . --fix"
|
|
62
|
+
"lint:prod": "pnpm run typecheck:native && cross-env NODE_ENV=production eslint --config eslint.config.mjs src/",
|
|
63
|
+
"lint:fix": "eslint --config eslint.config.mjs . --fix",
|
|
64
|
+
"typecheck:native": "tsc -p tsconfig.json --noEmit"
|
|
63
65
|
}
|
|
64
66
|
}
|