NES for Dojo 1.7.x

How to configure NES for Dojo

Installation

Follow these steps:

  1. Update your package.json.
  2. Create or update your .npmrc file.
  3. Install and run.

Detailed Instructions

Substitute the Dojo dependencies in your package.json with the following

Remove any packages you are not using (e.g., dijit or dojox).

package.json
{
  "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

.npmrc
@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:

PackageURL
dojo
1.7.2-dojo-1.7.3
Download
dijit
1.7.2-dijit-1.7.3
Download
dojox
1.7.2-dojox-1.7.3
Download