@telia-ace/alliance-internal-node-utilities 1.0.1 → 1.0.2-next.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.
@@ -0,0 +1,2 @@
1
+ export * from './logging.module';
2
+ export * from './logging.service';
@@ -0,0 +1,9 @@
1
+ import { DynamicModule } from '@nestjs/common';
2
+ type ModuleSettings = {
3
+ logLevel?: string;
4
+ redact?: boolean;
5
+ };
6
+ export declare class LoggerModule {
7
+ static forRoot({ logLevel, redact }?: ModuleSettings): DynamicModule;
8
+ }
9
+ export {};
@@ -1,4 +1,3 @@
1
- import { DynamicModule } from '@nestjs/common';
2
1
  import { PinoLogger } from 'nestjs-pino';
3
2
  export declare class LoggerService {
4
3
  private readonly logger;
@@ -11,11 +10,3 @@ export declare class LoggerService {
11
10
  error: PinoLogger['error'];
12
11
  fatal: PinoLogger['fatal'];
13
12
  }
14
- type ModuleSettings = {
15
- logLevel?: string;
16
- redact?: boolean;
17
- };
18
- export declare class LoggerModule {
19
- static forRoot({ logLevel, redact }?: ModuleSettings): DynamicModule;
20
- }
21
- export {};
@@ -0,0 +1 @@
1
+ export declare function slugify(name: string): string;
@@ -0,0 +1 @@
1
+ export type LooseObject = Record<string, any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telia-ace/alliance-internal-node-utilities",
3
- "version": "1.0.1",
3
+ "version": "1.0.2-next.1",
4
4
  "description": "Utilities used internally by packages developed by team Alliance.",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "Telia Company AB",
@@ -14,28 +14,35 @@
14
14
  "dist"
15
15
  ],
16
16
  "dependencies": {
17
- "@nestjs/common": "^9.4.0",
18
- "@nestjs/config": "^2.3.1",
19
- "jsonwebtoken": "^9.0.0",
20
- "nestjs-pino": "^3.2.0",
17
+ "@nestjs/common": "^10.1.0",
18
+ "@nestjs/config": "^3.0.0",
19
+ "express-openid-connect": "^2.16.0",
20
+ "jsonschema": "^1.4.1",
21
+ "jsonwebtoken": "^9.0.1",
22
+ "nestjs-pino": "^3.3.0",
21
23
  "pino-http": "^8.3.3",
22
- "pino-pretty": "^10.0.0"
24
+ "pino-pretty": "^10.1.0",
25
+ "slugify": "^1.6.6"
23
26
  },
24
27
  "devDependencies": {
25
28
  "@types/express": "^4.17.17",
26
29
  "@types/jsonwebtoken": "^9.0.2",
27
- "@types/node": "^20.1.2",
28
- "vite": "^4.3.5",
29
- "unbuild": "^1.2.1"
30
+ "@types/node": "^20.4.2",
31
+ "minimist": "^1.2.8",
32
+ "remark-parse": "^10.0.2",
33
+ "remark-stringify": "^10.0.3",
34
+ "slackify-markdown": "^4.3.1",
35
+ "tiny-glob": "^0.2.9",
36
+ "unbuild": "^1.2.1",
37
+ "unified": "^10.1.2",
38
+ "vite": "^4.4.6"
30
39
  },
31
40
  "publishConfig": {
32
41
  "access": "public"
33
42
  },
34
43
  "scripts": {
35
44
  "build:dev": "tsc && unbuild --mode development",
36
- "build:prod": "rimraf dist && tsc && unbuild --mode prod",
37
- "build:test": "rimraf dist && tsc && unbuild --mode test",
38
- "build:docker": "unbuild",
45
+ "build:prod": "rimraf dist && tsc && unbuild",
39
46
  "dev": "tsc && unbuild --mode development --watch"
40
47
  }
41
48
  }
File without changes
File without changes
File without changes