Skip to content
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

chore: update deps #496

Merged
merged 6 commits into from
May 16, 2022
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
42 changes: 42 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,45 @@ updates:
commit-message:
prefix: chore(deps)
prefix-development: chore(deps-dev)
ignore:
hast-util-to-string:
versions: ["*2.0.0"]
mdast-util-toc:
versions: ["*6.1.0"]
rehype-raw:
versions: ["*6.1.1"]
rehype-react:
versions: ["*7.1.1"]
rehype-sanitize:
versions: ["*5.0.1"]
rehype-stringify:
versions: ["*9.0.3"]
remark-breaks:
versions: ["*3.0.2"]
remark-disable-tokenizers:
versions: ["*1.1.0"]
remark-frontmatter:
versions: ["*4.0.1"]
remark-parse:
versions: ["*10.0.1"]
remark-rehype:
versions: ["*10.1.0"]
remark-slug:
versions: ["*7.0.1"]
remark-stringify:
versions: ["*10.0.2"]
unified:
versions: ["*10.1.2"]
unist-util-map:
versions: ["*3.1.1"]
unist-util-select:
versions: ["*4.0.1"]
"@hot-loader/react-dom":
versions: ["*17.0.2"]
"@testing-library/react":
versions: ["*13.2.0"]
react:
versions: ["*18.1.0"]
react-dom:
versions: ["*18.1.0"]

84 changes: 84 additions & 0 deletions .npm-upgrade.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"ignore": {
"hast-util-to-string": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should add these to the dependabot config too

"versions": "*2.0.0",
"reason": ""
},
"mdast-util-toc": {
"versions": "*6.1.0",
"reason": ""
},
"rehype-raw": {
"versions": "*6.1.1",
"reason": ""
},
"rehype-react": {
"versions": "*7.1.1",
"reason": ""
},
"rehype-sanitize": {
"versions": "*5.0.1",
"reason": ""
},
"rehype-stringify": {
"versions": "*9.0.3",
"reason": ""
},
"remark-breaks": {
"versions": "*3.0.2",
"reason": ""
},
"remark-disable-tokenizers": {
"versions": "*1.1.0",
"reason": ""
},
"remark-frontmatter": {
"versions": "*4.0.1",
"reason": ""
},
"remark-parse": {
"versions": "*10.0.1",
"reason": ""
},
"remark-rehype": {
"versions": "*10.1.0",
"reason": ""
},
"remark-slug": {
"versions": "*7.0.1",
"reason": ""
},
"remark-stringify": {
"versions": "*10.0.2",
"reason": ""
},
"unified": {
"versions": "*10.1.2",
"reason": ""
},
"unist-util-map": {
"versions": "*3.1.1",
"reason": ""
},
"unist-util-select": {
"versions": "*4.0.1",
"reason": ""
},
"@hot-loader/react-dom": {
"versions": "*17.0.2",
"reason": ""
},
"@testing-library/react": {
"versions": "*13.2.0",
"reason": ""
},
"react": {
"versions": "*18.1.0",
"reason": ""
},
"react-dom": {
"versions": "*18.1.0",
"reason": ""
}
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion __tests__/browser/setup.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
import { configureToMatchImageSnapshot } from 'jest-image-snapshot';
import path from 'path';

const opts = {};
const opts = {
comparisonMethod: 'ssim',
customDiffConfig: {
ssim: 'bezkrovny',
},
};

if (process.env.CI) {
opts.customSnapshotsDir = path.resolve('__tests__/browser/ci/');
Expand Down
4 changes: 3 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ const unit = {
setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
testEnvironment: 'jsdom',
testPathIgnorePatterns: ['/browser/'],
testURL: 'http://localhost',
testEnvironmentOptions: {
url: 'http://localhost',
},
};

module.exports = { projects: [unit, browser] };
Loading