chore(core): monorepo, esm targeting, improved management (#8707)

This commit is contained in:
Nathan Walker
2020-08-25 20:00:59 -07:00
committed by GitHub
parent 6f15334934
commit 020ad4da37
4271 changed files with 148599 additions and 149734 deletions

24
tools/scripts/pack-core.sh Executable file
View File

@@ -0,0 +1,24 @@
#!/bin/bash
##
# Prepares the tns-platform-declarations and @nativescript/core packages inside dist folder
##
set -x
set -e
DIST=dist;
ROOT_DIR=$(cd `dirname $0` && pwd)/..;
cd "$ROOT_DIR"
(
cd "$DIST/tns-platform-declarations"
TGZ="$(npm pack)"
mv "$TGZ" "../$TGZ"
)
(
cd "$DIST/nativescript-core"
TGZ="$(npm pack)"
mv "$TGZ" "../$TGZ"
)