Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* @BrightspaceUI/gaudi-dev
package-lock.json
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
cooldown:
# update-package-lock workflow handles minor/patch updates - delay for a few weeks to give time to handle breaking change in those PRs
default-days: 25
semver-major-days: 5
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ jobs:
- uses: Brightspace/setup-node@main
with:
node-version-file: .nvmrc
cache: 'npm'
- name: Install dependencies
run: npm install
run: npm ci
- name: Lint and Test
run: npm run test
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
uses: Brightspace/setup-node@main
with:
node-version-file: .nvmrc
cache: 'npm'
- name: Semantic Release
uses: BrightspaceUI/actions/semantic-release@main
with:
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/update-package-lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Update package-lock.json
on:
schedule:
- cron: "30 12 * * 2" # Tue 8:30AM EDT. 7:30AM EST.
workflow_dispatch: # manual trigger
jobs:
update:
name: Update
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: Brightspace/third-party-actions@actions/checkout
with:
token: ${{ secrets.PR_GITHUB_TOKEN }}
- uses: Brightspace/setup-node@main
with:
node-version-file: .nvmrc
cache: 'npm'
- name: Update package-lock.json
uses: BrightspaceUI/actions/update-package-lock@main
with:
AUTO_MERGE_METHOD: squash
AUTO_MERGE_TOKEN: ${{ secrets.PR_GITHUB_TOKEN }}
APPROVAL_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PR_GITHUB_TOKEN }}
SLACK_CHANNEL_FAILURE: '#gaudi-dev-alerts'
SLACK_CHANNEL_STALE_PR: '#gaudi-dev-alerts'
SLACK_TOKEN: ${{ secrets.D2L_SLACK_TOKEN }}
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
node_modules/
package-lock.json
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
24
1 change: 0 additions & 1 deletion CODEOWNERS

This file was deleted.

2 changes: 1 addition & 1 deletion demo/button-icon.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="stylesheet" href="/node_modules/@brightspace-ui/core/components/demo/styles.css" type="text/css">
<title>d2l-button-icon demo</title>
<script type="module">
import '/node_modules/@brightspace-ui/core/components/demo/demo-page.js';
import '@brightspace-ui/core/components/demo/demo-page.js';
import '../d2l-button-icon.js';
</script>
<style>
Expand Down
2 changes: 1 addition & 1 deletion demo/button-subtle.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="stylesheet" href="/node_modules/@brightspace-ui/core/components/demo/styles.css" type="text/css">
<title>d2l-button-subtle demo</title>
<script type="module">
import '/node_modules/@brightspace-ui/core/components/demo/demo-page.js';
import '@brightspace-ui/core/components/demo/demo-page.js';
import '../d2l-button-subtle.js';
</script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion demo/button.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="stylesheet" href="/node_modules/@brightspace-ui/core/components/demo/styles.css" type="text/css">
<title>d2l-button demo</title>
<script type="module">
import '/node_modules/@brightspace-ui/core/components/demo/demo-page.js';
import '@brightspace-ui/core/components/demo/demo-page.js';
import '../d2l-button.js';
</script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion demo/floating-buttons-standard.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="stylesheet" href="/node_modules/@brightspace-ui/core/components/demo/styles.css" type="text/css">
<title>d2l-floating-buttons-standard demo</title>
<script type="module">
import '/node_modules/@brightspace-ui/core/components/demo/demo-page.js';
import '@brightspace-ui/core/components/demo/demo-page.js';
import '../d2l-button.js';
import '../d2l-floating-buttons.js';
</script>
Expand Down
2 changes: 1 addition & 1 deletion demo/floating-buttons.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="stylesheet" href="/node_modules/@brightspace-ui/core/components/demo/styles.css" type="text/css">
<title>d2l-floating-buttons demo</title>
<script type="module">
import '/node_modules/@brightspace-ui/core/components/demo/demo-page.js';
import '@brightspace-ui/core/components/demo/demo-page.js';
import '../d2l-button.js';
import '../d2l-floating-buttons.js';
</script>
Expand Down
7 changes: 7 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { addExtensions, litConfig, setDirectoryConfigs } from 'eslint-config-brightspace';

export default [
...setDirectoryConfigs(
addExtensions(litConfig, ['.js', '.html'])
)
];
Loading