@@ -20,14 +20,14 @@ Run `gulp build` or `gulp watch` to watch for changes.
20
20
21
21
### Building & Running e2e Tests
22
22
23
- 1 . Run ` gulp e2e ` or ` gulp watch. e2e ` to watch for changes.
24
- 2 . Navigate to ` http://localhost:8000 /dist/e2e `
23
+ 1 . Run ` gulp e2e ` or ` gulp e2e.watch ` with a folder passed to watch for changes.
24
+ 2 . Navigate to ` http://localhost:8080 /dist/e2e `
25
25
26
26
27
27
### Building & Running API Demos
28
28
29
- 1 . Run ` gulp demos ` or ` gulp watch. demos ` to watch for changes.
30
- 2 . Navigate to ` http://localhost:8000 /dist/demos `
29
+ 1 . Run ` gulp demos ` or ` gulp demos.watch ` with a folder passed to watch for changes.
30
+ 2 . Navigate to ` http://localhost:80808080 /dist/demos `
31
31
32
32
33
33
### Building API Docs
@@ -62,39 +62,50 @@ To remove the linked version of `ionic-angular` do `npm rm ionic-angular`, and t
62
62
63
63
### Running Tests
64
64
65
- 1 . ` gulp karma `
65
+ 1 . ` gulp validate `
66
+
66
67
67
68
### Running Sass Linter
68
69
69
- 1 . See the [ Sass Guidelines ] ( https://github.com/driftyco/ionic/blob/master/CONTRIBUTING.md#sass-guidelines ) for editing Sass and running the linter.
70
+ ** Requires Ruby. Skip this step entirely if you are unable to install Ruby. **
70
71
71
- # Releasing
72
+ 1 . See the [ Sass Guidelines] ( https://github.com/driftyco/ionic/blob/master/.github/CONTRIBUTING.md#sass-changes ) for editing the Sass.
73
+ 2 . Install the linter: ` gem install scss_lint `
74
+ 3 . Run ` gulp lint.sass ` and fix any linter errors.
72
75
73
- ### Releasing Ionic Source
74
76
75
- 1 . Run ` gulp prerelease `
76
- - Pulls latest
77
- - updates package.json minor version
78
- - updates changelog
79
- - builds npm package files into dist
77
+ ### Running TypeScript Linter
80
78
81
- 2 . Verify that changelog changes and package.json update are correct (` git status ` && ` git diff ` )
82
- 3 . Run [ snapshot] ( #running-snapshot ) & update if necessary
83
- 4 . Commit and push
84
- 5 . Run ` gulp release `
85
- - publishes to npm
86
- - Creates a new tag and release on Github
79
+ 1 . Run ` gulp lint.ts ` and fix any errors.
87
80
88
- 6 . Sit back and have a beer :beer : (or wine :wine_glass : )
89
81
82
+ # Releasing
83
+
84
+ ### Releasing Ionic Source
85
+
86
+ 1 . Run [ snapshot] ( #running-snapshot ) & verify all changes are intentional, update master snapshot if so
87
+ 2 . Run ` gulp release `
88
+ - Pulls latest from GitHub
89
+ - Runs ` gulp validate `
90
+ - Builds npm package files into dist
91
+ - Updates package.json version
92
+ - Removes debug statements
93
+ - Updates changelog
94
+ - Publishes to npm
95
+ - Creates a new tag and release on Github
96
+ 3 . Verify that the ` changelog ` changes are accurate and the ` package.json ` version is correct (` git status ` && ` git diff ` )
97
+ 4 . Commit and push
98
+ 5 . Sit back and have a beer :beer : (or wine :wine_glass : )
90
99
91
100
### Publish a nightly release
92
- 1 . Run ` gulp publish.nightly `
93
- - Pulls latest
94
- - builds npm package files into dist
95
- - updates package.json to a nightly version for publish: 0.1.0-beta.0 results in 0.1.0-beta.0-r8e7684t
96
- - publishes to NPM using the nightly tag
101
+ 1 . Run ` gulp nightly `
102
+ - Pulls latest from GitHub
103
+ - Runs ` gulp validate `
104
+ - Builds npm package files into dist
105
+ - Removes debug statements
106
+ - Publishes to npm using the ` nightly ` tag with the date/time of publish added to the version: ` 2.0.0-rc.0 ` results in ` 2.0.0-rc.0-201610131811 `
97
107
2 . ` npm install ionic-angular@nightly ` will now install the latest nightly release
108
+ 3 . Run ` npm view ionic-angular ` to see the latest nightly release
98
109
99
110
100
111
### Releasing Component Demos
0 commit comments