Browse Source

Fix CLI checks - add back content-directory-schemas build

Leszek Wiesner 4 years ago
parent
commit
b5cc4746a4
3 changed files with 2 additions and 4 deletions
  1. 0 1
      cli/.eslintignore
  2. 1 2
      cli/tsconfig.json
  3. 1 1
      package.json

+ 0 - 1
cli/.eslintignore

@@ -2,5 +2,4 @@
 # Temporarly ignore before merging `Sumer`
 /src/commands/media
 /src/commands/content-directory
-/src/base/MediaCommandBase.ts
 .eslintrc.js

+ 1 - 2
cli/tsconfig.json

@@ -24,7 +24,6 @@
   /* Temporary exclude before merging `Sumer` */
   "exclude": [
     "src/commands/content-directory/*",
-    "src/commands/media/*",
-    "src/base/MediaCommandBase.ts"
+    "src/commands/media/*"
   ]
 }

+ 1 - 1
package.json

@@ -4,7 +4,7 @@
   "version": "1.0.0",
   "license": "GPL-3.0-only",
   "scripts": {
-    "postinstall": "yarn workspace @joystream/types build",
+    "postinstall": "yarn workspace @joystream/types build && yarn workspace @joystream/cd-schemas generate:all && yarn workspace @joystream/cd-schemas build",
     "build-joystream-cli": "yarn workspace @joystream/cli build",
     "build": "./build.sh",
     "start": "./start.sh",