mirror of
https://github.com/YunoHost-Apps/distbin_ynh.git
synced 2024-09-03 18:26:10 +02:00
replace typescript by ts-node
This commit is contained in:
parent
90c4cf032d
commit
a33187d0bf
4 changed files with 4 additions and 4 deletions
|
@ -170,7 +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
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SYSTEMD
|
# SETUP SYSTEMD
|
||||||
|
|
|
@ -100,7 +100,7 @@ fi
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
npm uninstall -g typescript
|
npm uninstall -g ts-node
|
||||||
ynh_remove_nodejs
|
ynh_remove_nodejs
|
||||||
|
|
||||||
# Remove a cron file
|
# Remove a cron file
|
||||||
|
|
|
@ -93,7 +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
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RESTORE SYSTEMD
|
# RESTORE SYSTEMD
|
||||||
|
|
|
@ -112,7 +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
|
||||||
|
|
||||||
### 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.
|
||||||
### And create a backup of this file if the checksum is different. So the file will be backed up if the admin had modified it.
|
### And create a backup of this file if the checksum is different. So the file will be backed up if the admin had modified it.
|
||||||
|
|
Loading…
Reference in a new issue