-
Notifications
You must be signed in to change notification settings - Fork 56
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
1 parent
32219d2
commit ce57c7e
Showing
59 changed files
with
11,047 additions
and
19,998 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,47 @@ | ||
{ | ||
"root": true, | ||
"ignorePatterns": [ | ||
"projects/**/*" | ||
], | ||
"overrides": [ | ||
{ | ||
"files": [ | ||
"*.ts" | ||
], | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@angular-eslint/recommended", | ||
"plugin:@angular-eslint/template/process-inline-templates" | ||
], | ||
"rules": { | ||
"@angular-eslint/directive-selector": [ | ||
"error", | ||
{ | ||
"type": "attribute", | ||
"prefix": "app", | ||
"style": "camelCase" | ||
} | ||
], | ||
"@angular-eslint/component-selector": [ | ||
"error", | ||
{ | ||
"type": "element", | ||
"prefix": "app", | ||
"style": "kebab-case" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"files": [ | ||
"*.html" | ||
], | ||
"extends": [ | ||
"plugin:@angular-eslint/template/recommended", | ||
"plugin:@angular-eslint/template/accessibility" | ||
], | ||
"rules": {} | ||
} | ||
] | ||
} |
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 @@ | ||
# These are supported funding model platforms | ||
|
||
github: murhafsousli | ||
patreon: murhaf | ||
ko_fi: # Replace with a single Ko-fi username | ||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel | ||
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry | ||
liberapay: # Replace with a single Liberapay username | ||
issuehunt: # Replace with a single IssueHunt username | ||
otechie: # Replace with a single Otechie username | ||
custom: # Replace with a single custom sponsorship URL |
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,40 +1,31 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
|
||
name: Bug Report | ||
about: Report a bug found in ngx-bar-rating | ||
--- | ||
|
||
<!-- | ||
1. Please make sure that you have searched in the older issues before submitting a new one! | ||
2. Please fill out all the required information! | ||
--> | ||
|
||
#### I am submitting a | ||
|
||
- [x] Bug Report | ||
|
||
#### What is the expected behavior? | ||
|
||
|
||
#### What is the current behavior? | ||
|
||
|
||
#### What are the steps to reproduce? | ||
#### Reproduction | ||
|
||
<!-- | ||
Providing a StackBlitz reproduction is the *best* way to share your issue. <br/> | ||
StackBlitz starter: https://stackblitz.com/edit/ngx-bar-rating<br/> | ||
--> | ||
Use StackBlitz to reproduce your issue: https://stackblitz.com/edit/ngx-bar-rating | ||
|
||
Steps to reproduce: | ||
1. | ||
2. | ||
|
||
|
||
#### Expected Behavior | ||
|
||
#### What is the use-case or motivation for changing an existing behavior? | ||
What behavior were you expecting to see? | ||
|
||
|
||
#### Actual Behavior | ||
|
||
#### Which versions are you using for the following packages? | ||
What behavior did you actually see? | ||
|
||
Angular: | ||
ngx-bar-rating: | ||
|
||
#### Environment | ||
|
||
#### Is there anything else we should know? | ||
- Angular: | ||
- ngx-bar-rating: | ||
- Browser(s): | ||
- Operating System (e.g. Windows, macOS, Ubuntu): |
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,13 @@ | ||
--- | ||
name: Feature | ||
about: Propose a new feature for ngx-bar-rating | ||
labels: feature | ||
--- | ||
|
||
#### Feature Description | ||
|
||
Provide a brief summary of the feature you would like to see. | ||
|
||
#### Use Case | ||
|
||
Describe the use case(s) that the proposed feature would enable. |
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
name: CI Build | ||
|
||
on: | ||
pull_request: | ||
branches: [ master ] | ||
push: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
# Machine environment: | ||
# We specify the Node.js version manually below, and use versioned Chrome from Puppeteer. | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
|
||
- name: Use Node.js 20 | ||
uses: actions/setup-node@master | ||
with: | ||
node-version: 20 | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Build | ||
run: npm run build-lib | ||
|
||
- name: Lint | ||
run: npm run lint-lib | ||
|
||
- name: Test | ||
run: npm run test-lib-headless | ||
|
||
- name: Upload coverage reports to Codecov | ||
uses: codecov/codecov-action@main | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
slug: MurhafSousli/ngx-bar-rating | ||
|
||
- name: Code Coverage Report | ||
uses: irongut/CodeCoverageSummary@master | ||
with: | ||
filename: coverage/**/cobertura-coverage.xml | ||
badge: true | ||
fail_below_min: true | ||
format: markdown | ||
hide_branch_rate: false | ||
hide_complexity: true | ||
indicators: true | ||
output: both | ||
thresholds: '60 80' | ||
|
||
- name: Add Coverage PR Comment | ||
uses: marocchino/sticky-pull-request-comment@main | ||
if: github.event_name == 'pull_request' | ||
with: | ||
recreate: true | ||
path: code-coverage-results.md | ||
continue-on-error: true # Allow this step to fail | ||
|
||
- name: Build demo (ssr) | ||
run: npm run build-ssr |
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 @@ | ||
name: Deploy Demo | ||
|
||
on: | ||
push: | ||
branches: [ deploy-netlify ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Use Node.js 20 | ||
uses: actions/setup-node@master | ||
with: | ||
node-version: 20 | ||
- name: Install dependencies | ||
run: npm ci | ||
- name: Build demo | ||
run: npm run build | ||
env: | ||
GIST_CLIENT_ID: ${{ secrets.GIST_CLIENT_ID }} | ||
GIST_CLIENT_SECRET: ${{ secrets.GIST_CLIENT_SECRET }} | ||
- name: Deploy to Netlify | ||
uses: nwtgck/actions-netlify@master | ||
with: | ||
publish-dir: './dist/ngx-bar-rating-demo/browser' | ||
production-branch: deploy-netlify | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
deploy-message: "Deploy from GitHub Actions" | ||
enable-pull-request-comment: true | ||
enable-commit-comment: true | ||
overwrites-pull-request-comment: true | ||
env: | ||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | ||
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | ||
timeout-minutes: 1 |
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,47 +1,42 @@ | ||
# See http://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
# compiled output | ||
# Compiled output | ||
/dist | ||
/tmp | ||
/out-tsc | ||
# Only exists if Bazel was run | ||
/bazel-out | ||
|
||
# dependencies | ||
# Node | ||
/node_modules | ||
|
||
# profiling files | ||
chrome-profiler-events*.json | ||
speed-measure-plugin*.json | ||
npm-debug.log | ||
yarn-error.log | ||
|
||
# IDEs and editors | ||
/.idea | ||
.idea/ | ||
.project | ||
.classpath | ||
.c9/ | ||
*.launch | ||
.settings/ | ||
*.sublime-workspace | ||
|
||
# IDE - VSCode | ||
# Visual Studio Code | ||
.vscode/* | ||
!.vscode/settings.json | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
!.vscode/extensions.json | ||
.history/* | ||
|
||
# misc | ||
# Miscellaneous | ||
/.angular/cache | ||
/.sass-cache | ||
.sass-cache/ | ||
/connect.lock | ||
/coverage | ||
/libpeerconnection.log | ||
npm-debug.log | ||
yarn-error.log | ||
testem.log | ||
/typings | ||
|
||
# System Files | ||
# System files | ||
.DS_Store | ||
Thumbs.db |
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
Oops, something went wrong.
ce57c7e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Published on https://ngx-bar-rating.netlify.app as production
🚀 Deployed on https://678aab5c9e40cd246287fc93--ngx-bar-rating.netlify.app