Skip to content

Commit

Permalink
build: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
vladkens committed Sep 3, 2024
1 parent 4d7315c commit cf787ba
Show file tree
Hide file tree
Showing 6 changed files with 529 additions and 695 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
registry-url: "https://registry.npmjs.org"

- run: yarn install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20, 21]
node-version: [18, 20, 22]
name: node-${{ matrix.node-version }}
steps:
- uses: actions/checkout@v4
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "apigen-ts",
"version": "0.1.2",
"license": "MIT",
"author": "Vlad Pronsky <[email protected]>",
"author": "vladkens <[email protected]>",
"repository": "vladkens/apigen-ts",
"description": "OpenAPI TypeScript client generator",
"keywords": [
Expand All @@ -22,7 +22,7 @@
"ci": "tsc --noEmit && yarn test-cov && yarn build"
},
"dependencies": {
"@redocly/openapi-core": "^1.6.0",
"@redocly/openapi-core": "^1.22.1",
"@types/lodash-es": "^4.17.12",
"@types/swagger2openapi": "^7.0.4",
"array-utils-ts": "^0.1.2",
Expand All @@ -31,14 +31,14 @@
"swagger2openapi": "^7.0.8"
},
"devDependencies": {
"@types/node": "^20.10.8",
"c8": "^9.0.0",
"fetch-mock": "^9.11.0",
"pkgroll": "^2.0.1",
"prettier": "^3.1.0",
"prettier-plugin-organize-imports": "^3.2.4",
"@types/node": "^22.5.2",
"c8": "^10.1.2",
"fetch-mock": "^11.1.3",
"pkgroll": "^2.4.2",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.0.0",
"tsm": "^2.3.0",
"typescript": "^5.3.2",
"typescript": "^5.5.4",
"uvu": "^0.5.6"
},
"peerDependencies": {
Expand Down
5 changes: 3 additions & 2 deletions src/config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Oas3Definition } from "@redocly/openapi-core"
import { Oas3Operation } from "@redocly/openapi-core/lib/typings/openapi"
import { cli } from "cleye"
import { name, version } from "../package.json"

export type OpConfig = Oas3Operation & { method: string; path: string }
export type OpName = [string, string]
Expand Down Expand Up @@ -30,8 +31,8 @@ export const initCtx = (config?: Partial<Context>): Context => {

export const getCliConfig = () => {
const argv = cli({
name: "apigen",
version: "0.1.1",
name,
version,
parameters: ["<source>", "[output]"],
flags: {
name: {
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"module": "esnext",
"noEmit": true,
"esModuleInterop": true,
"skipLibCheck": true
"skipLibCheck": true,
"resolveJsonModule": true
},
"include": ["."],
"exclude": ["node_modules", "scripts/clients"]
Expand Down
Loading

0 comments on commit cf787ba

Please sign in to comment.