FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
NativeScript/tools/scripts/pack-compat.sh at main · NativeScript/NativeScript · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
NativeScript
/
NativeScript
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
1.7k
Star
25.6k
Code
Issues
771
Pull requests
63
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
NativeScript
/
tools
/
scripts
/
pack-compat.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
25 lines (19 loc) · 387 Bytes
Breadcrumbs
NativeScript
/
tools
/
scripts
/
pack-compat.sh
Copy path
File metadata and controls
executable file
·
25 lines (19 loc) · 387 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!
/bin/bash
#
#
#
Packs:
#
- tns-core-modules
#
inside dist folder
#
#
set
-x
set
-e
#
# Pack tns-core-modules
(
#
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
"
)
Back
|
FazBrowse Home
|
New Git URL