This repo contains several packages to demonstrate apmjs usage.
This repo contains 3 different packages: demo-hello, demo-world, and demo-workspace:
.
├── README.md
├── demo-hello
│ ├── index.js
│ └── package.json
├── demo-workspace
│ └── package.json
└── demo-world
├── index.js
└── package.json
The dependency tree is as follows:
demo-workspace
├── foo
└── @jetwg/demo-world
└── @jetwg/demo-hello
Install apm first:
npm install -g apmjsInstall dependencies for demo-workspace:
cd demo-workspace
apm installAll dependencies will be installed in amd_modules, and amd_modules/index.json contains a mapping for all modules.