Browse Source

types version bump, local packages use relative path instead of version

Mokhtar Naamani 4 years ago
parent
commit
35d03a9808
5 changed files with 6 additions and 8 deletions
  1. 1 1
      cli/package.json
  2. 1 1
      pioneer/package.json
  3. 1 1
      tests/network-tests/package.json
  4. 2 2
      types/package.json
  5. 1 3
      yarn.lock

+ 1 - 1
cli/package.json

@@ -8,7 +8,7 @@
   },
   "bugs": "https://github.com/Joystream/substrate-runtime-joystream/issues",
   "dependencies": {
-    "@joystream/types": "^0.10.0",
+    "@joystream/types": "./types",
     "@oclif/command": "^1.5.19",
     "@oclif/config": "^1.14.0",
     "@oclif/plugin-help": "^2.2.3",

+ 1 - 1
pioneer/package.json

@@ -82,6 +82,6 @@
     "node-sass": "^4.13.0",
     "sass-loader": "^8.0.0",
     "style-loader": "^1.0.0",
-    "@joystream/types": "^0.10.0"
+    "@joystream/types": "./types"
   }
 }

+ 1 - 1
tests/network-tests/package.json

@@ -10,7 +10,7 @@
     "prettier": "prettier --write ./src"
   },
   "dependencies": {
-    "@constantinople/types@npm:@joystream/types": "^0.10.0",
+    "@constantinople/types": "./types",
     "@polkadot/api": "^0.96.1",
     "@polkadot/keyring": "^1.7.0-beta.5",
     "@rome/types@npm:@joystream/types": "^0.7.0",

+ 2 - 2
types/package.json

@@ -1,7 +1,7 @@
 {
   "name": "@joystream/types",
-  "version": "0.10.0",
-  "description": "Types for Joystream Substrate Runtime 6.15.0",
+  "version": "0.11.0",
+  "description": "Types for Joystream Substrate Runtime - nicaea release",
   "main": "lib/index.js",
   "scripts": {
     "prepublish": "npm run build",

+ 1 - 3
yarn.lock

@@ -1355,10 +1355,8 @@
     exec-sh "^0.3.2"
     minimist "^1.2.0"
 
-"@constantinople/types@npm:@joystream/types@^0.10.0":
+"@constantinople/types@./types", "@joystream/types@./types":
   version "0.10.0"
-  resolved "https://registry.yarnpkg.com/@joystream/types/-/types-0.10.0.tgz#7e98ef221410b26a7d952cfc3d1c03d28395ad69"
-  integrity sha512-RDZizqGKWGYpLR5PnUWM4aGa7InpWNh2Txlr7Al3ROFYOHoyQf62/omPfEz29F6scwlFxysOdmEfQaLeVRaUxA==
   dependencies:
     "@polkadot/types" "^0.96.1"
     "@types/vfile" "^4.0.0"