Skip to content

Commit

Permalink
Merge branch 'main' into users/masmith/table-keyboard-nav-hld-1
Browse files Browse the repository at this point in the history
  • Loading branch information
msmithNI committed Mar 26, 2024
2 parents 1dcc572 + e7f9887 commit 562eae4
Show file tree
Hide file tree
Showing 75 changed files with 1,866 additions and 1,090 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 'Dependency Review'
on: [pull_request]

permissions:
contents: read
pull-requests: write

jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v4
- name: 'Dependency Review'
uses: actions/dependency-review-action@v4
with:
comment-summary-in-pr: on-failure
5 changes: 0 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ jobs:
# only informational so swallow error codes
- run: npm outdated || exit 0

# Audit
- run: npm audit --only=prod
# https://github.com/ni/nimble/issues/801
# - run: npm audit --audit-level=critical

# Build
- run: npm run build

Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ When generating a change file, follow these guidelines:
2. Write a brief but useful description with Nimble clients in mind. If making a major (breaking) change, explain what clients need to do to adopt it. The description can be plain text or [markdown](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax), with newlines specified via `\n` if needed.
3. If you prefer not to expose your email address to the world, [configure GitHub to "Keep my email address private"](https://github.com/settings/emails) before generating the change file.

### NPM audit
### Dependency Review

The repository runs [`npm audit`](https://docs.npmjs.com/cli/v8/commands/npm-audit) to prevent submissions if any dependencies have known vulnerabilities. This can occur during on a PR that introduces a new dependency version or on an unrelated PR if a vulnerability was recently reported on an existing dependency. If this check fails, our options include:
The repository runs the [Dependency Review](https://github.com/actions/dependency-review-action) action to prevent submissions if any dependencies have known vulnerabilities. This can occur during on a PR that introduces a new dependency version or on an unrelated PR if a vulnerability was recently reported on an existing dependency. If this check fails, our options include:

#### Vulnerabilities with fixes available

Expand All @@ -93,7 +93,7 @@ The repository runs [`npm audit`](https://docs.npmjs.com/cli/v8/commands/npm-aud
If a fix for the vulnerability isn't available or if it isn't practical to uptake the fix, our options include:

1. Remove the vulnerable dependency and find a different way to achieve the same functionality.
2. Temporarily use a more lenient [audit level](https://docs.npmjs.com/cli/v8/commands/npm-audit#audit-level) for this repository (e.g. allowing `low` or `moderate` vulnerabilities). We should ensure there is an issue on the dependency's repository asking them to fix the vulnerability and also file an issue against this repository to track fixing the vulnerability and restoring strict auditing.
2. Dismiss the alert in the [GitHub Security - Dependabot](https://github.com/ni/nimble/security/dependabot) dashboard, and document your rationale for doing so. We should ensure there is an issue on the dependency's repository asking them to fix the vulnerability and also file an issue against this repository to track fixing the vulnerability and restoring strict auditing.


### Chromatic visual component tests
Expand Down
2 changes: 1 addition & 1 deletion angular-workspace/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"karma-jasmine": "^5.1.0",
"karma-jasmine-html-reporter": "^2.0.0",
"ng-packagr": "^15.2.2",
"playwright": "1.40.0",
"playwright": "1.42.0",
"rollup": "^4.12.0",
"typescript": "~4.9.5"
}
Expand Down
60 changes: 60 additions & 0 deletions angular-workspace/projects/ni/nimble-angular/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,66 @@
{
"name": "@ni/nimble-angular",
"entries": [
{
"date": "Tue, 26 Mar 2024 20:45:41 GMT",
"version": "20.5.4",
"tag": "@ni/nimble-angular_v20.5.4",
"comments": {
"patch": [
{
"author": "beachball",
"package": "@ni/nimble-angular",
"comment": "Bump @ni/nimble-components to v24.0.0",
"commit": "not available"
}
]
}
},
{
"date": "Mon, 25 Mar 2024 17:03:11 GMT",
"version": "20.5.3",
"tag": "@ni/nimble-angular_v20.5.3",
"comments": {
"patch": [
{
"author": "beachball",
"package": "@ni/nimble-angular",
"comment": "Bump @ni/nimble-components to v23.0.1",
"commit": "not available"
}
]
}
},
{
"date": "Thu, 21 Mar 2024 17:13:38 GMT",
"version": "20.5.2",
"tag": "@ni/nimble-angular_v20.5.2",
"comments": {
"patch": [
{
"author": "beachball",
"package": "@ni/nimble-angular",
"comment": "Bump @ni/nimble-components to v23.0.0",
"commit": "not available"
}
]
}
},
{
"date": "Wed, 20 Mar 2024 16:45:59 GMT",
"version": "20.5.1",
"tag": "@ni/nimble-angular_v20.5.1",
"comments": {
"patch": [
{
"author": "beachball",
"package": "@ni/nimble-angular",
"comment": "Bump @ni/nimble-components to v22.1.1",
"commit": "not available"
}
]
}
},
{
"date": "Mon, 18 Mar 2024 17:12:34 GMT",
"version": "20.5.0",
Expand Down
34 changes: 33 additions & 1 deletion angular-workspace/projects/ni/nimble-angular/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,41 @@
# Change Log - @ni/nimble-angular

This log was last generated on Mon, 18 Mar 2024 17:12:34 GMT and should not be manually modified.
This log was last generated on Tue, 26 Mar 2024 20:45:41 GMT and should not be manually modified.

<!-- Start content -->

## 20.5.4

Tue, 26 Mar 2024 20:45:41 GMT

### Patches

- Bump @ni/nimble-components to v24.0.0

## 20.5.3

Mon, 25 Mar 2024 17:03:11 GMT

### Patches

- Bump @ni/nimble-components to v23.0.1

## 20.5.2

Thu, 21 Mar 2024 17:13:38 GMT

### Patches

- Bump @ni/nimble-components to v23.0.0

## 20.5.1

Wed, 20 Mar 2024 16:45:59 GMT

### Patches

- Bump @ni/nimble-components to v22.1.1

## 20.5.0

Mon, 18 Mar 2024 17:12:34 GMT
Expand Down
4 changes: 2 additions & 2 deletions angular-workspace/projects/ni/nimble-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ni/nimble-angular",
"version": "20.5.0",
"version": "20.5.4",
"description": "Angular components for the NI Nimble Design System",
"scripts": {
"invoke-publish": "cd ../../../ && npm run build:library && cd dist/ni/nimble-angular && npm publish"
Expand Down Expand Up @@ -31,7 +31,7 @@
"@angular/forms": "^15.2.10",
"@angular/localize": "^15.2.10",
"@angular/router": "^15.2.10",
"@ni/nimble-components": "^22.1.0"
"@ni/nimble-components": "^24.0.0"
},
"dependencies": {
"tslib": "^2.2.0"
Expand Down
49 changes: 25 additions & 24 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@
"beachball": "^2.31.0",
"cross-env": "^7.0.3",
"patch-package": "^8.0.0",
"playwright": "1.40.0"
"playwright": "1.42.0"
}
}
15 changes: 15 additions & 0 deletions packages/jasmine-parameterized/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
{
"name": "@ni/jasmine-parameterized",
"entries": [
{
"date": "Fri, 22 Mar 2024 16:18:25 GMT",
"version": "0.2.3",
"tag": "@ni/jasmine-parameterized_v0.2.3",
"comments": {
"none": [
{
"author": "jattasNI@users.noreply.github.com",
"package": "@ni/jasmine-parameterized",
"commit": "559c12f4b5eaae8fdbd18c6c0d2ecff097b699d5",
"comment": "Update Playwright dev dependency to 1.42.0"
}
]
}
},
{
"date": "Tue, 12 Mar 2024 21:01:53 GMT",
"version": "0.2.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/jasmine-parameterized/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"karma-jasmine": "^5.1.0",
"karma-jasmine-html-reporter": "^2.0.0",
"karma-spec-reporter": "^0.0.36",
"playwright": "1.40.0",
"playwright": "1.42.0",
"typescript": "~4.9.5"
}
}
Loading

0 comments on commit 562eae4

Please sign in to comment.