This package downloads all the latest dcars.
Follow those steps for the first installation. If you already have npm, go to step 2. If you are already using the feed @eclypse2, go to step 5...
- Install
node
andnpm
. npm is installed by node.js. You can download node at Node.js website. - Add those lines in your own .npmrc (if the file does not exist, simply create the file).
- Windows:
C:\Users\username\.npmrc
- Mac OS/Linux:
~/.npmrc
- Windows:
@eclypse2:registry=https://ablcode.pkgs.visualstudio.com/_packaging/Eclypse2_dev/npm/registry/
@eclypse2:always-auth=true
- Install vsts-npm-auth:
npm install -g vsts-npm-auth
- Run
vsts-npm-auth -config .npmrc
- Install package globally:
- Using npm:
npm install -g @eclypse2/fetch-dcars
- Using yarn:
yarn global add @eclypse2/fetch-dcars
- Using npm:
- Run the command
fetch-dcars
Run fetch-dcars -h
for help.
To update the package, run:
- Using npm:
npm install -g @eclypse2/fetch-dcars
- Using yarn:
yarn global add @eclypse2/fetch-dcars
If you have an error indicating the package could not be found at step 5, check the authentication with the feed with those instructions.
- Run
yarn install
- Run
yarn fetch
to fetch latest dcars.
This package is automatically published with this release pipeline. Just make sure to increment the version correctly.