-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ApiTable): Add ability to specify function type #485
Conversation
d475800
to
dbecd6e
Compare
<Head> | ||
<title>{title}</title> | ||
<meta charSet="utf-8" /> | ||
<meta name="viewport" content="initial-scale=1.0, width=device-width" /> | ||
<script type="text/javascript" src="/static/newrelic.js" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These were generating a warning: https://nextjs.org/docs/messages/no-script-tags-in-head-component
dbecd6e
to
a1abdb1
Compare
@@ -21,7 +21,8 @@ | |||
"jest", | |||
"@testing-library/jest-dom" | |||
], | |||
"skipLibCheck": true | |||
"skipLibCheck": true, | |||
"incremental": true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
next
was adding this automatically.
"sass-loader": "^12.4.0", | ||
"semantic-release": "^17.4.2", | ||
"typescript": "^4.5.4" | ||
"semantic-release": "^19.0.2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated this to resolve security alerts – the breaking changes were dropping support for Node 15 and Node <14.17.
@@ -16,9 +16,6 @@ | |||
"codegen": "gql-gen --config codegen.yml", | |||
"audit": "./scripts/audit/audit.sh" | |||
}, | |||
"jest": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was causing a warning from Jest that that is was ignoring this as there is a jest.config.js
(it's not needed also as the GitHub Actions workflow specifies --testResultsProcessor
).
@@ -1,5 +1,4 @@ | |||
/// <reference types="next" /> | |||
/// <reference types="next/types/global" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
next
was changing this automatically.
This removes the dependency of Storybook on the legacy CSS Framework and removes unneeded Storybook add-ons. (Note that Next.js has its own PostCSS config bulit-in.)
This was causing a warning and isn't needed as the `testResultsProcessor` is specified in the GitHub Actions workflow.
Also resolves this warning from Next.js: https://nextjs.org/docs/messages/no-script-tags-in-head-component
This remove tests for the component pages as these have been removed, and updates a masthead test.
a1abdb1
to
a76fb00
Compare
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
🎉 This PR is included in version 1.10.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Related issue
Royal-Navy/design-system#3097
Overview
This:
yarn audit
Link to preview
https://timeline-v3-docs.netlify.app/timeline
Reason
Get everything working again and make Timeline docs more accurate.
Work carried out
yarn audit
security warningsScreenshot
Note the monospace font that gets used varies by OS (the Ubuntu one is a bit ugly):
Before
After
Developer notes
Can consider any other tweaks to improve the Timeline docs for the render props.