From 501d009fe1dde946cb13bf5ec4284f755082aa20 Mon Sep 17 00:00:00 2001 From: Ali Heydari Date: Mon, 22 Jul 2024 13:46:31 +0330 Subject: [PATCH 1/3] chore: add package manager version to package.json --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d40deff..e6670a8 100644 --- a/package.json +++ b/package.json @@ -59,6 +59,8 @@ "typescript": "5.x" }, "engines": { - "node": ">=14" - } + "node": ">=14", + "pnpm": ">=9" + }, + "packageManager": "pnpm@9.5.0" } From 776dbf0628c149671207bcbfc5cd42bb039b3e6a Mon Sep 17 00:00:00 2001 From: Ali Heydari Date: Mon, 22 Jul 2024 13:47:09 +0330 Subject: [PATCH 2/3] chore: sort package.json via pnpx sort-packag-json --- package.json | 54 ++++++++++++++++++++++++++++------------------------ 1 file changed, 29 insertions(+), 25 deletions(-) diff --git a/package.json b/package.json index e6670a8..547ac99 100644 --- a/package.json +++ b/package.json @@ -2,28 +2,6 @@ "name": "@7nohe/openapi-react-query-codegen", "version": "1.4.1", "description": "OpenAPI React Query Codegen", - "bin": { - "openapi-rq": "dist/cli.mjs" - }, - "type": "module", - "workspaces": ["examples/*"], - "scripts": { - "build": "rimraf dist && tsc -p tsconfig.json", - "lint": "biome check .", - "lint:fix": "biome check --apply .", - "preview": "npm run build && npm -C examples/react-app run generate:api", - "prepublishOnly": "npm run build", - "release": "npx git-ensure -a && npx bumpp --commit --tag --push", - "test": "vitest --coverage.enabled true", - "snapshot": "vitest --update" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/7nohe/openapi-react-query-codegen.git" - }, - "homepage": "https://github.com/7nohe/openapi-react-query-codegen", - "bugs": "https://github.com/7nohe/openapi-react-query-codegen/issues", - "files": ["dist"], "keywords": [ "codegen", "react-query", @@ -34,8 +12,34 @@ "openapi-typescript-codegen", "@hey-api/openapi-ts" ], - "author": "Daiki Urata (@7nohe)", + "homepage": "https://github.com/7nohe/openapi-react-query-codegen", + "bugs": "https://github.com/7nohe/openapi-react-query-codegen/issues", + "repository": { + "type": "git", + "url": "git+https://github.com/7nohe/openapi-react-query-codegen.git" + }, "license": "MIT", + "author": "Daiki Urata (@7nohe)", + "type": "module", + "bin": { + "openapi-rq": "dist/cli.mjs" + }, + "files": [ + "dist" + ], + "workspaces": [ + "examples/*" + ], + "scripts": { + "build": "rimraf dist && tsc -p tsconfig.json", + "lint": "biome check .", + "lint:fix": "biome check --apply .", + "prepublishOnly": "npm run build", + "preview": "npm run build && npm -C examples/react-app run generate:api", + "release": "npx git-ensure -a && npx bumpp --commit --tag --push", + "snapshot": "vitest --update", + "test": "vitest --coverage.enabled true" + }, "dependencies": { "@hey-api/openapi-ts": "0.45.1" }, @@ -58,9 +62,9 @@ "ts-morph": "22.x", "typescript": "5.x" }, + "packageManager": "pnpm@9.5.0", "engines": { "node": ">=14", "pnpm": ">=9" - }, - "packageManager": "pnpm@9.5.0" + } } From 4d7b35056fdb1d5633176edde5be428b50e4bc81 Mon Sep 17 00:00:00 2001 From: Ali Heydari Date: Tue, 6 Aug 2024 23:39:58 +0330 Subject: [PATCH 3/3] chore: update pnpm version in package.json --- package.json | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 547ac99..832416f 100644 --- a/package.json +++ b/package.json @@ -24,12 +24,8 @@ "bin": { "openapi-rq": "dist/cli.mjs" }, - "files": [ - "dist" - ], - "workspaces": [ - "examples/*" - ], + "files": ["dist"], + "workspaces": ["examples/*"], "scripts": { "build": "rimraf dist && tsc -p tsconfig.json", "lint": "biome check .", @@ -62,7 +58,7 @@ "ts-morph": "22.x", "typescript": "5.x" }, - "packageManager": "pnpm@9.5.0", + "packageManager": "pnpm@9.6.0", "engines": { "node": ">=14", "pnpm": ">=9"