nestjs-openapi 0.1.0
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/LICENSE +21 -0
- package/README.md +96 -0
- package/dist/cli.d.mts +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.mjs +139 -0
- package/dist/index.d.mts +896 -0
- package/dist/index.d.ts +896 -0
- package/dist/index.mjs +297 -0
- package/dist/internal.d.mts +2 -0
- package/dist/internal.d.ts +2 -0
- package/dist/internal.mjs +53 -0
- package/dist/shared/nestjs-openapi.B1bBy_tG.mjs +1529 -0
- package/dist/shared/nestjs-openapi.BYUrTaMo.d.mts +355 -0
- package/dist/shared/nestjs-openapi.BYUrTaMo.d.ts +355 -0
- package/dist/shared/nestjs-openapi.DlNMM8Zq.mjs +1831 -0
- package/package.json +112 -0
package/package.json
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "nestjs-openapi",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Static code analysis tool to generate OpenAPI specifications from NestJS applications",
|
|
5
|
+
"main": "./dist/index.mjs",
|
|
6
|
+
"module": "./dist/index.mjs",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"type": "module",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.mjs",
|
|
13
|
+
"default": "./dist/index.mjs"
|
|
14
|
+
},
|
|
15
|
+
"./internal": {
|
|
16
|
+
"types": "./dist/internal.d.ts",
|
|
17
|
+
"import": "./dist/internal.mjs",
|
|
18
|
+
"default": "./dist/internal.mjs"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"bin": {
|
|
22
|
+
"nestjs-openapi": "./dist/cli.mjs"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"dist"
|
|
26
|
+
],
|
|
27
|
+
"keywords": [
|
|
28
|
+
"nestjs",
|
|
29
|
+
"openapi",
|
|
30
|
+
"swagger",
|
|
31
|
+
"typescript",
|
|
32
|
+
"static-analysis"
|
|
33
|
+
],
|
|
34
|
+
"author": "Eliya Cohen",
|
|
35
|
+
"license": "MIT",
|
|
36
|
+
"repository": {
|
|
37
|
+
"type": "git",
|
|
38
|
+
"url": "git+https://github.com/Newbie012/nestjs-openapi.git"
|
|
39
|
+
},
|
|
40
|
+
"bugs": {
|
|
41
|
+
"url": "https://github.com/Newbie012/nestjs-openapi/issues"
|
|
42
|
+
},
|
|
43
|
+
"homepage": "https://github.com/Newbie012/nestjs-openapi#readme",
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@changesets/changelog-github": "^0.5.2",
|
|
46
|
+
"@changesets/cli": "^2.29.8",
|
|
47
|
+
"@eslint/js": "^9.39.2",
|
|
48
|
+
"@nestjs/common": "^11.1.6",
|
|
49
|
+
"@nestjs/core": "^11.1.6",
|
|
50
|
+
"@nestjs/platform-express": "^11.1.13",
|
|
51
|
+
"@nestjs/swagger": "^11.2.0",
|
|
52
|
+
"@nestjs/testing": "^11.1.6",
|
|
53
|
+
"@types/js-yaml": "^4.0.9",
|
|
54
|
+
"@types/minimist": "^1.2.5",
|
|
55
|
+
"@types/node": "^22.18.6",
|
|
56
|
+
"@types/supertest": "^6.0.3",
|
|
57
|
+
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
58
|
+
"@typescript-eslint/parser": "^8.0.0",
|
|
59
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
60
|
+
"class-validator": "^0.14.3",
|
|
61
|
+
"eslint": "^9.0.0",
|
|
62
|
+
"eslint-config-prettier": "^10.0.0",
|
|
63
|
+
"eslint-plugin-prettier": "^5.0.0",
|
|
64
|
+
"knip": "^5.82.1",
|
|
65
|
+
"prettier": "^3.0.0",
|
|
66
|
+
"publint": "^0.3.17",
|
|
67
|
+
"reflect-metadata": "^0.2.2",
|
|
68
|
+
"supertest": "^7.2.2",
|
|
69
|
+
"typescript": "^5.9.2",
|
|
70
|
+
"typescript-eslint": "^8.54.0",
|
|
71
|
+
"unbuild": "^3.6.1",
|
|
72
|
+
"vitest": "^3.2.4"
|
|
73
|
+
},
|
|
74
|
+
"dependencies": {
|
|
75
|
+
"effect": "^3.19.15",
|
|
76
|
+
"glob": "^13.0.0",
|
|
77
|
+
"js-yaml": "^4.1.1",
|
|
78
|
+
"minimist": "^1.2.8",
|
|
79
|
+
"ts-json-schema-generator": "^2.4.0",
|
|
80
|
+
"ts-morph": "^27.0.2",
|
|
81
|
+
"tsx": "^4.20.5"
|
|
82
|
+
},
|
|
83
|
+
"peerDependencies": {
|
|
84
|
+
"@nestjs/common": "^10.0.0 || ^11.0.0",
|
|
85
|
+
"@nestjs/core": "^10.0.0 || ^11.0.0",
|
|
86
|
+
"@nestjs/swagger": "^7.0.0 || ^8.0.0 || ^11.0.0"
|
|
87
|
+
},
|
|
88
|
+
"peerDependenciesMeta": {
|
|
89
|
+
"@nestjs/core": {
|
|
90
|
+
"optional": true
|
|
91
|
+
},
|
|
92
|
+
"@nestjs/swagger": {
|
|
93
|
+
"optional": true
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"scripts": {
|
|
97
|
+
"build": "unbuild",
|
|
98
|
+
"typecheck": "tsc --noEmit && tsc --noEmit -p e2e-applications",
|
|
99
|
+
"lint": "eslint .",
|
|
100
|
+
"lint:fix": "eslint . --fix",
|
|
101
|
+
"format": "prettier --write .",
|
|
102
|
+
"format:check": "prettier --check .",
|
|
103
|
+
"test": "vitest run",
|
|
104
|
+
"test:watch": "vitest",
|
|
105
|
+
"test:e2e": "vitest run test/openapi-e2e-apps.test.ts",
|
|
106
|
+
"publint": "publint",
|
|
107
|
+
"knip": "knip",
|
|
108
|
+
"changeset": "changeset",
|
|
109
|
+
"version": "changeset version",
|
|
110
|
+
"release": "npm run build && changeset publish"
|
|
111
|
+
}
|
|
112
|
+
}
|