Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It adds missing unit tests for custom errors #26

Closed
wants to merge 57 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
1113faf
feat(transcript): it adds transcription module
danilolmc Aug 7, 2023
5a2a676
feat(middlewares): it adds middlewares
danilolmc Aug 21, 2023
6fb64a5
feat(voice-command): it adds browser voice command feature support
danilolmc Oct 20, 2023
c4fa8ae
feat(voicesynthesis): it adds voice synthesis feature
danilolmc Oct 27, 2023
16e2d3b
feat(accessibility): adds accessibility features
danilolmc Oct 27, 2023
fb52e3b
ci(ci): it adds ci workflow configuration
danilolmc Oct 27, 2023
1a4d80c
refactor(deps): it syncs package.json and package-lock.json
danilolmc Oct 27, 2023
c57a5bb
ci(build): it fixes on section in build and release workflow
danilolmc Oct 27, 2023
c89ff43
Merge pull request #2 from danilolmc/ci/workflow
danilolmc Oct 27, 2023
855db75
ci(release): it adds missing semantic release dependencies
danilolmc Oct 27, 2023
038360e
Merge pull request #3 from danilolmc/ci/workflow
danilolmc Oct 27, 2023
6ddbf69
refactor(bundling): it changes some webpack bundling settings
danilolmc Oct 30, 2023
f445cf4
Merge pull request #5 from danilolmc/refactor/webpack
danilolmc Oct 30, 2023
af8aa5b
ci(maintenance): it adds maintenance workflow running cases based on …
danilolmc Oct 30, 2023
1848558
Merge pull request #6 from danilolmc/ci/maintenance
danilolmc Oct 30, 2023
fedf400
fix(bundling): it fixes bundling configs
danilolmc Oct 30, 2023
56da868
Merge pull request #7 from danilolmc/fix/bundling
danilolmc Oct 30, 2023
61a53c7
fix(lib-path): it fixes package.json library files path
danilolmc Oct 30, 2023
ae68a71
Merge pull request #8 from danilolmc/fix/lib-path
danilolmc Oct 30, 2023
93bd9a9
refactor(zip): it deletes unuseless zip folder
danilolmc Oct 30, 2023
ba822ea
fix(zip): it drops useless zip folder
danilolmc Oct 30, 2023
f9b6e4f
Merge pull request #9 from danilolmc/fix/zip-folder
danilolmc Oct 30, 2023
c582c85
fix(lib): it fixes lib folder inclusion
danilolmc Oct 30, 2023
eef5542
Merge pull request #11 from danilolmc/fix/lib-folder
danilolmc Oct 30, 2023
df3397e
fix(bundling): it fixes bundle folder reference
danilolmc Oct 30, 2023
f5146ef
Merge pull request #12 from danilolmc/fix/lib-bundle
danilolmc Oct 30, 2023
d51414f
fix(lib): it fixes lib bundle files
danilolmc Oct 30, 2023
37621eb
Merge pull request #13 from danilolmc/fix/lib
danilolmc Oct 30, 2023
ceab9a5
fix(lib): it fixes lib bundle path match pattern
danilolmc Oct 30, 2023
036fdb1
fix(gitigore): iot removes gitignore conflicts
danilolmc Oct 30, 2023
f88f462
Merge pull request #14 from danilolmc/fix/lib-folder-2
danilolmc Oct 30, 2023
0397b70
fix(lib): it fixes lib path
danilolmc Oct 30, 2023
9f55e54
fix(gitignore): it remove lib folder from gitignore
danilolmc Oct 30, 2023
4502f62
fix(lib): it changes release config
danilolmc Oct 30, 2023
2778a25
fix(adjust): it fixes publishing config
danilolmc Oct 30, 2023
6707e2a
fix(workflow): it fixes release workflow
danilolmc Oct 30, 2023
0905a32
fix(release): it changes file path pattern location
danilolmc Oct 30, 2023
474e2b6
fix(voiceaction): it fixes voice action listen function callbacks
danilolmc Nov 9, 2023
34cc69e
fix(release): it fixes release yaml name job step
danilolmc Nov 9, 2023
834e64a
fix(release): it fixes release asset path config
danilolmc Nov 9, 2023
d8801c0
feat(zaity): it adds main features
danilolmc Nov 10, 2023
bb0584b
fix(browser): it changes browser main file
danilolmc Nov 10, 2023
fb79de0
feat(zaity): it adds main features
danilolmc Nov 10, 2023
488312d
Merge pull request #15 from danilolmc/feat/zaity
danilolmc Nov 10, 2023
48ff7ac
feat(zaity): it adds main features
danilolmc Nov 10, 2023
263b316
Chore/commits (#17)
danilolmc Nov 11, 2023
58624ba
Merge branch 'develop' of github.com:danilolmc/zaity into beta
danilolmc Nov 11, 2023
045017c
chore: it adds ingored file to gitignore (#18)
danilolmc Nov 11, 2023
7a2eb6f
fix(voiceaction): it fixes voiceAction function params types definition
danilolmc Nov 11, 2023
99d14ca
Merge pull request #19 from danilolmc/fix/voiceAction
danilolmc Nov 11, 2023
eba2b9c
docs: it adds documentation (#20)
danilolmc Nov 15, 2023
2e5bc9d
Merge branch 'develop' of github.com:danilolmc/zaity into beta
danilolmc Nov 15, 2023
29b7cf3
docs: it fixes voice recognition usage documentation (#21)
danilolmc Nov 15, 2023
6f3ed32
Merge branch 'develop' of github.com:danilolmc/zaity into beta
danilolmc Nov 15, 2023
0301ea7
fix: it fixes VoiceBatchTranscriber module exporting (#22)
danilolmc Nov 15, 2023
c68b0e7
Merge branch 'develop' of github.com:danilolmc/zaity into beta
danilolmc Nov 15, 2023
1177c74
test(errors): it adds missing unit tests for custom errors
danilolmc Feb 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["@babel/preset-env"]
}
41 changes: 41 additions & 0 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Build & Release

on:
push:
branches:
- main
- beta
pull_request:
branches:
- main
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"

- name: Install dependencies
run: npm ci --ignore-scripts

- name: Build
run: npm run build

- name: Test
run: npm run test

- name: Create Zip
run: mkdir temp && zip -r temp/zaity.zip lib package.json LICENSE

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
36 changes: 36 additions & 0 deletions .github/workflows/maintenance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Maintenance

on:
push:
branches:
- feature/**
- fix/**
- docs/**
- refactor/**
- test/**
- ci/**
pull_request:
branches:
- develop

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v3

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
cache: "npm"
- name: Intall dependencies
run: npm ci --ignore-scripts

- name: Build
run: npm run build

- name: Test
run: npm run test
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules/
lib/
bin/
index.html
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no -- commitlint --edit $1
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run test
32 changes: 32 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"branches": [
{
"name": "main"
},
{
"name": "beta",
"channel": "beta",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
"@semantic-release/npm",
[
"@semantic-release/github",
{
"assets": [
"lib/*",
"CHANGELOG.md"
]
}
]
]
}
Empty file added CHANGELOG.md
Empty file.
46 changes: 46 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Contributing Guidelines

## Welcome!

Thank you for considering contributing to this project! Whether you are fixing a bug, adding a new feature, or improving documentation, your contributions are appreciated.

Before you start contributing, please take a moment to read the following guidelines.

## How to Contribute

1. Fork the repository.
2. Create a new branch: `git checkout -b feature/your-feature` or `git checkout -b bugfix/your-bugfix`.
3. Make your changes and commit them, by running: `npm run commit`.
4. Push to the branch: `git push origin feature/your-feature`.
5. Submit a pull request.

## Reporting Issues

Before submitting an issue:

- Check the [existing issues](https://github.com/danilolmc/zaity/issues) to see if the problem has already been reported.
- Ensure you are using the latest version of the project.

When submitting an issue, please include:

- A detailed description of the issue.
- Steps to reproduce the issue.
- Expected behavior.
- Screenshots or code snippets if applicable.

## Pull Requests

When submitting a pull request:

- Update documentation if needed.
- Update the `CHANGELOG.md` if applicable.

## Documentation

Improve the documentation or add new documentation for your changes.

## Licensing

By contributing, you agree that your contributions will be licensed under the [MIT License](LICENSE).

Thank you for your contributions!
Loading
Loading