openapi-ts-request 0.1.1 → 0.1.3

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.
Files changed (2) hide show
  1. package/dist/cli.js +0 -0
  2. package/package.json +14 -15
package/dist/cli.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "openapi-ts-request",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Swagger2/OpenAPI3 to TypeScript, Request Client, Request Mock Service, Enum, Display Field Label",
5
- "packageManager": "pnpm@9.4.0",
6
5
  "repository": {
7
6
  "type": "git",
8
7
  "url": "git+git@github.com:openapi-ui/openapi-ts-request.git"
@@ -10,7 +9,7 @@
10
9
  "license": "MIT",
11
10
  "author": "rookie-luochao",
12
11
  "main": "dist/index.js",
13
- "types": "index.d.ts",
12
+ "types": "dist/index.d.ts",
14
13
  "bin": {
15
14
  "openapi-ts-request": "dist/cli.js"
16
15
  },
@@ -19,16 +18,6 @@
19
18
  "templates",
20
19
  "prettier.config.cjs"
21
20
  ],
22
- "scripts": {
23
- "start": "tsc -w",
24
- "build": "tsc",
25
- "changeset": "changeset",
26
- "lint": "eslint ./src --report-unused-disable-directives --max-warnings=0",
27
- "lint:fix": "eslint ./src --report-unused-disable-directives --max-warnings=0 --fix",
28
- "test": "rm -rf ./test/apis/ ./test/mocks && npm run build && cd ./test && node ./test.js && cd ..",
29
- "test:windows": "rimraf ./test/apis/ ./test/mocks && npm run build && cd ./test && node ./test.js && cd ..",
30
- "prepare": "husky"
31
- },
32
21
  "dependencies": {
33
22
  "@prettier/sync": "^0.5.2",
34
23
  "axios": "^1.7.2",
@@ -77,5 +66,15 @@
77
66
  "openapi to axios client",
78
67
  "openapi to fetch client",
79
68
  "openapi to uni.request client"
80
- ]
81
- }
69
+ ],
70
+ "scripts": {
71
+ "start": "tsc -w",
72
+ "build": "tsc",
73
+ "changeset": "changeset",
74
+ "prepublish:test": "npm run build && np --no-cleanup --yolo --no-publish --any-branch",
75
+ "lint": "eslint ./src --report-unused-disable-directives --max-warnings=0",
76
+ "lint:fix": "eslint ./src --report-unused-disable-directives --max-warnings=0 --fix",
77
+ "test": "rm -rf ./test/apis/ ./test/mocks && npm run build && cd ./test && node ./test.js && cd ..",
78
+ "test:windows": "rimraf ./test/apis/ ./test/mocks && npm run build && cd ./test && node ./test.js && cd .."
79
+ }
80
+ }