@gus-eip/loggers 4.4.4 → 4.4.7

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 CHANGED
@@ -1,92 +1,92 @@
1
- # @gus-eip/loggers
2
-
3
- ## Overview
4
-
5
- `@gus-eip/loggers` is a package designed to provide logging functionality for your Node.js applications. It offers integration with various logging services, including CloudWatchLogger.
6
-
7
- ## Installation
8
-
9
- You can install the package via npm:
10
-
11
- ```bash
12
- npm install @gus-eip/loggers
13
- ```
14
-
15
- ## Usage
16
-
17
- To use the logger module in your application, follow these steps:
18
-
19
- 1. Import `LoggerModule` from `@gus-eip/loggers` inside your module.
20
-
21
- ```javascript
22
- import { LoggerModule } from '@gus-eip/loggers';
23
- ```
24
-
25
- 2. Configure `LoggerModule` in your module by calling the `forRoot` method.
26
-
27
- ```javascript
28
- LoggerModule.forRoot({
29
- region: process.env.REGION,
30
- logGroupName: process.env.LOGGER_LOG_GROUP_NAME,
31
- options: 'CloudWatchLogger',
32
- }),
33
- ```
34
-
35
- Ensure you provide the necessary environment variables (`REGION` and `LOGGER_LOG_GROUP_NAME`) for configuration.
36
-
37
- ## Configuration Options
38
-
39
- - `region`: The AWS region where your CloudWatch logs are located.
40
- - `logGroupName`: The name of the log group where logs will be sent.
41
- - `options`: The options for the logger. Currently, only `'CloudWatchLogger'` is supported.
42
-
43
- ## Example
44
-
45
- ```javascript
46
- import { Module } from '@nestjs/common';
47
- import { LoggerModule } from '@gus-eip/loggers';
48
-
49
- @Module({
50
- imports: [
51
- LoggerModule.forRoot({
52
- region: process.env.REGION,
53
- logGroupName: process.env.LOGGER_LOG_GROUP_NAME,
54
- options: 'CloudWatchLogger',
55
- }),
56
- ],
57
- })
58
- export class AppModule {}
59
- ```
60
-
61
- ```
62
- This repository requires AWS SSM Parameter Store access to retrieve the SQS URL dynamically. Ensure that the application has permission to read LOGGER_SQS_URL.
63
-
64
- ```
65
-
66
- ## License
67
-
68
- This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
69
-
70
- ---
71
-
72
- ## OAP-EIP LOGGER
73
-
74
- Whenever any EIP integration (for example: `oap-handlers`, `oap-backend`, `eip-integration-handlers`, `platform-events-listener`, or `gus-middleware-service`) introduces a new use case, event, or component, follow these steps to keep this package as the single source of truth for EIP logging:
75
-
76
- 1. Add the new use case, event and component identifiers to `enum.ts`.
77
-
78
- 2. Add a user-friendly message/label for the use case in `mappings/usecase-mapping.ts`.
79
-
80
- 3. Update `mappings/source-destination-mapping.ts` to include the use case and the corresponding brand(s) with their `source` and `destination` values. If the use case already exists and a newly onboarded brand uses it, add the brand under that existing use case entry.
81
-
82
- Notes:
83
-
84
- - The `mappings/source-destination-mapping.ts` file is the ultimate source of truth for EIP logger routing and should accurately reflect brand → use case → (source, destination) mappings.
85
- - Keep `enum.ts` identifiers stable. Prefer adding new identifiers rather than renaming existing ones to avoid breaking downstream projects.
86
-
87
- Publishing and downstream updates:
88
-
89
- - After making changes, bump and publish this package.
90
- - Then update the dependency version used by the `gus-eip-analytics` repository: set the new package version in the `dev` branch for development deployments and in the `prod` branch for production deployments so downstream services pick up the release.
91
-
92
- ---
1
+ # @gus-eip/loggers
2
+
3
+ ## Overview
4
+
5
+ `@gus-eip/loggers` is a package designed to provide logging functionality for your Node.js applications. It offers integration with various logging services, including CloudWatchLogger.
6
+
7
+ ## Installation
8
+
9
+ You can install the package via npm:
10
+
11
+ ```bash
12
+ npm install @gus-eip/loggers
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ To use the logger module in your application, follow these steps:
18
+
19
+ 1. Import `LoggerModule` from `@gus-eip/loggers` inside your module.
20
+
21
+ ```javascript
22
+ import { LoggerModule } from '@gus-eip/loggers';
23
+ ```
24
+
25
+ 2. Configure `LoggerModule` in your module by calling the `forRoot` method.
26
+
27
+ ```javascript
28
+ LoggerModule.forRoot({
29
+ region: process.env.REGION,
30
+ logGroupName: process.env.LOGGER_LOG_GROUP_NAME,
31
+ options: 'CloudWatchLogger',
32
+ }),
33
+ ```
34
+
35
+ Ensure you provide the necessary environment variables (`REGION` and `LOGGER_LOG_GROUP_NAME`) for configuration.
36
+
37
+ ## Configuration Options
38
+
39
+ - `region`: The AWS region where your CloudWatch logs are located.
40
+ - `logGroupName`: The name of the log group where logs will be sent.
41
+ - `options`: The options for the logger. Currently, only `'CloudWatchLogger'` is supported.
42
+
43
+ ## Example
44
+
45
+ ```javascript
46
+ import { Module } from '@nestjs/common';
47
+ import { LoggerModule } from '@gus-eip/loggers';
48
+
49
+ @Module({
50
+ imports: [
51
+ LoggerModule.forRoot({
52
+ region: process.env.REGION,
53
+ logGroupName: process.env.LOGGER_LOG_GROUP_NAME,
54
+ options: 'CloudWatchLogger',
55
+ }),
56
+ ],
57
+ })
58
+ export class AppModule {}
59
+ ```
60
+
61
+ ```
62
+ This repository requires AWS SSM Parameter Store access to retrieve the SQS URL dynamically. Ensure that the application has permission to read LOGGER_SQS_URL.
63
+
64
+ ```
65
+
66
+ ## License
67
+
68
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
69
+
70
+ ---
71
+
72
+ ## OAP-EIP LOGGER
73
+
74
+ Whenever any EIP integration (for example: `oap-handlers`, `oap-backend`, `eip-integration-handlers`, `platform-events-listener`, or `gus-middleware-service`) introduces a new use case, event, or component, follow these steps to keep this package as the single source of truth for EIP logging:
75
+
76
+ 1. Add the new use case, event and component identifiers to `enum.ts`.
77
+
78
+ 2. Add a user-friendly message/label for the use case in `mappings/usecase-mapping.ts`.
79
+
80
+ 3. Update `mappings/source-destination-mapping.ts` to include the use case and the corresponding brand(s) with their `source` and `destination` values. If the use case already exists and a newly onboarded brand uses it, add the brand under that existing use case entry.
81
+
82
+ Notes:
83
+
84
+ - The `mappings/source-destination-mapping.ts` file is the ultimate source of truth for EIP logger routing and should accurately reflect brand → use case → (source, destination) mappings.
85
+ - Keep `enum.ts` identifiers stable. Prefer adding new identifiers rather than renaming existing ones to avoid breaking downstream projects.
86
+
87
+ Publishing and downstream updates:
88
+
89
+ - After making changes, bump and publish this package.
90
+ - Then update the dependency version used by the `gus-eip-analytics` repository: set the new package version in the `dev` branch for development deployments and in the `prod` branch for production deployments so downstream services pick up the release.
91
+
92
+ ---
package/dist/enum.d.ts CHANGED
@@ -524,6 +524,11 @@ export declare class LoggerEnum {
524
524
  FETCH_VISA_DETAILS_INITIATED: string;
525
525
  FETCH_VISA_DETAILS_COMPLETED: string;
526
526
  FETCH_VISA_DETAILS_FAILED: string;
527
+ SFTP_FILE_UPLOAD_INITIATED: string;
528
+ SFTP_FILE_UPLOAD_FAILED: string;
529
+ SFTP_FILE_DOWNLOAD_INITIATED: string;
530
+ SFTP_FILE_DOWNLOAD_FAILED: string;
531
+ MISSING_REQUIRED_FILES: string;
527
532
  };
528
533
  UseCase: {
529
534
  PROGRAM_INFO: string;
@@ -616,15 +621,20 @@ export declare class LoggerEnum {
616
621
  GUS_WITHDRAW_APPLICATION: string;
617
622
  STUDENT_OAP_LEAD_OWNER_ASSIGNMENT: string;
618
623
  UEG_DEPOSIT_CONFIRMED: string;
624
+ ULAW_LEAD_CREATE: string;
625
+ ULAW_LEAD_UPDATE: string;
619
626
  ULAW_ACCEPTED_STAGE: string;
620
627
  ULAW_ADMISSION_STAGE: string;
621
- ULAW_CLOSED_LOST_STAGE: string;
622
- ULAW_ENROLMENT_STAGE: string;
628
+ ULAW_CLOSED_LOST: string;
629
+ ULAW_CLOSED_WON: string;
623
630
  ULAW_NEED_CLARIFICATION: string;
624
631
  ULAW_NEW_LEAD: string;
625
632
  ULAW_OFFER_STAGE: string;
626
633
  ULAW_PAYMENT_STAGE: string;
627
634
  ULAW_NEW_APPLICATION: string;
635
+ ULAW_APPLICATION: string;
636
+ ULAW_APPLICATION_UPDATE: string;
637
+ ULAW_ACCEPTANCE_STAGE: string;
628
638
  CHATBOT_CHAT_CLOSED: string;
629
639
  UNFC_DATA_POLLING: string;
630
640
  DEFERRAL_PROCESSING: string;
@@ -716,6 +726,9 @@ export declare class LoggerEnum {
716
726
  FAILED_ACCESS_INFO_STREAM_PROCESSED: string;
717
727
  COMPLETED_ACCESS_INFO_STREAM_PROCESSED: string;
718
728
  INITIATED_ACCESS_INFO_STREAM_PROCESSED: string;
729
+ SFTP_INBOUND_FILE_UPLOAD: string;
730
+ SFTP_OUTBOUND_FILE_POLLING: string;
731
+ PLEDGE: string;
719
732
  };
720
733
  Component: {
721
734
  OAP_FRONTEND: string;
@@ -807,5 +820,6 @@ export declare class LoggerEnum {
807
820
  OAP_SCHEDULE_EXECUTION: string;
808
821
  OAP_EVENT_SCHEDULER: string;
809
822
  PUBLISH_EVENT_TO_SF: string;
823
+ SFTP_SERVER: string;
810
824
  };
811
825
  }
package/dist/enum.js CHANGED
@@ -535,6 +535,11 @@ let LoggerEnum = class LoggerEnum {
535
535
  FETCH_VISA_DETAILS_INITIATED: 'FETCH_VISA_DETAILS_INITIATED',
536
536
  FETCH_VISA_DETAILS_COMPLETED: 'FETCH_VISA_DETAILS_COMPLETED',
537
537
  FETCH_VISA_DETAILS_FAILED: 'FETCH_VISA_DETAILS_FAILED',
538
+ SFTP_FILE_UPLOAD_INITIATED: 'SFTP_FILE_UPLOAD_INITIATED',
539
+ SFTP_FILE_UPLOAD_FAILED: 'SFTP_FILE_UPLOAD_FAILED',
540
+ SFTP_FILE_DOWNLOAD_INITIATED: 'SFTP_FILE_DOWNLOAD_INITIATED',
541
+ SFTP_FILE_DOWNLOAD_FAILED: 'SFTP_FILE_DOWNLOAD_FAILED',
542
+ MISSING_REQUIRED_FILES: 'MISSING_REQUIRED_FILES',
538
543
  };
539
544
  this.UseCase = {
540
545
  PROGRAM_INFO: 'SAVE_PROGRAMME_DETAILS',
@@ -627,15 +632,20 @@ let LoggerEnum = class LoggerEnum {
627
632
  GUS_WITHDRAW_APPLICATION: 'GUS_WITHDRAW_APPLICATION',
628
633
  STUDENT_OAP_LEAD_OWNER_ASSIGNMENT: 'STUDENT_OAP_LEAD_OWNER_ASSIGNMENT',
629
634
  UEG_DEPOSIT_CONFIRMED: 'UEG_DEPOSIT_CONFIRMED',
635
+ ULAW_LEAD_CREATE: 'ULAW_LEAD_CREATE',
636
+ ULAW_LEAD_UPDATE: 'ULAW_LEAD_UPDATE',
630
637
  ULAW_ACCEPTED_STAGE: 'ULAW_ACCEPTED_STAGE',
631
638
  ULAW_ADMISSION_STAGE: 'ULAW_ADMISSION_STAGE',
632
- ULAW_CLOSED_LOST_STAGE: 'ULAW_CLOSED_LOST_STAGE',
633
- ULAW_ENROLMENT_STAGE: 'ULAW_ENROLMENT_STAGE',
639
+ ULAW_CLOSED_LOST: 'ULAW_CLOSED_LOST',
640
+ ULAW_CLOSED_WON: 'ULAW_CLOSED_WON',
634
641
  ULAW_NEED_CLARIFICATION: 'ULAW_NEED_CLARIFICATION',
635
642
  ULAW_NEW_LEAD: 'ULAW_NEW_LEAD',
636
643
  ULAW_OFFER_STAGE: 'ULAW_OFFER_STAGE',
637
644
  ULAW_PAYMENT_STAGE: 'ULAW_PAYMENT_STAGE',
638
645
  ULAW_NEW_APPLICATION: 'ULAW_NEW_APPLICATION',
646
+ ULAW_APPLICATION: 'ULAW_APPLICATION',
647
+ ULAW_APPLICATION_UPDATE: 'ULAW_APPLICATION_UPDATE',
648
+ ULAW_ACCEPTANCE_STAGE: 'ULAW_ACCEPTANCE_STAGE',
639
649
  CHATBOT_CHAT_CLOSED: 'CHATBOT_CHAT_CLOSED',
640
650
  UNFC_DATA_POLLING: 'UNFC_DATA_POLLING',
641
651
  DEFERRAL_PROCESSING: 'DEFERRAL_PROCESSING',
@@ -727,6 +737,9 @@ let LoggerEnum = class LoggerEnum {
727
737
  FAILED_ACCESS_INFO_STREAM_PROCESSED: 'FAILED_ACCESS_INFO_STREAM_PROCESSED',
728
738
  COMPLETED_ACCESS_INFO_STREAM_PROCESSED: 'COMPLETED_ACCESS_INFO_STREAM_PROCESSED',
729
739
  INITIATED_ACCESS_INFO_STREAM_PROCESSED: 'INITIATED_ACCESS_INFO_STREAM_PROCESSED',
740
+ SFTP_INBOUND_FILE_UPLOAD: 'SFTP_INBOUND_FILE_UPLOAD',
741
+ SFTP_OUTBOUND_FILE_POLLING: 'SFTP_OUTBOUND_FILE_POLLING',
742
+ PLEDGE: 'SAVE_PLEDGE',
730
743
  };
731
744
  this.Component = {
732
745
  OAP_FRONTEND: 'OAP-FRONTEND',
@@ -818,6 +831,7 @@ let LoggerEnum = class LoggerEnum {
818
831
  OAP_SCHEDULE_EXECUTION: 'OAP_SCHEDULE_EXECUTION',
819
832
  OAP_EVENT_SCHEDULER: 'OAP_EVENT_SCHEDULER',
820
833
  PUBLISH_EVENT_TO_SF: 'PUBLISH_EVENT_TO_SF',
834
+ SFTP_SERVER: 'SFTP_SERVER',
821
835
  };
822
836
  }
823
837
  };
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BRAND_USECASE_MAPPING = void 0;
4
4
  exports.BRAND_USECASE_MAPPING = [
5
5
  {
6
- brands: ['LIM College', 'HZU', 'IBAT', 'LSBFMYR', 'UEG', 'UCW', 'UNFC', 'WUL', 'Arden University', 'ARD', 'PU', 'CUA', 'BenU', 'TUA'],
6
+ brands: ['LIM College', 'HZU', 'IBAT', 'LSBFMYR', 'UEG', 'UCW', 'UNFC', 'WUL', 'Arden University', 'ARD', 'PU', 'CUA', 'BenU', 'TUA', 'SYRU'],
7
7
  usecase: 'SAVE_BASIC_DETAILS',
8
8
  source: 'OAP',
9
9
  destination: 'GUS Salesforce',
@@ -21,7 +21,7 @@ exports.BRAND_USECASE_MAPPING = [
21
21
  destination: 'GUS Salesforce',
22
22
  },
23
23
  {
24
- brands: ['LIM College', 'HZU', 'IBAT', 'UEG', 'WUL', 'TUA', 'CUA'],
24
+ brands: ['LIM College', 'HZU', 'IBAT', 'UEG', 'WUL', 'TUA', 'CUA', 'SYRU'],
25
25
  usecase: 'SAVE_ADDITIONAL_INFORMATION',
26
26
  source: 'OAP',
27
27
  destination: 'GUS Salesforce',
@@ -51,7 +51,7 @@ exports.BRAND_USECASE_MAPPING = [
51
51
  destination: 'GUS Salesforce',
52
52
  },
53
53
  {
54
- brands: ['LIM College', 'HZU', 'IBAT', 'LSBFMYR', 'UNFC', 'UEG', 'UCW', 'WUL', 'Arden University', 'ARD', 'PU', 'CUA', 'BenU', ' TUA'],
54
+ brands: ['LIM College', 'HZU', 'IBAT', 'LSBFMYR', 'UNFC', 'UEG', 'UCW', 'WUL', 'Arden University', 'ARD', 'PU', 'CUA', 'BenU', ' TUA', 'SYRU'],
55
55
  usecase: 'SUBMIT_APPLICATION',
56
56
  source: 'OAP',
57
57
  destination: 'GUS Salesforce',
@@ -93,7 +93,7 @@ exports.BRAND_USECASE_MAPPING = [
93
93
  destination: 'GUS Salesforce',
94
94
  },
95
95
  {
96
- brands: ['UCW', 'UNFC', 'UEG', 'TUA'],
96
+ brands: ['UCW', 'UNFC', 'UEG', 'TUA', 'SYRU'],
97
97
  usecase: 'SAVE_ADDITIONAL_DOCUMENTS_DETAILS',
98
98
  source: 'OAP',
99
99
  destination: 'GUS Salesforce',
@@ -165,7 +165,7 @@ exports.BRAND_USECASE_MAPPING = [
165
165
  destination: 'GUS Salesforce',
166
166
  },
167
167
  {
168
- brands: ['PU', 'BenU', 'TUA'],
168
+ brands: ['PU', 'BenU', 'TUA', 'SYRU'],
169
169
  usecase: 'SAVE_ACADEMIC_HISTORY',
170
170
  source: 'OAP',
171
171
  destination: 'GUS Salesforce',
@@ -183,7 +183,7 @@ exports.BRAND_USECASE_MAPPING = [
183
183
  destination: 'GUS Salesforce',
184
184
  },
185
185
  {
186
- brands: ['PU', 'BenU'],
186
+ brands: ['PU', 'BenU', 'SYRU'],
187
187
  usecase: 'SAVE_RECOMMENDATIONS',
188
188
  source: 'OAP',
189
189
  destination: 'GUS Salesforce',
@@ -213,7 +213,7 @@ exports.BRAND_USECASE_MAPPING = [
213
213
  destination: 'GUS Salesforce',
214
214
  },
215
215
  {
216
- brands: ['CUA'],
216
+ brands: ['CUA', 'SYRU'],
217
217
  usecase: 'SAVE_PROGRAM_SELECTION_DETAILS',
218
218
  source: 'OAP',
219
219
  destination: 'GUS Salesforce',
@@ -231,7 +231,7 @@ exports.BRAND_USECASE_MAPPING = [
231
231
  destination: 'GUS Salesforce',
232
232
  },
233
233
  {
234
- brands: ['CUA'],
234
+ brands: ['CUA', 'SYRU'],
235
235
  usecase: 'SAVE_TEST_SCORES_DETAILS',
236
236
  source: 'OAP',
237
237
  destination: 'GUS Salesforce',
@@ -867,7 +867,7 @@ exports.BRAND_USECASE_MAPPING = [
867
867
  destination: 'GUS Salesforce',
868
868
  },
869
869
  {
870
- brands: ['WUL', 'CUA', 'TUA'],
870
+ brands: ['WUL', 'CUA', 'TUA', 'SYRU'],
871
871
  usecase: 'SAVE_PERSONAL_BACKGROUND',
872
872
  source: 'OAP',
873
873
  destination: 'GUS Salesforce',
@@ -879,7 +879,7 @@ exports.BRAND_USECASE_MAPPING = [
879
879
  destination: 'GUS Salesforce',
880
880
  },
881
881
  {
882
- brands: ['WUL', 'PU'],
882
+ brands: ['WUL', 'PU', 'SYRU'],
883
883
  usecase: 'SAVE_ACADEMIC_HISTORY',
884
884
  source: 'OAP',
885
885
  destination: 'GUS Salesforce',
@@ -915,7 +915,7 @@ exports.BRAND_USECASE_MAPPING = [
915
915
  destination: 'GUS Salesforce',
916
916
  },
917
917
  {
918
- brands: ['BenU'],
918
+ brands: ['BenU', 'SYRU'],
919
919
  usecase: 'SAVE_VISA_INFORMATION',
920
920
  source: 'OAP',
921
921
  destination: 'GUS Salesforce',
@@ -943,5 +943,11 @@ exports.BRAND_USECASE_MAPPING = [
943
943
  usecase: 'SAVE_ACTIVITIES_AND_INVOLVEMENT',
944
944
  source: 'OAP',
945
945
  destination: 'GUS Salesforce',
946
+ },
947
+ {
948
+ brands: ['SYRU'],
949
+ usecase: 'SAVE_PLEDGE',
950
+ source: 'OAP',
951
+ destination: 'GUS Salesforce',
946
952
  }
947
953
  ];
@@ -125,5 +125,8 @@ export declare enum UsecaseMapping {
125
125
  SAVE_FAMILY_INFO = "Save Family Info",
126
126
  SAVE_TRANSFER_STUDENTS = "Save Transfer Students",
127
127
  SAVE_REFERENCES = "Save References",
128
- SAVE_ACTIVITIES_AND_INVOLVEMENT = "Save Activities And Involvement"
128
+ SAVE_ACTIVITIES_AND_INVOLVEMENT = "Save Activities And Involvement",
129
+ SFTP_INBOUND_FILE_UPLOAD = "SFTP Inbound File Upload",
130
+ SFTP_OUTBOUND_FILE_POLLING = "SFTP Outbound File Polling",
131
+ SAVE_PLEDGE = "Save Pledge"
129
132
  }
@@ -130,4 +130,7 @@ var UsecaseMapping;
130
130
  UsecaseMapping["SAVE_TRANSFER_STUDENTS"] = "Save Transfer Students";
131
131
  UsecaseMapping["SAVE_REFERENCES"] = "Save References";
132
132
  UsecaseMapping["SAVE_ACTIVITIES_AND_INVOLVEMENT"] = "Save Activities And Involvement";
133
+ UsecaseMapping["SFTP_INBOUND_FILE_UPLOAD"] = "SFTP Inbound File Upload";
134
+ UsecaseMapping["SFTP_OUTBOUND_FILE_POLLING"] = "SFTP Outbound File Polling";
135
+ UsecaseMapping["SAVE_PLEDGE"] = "Save Pledge";
133
136
  })(UsecaseMapping || (exports.UsecaseMapping = UsecaseMapping = {}));
package/package.json CHANGED
@@ -1,79 +1,79 @@
1
- {
2
- "name": "@gus-eip/loggers",
3
- "version": "4.4.4",
4
- "description": "@gus-eip/loggers is a package designed to provide logging functionality for your Node.js applications.",
5
- "author": "gus",
6
- "readmeFilename": "README.md",
7
- "main": "dist/index.js",
8
- "files": [
9
- "dist/**/*",
10
- "*.md"
11
- ],
12
- "scripts": {
13
- "start:dev": "tsc -w",
14
- "build": "tsc",
15
- "prepare": "npm run build",
16
- "format": "prettier --write \"src/**/*.ts\"",
17
- "lint": "tslint -p tsconfig.json -c tslint.json",
18
- "test": "node --experimental-vm-modules ./node_modules/.bin/jest",
19
- "test:watch": "jest --watch",
20
- "test:cov": "jest --coverage",
21
- "test:e2e": "jest --config ./test/jest-e2e.json"
22
- },
23
- "keywords": [
24
- "nestjs",
25
- "nodejs",
26
- "javascript",
27
- "typescript",
28
- "eip-loggers"
29
- ],
30
- "publishConfig": {
31
- "access": "public"
32
- },
33
- "dependencies": {
34
- "@aws-sdk/client-ssm": "^3.759.0",
35
- "aws-sdk": "^2.1590.0",
36
- "axios": "^1.7.4"
37
- },
38
- "devDependencies": {
39
- "@nestjs/common": "^10.0.2",
40
- "@nestjs/core": "^10.0.2",
41
- "@nestjs/platform-express": "^10.0.2",
42
- "@nestjs/testing": "10.0.2",
43
- "@types/express": "4.17.17",
44
- "@types/jest": "29.5.2",
45
- "@types/lodash": "^4.17.7",
46
- "@types/node": "20.3.1",
47
- "@types/supertest": "2.0.12",
48
- "@typescript-eslint/eslint-plugin": "^5.60.0",
49
- "@typescript-eslint/parser": "^5.60.0",
50
- "eslint": "^8.43.0",
51
- "eslint-config-prettier": "^8.8.0",
52
- "eslint-plugin-prettier": "^4.2.1",
53
- "jest": "29.5.0",
54
- "prettier": "2.8.8",
55
- "reflect-metadata": "^0.1.13",
56
- "rxjs": "^7.8.1",
57
- "supertest": "6.3.3",
58
- "ts-jest": "29.1.0",
59
- "ts-node": "10.9.1",
60
- "tsc-watch": "6.0.4",
61
- "tsconfig-paths": "4.2.0",
62
- "tslint": "5.20.1",
63
- "typescript": "^5.5.4"
64
- },
65
- "jest": {
66
- "moduleFileExtensions": [
67
- "js",
68
- "json",
69
- "ts"
70
- ],
71
- "rootDir": "src",
72
- "testRegex": ".spec.ts$",
73
- "transform": {
74
- "^.+\\.(t|j)s$": "ts-jest"
75
- },
76
- "coverageDirectory": "../coverage",
77
- "testEnvironment": "node"
78
- }
79
- }
1
+ {
2
+ "name": "@gus-eip/loggers",
3
+ "version": "4.4.7",
4
+ "description": "@gus-eip/loggers is a package designed to provide logging functionality for your Node.js applications.",
5
+ "author": "gus",
6
+ "readmeFilename": "README.md",
7
+ "main": "dist/index.js",
8
+ "files": [
9
+ "dist/**/*",
10
+ "*.md"
11
+ ],
12
+ "scripts": {
13
+ "start:dev": "tsc -w",
14
+ "build": "tsc",
15
+ "prepare": "npm run build",
16
+ "format": "prettier --write \"src/**/*.ts\"",
17
+ "lint": "tslint -p tsconfig.json -c tslint.json",
18
+ "test": "node --experimental-vm-modules ./node_modules/.bin/jest",
19
+ "test:watch": "jest --watch",
20
+ "test:cov": "jest --coverage",
21
+ "test:e2e": "jest --config ./test/jest-e2e.json"
22
+ },
23
+ "keywords": [
24
+ "nestjs",
25
+ "nodejs",
26
+ "javascript",
27
+ "typescript",
28
+ "eip-loggers"
29
+ ],
30
+ "publishConfig": {
31
+ "access": "public"
32
+ },
33
+ "dependencies": {
34
+ "@aws-sdk/client-ssm": "^3.759.0",
35
+ "aws-sdk": "^2.1590.0",
36
+ "axios": "^1.7.4"
37
+ },
38
+ "devDependencies": {
39
+ "@nestjs/common": "^10.0.2",
40
+ "@nestjs/core": "^10.0.2",
41
+ "@nestjs/platform-express": "^10.0.2",
42
+ "@nestjs/testing": "10.0.2",
43
+ "@types/express": "4.17.17",
44
+ "@types/jest": "29.5.2",
45
+ "@types/lodash": "^4.17.7",
46
+ "@types/node": "20.3.1",
47
+ "@types/supertest": "2.0.12",
48
+ "@typescript-eslint/eslint-plugin": "^5.60.0",
49
+ "@typescript-eslint/parser": "^5.60.0",
50
+ "eslint": "^8.43.0",
51
+ "eslint-config-prettier": "^8.8.0",
52
+ "eslint-plugin-prettier": "^4.2.1",
53
+ "jest": "29.5.0",
54
+ "prettier": "2.8.8",
55
+ "reflect-metadata": "^0.1.13",
56
+ "rxjs": "^7.8.1",
57
+ "supertest": "6.3.3",
58
+ "ts-jest": "29.1.0",
59
+ "ts-node": "10.9.1",
60
+ "tsc-watch": "6.0.4",
61
+ "tsconfig-paths": "4.2.0",
62
+ "tslint": "5.20.1",
63
+ "typescript": "^5.5.4"
64
+ },
65
+ "jest": {
66
+ "moduleFileExtensions": [
67
+ "js",
68
+ "json",
69
+ "ts"
70
+ ],
71
+ "rootDir": "src",
72
+ "testRegex": ".spec.ts$",
73
+ "transform": {
74
+ "^.+\\.(t|j)s$": "ts-jest"
75
+ },
76
+ "coverageDirectory": "../coverage",
77
+ "testEnvironment": "node"
78
+ }
79
+ }