-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
61 changed files
with
1,352 additions
and
526 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,4 @@ | ||
|
||
## Build | ||
# Core Scripts | ||
|
||
### 1. Clone ionic | ||
|
||
git@github.com:ionic-team/ionic.git | ||
cd ionic | ||
|
||
### 2. Run `npm install` | ||
|
||
cd core | ||
npm install | ||
|
||
|
||
Notice that `@ionic/core` lives in `core`. | ||
|
||
### 3. Run `npm start` | ||
|
||
Make sure you are inside the `core` directory. | ||
|
||
npm start | ||
|
||
With the `dev` command, Ionic components will be built with [Stencil](https://stenciljs.com/), changes to source files are watched, a local http server will startup, and http://localhost:3333/ will open in a browser. | ||
|
||
### 4. Preview | ||
|
||
Navigate to http://localhost:3333/src/components/. Each component has small e2e apps found in the `test` directory, for example: http://localhost:3333/src/components/button/test/basic | ||
|
||
As changes are made in an editor to source files, the e2e app will live-reload. | ||
|
||
## How to contribute | ||
|
||
1. `npm start` allows you to modify the components and have live reloading, just like another ionic app. | ||
|
||
2. When everything looks good, run `npm run validate` to verify the tests linter and production build passes. | ||
|
||
|
||
# Deploy | ||
|
||
1. `npm run prepare.deploy` | ||
2. Review/update changelog | ||
3. Commit updates using the package name and version number as the commit message. | ||
4. `npm run deploy` | ||
5. :tada: | ||
This file has been moved to [/docs/core/testing/preview-changes.md](/docs/core/testing/preview-changes.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,3 @@ | ||
# Ionic E2E Tests Guide | ||
|
||
This directory contains information on how to get the most out of Ionic's E2E test infrastructure when writing tests. | ||
|
||
## Directory | ||
|
||
| Directory | Description | | ||
| - | - | | ||
| [Usage Instructions](./usage-instructions.md) | How to run tests and update screenshots | | ||
| [Best Practices](./best-practices.md) | Contains information on conventions to follow as well as pitfalls to avoid when writing tests | | ||
| [API](./api.md) | Documents the custom functionality that has been built on top of Playwright | | ||
Refer to the [Core Testing documentation](/docs/core/testing/README.md) in order to build and run the e2e tests. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<p align="center"> | ||
<img alt="Ionic Logo" src="https://github.com/ionic-team/ionic-framework/blob/main/.github/assets/logo.png?raw=true" width="60" /> | ||
</p> | ||
|
||
<h1 align="center"> | ||
Ionic Framework Developer Resources | ||
</h1> | ||
|
||
<p align="center"> | ||
This documentation includes guidelines on contributing, coding conventions, best practices, testing steps, and more. It should serve as a collective resource for all documentation related to developing Ionic Framework. | ||
</p> | ||
|
||
## What is Ionic Framework? | ||
|
||
Ionic Framework is an open source app development toolkit for building modern, fast, top-quality cross-platform native and Progressive Web Apps from a single codebase with JavaScript and the Web. | ||
|
||
It is based on <a href="https://www.webcomponents.org/introduction">Web Components</a>, which enables significant performance, usability, and feature improvements alongside support for popular web frameworks like <a href="https://angular.io/">Angular</a>, <a href="https://reactjs.com/">React</a>, and <a href="https://vuejs.org/">Vue</a>. | ||
|
||
## Guides | ||
|
||
| Guide | Description | | ||
| ----------------------------------------| ---------------------------------------------------------------------------------------- | | ||
| [Contributing](./CONTRIBUTING.md) | How to contribute including creating pull requests, commit message guidelines, and more. | | ||
| [Component Guide](./component-guide.md) | Guidelines for implementing component states, accessibility, and more. | | ||
| [Sass Guidelines](./sass-guidelines.md) | Outlines scenarios where Sass members and comments should be used. | | ||
|
||
## Packages | ||
|
||
| Project | Package | Documentation | Guides | | ||
| ---------------- | -------------------------------------------------------------------------- | ---------------------------------| ----------------------------------------------------------------- | | ||
| **Core** | [`@ionic/core`](https://www.npmjs.com/package/@ionic/core) | [Readme](core/README.md) | [Testing](core/testing/README.md) | | ||
| **Angular** | [`@ionic/angular`](https://www.npmjs.com/package/@ionic/angular) | [Readme](angular/README.md) | [Testing](angular/testing.md) | | ||
| **React** | [`@ionic/react`](https://www.npmjs.com/package/@ionic/react) | [Readme](react/README.md) | [Testing](react/testing.md) | | ||
| **React Router** | [`@ionic/react-router`](https://www.npmjs.com/package/@ionic/react-router) | [Readme](react-router/README.md) | [Testing](react-router/testing.md) | | ||
| **Vue** | [`@ionic/vue`](https://www.npmjs.com/package/@ionic/vue) | [Readme](vue/README.md) | [Testing](vue/testing.md) | | ||
| **Vue Router** | [`@ionic/vue-router`](https://www.npmjs.com/package/@ionic/vue-router) | [Readme](vue-router/README.md) | [Testing](vue-router/testing.md) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
name: Ionic Framework | ||
include: [ CONTRIBUTING.md ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Ionic Angular | ||
|
||
The [@ionic/angular](https://www.npmjs.com/package/@ionic/angular) package builds on top of [@ionic/core](https://www.npmjs.com/package/@ionic/core) components. | ||
|
||
## Contributing | ||
|
||
See our [Contributing Guide](/docs/CONTRIBUTING.md). | ||
|
||
## Testing | ||
|
||
Refer to the [Angular Testing documentation](./testing.md) for testing the Angular package. |
Oops, something went wrong.