Commit Graph

67 Commits

Author SHA1 Message Date
Masashi Hirano 8ff2499e83
fix: bin file name for pnpm >=6.0 (#35)
* fix: bin file name for pnpm >=6.0

* Adds test

* Adds nock entry

Co-authored-by: Maël Nison <nison.mael@gmail.com>
2021-05-31 17:03:20 +02:00
Maël Nison ee2d45de0d
Modernize the dependencies (#36)
* Upgrade dependencies

* Uses a more recent Yarn version as jumper

* Linting

* Fixes Nock recordings

* Replaces git tags by urls

* Updates nock records
2021-05-31 14:35:56 +02:00
Maël Nison 4714eeb7ff
Prevents npm from being accidentally set (#24)
* Prevents npm from being accidentally set

* Updates a test
2020-10-08 21:53:53 +02:00
Maël Nison fa627ba513
Turns `--cache-only` into `--output` (#23)
* Inverses the workflow

* Adds support for multiple package managers per archive

* Updates the readme

* Fixes --all check
2020-10-08 20:23:12 +02:00
Maël Nison 0d6262057c Makes the enable shims point to the dist entries, not the shims 2020-10-07 17:46:17 +02:00
Maël Nison 6f8c086b99
Windows CI (#21)
* Update ci.yml

* Implements ls-remote without spawning the git binary

* Implements enable/disable for Windows

* Triggers CI

* Mocks HTTP calls

* Fixes the shell on Windows

* Increases the timeout, thanks Windows
2020-10-03 21:18:23 +02:00
Kristoffer K 1836d17b4f
fix: handle package managers with a bin array correctly (#20)
* test: fix tests on older versions of node

* test: fix tests on Windows

* fix: handle package managers with a bin array correctly
2020-10-01 00:47:31 +02:00
Maël Nison b8c9ec0f1f
Implements transparent commands (#19)
* Implements transparent commands

* Adds a test

* Removes enquirer
2020-09-30 12:22:38 +02:00
Maël Nison 1a3db689dc
Implements enable / disable (#11)
* Implements enable / disable

* Adds tests

* Debugs GH-only crash

* Fixes CI by running the build beforehand

* Fixes build
2020-09-30 00:23:24 +02:00
Maël Nison 9809b8f856 Refactors pmm -> corepack 2020-09-27 00:51:52 +02:00
Maël Nison 8c494c6cae Adds tests 2020-09-08 14:26:09 +02:00
Maël Nison 0985889458 Renames engines.pm into packageManager 2020-09-08 12:45:32 +02:00
Maël Nison 8c29576ca8 Refactors the code 2020-08-03 18:54:16 +02:00
Maël Nison c754806d54 Fixes return value 2020-05-08 01:46:52 +02:00
Maël Nison d774ef2400 Increases the timeout 2020-05-08 00:31:10 +02:00
Maël Nison b7e22df79b Improves tests 2020-05-08 00:24:36 +02:00
Maël Nison c99569c283 Improvements 2020-03-19 00:19:52 +01:00