Auto-remove trailing -app when publishing.
This commit is contained in:
parent
69ef8d1f02
commit
f8ee8382d6
@ -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",
|
||||
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
@ -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'`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user