|
4 | 4 |
|
5 | 5 | All of these commands require you to run `npm install` first. Add the `--typecheck` flag to generate type definitions (`.d.ts`) and do type checking, but keep in mind builds and rebuilds when watching will be significantly slower (~1min and ~1s respectively, vs ~20s and ~200ms without typechecking).
|
6 | 6 |
|
| 7 | +### Installing Nightly Version |
| 8 | + |
| 9 | +The latest nightly version can be installed via npm. |
| 10 | + |
| 11 | +1. Run `npm install --save ionic-angular@nightly` |
| 12 | +2. Your `package.json` file's `dependencies` will be updated with the nightly version. |
| 13 | +3. Restart any `watch` or `serve` commands that may be already running. |
| 14 | + |
| 15 | + |
7 | 16 | ### Building Ionic Source
|
8 | 17 |
|
9 | 18 | Run `gulp build` or `gulp watch` to watch for changes.
|
@@ -42,14 +51,6 @@ From your app directory:
|
42 | 51 |
|
43 | 52 | To remove the linked version of `ionic-angular` do `npm rm ionic-angular`, and then reinstall using `npm install ionic-angular`.
|
44 | 53 |
|
45 |
| -### Publish a nightly release |
46 |
| -1. Run `gulp publish.nightly` |
47 |
| - - Pulls latest |
48 |
| - - builds npm package files into dist |
49 |
| - - updates package.json to a nightly version for publish: 0.1.0-beta.0 results in 0.1.0-beta.0-r8e7684t |
50 |
| - - publishes to NPM using the nightly tag |
51 |
| -2. `npm install ionic-angular@nightly` will now install the latest nightly release |
52 |
| - |
53 | 54 |
|
54 | 55 | ### Running Snapshot
|
55 | 56 |
|
@@ -84,6 +85,15 @@ To remove the linked version of `ionic-angular` do `npm rm ionic-angular`, and t
|
84 | 85 | 6. Sit back and have a beer :beer: (or wine :wine_glass:)
|
85 | 86 |
|
86 | 87 |
|
| 88 | +### Publish a nightly release |
| 89 | +1. Run `gulp publish.nightly` |
| 90 | + - Pulls latest |
| 91 | + - builds npm package files into dist |
| 92 | + - updates package.json to a nightly version for publish: 0.1.0-beta.0 results in 0.1.0-beta.0-r8e7684t |
| 93 | + - publishes to NPM using the nightly tag |
| 94 | +2. `npm install ionic-angular@nightly` will now install the latest nightly release |
| 95 | + |
| 96 | + |
87 | 97 | ### Releasing Component Demos
|
88 | 98 |
|
89 | 99 | (Copied from [ionic-preview-app](https://github.com/driftyco/ionic-preview-app#updating-ionic-site), check there for updates)
|
|
0 commit comments