Bladeren bron

Merge pull request #2247 from mnaamani/publish-config-protobuf-package

update protobuf package.json
Mokhtar Naamani 4 jaren geleden
bovenliggende
commit
c1316fe9f0

+ 1 - 0
content-metadata-protobuf/compiled/proto/Channel_pb.js

@@ -2,6 +2,7 @@
 /**
  * @fileoverview
  * @enhanceable
+ * @suppress {missingRequire} reports error on implicit type usages.
  * @suppress {messageConventions} JS Compiler reports an error if a variable or
  *     field starts with 'MSG_' and isn't a translatable message.
  * @public

+ 1 - 0
content-metadata-protobuf/compiled/proto/Person_pb.js

@@ -2,6 +2,7 @@
 /**
  * @fileoverview
  * @enhanceable
+ * @suppress {missingRequire} reports error on implicit type usages.
  * @suppress {messageConventions} JS Compiler reports an error if a variable or
  *     field starts with 'MSG_' and isn't a translatable message.
  * @public

+ 1 - 0
content-metadata-protobuf/compiled/proto/Playlist_pb.js

@@ -2,6 +2,7 @@
 /**
  * @fileoverview
  * @enhanceable
+ * @suppress {missingRequire} reports error on implicit type usages.
  * @suppress {messageConventions} JS Compiler reports an error if a variable or
  *     field starts with 'MSG_' and isn't a translatable message.
  * @public

+ 1 - 0
content-metadata-protobuf/compiled/proto/Series_pb.js

@@ -2,6 +2,7 @@
 /**
  * @fileoverview
  * @enhanceable
+ * @suppress {missingRequire} reports error on implicit type usages.
  * @suppress {messageConventions} JS Compiler reports an error if a variable or
  *     field starts with 'MSG_' and isn't a translatable message.
  * @public

+ 1 - 0
content-metadata-protobuf/compiled/proto/Video_pb.js

@@ -2,6 +2,7 @@
 /**
  * @fileoverview
  * @enhanceable
+ * @suppress {missingRequire} reports error on implicit type usages.
  * @suppress {messageConventions} JS Compiler reports an error if a variable or
  *     field starts with 'MSG_' and isn't a translatable message.
  * @public

+ 7 - 2
content-metadata-protobuf/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@joystream/content-metadata-protobuf",
-  "version": "1.0.0",
+  "version": "1.1.0",
   "description": "Joystream Content Metadata Protobuf Library ",
   "main": "lib/index.js",
   "types": "lib/index.d.ts",
@@ -15,7 +15,8 @@
     "test": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'test/**/*.ts'",
     "lint": "eslint ./src --ext .ts",
     "checks": "tsc --noEmit --pretty && prettier ./ --check && yarn lint",
-    "format": "prettier ./ --write"
+    "format": "prettier ./ --write",
+    "prepublish": "yarn build"
   },
   "files": [
     "lib/**/*",
@@ -37,5 +38,9 @@
     "ts-node": "^8.8.1",
     "ts-protoc-gen": "^0.14.0",
     "typescript": "^4.1.3"
+  },
+  "publishConfig": {
+    "access": "public",
+    "registry": "https://registry.npmjs.org"
   }
 }