@typeix/schematics 8.2.4 → 8.3.0-rc.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.
@@ -17,20 +17,20 @@
17
17
  "@typeix/resty": "^<%= version %>"
18
18
  },
19
19
  "devDependencies": {
20
- "@babel/core": "^7.17.8",
21
- "@babel/node": "^7.16.8",
22
- "@babel/plugin-proposal-decorators": "^7.17.8",
23
- "@babel/plugin-transform-runtime": "^7.17.0",
24
- "@babel/preset-env": "^7.16.11",
25
- "@babel/register": "^7.17.7",
26
- "@babel/runtime": "^7.17.8",
20
+ "@babel/core": "^7.21.4",
21
+ "@babel/node": "^7.20.7",
22
+ "@babel/plugin-proposal-decorators": "^7.21.0",
23
+ "@babel/plugin-transform-runtime": "^7.21.4",
24
+ "@babel/preset-env": "^7.21.4",
25
+ "@babel/register": "^7.21.0",
26
+ "@babel/runtime": "^7.21.0",
27
27
  "babel-plugin-root-import": "^6.6.0",
28
- "jest": "^27.5.1",
29
- "nodemon": "^2.0.15",
30
- "pino-pretty": "^7.6.0",
31
- "prettier": "^2.6.1"
28
+ "jest": "^29.5.0",
29
+ "nodemon": "^2.0.22",
30
+ "pino-pretty": "^10.0.0",
31
+ "prettier": "^2.8.7"
32
32
  },
33
33
  "engines": {
34
- "node": ">=16.10.0"
34
+ "node": ">=18.0.0"
35
35
  }
36
36
  }
@@ -12,8 +12,12 @@ import {Logger, RootModule} from "@typeix/resty";
12
12
  useFactory: () => {
13
13
  return new Logger({
14
14
  options: {
15
- prettyPrint: true,
16
- level: "info"
15
+ transport: {
16
+ target: "pino-pretty",
17
+ options: {
18
+ colorize: true
19
+ }
20
+ }
17
21
  }
18
22
  });
19
23
  }
@@ -26,26 +26,26 @@
26
26
  "devDependencies": {
27
27
  "@typeix/cli": "^<%= version %>",
28
28
  "@typeix/schematics": "^<%= version %>",
29
- "@types/jest": "^27.4.1",
30
- "@types/node": "^17.0.23",
31
- "@typescript-eslint/eslint-plugin": "^5.16.0",
32
- "@typescript-eslint/parser": "^5.16.0",
33
- "eslint": "^8.11.0",
34
- "eslint-config-prettier": "^8.5.0",
35
- "eslint-plugin-prettier": "^4.0.0",
36
- "jest": "^27.5.1",
37
- "pino-pretty": "^7.6.0",
38
- "prettier": "^2.6.1",
39
- "rimraf": "^3.0.2",
40
- "ts-jest": "^27.1.4",
41
- "ts-loader": "^9.2.8",
42
- "ts-node": "^10.7.0",
43
- "tsconfig-paths": "^3.14.1",
44
- "ttypescript": "^1.5.13",
45
- "typescript": "^4.6.3",
46
- "typescript-transform-paths": "^3.3.1"
29
+ "@types/jest": "^29.5.0",
30
+ "@types/node": "^18.15.11",
31
+ "@typescript-eslint/eslint-plugin": "^5.59.0",
32
+ "@typescript-eslint/parser": "^5.59.0",
33
+ "eslint": "^8.38.0",
34
+ "eslint-config-prettier": "^8.8.0",
35
+ "eslint-plugin-prettier": "^4.2.1",
36
+ "jest": "^29.5.0",
37
+ "pino-pretty": "^10.0.0",
38
+ "prettier": "^2.8.7",
39
+ "rimraf": "^5.0.0",
40
+ "ts-jest": "^29.1.0",
41
+ "ts-loader": "^9.4.2",
42
+ "ts-node": "^10.9.1",
43
+ "tsconfig-paths": "^4.2.0",
44
+ "ttypescript": "^1.5.15",
45
+ "typescript": "^4.9.5",
46
+ "typescript-transform-paths": "^3.4.6"
47
47
  },
48
48
  "engines": {
49
- "node": ">=16.10.0"
49
+ "node": ">=18.0.0"
50
50
  }
51
51
  }
@@ -12,8 +12,12 @@ import {AppService} from "./app.service";
12
12
  useFactory: () => {
13
13
  return new Logger({
14
14
  options: {
15
- prettyPrint: true,
16
- level: "info"
15
+ transport: {
16
+ target: "pino-pretty",
17
+ options: {
18
+ colorize: true
19
+ }
20
+ }
17
21
  }
18
22
  });
19
23
  }
@@ -1,7 +1,7 @@
1
1
  import { JsonValue } from "@angular-devkit/core";
2
2
  import { Tree } from "@angular-devkit/schematics";
3
- export declare type InsertionIndex = (properties: string[]) => number;
4
- export declare type JSONPath = (string | number)[];
3
+ export type InsertionIndex = (properties: string[]) => number;
4
+ export type JSONPath = (string | number)[];
5
5
  export declare class JSONFile {
6
6
  private readonly host;
7
7
  private readonly path;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@typeix/schematics",
3
3
  "testRunner": "jest-jasmine2",
4
- "version": "8.2.4",
4
+ "version": "8.3.0-rc.1",
5
5
  "files": [
6
6
  "dist/**/*"
7
7
  ],
@@ -20,25 +20,25 @@
20
20
  "test:dev": "npm run -s test -- --watchAll"
21
21
  },
22
22
  "devDependencies": {
23
- "@commitlint/cli": "^16.2.3",
24
- "@commitlint/config-angular": "^16.2.3",
25
- "@typeix/resty": "^8.2.4",
26
- "@types/fs-extra": "^9.0.13",
27
- "@types/jest": "^27.4.1",
23
+ "@commitlint/cli": "^17.6.1",
24
+ "@commitlint/config-angular": "^17.6.1",
25
+ "@typeix/resty": "^8.3.0-rc.1",
26
+ "@types/fs-extra": "^11.0.1",
27
+ "@types/jest": "^29.5.0",
28
28
  "cpx": "^1.5.0",
29
- "ts-jest": "^27.1.4",
30
- "ttypescript": "^1.5.13",
31
- "typescript-transform-paths": "^3.3.1"
29
+ "ts-jest": "^29.1.0",
30
+ "ttypescript": "^1.5.15",
31
+ "typescript-transform-paths": "^3.4.6"
32
32
  },
33
33
  "dependencies": {
34
- "@angular-devkit/core": "^13.3.0",
35
- "@angular-devkit/schematics": "^13.3.0",
36
- "fs-extra": "^10.0.1",
37
- "jsonc-parser": "^3.0.0",
34
+ "@angular-devkit/core": "^15.2.6",
35
+ "@angular-devkit/schematics": "^15.2.6",
36
+ "fs-extra": "^11.1.1",
37
+ "jsonc-parser": "^3.2.0",
38
38
  "pluralize": "^8.0.0"
39
39
  },
40
40
  "engines": {
41
- "node": ">=16.10.0"
41
+ "node": ">=18.0.0"
42
42
  },
43
43
  "schematics": "./dist/collection.json",
44
44
  "repository": {
@@ -50,5 +50,5 @@
50
50
  "bugs": {
51
51
  "url": "https://github.com/typeix/schematics/issues"
52
52
  },
53
- "gitHead": "a15838f4ba3f5f3b79f44407ee034533df3d8645"
53
+ "gitHead": "cc9034ea0a65ebc3e20953498fee5ec01c974082"
54
54
  }