Skip to content

Commit

Permalink
Start addressing some dependency issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sevanspowell committed Jul 1, 2020
1 parent 90bfe57 commit ab35936
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/api-cardano-db-hasura/package.json
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"build": "yarn codegen && tsc -b ./src",
"build": "echo \"BUILDING api-cardano-db-hasura\" && yarn codegen && tsc -b ./src",
"codegen": "graphql-codegen",
"cleanup": "shx rm -rf dist node_modules src/graphql_types.ts",
"lint": "eslint --ignore-path ../../.eslintignore \"**/*.ts\"",
Expand Down
6 changes: 4 additions & 2 deletions packages/cli/package.json
Expand Up @@ -13,7 +13,7 @@
"scripts": {
"add-global": "yarn build && yarn global add file:$PWD",
"remove-global": "yarn global remove @cardano-graphql/cli",
"build": "tsc -b ./src && shx cp src/Docker/docker-compose.yml dist/Docker/",
"build": "echo \"BUILDING cli\" && tsc -b ./src && shx cp src/Docker/docker-compose.yml dist/Docker/",
"cleanup": "shx rm -rf dist node_modules",
"dev": "ts-node-dev --no-notify --respawn --transpileOnly src/index.ts",
"lint": "eslint --ignore-path ../../.eslintignore \"**/*.ts\"",
Expand Down Expand Up @@ -57,7 +57,9 @@
"lodash.set": "^4.3.2",
"password-generator": "^2.2.3",
"ts-log": "^2.1.4",
"write-json-file": "^4.3.0"
"write-json-file": "^4.3.0",
"typescript": "^3.9.5",
"@cardano-graphql/util": "1.0.0-rc.12"
},
"directories": {
"lib": "src",
Expand Down
7 changes: 6 additions & 1 deletion packages/client-ts/package.json
Expand Up @@ -9,7 +9,7 @@
"main": "api/index.js",
"typings": "api/index.d.ts",
"scripts": {
"build": "graphql-codegen && tsc",
"build": "echo \"BUILDING client-ts\" && graphql-codegen && tsc",
"cleanup": "shx rm -rf api/index.d.ts \"api/cardano-db-hasura/graphql_types*\"",
"lint": "eslint --ignore-path ../../.eslintignore \"**/*.ts\"",
"prepack": "yarn build && shx cp ../api-cardano-db-hasura/schema.graphql ./api/cardano-db-hasura/",
Expand All @@ -36,5 +36,10 @@
],
"directories": {
"lib": "src"
},
"devDependencies": {
"@graphql-codegen/cli": "^1.15.2",
"@graphql-codegen/typescript": "^1.15.2",
"typescript": "^3.9.5"
}
}
2 changes: 1 addition & 1 deletion packages/server/package.json
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"build": "tsc -b ./src",
"build": "echo \"BUILDING server\" && tsc -b ./src",
"cleanup": "shx rm -rf dist node_modules",
"lint": "eslint --ignore-path ../../.eslintignore \"**/*.ts\"",
"prestart": "yarn build",
Expand Down
6 changes: 4 additions & 2 deletions packages/util-dev/package.json
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"build": "tsc -b ./src",
"build": "echo \"BUILDING util-dev\" && tsc -b ./src",
"cleanup": "shx rm -rf dist node_modules",
"lint": "eslint --ignore-path ../../.eslintignore \"**/*.ts\"",
"test": "shx echo No tests in this package"
Expand All @@ -23,7 +23,9 @@
"dependencies": {
"graphql": "14.5.8",
"graphql-tag": "^2.10.3",
"p-retry": "^4.2.0"
"p-retry": "^4.2.0",
"typescript": "^3.9.5",
"@cardano-graphql/util": "1.0.0-rc.12"
},
"directories": {
"lib": "src",
Expand Down
5 changes: 3 additions & 2 deletions packages/util/package.json
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"build": "tsc -b ./src",
"build": "echo \"BUILDING util\" && tsc -b ./src",
"cleanup": "shx rm -rf dist node_modules",
"lint": "eslint --ignore-path ../../.eslintignore \"**/*.ts\"",
"test": "shx echo No tests in this package"
Expand All @@ -23,7 +23,8 @@
"dependencies": {
"graphql": "14.5.8",
"graphql-tag": "^2.10.3",
"p-retry": "^4.2.0"
"p-retry": "^4.2.0",
"typescript": "^3.9.5"
},
"directories": {
"lib": "src",
Expand Down

0 comments on commit ab35936

Please sign in to comment.