Skip to content

Commit 11d09bc

Browse files
authored
feat: upgrade repo (#183) (GAUD-9566)
1 parent 8bf7887 commit 11d09bc

17 files changed

Lines changed: 6746 additions & 22 deletions

.eslintrc.json

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

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
* @BrightspaceUI/gaudi-dev
2+
package-lock.json

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
cooldown:
8+
# update-package-lock workflow handles minor/patch updates - delay for a few weeks to give time to handle breaking change in those PRs
9+
default-days: 25
10+
semver-major-days: 5

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ jobs:
99
- uses: Brightspace/setup-node@main
1010
with:
1111
node-version-file: .nvmrc
12+
cache: 'npm'
1213
- name: Install dependencies
13-
run: npm install
14+
run: npm ci
1415
- name: Lint and Test
1516
run: npm run test

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
uses: Brightspace/setup-node@main
1919
with:
2020
node-version-file: .nvmrc
21+
cache: 'npm'
2122
- name: Semantic Release
2223
uses: BrightspaceUI/actions/semantic-release@main
2324
with:
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Update package-lock.json
2+
on:
3+
schedule:
4+
- cron: "30 12 * * 2" # Tue 8:30AM EDT. 7:30AM EST.
5+
workflow_dispatch: # manual trigger
6+
jobs:
7+
update:
8+
name: Update
9+
timeout-minutes: 10
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: Brightspace/third-party-actions@actions/checkout
13+
with:
14+
token: ${{ secrets.PR_GITHUB_TOKEN }}
15+
- uses: Brightspace/setup-node@main
16+
with:
17+
node-version-file: .nvmrc
18+
cache: 'npm'
19+
- name: Update package-lock.json
20+
uses: BrightspaceUI/actions/update-package-lock@main
21+
with:
22+
AUTO_MERGE_METHOD: squash
23+
AUTO_MERGE_TOKEN: ${{ secrets.PR_GITHUB_TOKEN }}
24+
APPROVAL_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
GITHUB_TOKEN: ${{ secrets.PR_GITHUB_TOKEN }}
26+
SLACK_CHANNEL_FAILURE: '#gaudi-dev-alerts'
27+
SLACK_CHANNEL_STALE_PR: '#gaudi-dev-alerts'
28+
SLACK_TOKEN: ${{ secrets.D2L_SLACK_TOKEN }}

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
node_modules/
2-
package-lock.json

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
24

CODEOWNERS

Lines changed: 0 additions & 1 deletion
This file was deleted.

demo/button-icon.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<link rel="stylesheet" href="/node_modules/@brightspace-ui/core/components/demo/styles.css" type="text/css">
77
<title>d2l-button-icon demo</title>
88
<script type="module">
9-
import '/node_modules/@brightspace-ui/core/components/demo/demo-page.js';
9+
import '@brightspace-ui/core/components/demo/demo-page.js';
1010
import '../d2l-button-icon.js';
1111
</script>
1212
<style>

0 commit comments

Comments
 (0)