@longzai-intelligence/eslint-preset-nest 0.0.3 → 0.0.4

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/index.d.cts CHANGED
@@ -1,9 +1,10 @@
1
+ import { Config, Config as Config$1 } from "eslint/config";
1
2
  import { Linter } from "eslint";
2
3
  import { NodeConfigOptions as NestConfigOptions } from "@longzai-intelligence/eslint-preset-node";
3
4
 
4
5
  //#region src/nest.preset.d.ts
5
6
  declare function createNestConfig(options?: NestConfigOptions): Linter.Config[];
6
- declare function defineConfig(options?: NestConfigOptions): Linter.Config[];
7
+ declare function defineConfig(options?: NestConfigOptions): Config$1[];
7
8
  declare const nestConfig: Linter.Config[];
8
9
  //#endregion
9
- export { type NestConfigOptions, createNestConfig, defineConfig, nestConfig };
10
+ export { type Config, type NestConfigOptions, createNestConfig, defineConfig, nestConfig };
package/dist/index.d.mts CHANGED
@@ -1,9 +1,10 @@
1
1
  import { NodeConfigOptions as NestConfigOptions } from "@longzai-intelligence/eslint-preset-node";
2
+ import { Config, Config as Config$1 } from "eslint/config";
2
3
  import { Linter } from "eslint";
3
4
 
4
5
  //#region src/nest.preset.d.ts
5
6
  declare function createNestConfig(options?: NestConfigOptions): Linter.Config[];
6
- declare function defineConfig(options?: NestConfigOptions): Linter.Config[];
7
+ declare function defineConfig(options?: NestConfigOptions): Config$1[];
7
8
  declare const nestConfig: Linter.Config[];
8
9
  //#endregion
9
- export { type NestConfigOptions, createNestConfig, defineConfig, nestConfig };
10
+ export { type Config, type NestConfigOptions, createNestConfig, defineConfig, nestConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longzai-intelligence/eslint-preset-nest",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "types": "./dist/index.d.mts",
@@ -38,9 +38,10 @@
38
38
  "typescript": "^5.9.3"
39
39
  },
40
40
  "dependencies": {
41
- "@longzai-intelligence/eslint-preset-node": "0.0.2"
41
+ "@longzai-intelligence/eslint-preset-node": "0.0.3"
42
42
  },
43
43
  "devDependencies": {
44
+ "@longzai-intelligence/eslint-preset-library": "0.0.3",
44
45
  "@longzai-intelligence/tsdown-config": "0.0.1",
45
46
  "@longzai-intelligence/typescript-config": "0.0.2",
46
47
  "@longzai-intelligence/vitest-config": "0.0.3",
@@ -49,7 +50,7 @@
49
50
  "rimraf": "^6.1.3",
50
51
  "tsdown": "^0.21.7",
51
52
  "typescript": "^6.0.2",
52
- "vitest": "^4.1.2"
53
+ "vitest": "^4.1.3"
53
54
  },
54
55
  "keywords": [
55
56
  "eslint",
@@ -58,4 +59,4 @@
58
59
  ],
59
60
  "license": "UNLICENSED",
60
61
  "module": "./dist/index.mjs"
61
- }
62
+ }