Auto-remove trailing -app when publishing.

This commit is contained in:
Thomas E Lackey 2020-08-27 13:23:32 -05:00
parent 69ef8d1f02
commit f8ee8382d6
3 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
{
"name": "@dxos/console",
"name": "@dxos/console-app",
"version": "1.0.0-moon.0",
"description": "Kubenet Console Client",
"main": "dist/es/index.js",

View File

@ -1,7 +1,7 @@
{
"build": {
"name": "@dxos/console",
"buildDate": "2020-08-27T18:09:28.713Z",
"name": "@dxos/console-app",
"buildDate": "2020-08-27T18:22:17.963Z",
"version": "1.0.0-moon.0"
}
}

View File

@ -6,7 +6,7 @@ for appdir in `find ./packages -name '*-app' -type d | grep -v node_modules`; do
pushd $appdir
WNS_ORG="dxos"
PKG_NAME=`cat package.json | jq -r '.name' | cut -d'/' -f2-`
PKG_NAME=`cat package.json | jq -r '.name' | cut -d'/' -f2- | sed 's/-app$//'`
PKG_DESC=`cat package.json | jq -r '.description'`
PKG_VERSION=`cat package.json | jq -r '.version'`