Skip to content

Commit 8e2276a

Browse files
authored
Merge branch 'master' into addon-update
2 parents 65d131d + a5361e0 commit 8e2276a

33 files changed

Lines changed: 867 additions & 676 deletions

File tree

.desktop-lighthouserc.js

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,37 @@ module.exports = {
33
"collect": {
44
"settings": {
55
"preset": "desktop"
6-
},
6+
},
77
"staticDistDir": "./public",
88
"url": [
99
"http://localhost/404/index.html?desktop",
1010
"http://localhost/?desktop",
1111
"http://localhost/company/about/index.html?desktop",
12-
"http://localhost/cloud-native-management/meshery/index.html?desktop",
13-
"http://localhost/cloud-native-management/kanvas/index.html?desktop",
14-
"http://localhost/learn/learning-paths/index.html?desktop",
15-
"http://localhost/learn/service-mesh-books/index.html?desktop",
16-
"http://localhost/learn/workshops/index.html?desktop",
17-
"http://localhost/learn/index.html?desktop",
18-
"http://localhost/blog/index.html?desktop",
19-
"http://localhost/resources/index.html?desktop",
20-
"http://localhost/careers/index.html?desktop",
21-
"http://localhost/community/members/index.html?desktop",
22-
"http://localhost/community/meshmates/index.html?desktop",
23-
"http://localhost/community/events/index.html?desktop",
24-
"http://localhost/community/newcomers/index.html?desktop",
12+
"http://localhost/cloud-native-management/meshery/index.html?desktop",
13+
"http://localhost/cloud-native-management/kanvas/index.html?desktop",
14+
"http://localhost/learn/learning-paths/index.html?desktop",
15+
"http://localhost/learn/service-mesh-books/index.html?desktop",
16+
"http://localhost/learn/workshops/index.html?desktop",
17+
"http://localhost/learn/index.html?desktop",
18+
"http://localhost/blog/index.html?desktop",
19+
"http://localhost/resources/index.html?desktop",
20+
"http://localhost/careers/index.html?desktop",
21+
"http://localhost/community/members/index.html?desktop",
22+
"http://localhost/community/meshmates/index.html?desktop",
23+
"http://localhost/community/events/index.html?desktop",
24+
"http://localhost/community/newcomers/index.html?desktop",
2525
],
2626
},
2727
"assert": {
28-
"assertions": {
29-
"categories:performance": ["warn", {"minScore": .90}],
30-
"categories:accessibility": ["warn", {"minScore": .90}],
31-
"categories:best-practices": ["warn", {"minScore": .90}],
32-
"categories:seo": ["warn", {"minScore": .90}],
33-
}
34-
},
35-
"upload": {
36-
"target": "temporary-public-storage",
37-
},
28+
"assertions": {
29+
"categories:performance": ["warn", { "minScore": .90 }],
30+
"categories:accessibility": ["warn", { "minScore": .90 }],
31+
"categories:best-practices": ["warn", { "minScore": .90 }],
32+
"categories:seo": ["warn", { "minScore": .90 }],
3833
}
39-
};
34+
},
35+
"upload": {
36+
"target": "temporary-public-storage",
37+
},
38+
}
39+
};

.eslintignore

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

.eslintrc.js

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

