|
4 | 4 | Page](https://ionicframework.com/support) for general support questions. The |
5 | 5 | issues on GitHub should be reserved for bug reports and feature requests. |
6 | 6 |
|
| 7 | +### Branches |
| 8 | + |
| 9 | +* [`develop`](https://github.com/ionic-team/ionic-cli/tree/develop): **development** branch |
| 10 | +* [`master`](https://github.com/ionic-team/ionic-cli/tree/master): **stable** version (`npm install -g ionic`) |
| 11 | +* [`3.x`](https://github.com/ionic-team/ionic-cli/tree/3.x): **previous** version (`npm install -g ionic@3`) |
| 12 | +* [`2.x`](https://github.com/ionic-team/ionic-cli/tree/2.x): **legacy** version (`npm install -g ionic@legacy`) |
| 13 | + |
7 | 14 | ### Bug Reports |
8 | 15 |
|
9 | 16 | Run the command(s) with `--verbose` to produce debugging output. We may ask for |
@@ -39,29 +46,20 @@ The Ionic CLI is organized into a monorepo. Here are the packages: |
39 | 46 |
|
40 | 47 | ##### General Purpose |
41 | 48 |
|
42 | | -* [`packages/ionic`](https://github.com/ionic-team/ionic-cli/tree/master/packages/ionic): |
43 | | - Ionic CLI executable. |
44 | | -* [`packages/@ionic/cli-utils`](https://github.com/ionic-team/ionic-cli/tree/master/packages/%40ionic/cli-utils): |
45 | | - Ionic CLI library and utilities. |
46 | | -* [`packages/@ionic/cli-framework`](https://github.com/ionic-team/ionic-cli/tree/master/packages/%40ionic/cli-framework): |
47 | | - Framework for command-line programs. |
48 | | -* [`packages/@ionic/discover`](https://github.com/ionic-team/ionic-cli/tree/master/packages/%40ionic/discover): |
49 | | - Service discovery library used for `ionic serve` with the [Ionic |
50 | | - DevApp](https://ionicframework.com/docs/pro/devapp/). |
51 | | -* [`packages/@ionic/lab`](https://github.com/ionic-team/ionic-cli/tree/master/packages/%40ionic/lab): |
52 | | - Utility CLI for Ionic Lab, used by `ionic serve`. |
| 49 | +* [`packages/ionic`](https://github.com/ionic-team/ionic-cli/tree/develop/packages/ionic): Ionic CLI executable. |
| 50 | +* [`packages/@ionic/cli-utils`](https://github.com/ionic-team/ionic-cli/tree/develop/packages/%40ionic/cli-utils): Ionic CLI library and utilities. |
| 51 | +* [`packages/@ionic/cli-framework`](https://github.com/ionic-team/ionic-cli/tree/develop/packages/%40ionic/cli-framework): Framework for command-line programs. |
| 52 | +* [`packages/@ionic/discover`](https://github.com/ionic-team/ionic-cli/tree/develop/packages/%40ionic/discover): Service discovery library used for `ionic serve` with the [Ionic DevApp](https://ionicframework.com/docs/pro/devapp/). |
| 53 | +* [`packages/@ionic/lab`](https://github.com/ionic-team/ionic-cli/tree/develop/packages/%40ionic/lab): Utility CLI for Ionic Lab, used by `ionic serve`. |
53 | 54 |
|
54 | 55 | ##### Ionic/Angular 4+ |
55 | 56 |
|
56 | | -* [`packages/@ionic/ng-toolkit`](https://github.com/ionic-team/ionic-cli/tree/master/packages/%40ionic/ng-toolkit): |
57 | | - Builders for Ionic/Angular 4+. |
58 | | -* [`packages/@ionic/schematics-angular`](https://github.com/ionic-team/ionic-cli/tree/master/packages/%40ionic/schematics-angular): |
59 | | - Schematics for `ng generate`. |
| 57 | +* [`packages/@ionic/ng-toolkit`](https://github.com/ionic-team/ionic-cli/tree/develop/packages/%40ionic/ng-toolkit): Builders for Ionic/Angular 4+. |
| 58 | +* [`packages/@ionic/schematics-angular`](https://github.com/ionic-team/ionic-cli/tree/develop/packages/%40ionic/schematics-angular): Schematics for `ng generate`. |
60 | 59 |
|
61 | 60 | ##### Ionic 1 |
62 | 61 |
|
63 | | -* [`packages/@ionic/v1-toolkit`](https://github.com/ionic-team/ionic-cli/tree/master/packages/%40ionic/v1-toolkit): |
64 | | - Utility CLI for Ionic v1 Apps, used by `ionic serve`. |
| 62 | +* [`packages/@ionic/v1-toolkit`](https://github.com/ionic-team/ionic-cli/tree/develop/packages/%40ionic/v1-toolkit): Utility CLI for Ionic v1 Apps, used by `ionic serve`. |
65 | 63 |
|
66 | 64 | #### Toolset |
67 | 65 |
|
@@ -126,12 +124,11 @@ Guide](https://nodejs.org/en/docs/guides/debugging-getting-started/). |
126 | 124 |
|
127 | 125 | TODO: Be helpful about where to look for commands, utilities, etc. |
128 | 126 |
|
129 | | -##### Publishing Steps |
| 127 | +##### Publishing |
130 | 128 |
|
131 | | -1. Cancel any watch scripts. |
132 | | -1. Write notable changes in the package(s)'s `CHANGELOG.md` file(s). |
133 | | -1. For... |
| 129 | +Publishing occurs in CI when new changes are merged into `master`. |
134 | 130 |
|
135 | | - * ...testing releases: `npm run publish:testing` |
136 | | - * ...canary releases: `npm run publish:canary` |
137 | | - * ...stable releases: `npm run publish` |
| 131 | +To publish **testing** versions, follow these steps: |
| 132 | + |
| 133 | +1. Cancel any watch scripts. |
| 134 | +1. Run `npm run publish:testing` |
0 commit comments