Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Format useragent in simple terms (#1165)
Browse files Browse the repository at this point in the history
* feat: rm-122 format useragent in simple terms

* fix: remove readme icon from public-facing docs

* fix: tests

* style: adjust spacing

* chore: modify seed data
  • Loading branch information
ilias-t authored Feb 4, 2021
1 parent 77b90eb commit 678c541
Show file tree
Hide file tree
Showing 20 changed files with 3,975 additions and 18,689 deletions.
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ module.exports = {
},
moduleNameMapper: {
'.+\\.(css|styl|less|sass|scss)$': 'identity-obj-proxy',
'\\.svg$': path.join(__dirname, '/lib/svgr-mock.js'),
},
setupFiles: [path.join(__dirname, '/lib/enzyme')],
testMatch: ['**/__tests__/**/(*.)+test.[jt]s?(x)'],
Expand Down
5 changes: 5 additions & 0 deletions lib/svgr-mock.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// eslint-disable-next-line no-unused-vars
const React = require('react');

module.exports.default = 'SvgrURL';
module.exports.ReactComponent = 'div';
7,777 changes: 2,076 additions & 5,701 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@readme/eslint-config": "^4.0.0",
"@svgr/webpack": "^5.5.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^26.0.1",
Expand All @@ -63,6 +64,7 @@
"husky": "^4.2.5",
"identity-obj-proxy": "^3.0.0",
"lerna": "^3.14.1",
"lodash": "^4.17.20",
"node-sass": "^4.12.0",
"prettier": "^2.0.1",
"react": "^16.14.0",
Expand All @@ -84,7 +86,7 @@
},
{
"path": "packages/api-logs/dist/index.js",
"maxSize": "10KB"
"maxSize": "15KB"
},
{
"path": "packages/variable/dist/index.js",
Expand Down
Loading

0 comments on commit 678c541

Please sign in to comment.