-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
154 lines (154 loc) · 6.74 KB
/
package.json
File metadata and controls
154 lines (154 loc) · 6.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "@the-codegen-project/cli",
"description": "CLI to work with code generation in any environment",
"version": "0.72.0",
"bin": {
"codegen": "./bin/run.mjs"
},
"bugs": "https://github.com/the-codegen-project/cli/issues",
"dependencies": {
"@apidevtools/json-schema-ref-parser": "^14.2.0",
"@asyncapi/avro-schema-parser": "^3.0.24",
"@asyncapi/modelina": "^6.0.0-next.11",
"@asyncapi/openapi-schema-parser": "^3.0.24",
"@asyncapi/parser": "^3.6.0",
"@asyncapi/protobuf-schema-parser": "^3.5.1",
"@asyncapi/raml-dt-schema-parser": "^4.0.24",
"@oclif/core": "^3.26.3",
"@oclif/errors": "^1.3.6",
"@oclif/plugin-autocomplete": "^3.2.45",
"@oclif/plugin-help": "^6.0.21",
"@oclif/plugin-version": "^2.0.17",
"@readme/openapi-parser": "^5.0.1",
"chokidar": "^4.0.3",
"comment-json": "^4.6.2",
"cosmiconfig": "^9.0.0",
"graphology": "^0.26.0",
"inquirer": "^8.2.6",
"openapi-types": "^12.1.3",
"picocolors": "^1.1.1",
"uuid": "^11.1.0",
"yaml": "^2.8.0",
"zod": "^3.25.76",
"zod-validation-error": "^3.3.0"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@oclif/prettier-config": "^0.2.1",
"@oclif/test": "^4.0.2",
"@swc/jest": "^0.2.23",
"@types/inquirer": "^9.0.7",
"@types/jest": "^29.5.12",
"@types/node": "^22",
"@types/rimraf": "^4.0.5",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^8.58.0",
"@typescript-eslint/parser": "^8.58.0",
"concurrently": "^9.0.1",
"esbuild": "^0.20.2",
"esbuild-plugin-polyfill-node": "^0.3.0",
"eslint": "^8.51.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-github": "^4.10.1",
"eslint-plugin-jest": "^29.15.1",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-security": "^4.0.0",
"eslint-plugin-sonarjs": "^0.19.0",
"eslint-plugin-unused-imports": "^4.4.1",
"graphology-types": "^0.24.7",
"lodash-es": "^4.18.1",
"markdown-toc": "1.2.0",
"oclif": "^4.8.5",
"rimraf": "^5.0.5",
"simple-git": "^3.16.0",
"ts-jest": "^29.1.3",
"ts-node": "^10.9.2",
"typescript": "^5.4.5",
"zod-to-json-schema": "^3.25.2"
},
"files": [
"/bin",
"/dist",
"/npm-shrinkwrap.json",
"/oclif.manifest.json"
],
"types": "./dist/index.d.ts",
"exports": "./dist/index.js",
"homepage": "https://github.com/the-codegen-project/cli",
"keywords": [
"codegen",
"cli",
"codegen-cli"
],
"license": "Apache-2.0",
"oclif": {
"commands": "./dist/commands",
"bin": "codegen",
"plugins": [
"@oclif/plugin-help",
"@oclif/plugin-autocomplete",
"@oclif/plugin-version"
],
"topicSeparator": " ",
"macos": {
"identifier": "the.codegen.project"
}
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git://github.com/the-codegen-project/cli.git"
},
"scripts": {
"build": "rimraf dist && tsc && oclif manifest && echo \"Build Completed\"",
"build:browser": "node esbuild.browser.mjs",
"build:browser:watch": "node esbuild.browser.mjs --watch",
"build:browser:minify": "node esbuild.browser.mjs --minify",
"dev": "tsc --watch",
"generate:readme:commands": "oclif readme --readme-path=\"./docs/usage.md\" --output-dir=\"./docs\"",
"generate:assets": "npm run generate:readme:toc && npm run generate:commands && npm run generate:schema && npm run format",
"generate:schema": "node scripts/generateSchemaFiles.js",
"generate:commands": "npm run generate:readme:commands",
"generate:readme:toc": "markdown-toc -i README.md && markdown-toc -i ./docs/usage.md && markdown-toc -i ./docs/migrations/v0.md && markdown-toc -i ./docs/README.md && markdown-toc -i ./docs/contributing.md ",
"lint": "eslint --max-warnings 0 --config .eslintrc . && npm run typecheck:test",
"lint:fix": "eslint --max-warnings 0 --config .eslintrc . --fix && npm run typecheck:test",
"format": "prettier \"./src/**/*.ts\" --write",
"pack:all": "npm run pack:macos && npm run pack:linux && npm run pack:tarballs && npm run pack:windows",
"pack:macos": "oclif pack macos && npm run pack:rename",
"pack:linux": "oclif pack deb && npm run pack:rename",
"pack:tarballs": "oclif pack tarballs -t linux-x64 && npm run pack:rename",
"pack:windows": "oclif pack win && npm run pack:rename",
"pack:rename": "node scripts/releasePackagesRename.js",
"prepublishOnly": "npm run build && npm run generate:assets",
"test": "jest --coverage --testPathIgnorePatterns ./test/blackbox",
"test:update": "npm run test -- -u",
"coverage": "nyc npm run test",
"bump:version": "npm --no-git-tag-version --allow-same-version version $VERSION",
"runtime:prepare": "npm link",
"runtime:typescript": "npm run runtime:typescript:setup && npm run runtime:typescript:test",
"runtime:typescript:clean": "rimraf test/runtime/typescript/src",
"runtime:typescript:setup": "npm run runtime:typescript:clean && npm run runtime:prepare && npm run runtime:services:start && npm run runtime:typescript:generate",
"runtime:typescript:generate": "cd test/runtime/typescript && npm ci && npm run generate",
"runtime:typescript:test": "cd test/runtime/typescript && npm run test",
"runtime:services:start": "npm run runtime:nats:start && npm run runtime:kafka:start && npm run runtime:mqtt:start && npm run runtime:amqp:start",
"runtime:services:stop": "npm run runtime:nats:stop && npm run runtime:kafka:stop && npm run runtime:mqtt:stop && npm run runtime:amqp:stop",
"runtime:nats:start": "cd test/runtime && docker compose -f ./docker-compose-nats.yml up -d",
"runtime:nats:stop": "cd test/runtime && docker compose -f ./docker-compose-nats.yml down",
"runtime:mqtt:start": "cd test/runtime && docker compose -f ./docker-compose-mqtt.yml up -d",
"runtime:mqtt:stop": "cd test/runtime && docker compose -f ./docker-compose-mqtt.yml down",
"runtime:kafka:start": "cd test/runtime && docker compose -f ./docker-compose-kafka.yml up -d",
"runtime:kafka:stop": "cd test/runtime && docker compose -f ./docker-compose-kafka.yml down",
"runtime:amqp:start": "cd test/runtime && docker compose -f ./docker-compose-amqp.yml up -d",
"runtime:amqp:stop": "cd test/runtime && docker compose -f ./docker-compose-amqp.yml down",
"test:blackbox": "concurrently --group -n typescript \"npm run test:blackbox:typescript\"",
"test:blackbox:typescript": "jest ./test/blackbox/typescript.spec.ts",
"prepare:pr": "npm run build && npm run generate:assets && npm run lint:fix && npm run test:update && npm run runtime:typescript:generate",
"typecheck": "tsc --noEmit",
"typecheck:test": "tsc --noEmit -p tsconfig.test.json"
},
"engines": {
"node": ">=22.0.0"
}
}