Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
gilgardosh committed Dec 6, 2022
1 parent f0617b0 commit 64e2998
Show file tree
Hide file tree
Showing 63 changed files with 244 additions and 244 deletions.
14 changes: 7 additions & 7 deletions examples/graphql-file-upload-example/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@
"name": "frontend",
"version": "0.1.0",
"private": true,
"scripts": {
"build": "react-scripts build",
"eject": "react-scripts eject",
"start": "react-scripts start",
"test": "react-scripts test"
},
"dependencies": {
"@apollo/client": "3.7.1",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "13.4.0",
"@testing-library/user-event": "14.4.3",
"@apollo/client": "3.7.1",
"apollo-upload-client": "17.0.0",
"graphql": "16.6.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-scripts": "5.0.1",
"web-vitals": "3.1.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"browserslist": {
"production": [
">0.2%",
Expand Down
70 changes: 35 additions & 35 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,37 +1,52 @@
{
"name": "graphql-mesh-monorepo",
"license": "MIT",
"version": "0.2.15",
"license": "MIT",
"private": true,
"workspaces": {
"packages": [
"website",
"packages/*",
"packages/cache/*",
"packages/handlers/*",
"packages/transforms/*",
"packages/mergers/*",
"packages/plugins/*",
"examples/*",
"examples/federation-example/*",
"examples/graphql-file-upload-example/frontend",
"packages/loaders/*"
]
},
"scripts": {
"clean": "rm -rf packages/**/dist packages/**/**/dist examples/**/node_modules/.bin/*mesh* .bob",
"postinstall": "patch-package && husky install",
"prebuild:website": "yarn build",
"build:website": "cd website && yarn build",
"generate-config-schema": "yarn graphql-to-config-schema --schema ./**/yaml-config.graphql --json ./packages/types/src/config-schema.json --typings ./packages/types/src/config.ts --markdown ./website/src/generated-markdown && npx prettier --write ./packages/types/src",
"prebuild": "yarn clean && yarn generate-config-schema",
"build": "bob build",
"fix-bin": "node scripts/fix-bin.js",
"build-test-artifacts": "cd examples/json-schema-example && yarn build",
"build:website": "cd website && yarn build",
"ci:lint": "eslint --output-file eslint_report.json --ext .ts --format json \"./packages/**/src/**/*.ts\"",
"clean": "rm -rf packages/**/dist packages/**/**/dist examples/**/node_modules/.bin/*mesh* .bob",
"copy-config-schema": "cp ./packages/types/src/config-schema.json ./packages/types/dist/esm && cp ./packages/types/src/config-schema.json ./packages/types/dist/cjs",
"postbuild": "yarn copy-config-schema && yarn fix-bin",
"fix-bin": "node scripts/fix-bin.js",
"generate-config-schema": "yarn graphql-to-config-schema --schema ./**/yaml-config.graphql --json ./packages/types/src/config-schema.json --typings ./packages/types/src/config.ts --markdown ./website/src/generated-markdown && npx prettier --write ./packages/types/src",
"lint": "eslint --ext .ts \"./packages/**/src/**/*.ts\"",
"ci:lint": "eslint --output-file eslint_report.json --ext .ts --format json \"./packages/**/src/**/*.ts\"",
"postbuild": "yarn copy-config-schema && yarn fix-bin",
"postinstall": "patch-package && husky install",
"prebuild": "yarn clean && yarn generate-config-schema",
"prebuild:website": "yarn build",
"prerelease": "yarn build",
"prettier": "prettier --write --list-different .",
"prettier:check": "prettier --check .",
"build-test-artifacts": "cd examples/json-schema-example && yarn build",
"release": "changeset publish",
"test": "cross-env \"JEST=1\" jest --forceExit --no-watchman",
"test-and-build": "yarn build && yarn test",
"prerelease": "yarn build",
"release": "changeset publish"
"test-and-build": "yarn build && yarn test"
},
"devDependencies": {
"@ardatan/graphql-to-config-schema": "0.1.25",
"@babel/core": "7.20.5",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/preset-env": "7.20.2",
"@babel/preset-typescript": "7.18.6",
"@changesets/cli": "2.25.2",
"@changesets/changelog-github": "0.4.7",
"@changesets/cli": "2.25.2",
"@theguild/prettier-config": "1.0.0",
"@types/jest": "29.2.4",
"@types/node": "18.11.10",
Expand All @@ -56,6 +71,11 @@
"ts-jest": "29.0.3",
"typescript": "4.9.3"
},
"resolutions": {
"graphql": "16.6.0",
"undici": "5.13.0",
"uuid": "7.0.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
Expand All @@ -68,25 +88,5 @@
"**/*.{ts,tsx,graphql,yml,json,md,js}": [
"prettier --write"
]
},
"workspaces": {
"packages": [
"website",
"packages/*",
"packages/cache/*",
"packages/handlers/*",
"packages/transforms/*",
"packages/mergers/*",
"packages/plugins/*",
"examples/*",
"examples/federation-example/*",
"examples/graphql-file-upload-example/frontend",
"packages/loaders/*"
]
},
"resolutions": {
"graphql": "16.6.0",
"undici": "5.13.0",
"uuid": "7.0.3"
}
}
28 changes: 14 additions & 14 deletions packages/apollo-link/package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
{
"name": "@graphql-mesh/apollo-link",
"version": "8.0.7",
"license": "MIT",
"type": "module",
"repository": {
"type": "git",
"url": "Urigo/graphql-mesh",
"directory": "packages/apollo-link"
},
"sideEffects": false,
"license": "MIT",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"typings": "dist/typings/index.d.ts",
"typescript": {
"definition": "dist/typings/index.d.ts"
},
"exports": {
".": {
"require": {
Expand All @@ -31,21 +27,25 @@
},
"./package.json": "./package.json"
},
"typings": "dist/typings/index.d.ts",
"peerDependencies": {
"@apollo/client": "^3.5.9",
"@graphql-mesh/runtime": "^0.44.32",
"graphql": "^15.2.0 || ^16.0.0"
},
"dependencies": {
"@graphql-tools/utils": "9.1.1",
"tslib": "^2.4.0"
},
"devDependencies": {
"@apollo/client": "3.7.1"
},
"peerDependencies": {
"@graphql-mesh/runtime": "^0.44.32",
"graphql": "^15.2.0 || ^16.0.0",
"@apollo/client": "^3.5.9"
},
"publishConfig": {
"directory": "dist",
"access": "public"
"access": "public",
"directory": "dist"
},
"type": "module"
"sideEffects": false,
"typescript": {
"definition": "dist/typings/index.d.ts"
}
}
4 changes: 2 additions & 2 deletions packages/cache/cfw-kv/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@graphql-mesh/cache-cfw-kv",
"version": "0.0.49",
"type": "module",
"repository": {
"type": "git",
"url": "Urigo/graphql-mesh",
Expand Down Expand Up @@ -45,6 +46,5 @@
"sideEffects": false,
"typescript": {
"definition": "dist/typings/index.d.ts"
},
"type": "module"
}
}
4 changes: 2 additions & 2 deletions packages/cache/file/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@graphql-mesh/cache-file",
"version": "0.9.47",
"type": "module",
"repository": {
"type": "git",
"url": "Urigo/graphql-mesh",
Expand Down Expand Up @@ -44,6 +45,5 @@
"sideEffects": false,
"typescript": {
"definition": "dist/typings/index.d.ts"
},
"type": "module"
}
}
4 changes: 2 additions & 2 deletions packages/cache/localforage/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@graphql-mesh/cache-localforage",
"version": "0.6.63",
"type": "module",
"repository": {
"type": "git",
"url": "Urigo/graphql-mesh",
Expand Down Expand Up @@ -43,6 +44,5 @@
"sideEffects": false,
"typescript": {
"definition": "dist/typings/index.d.ts"
},
"type": "module"
}
}
4 changes: 2 additions & 2 deletions packages/cache/redis/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@graphql-mesh/cache-redis",
"version": "0.10.47",
"type": "module",
"repository": {
"type": "git",
"url": "Urigo/graphql-mesh",
Expand Down Expand Up @@ -49,6 +50,5 @@
"sideEffects": false,
"typescript": {
"definition": "dist/typings/index.d.ts"
},
"type": "module"
}
}
4 changes: 2 additions & 2 deletions packages/config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@graphql-mesh/config",
"version": "8.0.36",
"type": "module",
"repository": {
"type": "git",
"url": "Urigo/graphql-mesh",
Expand Down Expand Up @@ -57,6 +58,5 @@
"sideEffects": false,
"typescript": {
"definition": "dist/typings/index.d.ts"
},
"type": "module"
}
}
46 changes: 23 additions & 23 deletions packages/container/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,33 @@
{
"name": "@graphql-mesh/container",
"version": "0.1.207",
"type": "module",
"repository": {
"type": "git",
"url": "Urigo/graphql-mesh",
"directory": "packages/container"
},
"license": "MIT",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
".": {
"require": {
"types": "./dist/typings/index.d.cts",
"default": "./dist/cjs/index.js"
},
"import": {
"types": "./dist/typings/index.d.ts",
"default": "./dist/esm/index.js"
},
"default": {
"types": "./dist/typings/index.d.ts",
"default": "./dist/esm/index.js"
}
},
"./package.json": "./package.json"
},
"typings": "dist/typings/index.d.ts",
"scripts": {
"start": "graphql-mesh dev"
},
Expand All @@ -33,31 +54,10 @@
"tslib": "2.4.1"
},
"publishConfig": {
"directory": "dist",
"access": "public"
"access": "public",
"directory": "dist"
},
"type": "module",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"typings": "dist/typings/index.d.ts",
"typescript": {
"definition": "dist/typings/index.d.ts"
},
"exports": {
".": {
"require": {
"types": "./dist/typings/index.d.cts",
"default": "./dist/cjs/index.js"
},
"import": {
"types": "./dist/typings/index.d.ts",
"default": "./dist/esm/index.js"
},
"default": {
"types": "./dist/typings/index.d.ts",
"default": "./dist/esm/index.js"
}
},
"./package.json": "./package.json"
}
}
14 changes: 7 additions & 7 deletions packages/cross-helpers/package.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
{
"name": "@graphql-mesh/cross-helpers",
"version": "0.2.10",
"bob": false,
"description": "Cross Platform Helpers for GraphQL Mesh",
"author": "Arda TANRIKULU <[email protected]>",
"repository": {
"type": "git",
"url": "Urigo/graphql-mesh",
"directory": "packages/cross-helpers"
},
"author": "Arda TANRIKULU <[email protected]>",
"license": "MIT",
"sideEffects": false,
"main": "node.js",
"browser": "browser.js",
"react-native": "react-native.js",
"types": "index.d.ts",
"typings": "./index.d.ts",
"dependencies": {
"@graphql-tools/utils": "9.1.1",
"path-browserify": "1.0.1",
"react-native-fs": "2.20.0",
"react-native-path": "0.0.5",
"path-browserify": "1.0.1"
"react-native-path": "0.0.5"
},
"publishConfig": {
"access": "public"
},
"typings": "./index.d.ts",
"sideEffects": false,
"bob": false,
"react-native": "react-native.js",
"typescript": {
"definition": "./index.d.ts"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/handlers/graphql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@graphql-mesh/graphql",
"version": "0.32.4",
"type": "module",
"repository": {
"type": "git",
"url": "Urigo/graphql-mesh",
Expand Down Expand Up @@ -50,6 +51,5 @@
"sideEffects": false,
"typescript": {
"definition": "dist/typings/index.d.ts"
},
"type": "module"
}
}
Loading

0 comments on commit 64e2998

Please sign in to comment.