Commit Graph

240 Commits

Author SHA1 Message Date
Jonah Snider 328ee1ff83
Update references of pmm to Corepack (#59)
* docs: rename pmm -> Corepack

* build: use nodejs/corepack repo instead of arcanis/pmm

* refactor: rename TS source pmm -> Corepack

* docs: fix spelling error
2021-10-06 11:53:05 +02:00
Maël Nison 3b2961aaa8
Bump Yarn to 1.22.15 (#58)
* Update config.json

* Bumps to 1.22.15
2021-10-06 11:51:27 +02:00
Maël Nison 31dce75d0f
Makes the tests stable (#60)
* Makes the tests stable

* Removes debug
2021-10-06 11:21:40 +02:00
Tierney Cyren 00c2ab1e2c
docs: fix README to use the project's actual name (#56) 2021-09-15 09:27:49 +02:00
Maël Nison 1393e44f8d
Bumps version (#48) 2021-08-17 18:47:44 +02:00
Maël Nison d6e3e652ed
Makes it possible to call arbitrary package manager versions from the Corepack CLI (#47) 2021-08-15 20:05:04 +02:00
Kristoffer K 78d94eb297
fix: avoid using eval to get the corepack version (#45) 2021-08-08 19:58:28 +02:00
Maël Nison 8dad5afcb7
Removes vcc from the binaries (#43) 2021-08-08 19:13:18 +02:00
Maël Nison 75054fa74e
Fixes the displayed version number (#42) 2021-07-31 11:30:29 +02:00
Maël Nison 7a034df587
Fixes symlink creation when install path has symlinks (#41) 2021-07-27 13:55:30 +02:00
Maël Nison 545f90f2b9
Updates the checked-in known good versions (#40)
* Updates the checked-in known good versions

* Bumps version

* Bumps Yarn

* Updates the http recordings
2021-07-27 11:09:12 +02:00
Maël Nison a11e796f7f
Adds support for executing arbitrary versions of packages managers (#39) 2021-07-05 22:11:23 +02:00
Maël Nison b77ed59321
Set of tweaks (#38)
* Inlines tar rather than move it as a separate vendor

* Updates network queries
2021-07-05 12:05:32 +02:00
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
Kristoffer K 2a46b6d13a
fix: handle prereleases (#32) 2021-05-21 15:19:36 +02:00
Masashi Hirano 0c912534d5
docs: fix pmm -> corepack in Contributing (#34) 2021-05-21 15:17:22 +02:00
Chris Brody 6f98edd922
add license & GitHub info to package.json (#31) 2021-04-02 12:07:55 +02:00
Maël Nison 156b2a2ad5 Bumps version 2020-10-08 21:54:15 +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 b1b2982f03 Adds the license file to the pack 2020-10-07 18:37:43 +02:00
Maël Nison deb5765155 Bumps version 2020-10-07 17:58:43 +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 095e6176ea Adds node shims 2020-10-07 16:45:13 +02:00
Maël Nison 365d312e98
Adds the missing corepack shim (#22) 2020-10-07 13:37:29 +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
Maël Nison 25e91d8ad2
Adds documentation (#14)
* Adds documentation

* Apply suggestions from code review

Co-authored-by: James M Snell <jasnell@gmail.com>

Co-authored-by: James M Snell <jasnell@gmail.com>
2020-10-01 00:47:56 +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 909c2e7d92 Bumps version 2020-09-30 13:53:41 +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 de0bd5553f
Restricts to exact versions (#18) 2020-09-30 01:16:49 +02:00
Maël Nison 0dba796099
Upgrades Clipanion (#17) 2020-09-30 01:16:37 +02:00
Maël Nison 3c0af2b36b
Fixes the corepack binary (#16) 2020-09-30 01:07:37 +02:00
Maël Nison b592a8673d
Enables OSX tests (#15)
* Enables OSX tests

* Update ci.yml

* master -> main
2020-09-30 00:51:52 +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
Kristoffer K b56df30796
fix: avoid symlinks to work on Windows (#13) 2020-09-30 00:02:59 +02:00
Maël Nison fca4fe0a50
Merge pull request #9 from merceyz/merceyz/build
build: don't try to use yarn before building it
2020-09-29 17:44:38 +02:00
merceyz 08b411b62e ci: validate lockfile 2020-09-29 14:00:28 +02:00
merceyz b75683a27e build: don't try to use yarn before building it 2020-09-29 14:00:07 +02:00
Maël Nison 9e677ee4f3
Merge pull request #8 from merceyz/merceyz/windows-cmd
fix: generate cmd shims
2020-09-28 20:06:59 +02:00
Maël Nison 71b7526b81
Merge pull request #7 from merceyz/merceyz/sdk
chore: add pnpify sdk
2020-09-28 20:06:14 +02:00
merceyz de08c69203 chore: gitignore shims 2020-09-28 18:21:28 +02:00
merceyz a900b4db12 fix: generate cmd shim files 2020-09-28 18:20:03 +02:00
merceyz 4982568bac chore: add pnpify sdk 2020-09-28 18:16:54 +02:00
Maël Nison 9e5e65be0f
Update README.md 2020-09-28 15:55:20 +02:00
Maël Nison 4faf79546c
Update README.md 2020-09-28 15:44:58 +02:00
Maël Nison 8229cb7340 Dont crash on clean checkouts 2020-09-28 12:32:03 +02:00
Maël Nison 6e4584d6e2 Adds debug when building the Node image 2020-09-27 10:42:27 +02:00
Maël Nison b70e7b2616 Updates the workflow 2020-09-27 01:26:28 +02:00