Mokhtar Naamani преди 3 години
родител
ревизия
851e47d5c7
променени са 2 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 1 0
      distributor-node.Dockerfile
  2. 2 1
      types/package.json

+ 1 - 0
distributor-node.Dockerfile

@@ -7,6 +7,7 @@ COPY ./distributor-node distributor-node
 COPY ./yarn.lock yarn.lock
 COPY ./package.json package.json
 COPY ./chain-metadata.json chain-metadata.json
+COPY ./.git .git
 EXPOSE 3334
 
 # Build & cleanup

+ 2 - 1
types/package.json

@@ -8,7 +8,8 @@
     "prepublishOnly": "npm run build",
     "prepack": "npm run build",
     "compile": "tsc --build tsconfig.json",
-    "build": "git clean -xdf -e node_modules || yarn compile && yarn generate:all",
+    "clean": "git clean -xdf -e node_modules",
+    "build": "yarn clean; yarn compile && yarn generate:all",
     "lint": "eslint ./ --ext .ts",
     "format": "prettier ./ --write",
     "check:augment": "tsc --build tsconfig-augment.json && tsc --build tsconfig-augment-codec.json",