Commit Graph

50 Commits

Author SHA1 Message Date
Dan Sully
224bb96a98 chore: update toolchain to 1.84.1. apply clippy fixes & rustfmt (#1026)
* chore: update to stable toolchain. apply clippy fixes & rustfmt

* Bump MSRV

* Try MSRV without the patch version

* fix: pin toolchain to MSRV

* trying again

* fix dead code warning

---------

Co-authored-by: Dan Sully <dsully@users.noreply.github.com>
2025-02-03 11:24:57 +08:00
Youn Mélois
444689c899 feat: allow version specification for deno (#970)
* feat: allow version specification for deno

* fix: missing quotes for string in toml file

Co-authored-by: SteveLauC <stevelauc@outlook.com>

* fix: deno upgrade for different executable versions

* fix: tell apart the two cases for v1.x in SkipStep reason

* docs: add comments and documentation on version method for deno

* chore: add explanatory comment on stable channel that does nothing

Co-authored-by: SteveLauC <stevelauc@outlook.com>

---------

Co-authored-by: SteveLauC <stevelauc@outlook.com>
2024-10-29 18:09:47 +08:00
Florian Nagel
29c555c394 Add i18n by using rust i18n (#807)
* feat: initial i18n setup

* style: fmt

* feat: i18n support for new steps

* fix: build on Linux

* fix: build on Linux

* refactor: rm unused translation keys

---------

Co-authored-by: Steve Lau <stevelauc@outlook.com>
2024-10-03 18:47:35 +08:00
Diogo Ribeiro
a1f3c86a39 feat: add volta packages (#883)
add print_info when no packages found

apply review feedback
2024-08-01 18:26:22 +08:00
SteveLauC
30858780cf refactor: unify the behavior of the steps that require sudo (#467) 2023-06-13 14:15:57 +00:00
Cat Core
f06b7c0807 Differentiate NPM and PNPM steps in name (#431) 2023-05-20 11:33:41 +02:00
Utkarsh Gupta
327ed837c2 Replace directories with home & etcetera (#407)
* Use global lazy HOME_DIR

* Remove unused base_dirs

* Use `etcetera` instead of `directories`

---------

Co-authored-by: Thomas Schönauer <37108907+DottoDev@users.noreply.github.com>
2023-04-30 18:32:13 +00:00
Rebecca Turner
b31778bdd8 Add Sudo type (#221)
* Create `Sudo` type and `SudoKind` enum

* Fix build

* reformat

* Fix choco on windows

* Fix linux

* Fix linux more

* more fix stuff hehe hoho hahaha

* more fix stuff hehe hoho hahaha

Co-authored-by: Thomas Schönauer <37108907+DottoDev@users.noreply.github.com>
2022-11-25 22:19:32 +00:00
Ruben Molina
25c5057171 Add support for juliaup (#208)
* Add support for juliaup

* Update config.rs

* Change the position for Juliaup Step.

* Update generic.rs
2022-11-24 19:17:58 +00:00
Rebecca Turner
e456155562 Add pre_sudo option (#219)
* Add `pre_sudo` option
2022-11-24 19:15:43 +00:00
Thomas Schönauer
aedb25cde6 Npm rework (#199) 2022-11-23 15:24:58 +00:00
Thomas Schönauer
c4091584c3 Fixes NPM failure under sudo (#197)
Fixes npm under sudo
2022-11-23 15:24:58 +00:00
Rebecca Turner
41e2321b93 Use tracing (#174) 2022-11-23 15:24:58 +00:00
Rebecca Turner
a18c6e815c Fix lack of separators for pnpm/npm/yarn (#170) 2022-11-23 15:24:58 +00:00
Rebecca Turner
2cbb7db66d Use color_eyre (#173) 2022-11-23 15:24:58 +00:00
Rebecca Turner
e84173be8f Add CommandExt trait (#146)
* Color CI output

* Improve `CommandExt`

* Add comments explaining `#[allow]`s

* Remove useless `dead_code` annotation

* Improve error messages

* Print errors when running a shell errors

* fixup! Remove useless `dead_code` annotation
2022-11-23 15:24:58 +00:00
Thomas Schönauer
bd34a3bcd4 Revert "10.2.0 release " (#215)
Revert "10.2.0 release  (#213)"

This reverts commit 13076fcef6.
2022-11-23 16:23:00 +01:00
Thomas Schönauer
13076fcef6 10.2.0 release (#213) 2022-11-23 15:18:09 +00:00
pan93412
623a11cf21 refactor!(steps/node): make PNPM a separated step (#114) 2022-11-03 15:57:16 +01:00
pan93412
7a83f38ca8 fix(steps/node): Only run global upgrade on Yarn 1.x (#112) 2022-11-03 15:57:16 +01:00
Thomas Schönauer
347372ca71 Resolves clippy errors, please review!!! (#60) 2022-10-23 11:34:30 +00:00
Thomas Schönauer
77db29f299 Cleanup 2022-10-10 22:41:39 +02:00
DottoDev
27349b1571 fix-pnpm (#3)
Authored-by: Ved Kothavade <ved.Kothavade@lucera.com>
Approved-by: Thomas Schönauer <t.schoenauer@hgs-wt.at>
2022-10-10 20:23:51 +00:00
DottoDev
6bfdc4974b Add yarn support. Fix #958 (#15)
Authored-by: 0xMRTT <0xMRTT@tuta.io>
Approved-by: Thomas Schönauer <t.schoenauer@hgs-wt.at>
2022-10-10 20:08:11 +00:00
Mark Nefedov
4a7de60e59 npm/cli 8.11.0 deprecated -g flags (#949) 2022-06-02 08:28:20 +00:00
Roey Darwish Dror
85f96647a4 Don't make pnpm a seperate step (#944)
Fixes #938
2022-05-26 17:32:26 +00:00
Roey Darwish Dror
f21ba9d495 Don't print the NPM separator if the step is skipped (fix #831) 2022-01-14 22:46:10 +02:00
Roey Darwish Dror
539b267eef Support rust 1.51.0 (#789) 2021-10-28 22:05:35 +03:00
Roey Darwish Dror
58491c4f8a Support sudo with pnpm (fix #759) (#772)
* Support sudo with pnpm

* Clippy

* format

* Clippy

* Clippy
2021-10-25 22:27:35 +03:00
Marcin Puc
1478d079ca Add minor refactorings (#754) 2021-09-04 21:01:19 +03:00
Marcin Puc
ad4648655f Skip deno upgrade unless installed under .deno (#750)
* Skip deno upgrade unless installed under .deno

* Use base_dirs from execution context
2021-09-02 19:53:48 +03:00
Roey Darwish Dror
38ca03cc38 Remove yarn (fix #727) 2021-07-06 09:36:50 +03:00
SilentVoid13
5ec1f4d2d6 Adding pnpm support (#734) 2021-06-27 15:48:46 +03:00
Roey Darwish Dror
f39899c3ff Allow running NPM as sudo (fix #690) (#723)
* Allow running NPM as sudo (fix #690)

* asd

* fix
2021-06-09 10:52:48 +03:00
Roey Darwish Dror
8d55076cd3 Make clippy happy 2021-04-06 09:52:34 +03:00
Roey Darwish Dror
c7a44cccc2 Fix NPM in Linux (fix #604) 2021-01-15 06:59:13 +02:00
Roey Darwish Dror
4fdafa0ba1 Missing cfg (#600)
* Check whether NPM root is owned by the current user (fix #599)

* Missing cfg

* Another missing config
2021-01-14 09:49:18 +02:00
Terkwood
ee20a755d8 Add deno upgrade (#531)
* Add Deno support (fix #526)

* Change deno update to deno upgrade

Co-authored-by: Roey Darwish Dror <roey.ghost@gmail.com>
2020-10-01 22:59:06 +03:00
Roey Darwish Dror
417ca1257a Add --show-skipped (fix #501) (#502) 2020-08-21 23:04:36 +03:00
Roey Darwish Dror
89578a7fd9 Bump deps (#414) 2020-05-23 15:58:41 +03:00
Roey Darwish Dror
9f8fbf6d65 Fix yarn (fix #403) 2020-05-10 06:45:39 +03:00
Roey Darwish Dror
f103f595fd Do not run Hadoop yarn (fix #378) (#388) 2020-04-03 11:47:51 +03:00
Roey Darwish Dror
944011793f Skip the NPM root check in macOS (fix #303)
macOS users install NPM using brew to /usr/local. This directory is
writable by the user
2020-01-28 16:27:43 +02:00
Roey Darwish Dror
ba516aa1dd Migrate from failure to anyhow/thiserror (#273) 2019-12-11 23:05:38 +02:00
Roey Darwish Dror
e548cb4059 Make clippy happy 2019-09-28 15:13:01 +03:00
Roey Darwish Dror
1095f46a8a Remove execute legacy 2019-03-10 21:48:49 +02:00
Roey Darwish Dror
1b2308aaef Add check_output 2019-01-01 22:22:07 +02:00
Roey Darwish Dror
f3f8f322d8 Add check_run() 2018-12-31 22:00:34 +02:00
Roey Darwish Dror
957d73c634 Don't pass dry_run as a boolean to functions 2018-12-31 13:26:17 +02:00
Roey Darwish Dror
47a271af47 Modules refactor 2018-12-17 09:40:38 +02:00