Closed lbod closed 11 years ago
I'm using https://github.com/wkeese/dojo/tree/nodep (note that it's a different branch, not the master branch).
It would be good to update package.json to list that but I'm not sure how. Package.json should also point to dcl version 1.1.
Another possible fix is to put requirejs at the top level, as a sibling of dojo and dui, and update tests/boilerplate.js to point to that. Probably the loader shouldn't be part of dojo/.
I think indeed it would be better to have requirejs as a sibling just for the other dependencies, there is no reason to treat it differently (except of course if Dojo 2.0 adopts requireJS in its core in 2.0 but that does not seem to be the current direction).
I have updated package.json & added a bower.json in 8d6f80f1adcd19c77ffbecf5fc5bf3310672c1a8 . Note that more dependencies might be added over time or versions we depend on change. Bill is using his branch for dojo but I'm using regular dojo repo without issues so I think you can keep that as well.
Much appreciated, thank you
OK, I'll update boilerplate.js to expect requirejs as a sibling (rather than a child) of dojo.
I see 1.9.0dev in the package but suspect that's old docs? It doesn't seem to be https://github.com/csnover/dojo2-core.git as some tests are using _base Almost got it working but require.js is in one of the tests so had to pull it manually.
Is it worth updating package.json with the correct deps?