@hey-api/openapi-ts 0.34.0 → 0.34.2

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/package.json CHANGED
@@ -1,113 +1,113 @@
1
1
  {
2
- "name": "@hey-api/openapi-ts",
3
- "version": "0.34.0",
4
- "type": "module",
5
- "description": "Turn your OpenAPI specification into a beautiful TypeScript client",
6
- "homepage": "https://github.com/hey-api/openapi-ts/",
7
- "repository": {
8
- "type": "git",
9
- "url": "git+https://github.com/hey-api/openapi-ts.git"
10
- },
11
- "bugs": {
12
- "url": "https://github.com/hey-api/openapi-ts/issues"
13
- },
14
- "license": "MIT",
15
- "keywords": [
16
- "openapi",
17
- "swagger",
18
- "generator",
19
- "typescript",
20
- "javascript",
21
- "codegen",
22
- "yaml",
23
- "json",
24
- "fetch",
25
- "xhr",
26
- "axios",
27
- "angular",
28
- "node"
29
- ],
30
- "main": "./dist/node/index.js",
31
- "types": "./dist/node/index.d.ts",
32
- "bin": {
33
- "openapi-ts": "bin/index.js"
34
- },
35
- "files": [
36
- "bin",
37
- "dist"
38
- ],
39
- "scripts": {
40
- "build-bundle": "rollup --config rollup.config.ts --configPlugin typescript",
41
- "build-types-check": "tsc --project tsconfig.check.json",
42
- "build-types-roll": "rollup --config rollup.dts.config.ts --configPlugin typescript && rimraf temp",
43
- "build-types-temp": "tsc --emitDeclarationOnly --outDir temp -p src/node",
44
- "build-types": "npm run build-types-temp && npm run build-types-roll && npm run build-types-check",
45
- "build": "npm run clean && npm run build-bundle && npm run build-types",
46
- "clean": "rimraf dist test/generated test/e2e/generated coverage node_modules/.cache",
47
- "dev": "rimraf dist && npm run build-bundle -- --watch",
48
- "lint:fix": "eslint . --fix",
49
- "lint": "eslint .",
50
- "prepublishOnly": "npm run build",
51
- "test:coverage": "vitest run --config vitest.config.unit.ts --coverage",
52
- "test:e2e": "vitest run --config vitest.config.e2e.ts",
53
- "test:sample": "node test/sample.cjs",
54
- "test:update": "vitest watch --config vitest.config.unit.ts --update",
55
- "test:watch": "vitest watch --config vitest.config.unit.ts",
56
- "test": "vitest run --config vitest.config.unit.ts",
57
- "typecheck": "tsc --noEmit",
58
- "changeset": "changeset"
59
- },
60
- "engines": {
61
- "node": "^18.0.0 || >=20.0.0"
62
- },
63
- "dependencies": {
64
- "@apidevtools/json-schema-ref-parser": "11.5.4",
65
- "camelcase": "8.0.0",
66
- "commander": "12.0.0",
67
- "handlebars": "4.7.8"
68
- },
69
- "devDependencies": {
70
- "@angular-devkit/build-angular": "17.3.2",
71
- "@angular/animations": "17.3.2",
72
- "@angular/cli": "17.3.2",
73
- "@angular/common": "17.3.2",
74
- "@angular/compiler": "17.3.2",
75
- "@angular/compiler-cli": "17.3.2",
76
- "@angular/core": "17.3.2",
77
- "@angular/forms": "17.3.2",
78
- "@angular/platform-browser": "17.3.2",
79
- "@angular/platform-browser-dynamic": "17.3.2",
80
- "@angular/router": "17.3.2",
81
- "@rollup/plugin-commonjs": "25.0.7",
82
- "@rollup/plugin-json": "6.1.0",
83
- "@rollup/plugin-node-resolve": "15.2.3",
84
- "@rollup/plugin-terser": "0.4.4",
85
- "@rollup/plugin-typescript": "11.1.6",
86
- "@types/cross-spawn": "6.0.6",
87
- "@types/express": "4.17.21",
88
- "@types/node": "20.12.2",
89
- "@typescript-eslint/eslint-plugin": "7.5.0",
90
- "@typescript-eslint/parser": "7.5.0",
91
- "@vitest/coverage-v8": "1.4.0",
92
- "axios": "1.6.8",
93
- "cross-spawn": "7.0.3",
94
- "eslint": "8.57.0",
95
- "eslint-config-prettier": "9.1.0",
96
- "eslint-plugin-prettier": "5.1.3",
97
- "eslint-plugin-simple-import-sort": "12.0.0",
98
- "eslint-plugin-sort-keys-fix": "1.1.2",
99
- "express": "4.19.2",
100
- "glob": "10.3.12",
101
- "node-fetch": "3.3.2",
102
- "prettier": "3.2.5",
103
- "puppeteer": "22.6.1",
104
- "rimraf": "5.0.5",
105
- "rollup": "4.13.2",
106
- "rollup-plugin-dts": "6.1.0",
107
- "rxjs": "7.8.1",
108
- "ts-node": "10.9.2",
109
- "tslib": "2.6.2",
110
- "typescript": "5.4.3",
111
- "vitest": "1.4.0"
112
- }
113
- }
2
+ "name": "@hey-api/openapi-ts",
3
+ "version": "0.34.2",
4
+ "type": "module",
5
+ "description": "Turn your OpenAPI specification into a beautiful TypeScript client",
6
+ "homepage": "https://hey-api.github.io/openapi-ts/",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/hey-api/openapi-ts.git"
10
+ },
11
+ "bugs": {
12
+ "url": "https://github.com/hey-api/openapi-ts/issues"
13
+ },
14
+ "license": "MIT",
15
+ "keywords": [
16
+ "openapi",
17
+ "swagger",
18
+ "generator",
19
+ "typescript",
20
+ "javascript",
21
+ "codegen",
22
+ "yaml",
23
+ "json",
24
+ "fetch",
25
+ "xhr",
26
+ "axios",
27
+ "angular",
28
+ "node"
29
+ ],
30
+ "main": "./dist/node/index.js",
31
+ "types": "./dist/node/index.d.ts",
32
+ "bin": {
33
+ "openapi-ts": "bin/index.js"
34
+ },
35
+ "files": [
36
+ "bin",
37
+ "dist"
38
+ ],
39
+ "engines": {
40
+ "node": "^18.0.0 || >=20.0.0"
41
+ },
42
+ "dependencies": {
43
+ "@apidevtools/json-schema-ref-parser": "11.5.4",
44
+ "c12": "1.10.0",
45
+ "camelcase": "8.0.0",
46
+ "commander": "12.0.0",
47
+ "handlebars": "4.7.8"
48
+ },
49
+ "devDependencies": {
50
+ "@angular-devkit/build-angular": "17.3.3",
51
+ "@angular/animations": "17.3.2",
52
+ "@angular/cli": "17.3.3",
53
+ "@angular/common": "17.3.2",
54
+ "@angular/compiler": "17.3.2",
55
+ "@angular/compiler-cli": "17.3.2",
56
+ "@angular/core": "17.3.2",
57
+ "@angular/forms": "17.3.2",
58
+ "@angular/platform-browser": "17.3.2",
59
+ "@angular/platform-browser-dynamic": "17.3.2",
60
+ "@angular/router": "17.3.2",
61
+ "@rollup/plugin-commonjs": "25.0.7",
62
+ "@rollup/plugin-json": "6.1.0",
63
+ "@rollup/plugin-node-resolve": "15.2.3",
64
+ "@rollup/plugin-terser": "0.4.4",
65
+ "@rollup/plugin-typescript": "11.1.6",
66
+ "@types/cross-spawn": "6.0.6",
67
+ "@types/express": "4.17.21",
68
+ "@types/node": "20.12.3",
69
+ "@typescript-eslint/eslint-plugin": "7.5.0",
70
+ "@typescript-eslint/parser": "7.5.0",
71
+ "@vitest/coverage-v8": "1.4.0",
72
+ "axios": "1.6.8",
73
+ "cross-spawn": "7.0.3",
74
+ "eslint": "8.57.0",
75
+ "eslint-config-prettier": "9.1.0",
76
+ "eslint-plugin-prettier": "5.1.3",
77
+ "eslint-plugin-simple-import-sort": "12.0.0",
78
+ "eslint-plugin-sort-keys-fix": "1.1.2",
79
+ "express": "4.19.2",
80
+ "glob": "10.3.12",
81
+ "node-fetch": "3.3.2",
82
+ "prettier": "3.2.5",
83
+ "puppeteer": "22.6.1",
84
+ "rimraf": "5.0.5",
85
+ "rollup": "4.13.2",
86
+ "rollup-plugin-dts": "6.1.0",
87
+ "rxjs": "7.8.1",
88
+ "ts-node": "10.9.2",
89
+ "tslib": "2.6.2",
90
+ "typescript": "5.4.3",
91
+ "vitest": "1.4.0"
92
+ },
93
+ "scripts": {
94
+ "build-bundle": "rollup --config rollup.config.ts --configPlugin typescript",
95
+ "build-types-check": "tsc --project tsconfig.check.json",
96
+ "build-types-roll": "rollup --config rollup.dts.config.ts --configPlugin typescript && rimraf temp",
97
+ "build-types-temp": "tsc --emitDeclarationOnly --outDir temp -p src/node",
98
+ "build-types": "pnpm build-types-temp && pnpm build-types-roll && pnpm build-types-check",
99
+ "build": "pnpm clean && pnpm build-bundle && pnpm build-types",
100
+ "clean": "rimraf dist test/generated test/e2e/generated coverage node_modules/.cache",
101
+ "dev": "rimraf dist && pnpm build-bundle -- --watch",
102
+ "lint:fix": "eslint . --fix",
103
+ "lint": "eslint .",
104
+ "test:coverage": "vitest run --config vitest.config.unit.ts --coverage",
105
+ "test:e2e": "vitest run --config vitest.config.e2e.ts",
106
+ "test:sample": "node test/sample.cjs",
107
+ "test:update": "vitest watch --config vitest.config.unit.ts --update",
108
+ "test:watch": "vitest watch --config vitest.config.unit.ts",
109
+ "test": "vitest run --config vitest.config.unit.ts",
110
+ "typecheck": "tsc --noEmit",
111
+ "changeset": "changeset"
112
+ }
113
+ }