|
@@ -11,16 +11,7 @@ set +a
|
|
|
|
|
|
yarn clean
|
|
|
|
|
|
-# We generate the code for each service separately to be able to specify
|
|
|
-# separate database names.
|
|
|
-
|
|
|
-# Build graphql-server customizing DB name
|
|
|
-DB_NAME=${PROCESSOR_DB_NAME} yarn codegen:server
|
|
|
-
|
|
|
-# We run yarn again to ensure processor and indexer dependencies are installed
|
|
|
-# and are inline with root workspace resolutions
|
|
|
-yarn
|
|
|
+yarn codegen
|
|
|
+# yarn codegen:noinstall
|
|
|
|
|
|
ln -s ../../../../../node_modules/typeorm/cli.js generated/graphql-server/node_modules/.bin/typeorm || :
|
|
|
-
|
|
|
-yarn tsc --build tsconfig.json
|