Skip to content

Commit

Permalink
chore: added prettier & removed redundant files from react query `for…
Browse files Browse the repository at this point in the history
…m-url-encoded` sample (orval-labs#1413)
  • Loading branch information
hallucinogenizer authored May 29, 2024
1 parent 9d5c650 commit 3dd831b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
9 changes: 0 additions & 9 deletions samples/react-query/form-url-encoded/models/pets.ts

This file was deleted.

1 change: 1 addition & 0 deletions samples/react-query/form-url-encoded/orval.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export default defineConfig({
target: './endpoints.ts',
schemas: './models',
client: 'react-query',
prettier: true,
override: {
mutator: {
path: './custom-instance.ts',
Expand Down
3 changes: 2 additions & 1 deletion samples/react-query/form-url-encoded/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"version": "0.1.0",
"private": true,
"devDependencies": {
"orval": "link:../../../packages/orval/dist"
"orval": "link:../../../packages/orval/dist",
"prettier": "^3.0.3"
},
"scripts": {
"generate-api": "node ../../../packages/orval/dist/bin/orval.js",
Expand Down
5 changes: 5 additions & 0 deletions samples/react-query/form-url-encoded/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,11 @@ path-is-absolute@^1.0.0:
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==

prettier@^3.0.3:
version "3.2.5"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.2.5.tgz#e52bc3090586e824964a8813b09aba6233b28368"
integrity sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==

react-query@^3.34.19:
version "3.39.3"
resolved "https://registry.yarnpkg.com/react-query/-/react-query-3.39.3.tgz#4cea7127c6c26bdea2de5fb63e51044330b03f35"
Expand Down

0 comments on commit 3dd831b

Please sign in to comment.