Commit Graph

28 Commits

Author SHA1 Message Date
Adam Stankiewicz
bcb1911268 Test subpackages, all node versions, and all platforms (#2554) 2020-04-25 02:14:49 +02:00
Adam Stankiewicz
6bc778df32 Format with prettier (#2510) 2018-03-28 19:28:43 +02:00
Adam Stankiewicz
df8e5a16be Fix readdir call on Windows
Sometimes it return ENOENT instead of ENODIR for normal files.

This broke code paths in few places. Also, see:
https://github.com/isaacs/chmodr/pull/8
2015-10-14 16:09:38 +02:00
Adam Stankiewicz
99105fbb57 Try chmod 777 + rimraf as fallback on rimraf in all places 2015-10-14 12:50:41 +02:00
Sindre Sorhus
490f63a838 modularize the MD5 util function 2015-09-03 11:00:38 +07:00
Adam Stankiewicz
fe9a1bb5fc Revert "upgrade to newer semver, fixes #1817,#1845,#1851"
This reverts commit 8744449016.
2015-08-25 17:12:51 +02:00
Peter Chanthamynavong
8744449016 upgrade to newer semver, fixes #1817,#1845,#1851
Upgrading to latest version of semver to fix (#1817, #1845, #1851).

Possible breaking changes in regards to the way semvers handles pre-releases.

If a version has a prerelease tags (for example, 1.2.3-alpha.3) then it will only be allowed to satisfy comparator sets if at least one comparator with the same [major, minor, patch] tuple also has a prerelease tag.

For example, the range >1.2.3-alpha.0 would be allowed to match the version 1.2.3-alpha.7, but it would not be satisfied by * or 1.2.3. See [semvers](https://github.com/npm/node-semver#prerelease-tags) additional details.
2015-07-23 07:52:14 -05:00
Adam Stankiewicz
c7df6f50ca Add AppVeyor config for Windows CI 2015-01-11 03:08:43 +01:00
Adam Stankiewicz
06a8f2afab Read .bowerrc from specified cwd, fixes #1301 2014-09-06 02:38:40 +02:00
Tim Monks
192e5af797 Add integration tests for bower commands 2014-07-02 11:16:12 +01:00
Adam Stankiewicz
5a5cf31aba Make bower concurrent friendly, fixes #933 2014-04-04 19:09:18 +02:00
Greg Bergé
3dbddfba41 Fix reading versions from cache directory.
When we write into directory we use encodeURIComponent, but when we read, we did nothing. Now we use decodeURIComponent to read the correct version and match the correct cache directory.
2014-01-27 22:55:07 +01:00
André Cruz
7c2384cb94 Improve last commit. 2013-09-28 01:51:22 +01:00
André Cruz
5b1dd15749 Replace dir separators with dashes before storing into the resolve cache. 2013-09-28 01:34:49 +01:00
Andre Cruz
1ee8abf098 Fix tests in windows. 2013-08-17 13:49:04 +01:00
Trask Stalnaker
518f3d2a8f Close GH-773: Order tags by semver build metadata. Fixes #0, Fixes #0, Fixes #0, Fixes #0, Fixes #0, Fixes #0, Fixes #0, Fixes #0 2013-08-17 11:39:51 +01:00
André Cruz
15957bc9ac Close GH-716: Add initial packages script that allows creating of packages usable for tests. 2013-08-04 20:41:42 +01:00
André Cruz
4a954853f2 Fix minor order issue in resolve cache list. 2013-07-13 14:06:32 +01:00
André Cruz
d36a448aff Test constructor and improve test coverage. 2013-07-13 12:54:30 +01:00
André Cruz
29aa481d2d Implement list tests for the resolve cache.
Tweak existent tests.
2013-07-13 12:10:35 +01:00
André Cruz
bdfb0bb14f Add reset tests for the resolve cache. 2013-07-13 10:12:37 +01:00
André Cruz
6eeb03f159 Fix node 0.8 failure. 2013-07-13 10:05:22 +01:00
André Cruz
f806416b84 Add clear tests to the resolve cache.
Improved existent tests.
2013-07-13 10:00:24 +01:00
André Cruz
7e64e60625 Add eliminate tests to the resolve cache. 2013-07-13 09:40:42 +01:00
André Cruz
b8c3e95068 Add retrieve tests for the resolve cache. 2013-07-12 18:27:42 +01:00
André Cruz
85e55f3be2 Add versions tests for the resolver cache. 2013-07-12 17:39:24 +01:00
André Cruz
eaee9e0e49 Implemented missing test. 2013-07-12 16:45:15 +01:00
André Cruz
c7c043c898 Add initial resolve cache tests. 2013-07-12 16:23:26 +01:00