nest-knexjs 0.0.25 → 0.0.27

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.
@@ -13,7 +13,7 @@ jobs:
13
13
 
14
14
  strategy:
15
15
  matrix:
16
- node-version: [18.x, 20.x]
16
+ node-version: [20.x, 22.x]
17
17
 
18
18
  steps:
19
19
  - uses: actions/checkout@v4
@@ -30,7 +30,7 @@ jobs:
30
30
 
31
31
  strategy:
32
32
  matrix:
33
- node-version: [18.x, 20.x]
33
+ node-version: [20.x, 22.x]
34
34
  needs: [build]
35
35
 
36
36
  steps:
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2021-2024 Tony133
3
+ Copyright (c) 2021-2025 Tony133
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -0,0 +1,42 @@
1
+ //@ts-check
2
+ import eslint from '@eslint/js';
3
+ import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
4
+ import globals from 'globals';
5
+ import tseslint from 'typescript-eslint';
6
+
7
+ export default tseslint.config(
8
+ {
9
+ ignores: ['tests/**'],
10
+ },
11
+ eslint.configs.recommended,
12
+ ...tseslint.configs.recommendedTypeChecked,
13
+ eslintPluginPrettierRecommended,
14
+ {
15
+ languageOptions: {
16
+ globals: {
17
+ ...globals.node,
18
+ ...globals.jest,
19
+ },
20
+ ecmaVersion: 5,
21
+ sourceType: 'module',
22
+ parserOptions: {
23
+ projectService: true,
24
+ tsconfigRootDir: import.meta.dirname,
25
+ },
26
+ },
27
+ },
28
+ {
29
+ rules: {
30
+ '@typescript-eslint/no-explicit-any': 'off',
31
+ '@typescript-eslint/no-unsafe-assignment': 'off',
32
+ '@typescript-eslint/no-unsafe-call': 'off',
33
+ '@typescript-eslint/no-unsafe-member-access': 'off',
34
+ '@typescript-eslint/no-unsafe-function-type': 'off',
35
+ '@typescript-eslint/no-unsafe-argument': 'off',
36
+ '@typescript-eslint/no-unsafe-return': 'off',
37
+ '@typescript-eslint/no-unused-expressions': 'off',
38
+ '@typescript-eslint/await-thenable': 'off',
39
+ '@typescript-eslint/unbound-method': 'off',
40
+ },
41
+ },
42
+ );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nest-knexjs",
3
- "version": "0.0.25",
3
+ "version": "0.0.27",
4
4
  "description": "Knexjs module for Nest framework (node.js) 😻",
5
5
  "author": "Tony133",
6
6
  "license": "MIT",
@@ -19,38 +19,41 @@
19
19
  "prepare": "husky"
20
20
  },
21
21
  "devDependencies": {
22
- "@commitlint/cli": "19.6.0",
23
- "@commitlint/config-angular": "19.6.0",
24
- "@nestjs/common": "10.4.12",
25
- "@nestjs/core": "10.4.12",
26
- "@nestjs/platform-fastify": "10.4.12",
27
- "@nestjs/testing": "10.4.12",
22
+ "@commitlint/cli": "19.8.1",
23
+ "@commitlint/config-angular": "19.8.1",
24
+ "@eslint/eslintrc": "3.3.1",
25
+ "@eslint/js": "9.28.0",
26
+ "@nestjs/common": "11.1.2",
27
+ "@nestjs/core": "11.1.2",
28
+ "@nestjs/platform-fastify": "11.1.2",
29
+ "@nestjs/testing": "11.1.2",
28
30
  "@types/jest": "29.5.14",
29
- "@types/node": "22.10.1",
30
- "@types/supertest": "6.0.2",
31
- "@typescript-eslint/eslint-plugin": "8.16.0",
32
- "@typescript-eslint/parser": "8.16.0",
33
- "eslint": "8.57.0",
34
- "eslint-config-prettier": "9.1.0",
31
+ "@types/node": "22.15.29",
32
+ "@types/supertest": "6.0.3",
33
+ "eslint": "9.28.0",
34
+ "eslint-config-prettier": "10.1.5",
35
35
  "eslint-plugin-import": "2.31.0",
36
+ "eslint-plugin-prettier": "5.4.1",
37
+ "globals": "16.2.0",
36
38
  "husky": "9.1.7",
37
39
  "jest": "29.7.0",
38
40
  "knex": "3.1.0",
39
41
  "mysql": "2.18.1",
40
- "prettier": "3.4.1",
42
+ "prettier": "3.5.3",
41
43
  "reflect-metadata": "0.2.2",
42
- "release-it": "17.10.0",
43
- "rxjs": "7.8.1",
44
- "supertest": "7.0.0",
45
- "ts-jest": "29.2.5",
44
+ "release-it": "19.0.3",
45
+ "rxjs": "7.8.2",
46
+ "supertest": "7.1.1",
47
+ "ts-jest": "29.3.4",
46
48
  "ts-node": "10.9.2",
47
49
  "tsconfig-paths": "4.2.0",
48
- "typescript": "5.7.2"
50
+ "typescript": "5.8.3",
51
+ "typescript-eslint": "8.33.0"
49
52
  },
50
53
  "peerDependencies": {
51
- "@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0",
52
- "@nestjs/core": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0",
53
- "knex": "^0.21.17 || ^0.95.0 || ^1.0.0 || ^2.0.0 || ^3.0.0",
54
+ "@nestjs/common": "^9.0.0 || ^10.0.0 || ^11.0.0",
55
+ "@nestjs/core": "^9.0.0 || ^10.0.0 || ^11.0.0",
56
+ "knex": "^0.95.0 || ^1.0.0 || ^2.0.0 || ^3.0.0",
54
57
  "reflect-metadata": "^0.1.13 || ^0.2.0",
55
58
  "rxjs": "^6.6.3 || ^7.2.0"
56
59
  },
@@ -59,6 +62,6 @@
59
62
  },
60
63
  "repository": {
61
64
  "type": "git",
62
- "url": "https://github.com/tony133/nestjs-knexjs"
65
+ "url": "git+https://github.com/tony133/nestjs-knexjs.git"
63
66
  }
64
67
  }
@@ -1,5 +1,3 @@
1
- version: "3"
2
-
3
1
  services:
4
2
  mysql:
5
3
  image: mysql:5