mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Release to master (#8382)
* fix the crash * chore: update MaterialComponents pod (#8176) * chore: update MaterialComponents pod * chore: remove copy of pod file in build script * chore: cut the 6.3.0 release (#8174) * hore: cut the 6.3.1 release * fix: handle fake attach after FragMgr is destroyed (#8200) * fix: check is disposed fragment is in the FragmentManager (#8201) * release: cut the 6.3.2 release * release: cut the 6.4.0 release * chore(build): always use local typescript * fix: flipLeft and flipRight on Android (#8307) * fix(android): tap-trip-item title disappearing * fix(andoid): crash when setting font on tab-item with no image * fix(build): Add platforms/android to NPM package (#8312) Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com> Co-authored-by: Alexander Vakrilov <alexander.vakrilov@gmail.com> * release: cut the 6.4.1 release * chore: bump tns-core-modules-widgets version (#8352) Co-authored-by: hamidbsd <50081218+hamidbsd@users.noreply.github.com> Co-authored-by: Alexander Vakrilov <alexander.vakrilov@gmail.com> Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com> Co-authored-by: Nick Iliev <nikolay.iliev@telerik.com> Co-authored-by: Martin Bektchiev <martin.bektchiev@progress.com> Co-authored-by: Rosen Vladimirov <rosen-vladimirov@users.noreply.github.com>
This commit is contained in:
@@ -13,6 +13,8 @@ DIST=dist;
|
||||
ROOT_DIR=$(cd `dirname $0` && pwd)/..;
|
||||
cd "$ROOT_DIR"
|
||||
|
||||
# Aways execute npx tsc from repo root to use the local typescript
|
||||
npx tsc -v
|
||||
npx tsc -p nativescript-core/tsconfig.barrels.json
|
||||
|
||||
FROM="temp/dts-out"
|
||||
|
||||
@@ -11,12 +11,15 @@ set -e
|
||||
|
||||
## Pack tns-core-modules
|
||||
(
|
||||
cd "dist/tns-core-modules"
|
||||
|
||||
echo 'Run tsc ...'
|
||||
npx tsc
|
||||
# Aways execute npx tsc from repo root to use the local typescript
|
||||
echo 'TypeScript transpile...'
|
||||
npx tsc -v
|
||||
npx tsc -p "dist/tns-core-modules"
|
||||
|
||||
|
||||
echo 'NPM packing ...'
|
||||
cd "dist/tns-core-modules"
|
||||
TGZ="$(npm pack)"
|
||||
mv "$TGZ" "../$TGZ"
|
||||
)
|
||||
@@ -65,11 +65,14 @@ mkdir -p "$DIST"
|
||||
npx ncp README.md "$DIST"/"$PACKAGE"/README.md
|
||||
|
||||
(
|
||||
echo 'TypeScript transpile...'
|
||||
cd "$DIST/$PACKAGE"
|
||||
npm install
|
||||
npx tsc
|
||||
)
|
||||
|
||||
# Aways execute npx tsc from repo root to use the local typescript
|
||||
echo 'TypeScript transpile...'
|
||||
npx tsc -v
|
||||
npx tsc -p "$DIST/$PACKAGE"
|
||||
|
||||
echo "Clearing typescript definitions from private APIs..."
|
||||
npx ts-node --project ./build/tsconfig.json build/clear-private-definitions "$DIST/$PACKAGE"
|
||||
|
||||
Reference in New Issue
Block a user