@0kmpo/openapi-clean-arch-generator 1.3.13 → 1.3.14
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/package.json +78 -0
- package/package.json +2 -1
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@0kmpo/openapi-clean-arch-generator",
|
|
3
|
+
"version": "1.3.14",
|
|
4
|
+
"description": "Angular Clean Architecture generator from OpenAPI/Swagger",
|
|
5
|
+
"main": "dist/main.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"generate-clean-arch": "./dist/main.js"
|
|
8
|
+
},
|
|
9
|
+
"scripts": {
|
|
10
|
+
"build": "tsc && cp -r templates dist/",
|
|
11
|
+
"postbuild": "bun -e \"const fs=require('fs'); const f='dist/main.js'; const c=fs.readFileSync(f,'utf8'); if(!c.startsWith('#!/usr/bin/env node')) fs.writeFileSync(f,'#!/usr/bin/env node\\n'+c); fs.chmodSync(f, '755');\"",
|
|
12
|
+
"prepublishOnly": "bun run build",
|
|
13
|
+
"generate": "bun dist/main.js",
|
|
14
|
+
"generate:dev": "bun main.ts",
|
|
15
|
+
"binaries": "bun run binary:mac-arm64 && bun run binary:mac-x64 && bun run binary:linux-x64 && bun run binary:linux-arm64 && bun run binary:windows",
|
|
16
|
+
"binary:mac-arm64": "bun build --compile --target=bun-darwin-arm64 --outfile dist/bin/generate-clean-arch-macos-arm64 main.ts",
|
|
17
|
+
"binary:mac-x64": "bun build --compile --target=bun-darwin-x64 --outfile dist/bin/generate-clean-arch-macos-x64 main.ts",
|
|
18
|
+
"binary:linux-x64": "bun build --compile --target=bun-linux-x64 --outfile dist/bin/generate-clean-arch-linux-x64 main.ts",
|
|
19
|
+
"binary:linux-arm64": "bun build --compile --target=bun-linux-arm64 --outfile dist/bin/generate-clean-arch-linux-arm64 main.ts",
|
|
20
|
+
"binary:windows": "bun build --compile --target=bun-windows-x64 --outfile dist/bin/generate-clean-arch-windows-x64.exe main.ts",
|
|
21
|
+
"lint": "bunx --bun eslint 'main.ts' 'src/**/*.ts' -f unix",
|
|
22
|
+
"lint:fix": "bunx --bun eslint 'main.ts' 'src/**/*.ts' --fix -f unix",
|
|
23
|
+
"format": "prettier --write .",
|
|
24
|
+
"setup": "bun add -g @openapitools/openapi-generator-cli"
|
|
25
|
+
},
|
|
26
|
+
"keywords": [
|
|
27
|
+
"openapi",
|
|
28
|
+
"swagger",
|
|
29
|
+
"angular",
|
|
30
|
+
"clean-architecture",
|
|
31
|
+
"code-generator"
|
|
32
|
+
],
|
|
33
|
+
"author": "Blas Santomé Ocampo",
|
|
34
|
+
"contributors": [
|
|
35
|
+
{
|
|
36
|
+
"name": "Diego Davila Freitas",
|
|
37
|
+
"email": "diego.davilafreitas@gmail.com",
|
|
38
|
+
"url": "https://www.linkedin.com/in/diegodavilafreitas"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"license": "MIT",
|
|
42
|
+
"files": [
|
|
43
|
+
"dist/main.js",
|
|
44
|
+
"dist/package.json",
|
|
45
|
+
"dist/src/",
|
|
46
|
+
"dist/templates/",
|
|
47
|
+
"README.md",
|
|
48
|
+
"LICENSE"
|
|
49
|
+
],
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"chalk": "^4.1.2",
|
|
52
|
+
"commander": "^11.1.0",
|
|
53
|
+
"fs-extra": "^11.2.0",
|
|
54
|
+
"js-yaml": "^4.1.0",
|
|
55
|
+
"mustache": "^4.2.0",
|
|
56
|
+
"prompts": "^2.4.2"
|
|
57
|
+
},
|
|
58
|
+
"engines": {
|
|
59
|
+
"bun": ">=1.0.0"
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@eslint/js": "^10.0.1",
|
|
63
|
+
"@types/fs-extra": "^11.0.4",
|
|
64
|
+
"@types/js-yaml": "^4.0.9",
|
|
65
|
+
"@types/mustache": "^4.2.6",
|
|
66
|
+
"@types/node": "^25.5.0",
|
|
67
|
+
"@types/prompts": "^2.4.9",
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "^8.57.1",
|
|
69
|
+
"@typescript-eslint/parser": "^8.57.1",
|
|
70
|
+
"eslint": "^10.1.0",
|
|
71
|
+
"eslint-config-prettier": "^10.1.8",
|
|
72
|
+
"eslint-formatter-unix": "^9.0.1",
|
|
73
|
+
"eslint-plugin-prettier": "^5.5.5",
|
|
74
|
+
"prettier": "^3.8.1",
|
|
75
|
+
"typescript": "^5.9.3",
|
|
76
|
+
"typescript-eslint": "^8.57.1"
|
|
77
|
+
}
|
|
78
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0kmpo/openapi-clean-arch-generator",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.14",
|
|
4
4
|
"description": "Angular Clean Architecture generator from OpenAPI/Swagger",
|
|
5
5
|
"main": "dist/main.js",
|
|
6
6
|
"bin": {
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
"license": "MIT",
|
|
42
42
|
"files": [
|
|
43
43
|
"dist/main.js",
|
|
44
|
+
"dist/package.json",
|
|
44
45
|
"dist/src/",
|
|
45
46
|
"dist/templates/",
|
|
46
47
|
"README.md",
|