.github/workflows/slack.yml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,27 @@ jobs:
1515
- name: Get current star count
1616
run: |
1717
echo "STARS=$(curl --silent 'https://api.github.com/repos/${{ github.repository }}' -H 'Accept: application/vnd.github.preview' | jq '.stargazers_count')" >> $GITHUB_ENV
18+
1819
- name: Notify Slack
19-
env:
20-
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
21-
uses: pullreminders/slack-action@master
20+
uses: slackapi/slack-github-action@v2.1.1
2221
with:
23-
args: '{\"channel\":\"CSK7N9TGX\",\"text\":\"${{ github.actor }} just starred ${{ github.repository }}! (https://github.com/${{ github.repository }}/stargazers) Total ⭐️: ${{ env.STARS }}\"}'
22+
method: chat.postMessage
23+
token: ${{ secrets.SLACK_BOT_TOKEN }}
24+
payload: |
25+
channel: CSK7N9TGX
26+
type: "mrkdwn"
27+
text: "<https://github.com/${{ github.actor }}|${{ github.actor }}> just starred <https://github.com/${{ github.repository }}/stargazers|${{ github.repository }}> bringing the total ⭐️ count up to: ${{ env.STARS }}"
2428
2529
good-first-issue-notify:
2630
if: github.event_name == 'issues' && (github.event.label.name == 'good first issue' || github.event.label.name == 'first-timers-only')
2731
name: Notify Slack for new good-first-issue
2832
runs-on: ubuntu-latest
2933
steps:
3034
- name: Notify Slack
31-
env:
32-
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
33-
uses: pullreminders/slack-action@master
35+
uses: slackapi/slack-github-action@v2.1.1
3436
with:
35-
args: '{\"channel\":\"C019426UBNY\",\"type\":\"section\",\"text\":\":new: Good first issue up for grabs: ${{ github.event.issue.title }} - ${{ github.event.issue.html_url }} \"}'
36-
37+
method: chat.postMessage
38+
token: ${{ secrets.SLACK_BOT_TOKEN }}
39+
payload: |
40+
channel: C019426UBNY
41+
text: ":new: Good first issue up for grabs: <${{ github.event.issue.html_url }}|${{ github.event.issue.title }}>"

.lighthouserc.js

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
11
module.exports = {
2-
"ci": {
3-
"collect": {
4-
"staticDistDir": "./public",
5-
"url" : [
6-
"http://localhost/404.html",
7-
"http://localhost/404/index.html",
8-
"http://localhost",
9-
"http://localhost/company/about/index.html",
10-
"http://localhost/cloud-native-management/meshery/index.html",
11-
"http://localhost/cloud-native-management/kanvas/index.html",
12-
"http://localhost/learn/learning-paths/index.html",
13-
"http://localhost/learn/service-mesh-books/index.html",
14-
"http://localhost/learn/workshops/index.html",
15-
"http://localhost/learn/index.html",
16-
"http://localhost/blog/index.html",
17-
"http://localhost/resources/index.html",
18-
"http://localhost/careers/index.html",
19-
"http://localhost/community/members/index.html",
20-
"http://localhost/community/meshmates/index.html",
21-
"http://localhost/community/events/index.html",
22-
"http://localhost/community/newcomers/index.html",
23-
],
24-
},
25-
"assert": {
26-
"assertions": {
27-
"categories:performance": ["warn", {"minScore": .90}],
28-
"categories:accessibility": ["warn", {"minScore": .90}],
29-
"categories:best-practices": ["warn", {"minScore": .90}],
30-
"categories:seo": ["warn", {"minScore": .90}],
31-
}
32-
},
33-
"upload": {
34-
"target": "temporary-public-storage",
35-
},
36-
}
37-
};
2+
"ci": {
3+
"collect": {
4+
"staticDistDir": "./public",
5+
"url": [
6+
"http://localhost/404.html",
7+
"http://localhost/404/index.html",
8+
"http://localhost",
9+
"http://localhost/company/about/index.html",
10+
"http://localhost/cloud-native-management/meshery/index.html",
11+
"http://localhost/cloud-native-management/kanvas/index.html",
12+
"http://localhost/learn/learning-paths/index.html",
13+
"http://localhost/learn/service-mesh-books/index.html",
14+
"http://localhost/learn/workshops/index.html",
15+
"http://localhost/learn/index.html",
16+
"http://localhost/blog/index.html",
17+
"http://localhost/resources/index.html",
18+
"http://localhost/careers/index.html",
19+
"http://localhost/community/members/index.html",
20+
"http://localhost/community/meshmates/index.html",
21+
"http://localhost/community/events/index.html",
22+
"http://localhost/community/newcomers/index.html",
23+
],
24+
},
25+
"assert": {
26+
"assertions": {
27+
"categories:performance": ["warn", { "minScore": .90 }],
28+
"categories:accessibility": ["warn", { "minScore": .90 }],
29+
"categories:best-practices": ["warn", { "minScore": .90 }],
30+
"categories:seo": ["warn", { "minScore": .90 }],
31+
}
32+
},
33+
"upload": {
34+
"target": "temporary-public-storage",
35+
},
36+
}
37+
};

0 commit comments

Comments
 (0)