Skip to content

Commit 5538999

Browse files
committed
docs(readme): install nightly npm version
1 parent ccb6724 commit 5538999

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed

scripts/README.md

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@
44

55
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).
66

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+
716
### Building Ionic Source
817

918
Run `gulp build` or `gulp watch` to watch for changes.
@@ -42,14 +51,6 @@ From your app directory:
4251

4352
To remove the linked version of `ionic-angular` do `npm rm ionic-angular`, and then reinstall using `npm install ionic-angular`.
4453

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-
5354

5455
### Running Snapshot
5556

@@ -84,6 +85,15 @@ To remove the linked version of `ionic-angular` do `npm rm ionic-angular`, and t
8485
6. Sit back and have a beer :beer: (or wine :wine_glass:)
8586

8687

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+
8797
### Releasing Component Demos
8898

8999
(Copied from [ionic-preview-app](https://github.com/driftyco/ionic-preview-app#updating-ionic-site), check there for updates)

0 commit comments

Comments
 (0)