Skip to content

Commit 4687be0

Browse files
authored
Merge pull request #707 from MurhafSousli/release/16.0.0
v16.0.0
2 parents d8c3365 + 027641e commit 4687be0

File tree

92 files changed

+4883
-6058
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+4883
-6058
lines changed

.eslintrc.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"root": true,
3+
"ignorePatterns": [
4+
"projects/**/*"
5+
],
6+
"overrides": [
7+
{
8+
"files": [
9+
"*.ts"
10+
],
11+
"extends": [
12+
"eslint:recommended",
13+
"plugin:@typescript-eslint/recommended",
14+
"plugin:@angular-eslint/recommended",
15+
"plugin:@angular-eslint/template/process-inline-templates"
16+
],
17+
"rules": {
18+
"@angular-eslint/directive-selector": [
19+
"error",
20+
{
21+
"type": "attribute",
22+
"prefix": "app",
23+
"style": "camelCase"
24+
}
25+
],
26+
"@angular-eslint/component-selector": [
27+
"error",
28+
{
29+
"type": "element",
30+
"prefix": "app",
31+
"style": "kebab-case"
32+
}
33+
]
34+
}
35+
},
36+
{
37+
"files": [
38+
"*.html"
39+
],
40+
"extends": [
41+
"plugin:@angular-eslint/template/recommended",
42+
"plugin:@angular-eslint/template/accessibility"
43+
],
44+
"rules": {}
45+
}
46+
]
47+
}

.github/FUNDING.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# These are supported funding model platforms
2+
3+
github: murhafsousli
4+
patreon: murhaf
5+
open_collective: # Replace with open collective project name
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
custom: # Replace with a single custom sponsorship URL

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Bug Report
3-
about: Report a bug found in ngx-sharebuttons
3+
about: Report a bug found
44
---
55

66

@@ -9,10 +9,10 @@ about: Report a bug found in ngx-sharebuttons
99
Use StackBlitz to reproduce your issue: https://stackblitz.com/edit/ngx-sharebuttons
1010

1111
Steps to reproduce:
12-
1.
13-
2.
14-
15-
12+
1.
13+
2.
14+
15+
1616
#### Expected Behavior
1717

1818
What behavior were you expecting to see?

.github/ISSUE_TEMPLATE/docs.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: Documentation
3+
about: Suggest an improvement to our documentation
4+
labels: docs
5+
---
6+
7+
#### Documentation Feedback
8+
9+
Provide a brief summary of what you would like to see changed in our documentation.
10+
11+
Feel free to provide any suggestions of content or examples you’d like us to include.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
name: Feature
3-
about: Propose a new feature for ngx-sharebuttons
3+
about: Propose a new feature
44
labels: feature
55
---
6-
6+
77
#### Feature Description
88

99
Provide a brief summary of the feature you would like to see.

.github/workflows/integrate.yml

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,60 @@
1-
name: tests
1+
name: CI Build
22

33
on:
44
pull_request:
55
branches: [ master ]
6+
push:
7+
branches: [ master ]
68

79
jobs:
810
build:
9-
# Machine environment:
10-
# We specify the Node.js version manually below, and use versioned Chrome from Puppeteer.
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@master
14+
1415
- name: Use Node.js 20
1516
uses: actions/setup-node@master
1617
with:
1718
node-version: 20
19+
1820
- name: Install dependencies
1921
run: npm ci
22+
2023
- name: Build
2124
run: npm run build-lib
25+
26+
- name: Lint
27+
run: npm run lint-lib
28+
2229
- name: Test
2330
run: npm run test-lib-headless
31+
32+
- name: Upload coverage reports to Codecov
33+
uses: codecov/codecov-action@main
34+
with:
35+
token: ${{ secrets.CODECOV_TOKEN }}
36+
slug: MurhafSousli/ngx-sharebuttons
37+
38+
- name: Code Coverage Report
39+
uses: irongut/CodeCoverageSummary@master
40+
with:
41+
filename: coverage/**/cobertura-coverage.xml
42+
badge: true
43+
fail_below_min: true
44+
format: markdown
45+
hide_branch_rate: false
46+
hide_complexity: true
47+
indicators: true
48+
output: both
49+
thresholds: '60 80'
50+
51+
- name: Add Coverage PR Comment
52+
uses: marocchino/sticky-pull-request-comment@main
53+
if: github.event_name == 'pull_request'
54+
with:
55+
recreate: true
56+
path: code-coverage-results.md
57+
continue-on-error: true # Allow this step to fail
58+
59+
- name: Build demo (ssr)
60+
run: npm run build-ssr

.github/workflows/netlify.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ jobs:
1515
node-version: 20
1616
- name: Install dependencies
1717
run: npm ci
18-
- name: Build library
19-
run: npm run build-lib
2018
- name: Build demo
21-
run: npm run build-demo
19+
run: npm run build
2220
- name: Deploy to Netlify
2321
uses: nwtgck/actions-netlify@master
2422
with:

.vscode/extensions.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

.vscode/launch.json

Lines changed: 0 additions & 20 deletions
This file was deleted.

.vscode/tasks.json

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)