chore(build): create npm run build.link

This commit is contained in:
Adam Bradley
2018-03-04 06:10:15 -06:00
parent ebf40c9035
commit b4590f4849
3 changed files with 41 additions and 0 deletions

View File

@@ -1,3 +1,12 @@
# npm link local development
`npm link` doesn't work as expected due to the `devDependency` on `@angular/core`. This is the work around...
npm run build.link ../ionic-conference-app
When the command above is ran from the `packages/angular` directory, it will build `@ionic/angular` and copy the `dist` directory to the correct location of another local project. In the example above, the end result is that it copies the `dist` directory to `../ionic-conference-app/node_modules/@ionic/angular/dist`. The path given should be relative to the root of this mono repo.
# Deploy
1. `npm run prepare.deploy`