André Cruz
4e39979852
Add constructor test for the package repository.
2013-07-13 23:28:02 +01:00
André Cruz
2e0353c725
Complete resolve cache tests.
2013-07-13 23:03:40 +01:00
André Cruz
908fa55674
Fix wrong test, add a few more.
2013-07-13 22:23:43 +01:00
André Cruz
4a26332133
Implemented a few more tests for the package repository.
2013-07-13 22:17:43 +01:00
André Cruz
59da873adf
Initial take on the package repository tests.
2013-07-13 21:42:38 +01:00
André Cruz
fb4b1827db
Minor tests tweak.
2013-07-13 21:42:24 +01:00
André Cruz
ac18199295
Add minor test in the resolver factory tests.
2013-07-13 21:41:44 +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
e232c42fc5
Rename Logger.js to logger.js
2013-07-12 16:29:08 +01:00
André Cruz
c7c043c898
Add initial resolve cache tests.
2013-07-12 16:23:26 +01:00
André Cruz
57b718ff32
CS.
2013-07-12 16:23:04 +01:00
André Cruz
f2775c18a1
Fix tests due tag change.
2013-07-12 16:22:53 +01:00
Sven Lito
440020726f
[tests] basic logger tests
2013-07-10 14:37:10 +01:00
Sven Lito
36ad643a5f
[tests] fix typo
2013-07-10 14:36:55 +01:00
André Cruz
a314d33dea
Improve resolver factory tests.
2013-07-10 07:41:01 +01:00
André Cruz
19cd6a1bdf
Only use GitHub resolver for public endpoints, fixes #603 .
2013-07-10 07:21:56 +01:00
André Cruz
bfe8323753
Add small note.
2013-07-07 11:33:43 +01:00
André Cruz
f2b86ad3ed
Add specialised GitHub resolver, closes #597 .
2013-07-07 10:22:58 +01:00
André Cruz
915c8d7afa
Detect old versions of git that do not support --b tag when cloning.
2013-07-06 11:59:00 +01:00
André Cruz
552fd52bd5
Fix parallel usage of .versions in the git resolver.
2013-07-03 14:31:15 +01:00
André Cruz
fe1a635c14
Switch to graceful-fs.
2013-07-01 20:31:28 +01:00
André Cruz
f9f8f7aebd
Implement link command.
...
Also:
- CS fixes
- Remove options argument from commands that do not have them
- Use console.trace instead of err.stack (more reliable)
2013-06-24 23:19:59 +01:00
André Cruz
17f793a4bb
Update semver to deal with pre-releases and builds.
2013-06-23 13:53:00 +01:00
André Cruz
2f16e17ed5
Use LRU cache for the git resolvers runtime cache.
2013-06-23 12:17:53 +01:00
André Cruz
db661f124f
Fix tests.
2013-06-23 01:20:47 +01:00
André Cruz
4c3802878a
Another huge commit.
...
- Add info command
- Fix list --paths
- Fix search with no name
- Fix conflict detection when uninstalling
- Mix tweaks and fixes
2013-06-23 01:14:08 +01:00
André Cruz
23e560b638
Forgot to update to canonical dir in some comments/docs.
2013-06-22 17:15:06 +01:00
André Cruz
83b6820458
Huge commit.
...
- Add search command
- Cache clean now clears the registry cache
- Fix error when accessing an unknown deep command in the cli
- Change from 'roaming' to 'path' in the config
- Change from 'canonicalPackage' to 'canonicalDir'
- Fix dev dependencies of nested packages being fetched
- Ignore invalid installed packages
- Various cache fixes and improvements
- Fix .bower.json being deleted if a package specified ignorables
- Use fstream instead of ncp to solve the EMFILE errors
2013-06-22 17:04:50 +01:00
André Cruz
6d3b3e6de2
Add cache clean and list commands.
...
This was an huge commit.
- Allow nested commands
- Switch resolve cache in memory object cache to LRU
- Store non-semver packages in the cache
- Tweak help messages
- Various fixes and tweaks
2013-06-11 00:39:18 +01:00
André Cruz
afd01cc40c
Change from promise progress events to hierarchical logger.
...
This is an huge commit, contains other small tweaks/fixes.
2013-06-03 16:31:19 +01:00
André Cruz
454436905c
Huge commit.
...
- Changed way renderers work
- Move worker to a separate module
- Improve loglevel
- Minor tweaks
- Fix tests
2013-05-27 22:59:13 +01:00
André Cruz
01d8d0dbec
Minor CS fixes.
2013-05-24 23:03:19 +01:00
André Cruz
27b39c29b8
Fix tests.
2013-05-23 20:02:18 +01:00
André Cruz
cfb3d14028
Initial take on the commands + renderers + cli.
2013-05-23 19:55:59 +01:00
André Cruz
b369fa2c7b
Add test for registry endpoints.
2013-05-17 13:12:46 +01:00
André Cruz
7c96eb0819
Small performance improvement by accepting an optional package meta to avoid re-reading it.
...
Fix tests if previous run left dummy directories.
2013-05-17 11:47:51 +01:00
André Cruz
19e3a2ecc4
Setup rudimentary CLI usage for the demo.
2013-05-13 15:09:16 +01:00
André Cruz
e09a3b8cbf
Huge commit, implement rough working version of the whole resolve process.
2013-05-13 11:09:04 +01:00