chore(angluar/demo): use packaged @ionic/core (#13474)

This commit is contained in:
Ken Sodemann
2017-11-21 15:14:07 -06:00
committed by GitHub
parent cc10f1c592
commit 8e90104da2
4 changed files with 707 additions and 549 deletions

View File

@ -10,7 +10,7 @@
"assets": [
"assets",
"favicon.ico",
{ "glob": "**/*", "input": "../../../core/dist", "output": "./ionic/core" }
{ "glob": "**/*", "input": "../node_modules/@ionic/core/dist", "output": "./ionic/core" }
],
"index": "index.html",
"main": "main.ts",

View File

@ -4,7 +4,7 @@ The purpose of this application is to provide an Angular CLI application where I
## Getting started
**Note:** This application uses the locally built Ionic Core. It does not grab the latest uploaded version or anything. That allows the developer to use this application as they make changes in core. That also means that you **must** build core before building this application. So if you haven't done that yet, go do that first.
**Note:** This application now uses the last published `@ionic/core` package. To test against changes that you have made locally to core use `npm link` (see below).
To use _this_ application perform the following commands from this directory:
@ -21,3 +21,11 @@ This application installs the Angular CLI locally so you do not need to have it
- `npm run ng build -- --prod` - run a production build
- `npm run ng g component my-cool-thing`
## Testing Local Changes
In order to test local core changes, use `npm link` as such:
1. In `packages/core`, run `npm run build`
2. In `packages/core`, run `npm link`
3. In `packages/angular/demo`, run `npm link @ionic/core`

File diff suppressed because it is too large Load Diff

View File

@ -21,6 +21,7 @@
"@angular/platform-browser": "^5.0.0",
"@angular/platform-browser-dynamic": "^5.0.0",
"@angular/router": "^5.0.0",
"@ionic/core": "latest",
"core-js": "^2.4.1",
"rxjs": "^5.5.2",
"zone.js": "^0.8.14"