mirror of
https://github.com/YunoHost-Apps/distbin_ynh.git
synced 2024-09-03 18:26:10 +02:00
Add typescript
This commit is contained in:
parent
a33187d0bf
commit
51cecc762a
4 changed files with 4 additions and 0 deletions
|
@ -170,6 +170,7 @@ ynh_system_user_create $app
|
||||||
|
|
||||||
ynh_install_nodejs 11
|
ynh_install_nodejs 11
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
|
npm install -g typescript
|
||||||
npm install -g ts-node
|
npm install -g ts-node
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -101,6 +101,7 @@ fi
|
||||||
|
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
npm uninstall -g ts-node
|
npm uninstall -g ts-node
|
||||||
|
npm uninstall -g typescript
|
||||||
ynh_remove_nodejs
|
ynh_remove_nodejs
|
||||||
|
|
||||||
# Remove a cron file
|
# Remove a cron file
|
||||||
|
|
|
@ -93,6 +93,7 @@ chown -R root: $final_path
|
||||||
|
|
||||||
ynh_install_nodejs 11
|
ynh_install_nodejs 11
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
|
npm install -g typescript
|
||||||
npm install -g ts-node
|
npm install -g ts-node
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -112,6 +112,7 @@ ynh_system_user_create $app
|
||||||
|
|
||||||
ynh_install_nodejs 11
|
ynh_install_nodejs 11
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
|
npm install -g typescript
|
||||||
npm install -g ts-node
|
npm install -g ts-node
|
||||||
|
|
||||||
### Verify the checksum of a file, stored by `ynh_store_file_checksum` in the install script.
|
### Verify the checksum of a file, stored by `ynh_store_file_checksum` in the install script.
|
||||||
|
|
Loading…
Reference in a new issue