NES for Dojo 1.7.x
How to configure NES for Dojo
Installation
Review the Minimum Requirements before starting for a seamless installation.
Follow these steps:
- Update your
package.json. - Create or update your
.npmrcfile. - Install and run.
Dojo version 1.7.2 was not originally distributed via npm. The NES for Dojo packages of dojo, dijit and dojox are availabe for installation via npm and also direct download.
These NES packages are compatible with an existing Dojo util version 1.7.2 package. If the Dojo util package is needed, it can be downloaed and extracted from the original Dojo 1.7.2 release archive.
Detailed Instructions
Substitute the Dojo dependencies in your package.json with the following
Remove any packages you are not using (e.g.,
dijitordojox).
{
"dependencies": {
"dojo": "npm:@neverendingsupport/dojo@1.7.2-dojo-1.7.3",
"dijit": "npm:@neverendingsupport/dijit@1.7.2-dijit-1.7.3",
"dojox": "npm:@neverendingsupport/dojox@1.7.2-dojox-1.7.3"
},
"overrides": {
"dojo": { ".": "npm:@neverendingsupport/dojo@1.7.2-dojo-1.7.3" },
"dijit": { ".": "npm:@neverendingsupport/dijit@1.7.2-dijit-1.7.3" },
"dojox": { ".": "npm:@neverendingsupport/dojox@1.7.2-dojox-1.7.3" }
}
}
Create an .npmrc file with the following
@neverendingsupport:registry=https://registry.nes.herodevs.com/npm/pkg/
//registry.nes.herodevs.com/npm/pkg/:_authToken=<nes-access-token>
Replace <nes-access-token> with your access token.
Install your dependencies
npm install
Now you can run your Dojo application.
Additional Information
Direct Download URLs
Direct download URLs for Dojo are available below: