Skip to content

Commit

Permalink
upgrade all dependencies and use pnpm.
Browse files Browse the repository at this point in the history
  • Loading branch information
teobler committed Oct 24, 2022
1 parent 34bcec4 commit b181a73
Show file tree
Hide file tree
Showing 7 changed files with 3,908 additions and 16,502 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@
- previous: `{ someField: keyof typeof EnumType }`
- now: `{ someField: EnumType }`
- (bug fix) fix cannot generate enum type in definition issue

## 0.7.4

- upgrade all dependencies
2 changes: 1 addition & 1 deletion example/request/useRequest.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// you can use your own request handler file, this is just a example
// you can use your own request handler file, this is just an example
import useSWR, { ConfigInterface, responseInterface } from "swr";
import { AxiosError, AxiosRequestConfig, AxiosResponse } from "axios";
import { client } from "./client";
Expand Down
16,467 changes: 0 additions & 16,467 deletions package-lock.json

This file was deleted.

50 changes: 23 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openapi-integration/swr-request-generator",
"version": "0.7.3",
"version": "0.7.4",
"description": "A tool for generating TypeScript code and interface from swagger by using SWR and axios as client.",
"main": "lib/index.js",
"module": "module/index.js",
Expand All @@ -20,7 +20,7 @@
"start": "ts-node src/index.ts",
"test": "jest",
"build": "rm -rf dist && tsc",
"release": "rm -rf lib/ && rm -rf module/ && rollup -c rollup.config.ts",
"release": "rm -rf lib/ && rm -rf module/ && rollup -c rollup.config.js",
"prepare": "npm run build && npm run release && npm test"
},
"repository": {
Expand All @@ -43,38 +43,34 @@
],
"homepage": "https://github.com/teobler/swr-request-generator#readme",
"devDependencies": {
"@babel/core": "7.12.x",
"@babel/preset-env": "7.12.x",
"@babel/preset-typescript": "7.12.x",
"@babel/core": "7.19.x",
"@babel/preset-env": "7.19.x",
"@babel/preset-typescript": "7.18.x",
"@openapi-integration/openapi-schema": "0.0.6",
"@types/axios": "0.14.x",
"@types/jest": "26.0.x",
"@rollup/plugin-babel": "^6.0.2",
"@rollup/plugin-typescript": "^9.0.2",
"@types/jest": "29.2.x",
"@types/lodash": "4.14.x",
"@types/node": "14.14.x",
"@types/prettier": "2.1.x",
"@types/rollup": "0.54.x",
"axios": "^0.21.4",
"@types/node": "18.11.x",
"@types/prettier": "2.7.x",
"babel-core": "6.26.x",
"babel-jest": "26.6.x",
"babel-plugin-pure-calls-annotation": "0.3.x",
"jest": "26.6.x",
"lodash": "4.17.x",
"rollup": "2.38.x",
"rollup-plugin-babel": "4.4.x",
"rollup-plugin-typescript": "1.0.1",
"swr": "^0.4.1",
"ts-jest": "26.5.x",
"ts-node": "9.1.x",
"tslib": "1.11.x",
"typescript": "4.1.x"
"babel-jest": "29.2.x",
"babel-plugin-pure-calls-annotation": "0.4.x",
"jest": "29.2.x",
"rollup": "3.2.x",
"ts-jest": "29.0.x",
"ts-node": "10.9.x",
"tslib": "2.4.x",
"typescript": "4.8.x"
},
"dependencies": {
"commander": "^7.0.0",
"prettier": "2.2.x"
"axios": "^1.1.3",
"commander": "^9.4.1",
"lodash": "4.17.x",
"prettier": "2.7.x"
},
"peerDependencies": {
"lodash": ">=4.17.20",
"tslib": ">=2.1.0"
"swr": "^1.3.0"
},
"jest": {
"testEnvironment": "node",
Expand Down
Loading

0 comments on commit b181a73

Please sign in to comment.