coolaj86 / node-pakman Goto Github PK
View Code? Open in Web Editor NEWAn API for building higher-level node package managers (such as Ender)
License: MIT License
An API for building higher-level node package managers (such as Ender)
License: MIT License
A new test case, garply
, has been added
./lib/four
./lib/four/index.js
./lib/one.js
./lib/two
./lib/two/three.js
./lib/two.js
./main.js
./package.json
main.js:
require('./lib/one');
require('./lib/four');
require('./lib/two/three');
require('garply/two');
All of the provide
s are correct, but only one of the ./lib/xyz
-style require
s is renamed correctly.
This shows a warning, as expected:
require('../../../../../../tmp/foo')
This does not:
require('/tmp/foo')
Really, requiring anything outside of package.json.lib
should warn.
Problem:
[WARN] The following packages are listed in package.json, but never `require`d:
events.node
Solution:
If the package.json lists an alias, then use the alias for checking instead
When package.json.dependencies
is an array rather than an object, it isn't handled properly.
Test case: build with underscore
Problem:
[WARN] The following packages are listed in package.json, but never `require`d:
qwery
bean
bonzo
domready
Possible Solution:
All dependencies which have an ender.js bridge file should be considered as used, even when not required.
issue #1 needs test case
Currently no version numbers are respected.
Obviously we can't address version hell the same way in the browser as on a file system (having 100 copies of the same module all over the place), but we can use the same workaround (just install the working version in the root package).
There should be a way to pass in which key should be treated as main
as well as which key should be treated as dependencies
.
I was trying to get node-coordinator to work with pakmanager, and it seems that pakmanager gets confused. Here's the directory structure
Both helpers.js get converted to 'examples/.lib/utm/helpers'. While my directory structure is a little unusual, I can see other repos having files with the same name on the same level. When I renamed one, it worked.
I'll see if I can pare this down a little.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.