-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: adding prettier workflow to github actions (#29)
initial prettier run fixing workflow to only run on push fixing angular.json fixing ubuntu version updating prettier version
- Loading branch information
1 parent
5348966
commit ebdba17
Showing
35 changed files
with
597 additions
and
482 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: Run Prettier | ||
on: | ||
push: | ||
jobs: | ||
lint: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Run Prettier | ||
run: npm install -g prettier && npx prettier --check . |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,16 +3,19 @@ | |
![Astral Accessibility](docs/astral.png) | ||
|
||
# Astral is in alpha | ||
|
||
Astral is currently in an alpha phase. You can use it today with much of its feature set implemented, but it's a few features shy, along with some general polishing away from a 1.x release. | ||
|
||
# Overview | ||
|
||
Astral Accessibility is an open source accessibility widget that can be easily embedded to any website. It provides a set of | ||
accessibility features that can be used by people with accessibility needs to improve their experience on the web. Read why we | ||
started this project [here](blue.verto.health/advancing-accessibility-with-astral/). | ||
|
||
[Click here](https://astral-accessibility.pages.dev/) for a demo! | ||
|
||
## Features | ||
|
||
- Screen Reader (text to speech) | ||
- Contrast | ||
- Saturation | ||
|
@@ -21,7 +24,9 @@ started this project [here](blue.verto.health/advancing-accessibility-with-astra | |
- More to come! | ||
|
||
## Usage | ||
|
||
Astral is built with Angular Elements. You can use it in your website in under 30 seconds. To add it, simply include the Javascript and initialize it: | ||
|
||
```html | ||
<script src="https://astral-accessibility.pages.dev/main.js"></script> | ||
<script> | ||
|
@@ -30,23 +35,33 @@ Astral is built with Angular Elements. You can use it in your website in under 3 | |
``` | ||
|
||
## Development Setup | ||
|
||
1. Clone the repository | ||
|
||
``` | ||
git clone [email protected]:verto-health/astral-accessibility.git | ||
``` | ||
|
||
2. Install dependencies | ||
|
||
``` | ||
$ yarn install | ||
``` | ||
|
||
3. Run the development server and visit `http://localhost:8000` | ||
|
||
```bash | ||
$ yarn run start:demo | ||
``` | ||
|
||
This will watch for changes and automatically reload when you make changes in both Angular and the demo app under `projects/demo`. | ||
|
||
### Running E2E Tests With Cypress | ||
|
||
After running the steps above, you will have access to the Cypress test suite. To run Cypress locally, run the following command in your terminal | ||
|
||
``` | ||
$ yarn cypress open | ||
``` | ||
|
||
Choose E2E Testing, and select a browser to start running the Specs |
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 |
---|---|---|
|
@@ -70,4 +70,4 @@ | |
} | ||
} | ||
} | ||
} | ||
} |
Large diffs are not rendered by default.
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,12 +1,12 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1.0"> | ||
<meta charset="utf-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width,initial-scale=1.0" /> | ||
<title>Components App</title> | ||
</head> | ||
<body> | ||
<div data-cy-root></div> | ||
</body> | ||
</html> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
{ | ||
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json", | ||
"dest": "../../dist/astral-accessibility", | ||
"assets": [ | ||
"./assets/*" | ||
], | ||
"assets": ["./assets/*"], | ||
"lib": { | ||
"entryFile": "src/public-api.ts" | ||
} | ||
} | ||
} |
Oops, something went wrong.