Configure npm registry for publishing

This commit is contained in:
Simon Warta 2021-08-04 16:45:19 +02:00
parent 1582ccedbc
commit e7584125b9
18 changed files with 39 additions and 19 deletions

View File

@ -17,7 +17,8 @@
"url": "https://github.com/cosmos/cosmjs"
},
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org"
},
"workspaces": [
"packages/*"
@ -34,7 +35,9 @@
"coverage": "yarn workspaces foreach --topological-dev --parallel --verbose run coverage",
"build": "yarn workspaces foreach --topological-dev --parallel --verbose run build",
"docs": "yarn workspaces foreach --topological-dev --parallel --verbose run docs",
"pack-web": "yarn workspaces foreach --topological-dev --parallel --verbose run pack-web"
"pack-web": "yarn workspaces foreach --topological-dev --parallel --verbose run pack-web",
"publish-next": "yarn workspaces foreach --no-private exec yarn npm publish --tag next",
"publish-latest": "yarn workspaces foreach --no-private exec yarn npm publish"
},
"devDependencies": {
"@cosmjs/amino": "workspace:packages/amino",

View File

@ -19,7 +19,8 @@
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/amino"
},
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org"
},
"scripts": {
"docs": "typedoc --options typedoc.js",

View File

@ -12,7 +12,8 @@
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/cli"
},
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org"
},
"scripts": {
"format": "prettier --write --loglevel warn \"./src/**/*.ts\"",

View File

@ -19,7 +19,8 @@
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/cosmwasm-stargate"
},
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org"
},
"scripts": {
"docs": "typedoc --options typedoc.js",

View File

@ -20,7 +20,8 @@
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/crypto"
},
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org"
},
"scripts": {
"docs": "typedoc --options typedoc.js",

View File

@ -19,7 +19,8 @@
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/encoding"
},
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org"
},
"scripts": {
"docs": "typedoc --options typedoc.js",

View File

@ -19,7 +19,8 @@
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/faucet-client"
},
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org"
},
"scripts": {
"docs": "typedoc --options typedoc.js",

View File

@ -21,7 +21,8 @@
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/faucet"
},
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org"
},
"scripts": {
"dev-start": "yarn start-dev",

View File

@ -21,7 +21,8 @@
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/json-rpc"
},
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org"
},
"scripts": {
"docs": "typedoc --options typedoc.js",

View File

@ -20,7 +20,8 @@
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/launchpad"
},
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org"
},
"scripts": {
"docs": "typedoc --options typedoc.js",

View File

@ -19,7 +19,8 @@
"url": "https://github.com/CosmWasm/cosmjs/tree/main/packages/ledger-amino"
},
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org"
},
"scripts": {
"docs": "typedoc --options typedoc.js",

View File

@ -19,7 +19,8 @@
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/math"
},
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org"
},
"scripts": {
"docs": "typedoc --options typedoc.js",

View File

@ -20,7 +20,8 @@
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/proto-signing"
},
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org"
},
"scripts": {
"docs": "typedoc --options typedoc.js",

View File

@ -21,7 +21,8 @@
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/socket"
},
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org"
},
"scripts": {
"docs": "typedoc --options typedoc.js",

View File

@ -19,7 +19,8 @@
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/stargate"
},
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org"
},
"scripts": {
"docs": "typedoc --options typedoc.js",

View File

@ -21,7 +21,8 @@
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/stream"
},
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org"
},
"scripts": {
"docs": "typedoc --options typedoc.js",

View File

@ -21,7 +21,8 @@
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/tendermint-rpc"
},
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org"
},
"scripts": {
"docs": "typedoc --options typedoc.js",

View File

@ -19,7 +19,8 @@
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/utils"
},
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org"
},
"scripts": {
"docs": "typedoc --options typedoc.js",