Material Components for the Web 15.0.x

Installation and configuration guide for NES for Material Components for the Web 15.0.x

Minimum Requirements

Please review our Minimum Requirements to ensure a smooth installation. Then follow 3 easy steps:

  1. Update your package.json
  2. Create or update your .npmrc file
  3. Install & Run!

Detailed Instructions

Substitute the Material Components for the Web dependencies in your package.json with the following

Include only the packages your project uses in dependencies. Keep all three entries in overrides so that transitive dependencies, such as the @material/shape and @material/ripple packages pulled in by @material/textfield, also resolve to NES.

package.json
{
  "dependencies": {
    "@material/shape": "npm:@neverendingsupport/material-shape@15.0.0-canary.bc9ae6c9c.0-material-components-web-15.0.1",
    "@material/textfield": "npm:@neverendingsupport/material-textfield@15.0.0-canary.bc9ae6c9c.0-material-components-web-15.0.1",
    "@material/ripple": "npm:@neverendingsupport/material-ripple@15.0.0-canary.bc9ae6c9c.0-material-components-web-15.0.1"
  },
  "overrides": {
    "@material/shape": { ".": "npm:@neverendingsupport/material-shape@15.0.0-canary.bc9ae6c9c.0-material-components-web-15.0.1" },
    "@material/textfield": { ".": "npm:@neverendingsupport/material-textfield@15.0.0-canary.bc9ae6c9c.0-material-components-web-15.0.1" },
    "@material/ripple": { ".": "npm:@neverendingsupport/material-ripple@15.0.0-canary.bc9ae6c9c.0-material-components-web-15.0.1" }
  }
}

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>

Install your dependencies

/bin/sh
npm install

And just like that, you can run your integration tests against NES for Material Components for the Web!

Additional Information

Direct Download URLs

The direct download URLs for NES for Material Components for the Web are:

PackageURL
@material/shape
15.0.0-canary.bc9ae6c9c.0-material-components-web-15.0.1
Download
@material/textfield
15.0.0-canary.bc9ae6c9c.0-material-components-web-15.0.1
Download
@material/ripple
15.0.0-canary.bc9ae6c9c.0-material-components-web-15.0.1
Download