Skip to content

Commit

Permalink
Release v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sondr3 committed Jul 19, 2022
1 parent e8bfaf1 commit b986344
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: latest
registry-url: 'https://registry.npmjs.org'

- name: Get tag version
id: get_tag_version
Expand All @@ -51,7 +52,12 @@ jobs:
run: deno run -A ./build_npm.ts ${{steps.get_tag_version.outputs.TAG_VERSION}}

- name: publish NPM
run: cd npm && npm publish
run: cd npm && npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: create release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
body_path: CHANGELOG.md
45 changes: 45 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
## v0.1.0

> 2022-07-19
## Summary

Initial release of the package. See the README for usage notes.

### Commits

- [[`e8bfaf1`](https://github.com/sondr3/a11y-color-contrast.git)] Move node setup to top of pipeline
- [[`b46fd9a`](https://github.com/sondr3/a11y-color-contrast.git)] Publish job depends on the pipeline job
- [[`f27a99d`](https://github.com/sondr3/a11y-color-contrast.git)] Make publish step a separate CI job
- [[`b11d19d`](https://github.com/sondr3/a11y-color-contrast.git)] Run dnt on CI, add publishing step and tasks
- [[`5b25f03`](https://github.com/sondr3/a11y-color-contrast.git)] Fix links in README
- [[`1eaaefe`](https://github.com/sondr3/a11y-color-contrast.git)] Fix number 100 for optional, partial, default options
- [[`8023a6f`](https://github.com/sondr3/a11y-color-contrast.git)] Update README
- [[`84c3904`](https://github.com/sondr3/a11y-color-contrast.git)] Remove uneeded function, fix passing WCAG parameters
- [[`590de6c`](https://github.com/sondr3/a11y-color-contrast.git)] Remove redundant assert in tests
- [[`633ea4c`](https://github.com/sondr3/a11y-color-contrast.git)] Create utility function to validate a font against a
Lc value
- [[`6cb7616`](https://github.com/sondr3/a11y-color-contrast.git)] Add documentation
- [[`97c6609`](https://github.com/sondr3/a11y-color-contrast.git)] Refactor and simplify some APCA functions
- [[`19c1267`](https://github.com/sondr3/a11y-color-contrast.git)] Add tests to the interpolated font lookup
- [[`9258c5a`](https://github.com/sondr3/a11y-color-contrast.git)] Implement fontLookupAPCA
- [[`35602d8`](https://github.com/sondr3/a11y-color-contrast.git)] Add contrast to font size table
- [[`12b3e0a`](https://github.com/sondr3/a11y-color-contrast.git)] Add function to get font size contrast
- [[`e2de2a6`](https://github.com/sondr3/a11y-color-contrast.git)] Refactor font contrast to a record object
- [[`9fd2cd2`](https://github.com/sondr3/a11y-color-contrast.git)] Add APCA font to contrast table
- [[`c061efe`](https://github.com/sondr3/a11y-color-contrast.git)] Rename generic 'Readability' type to 'WCAG'
- [[`7cc8203`](https://github.com/sondr3/a11y-color-contrast.git)] Fix some exporting names
- [[`ce84c99`](https://github.com/sondr3/a11y-color-contrast.git)] Fix formatting, convert deno.json -> deno.jsonc
- [[`fd7ca69`](https://github.com/sondr3/a11y-color-contrast.git)] Add dnt build tool for npm publishing
- [[`3105938`](https://github.com/sondr3/a11y-color-contrast.git)] Update README
- [[`8bb9e82`](https://github.com/sondr3/a11y-color-contrast.git)] Hide internal parsing functions
- [[`1f9a9d3`](https://github.com/sondr3/a11y-color-contrast.git)] Change Color type to be a tuple instead of object
- [[`0755453`](https://github.com/sondr3/a11y-color-contrast.git)] Remove WCAG 2.0/2.1 stuff
- [[`4a52171`](https://github.com/sondr3/a11y-color-contrast.git)] Add APCA contrast checking from WCAG3.0
- [[`6328844`](https://github.com/sondr3/a11y-color-contrast.git)] Add WCAG 2.0/2.1/2.2 changes to code
- [[`755ea00`](https://github.com/sondr3/a11y-color-contrast.git)] Extract WCAG stuff to their own file
- [[`7be066b`](https://github.com/sondr3/a11y-color-contrast.git)] Fix stupid misspelling of RGB
- [[`ad5d21d`](https://github.com/sondr3/a11y-color-contrast.git)] Start extracting functionality into small functions
- [[`318ffd0`](https://github.com/sondr3/a11y-color-contrast.git)] Extract parsing to its own file
- [[`30108be`](https://github.com/sondr3/a11y-color-contrast.git)] Port over color code from empyreum
- [[`f877b41`](https://github.com/sondr3/a11y-color-contrast.git)] Add basic RGB and RGBA functionality
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<h1 align="center">a11y-color-contrast</h1>
<p align="center">
<a href="https://github.com/sondr3/a11y-color-contrast/actions"><img alt="GitHub Actions Status" src="https://github.com/sondr3/a11y-color-contrast/workflows/pipeline/badge.svg" /></a>
<a href="https://www.npmjs.com/package/a11y-color-contrast"><img alt="npm" src="https://img.shields.io/npm/v/a11y-color-contrast" /></a>
<a href="https://doc.deno.land/https://deno.land/x/a11y-color-contrast/mod.ts"><img src="https://img.shields.io/badge/deno-doc-blue?logo=deno"></a>
</p>

<p align="center">
Expand Down

0 comments on commit b986344

Please sign in to comment.