Skip to content

Commit

Permalink
chore: upgrade yarn to its latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
vecerek committed Jun 1, 2024
1 parent 829f538 commit 1666862
Show file tree
Hide file tree
Showing 5 changed files with 13,029 additions and 8,331 deletions.
2 changes: 0 additions & 2 deletions .yarnrc

This file was deleted.

1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
httpTimeout: 1000000000
nodeLinker: node-modules
13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,32 +11,31 @@
"packages/plugins/other/*",
"packages/presets/*"
],
"packageManager": "yarn@1.22.22",
"packageManager": "yarn@4.2.2",
"scripts": {
"build": "bob build",
"build": "rimraf dist/ .bob/ tsconfig.tsbuildinfo && bob build",
"ci:lint": "eslint --ext .ts . --output-file eslint_report.json --format json",
"clean": "rimraf node_modules/",
"generate:examples": "yarn generate:examples:cjs",
"generate:examples:cjs": "graphql-codegen --require dotenv/config --config ./dev-test/codegen.ts dotenv_config_path=dev-test/.env",
"generate:examples:esm": "graphql-codegen-esm --require dotenv/config --config ./dev-test/codegen.ts dotenv_config_path=dev-test/.env",
"lint": "eslint --ext .ts .",
"postinstall": "patch-package && husky install",
"prebuild": "rimraf dist/ .bob/ tsconfig.tsbuildinfo",
"prerelease": "yarn build",
"prettier": "prettier --write --list-different .",
"prettier:check": "prettier --check .",
"release": "changeset publish",
"release": "yarn build && changeset publish",
"test": "jest --forceExit --no-watchman",
"test-and-build": "yarn build && yarn test",
"types:check": "tsc --noEmit",
"watch-build": "npx tsc-watch --project tsconfig.json --onSuccess \"bob build\""
"watch-build": "yarn dlx -p typescript -p tsc-watch tsc-watch --project tsconfig.json --onSuccess \"bob build\""
},
"devDependencies": {
"@babel/core": "7.24.6",
"@babel/preset-env": "7.24.6",
"@babel/preset-typescript": "7.24.6",
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.5",
"@graphql-codegen/cli": "^5.0.2",
"@theguild/prettier-config": "1.1.2",
"@types/jest": "28.1.8",
"@types/node": "20.13.0",
Expand Down Expand Up @@ -76,7 +75,7 @@
"prettier --write"
],
"yarn.lock": [
"npx yarn-deduplicate"
"yarn dedupe"
]
}
}
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"noUnusedLocals": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"ignoreDeprecations": "5.0",
"paths": {
"@graphql-codegen/flow": ["packages/plugins/flow/flow/src/index.ts"],
"@graphql-codegen/flow-operations": ["packages/plugins/flow/operations/src/index.ts"],
Expand Down
Loading

0 comments on commit 1666862

Please sign in to comment.