Explorar el Código

query-node: remove unused scripts

metmirr hace 4 años
padre
commit
391ecbb7aa
Se han modificado 3 ficheros con 0 adiciones y 53 borrados
  1. 0 12
      query-node/db-migrate.sh
  2. 0 18
      query-node/processor-start.sh
  3. 0 23
      query-node/tsconfig.json

+ 0 - 12
query-node/db-migrate.sh

@@ -1,12 +0,0 @@
-#!/usr/bin/env bash
-set -e
-
-SCRIPT_PATH="$(dirname "${BASH_SOURCE[0]}")"
-cd $SCRIPT_PATH
-
-set -a
-. ../.env
-set +a
-
-yarn workspace query-node-root db:schema:migrate
-(cd ./generated/hydra-processor && TYPEORM_DATABASE=${PROCESSOR_DB_NAME} yarn db:migrate)

+ 0 - 18
query-node/processor-start.sh

@@ -1,18 +0,0 @@
-#!/usr/bin/env bash
-set -e
-
-SCRIPT_PATH="$(dirname "${BASH_SOURCE[0]}")"
-cd $SCRIPT_PATH
-
-# set +a
-# . ../.env
-# export TYPEORM_DATABASE=${PROCESSOR_DB_NAME}
-
-export TYPEORM_DATABASE=${PROCESSOR_DB_NAME:=query_node_processor}
-
-cd ./generated/hydra-processor
-
-DEBUG=* node ./lib/index.js run \
-  --mappings ../../../lib/mappings \
-  --env ../../../.env \
-  --entities ../../../lib/generated/graphql-server/src/modules/**/*.model.js

+ 0 - 23
query-node/tsconfig.json

@@ -1,23 +0,0 @@
-{
-  "compilerOptions": {
-    "declaration": true,
-    "importHelpers": true,
-    "module": "commonjs",
-    "outDir": "lib",
-    "rootDir": "./",
-    "strict": true,
-    "target": "es2017",
-    "experimentalDecorators": true,
-    "emitDecoratorMetadata": true,
-    "skipLibCheck": true,
-    "sourceMap": true,
-    "inlineSources": false,
-    "baseUrl": ".",
-    "paths": {
-      "@polkadot/types/augment": ["../types/augment-codec/augment-types.ts"]
-    },
-    "esModuleInterop": true
-  },
-  "include": ["mappings/**/*"],
-  "exclude": ["node_modules"]
-}