Skip to content

Commit d6f0fef

Browse files
Merge pull request #75 from arcticicestudio/feature/gh-64-core-organism-component-header
Core Organism Component: Header
2 parents 39c1304 + 6e72831 commit d6f0fef

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+1913
-40
lines changed

.eslintrc.js

+3
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ module.exports = {
3434
},
3535
settings: {
3636
"import/resolver": {
37+
jest: {
38+
jestConfigFile: resolve(__dirname, "jest.config.js")
39+
},
3740
node: {
3841
/* Resolve Webpack alias imports */
3942
paths: [resolve(__dirname, "src"), resolve(__dirname, "src/components")]

jest.config.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ module.exports = {
4646
*/
4747
moduleNameMapper: {
4848
/* Reflect Webpack's `resolve.alias` configuration. */
49-
"^assets(.*)$": "<rootDir>/src/assets$1",
5049
"^atoms(.*)$": "<rootDir>/src/components/atoms$1",
5150
"^config(.*)$": "<rootDir>/src/config$1",
5251
"^containers(.*)$": "<rootDir>/src/components/containers$1",
5352
"^data(.*)$": "<rootDir>/src/data$1",
5453
"^layouts(.*)$": "<rootDir>/src/components/layouts$1",
5554
"^molecules(.*)$": "<rootDir>/src/components/molecules$1",
55+
"^nord-docs-test-utils(.*)$": "<rootDir>/test/__utils__$1",
5656
"^organisms(.*)$": "<rootDir>/src/components/organisms$1",
5757
"^pages(.*)$": "<rootDir>/src/pages$1",
5858
"^stores(.*)$": "<rootDir>/src/stores$1",
@@ -61,8 +61,10 @@ module.exports = {
6161
"^utils(.*)$": "<rootDir>/src/utils$1",
6262
/* Map all import stylesheets to the "identity object proxy" module. */
6363
".+\\.(css|styl|less|sass|scss)$": "identity-obj-proxy",
64-
".+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":
65-
"<rootDir>/test/__mocks__/file.js"
64+
".+\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":
65+
"<rootDir>/test/__mocks__/file.js",
66+
/* Ensure React components loaded from SVG files are mocked correctly. */
67+
".+\\.svg$": "<rootDir>/test/__mocks__/svgr.js"
6668
},
6769

6870
/*

package-lock.json

+160
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+4
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
"del-cli": "1.1.0",
6262
"eslint": "5.9.0",
6363
"eslint-config-arcticicestudio": ">=0.4.0 <1.0.0",
64+
"eslint-import-resolver-jest": "2.1.1",
6465
"eslint-plugin-babel": "5.3.0",
6566
"eslint-plugin-import": "2.14.0",
6667
"eslint-plugin-jsx-a11y": "6.1.2",
@@ -81,6 +82,7 @@
8182
"webpack-bundle-analyzer": "3.0.3"
8283
},
8384
"dependencies": {
85+
"body-scroll-lock": "2.6.1",
8486
"gatsby": "2.0.55",
8587
"gatsby-plugin-canonical-urls": "2.0.7",
8688
"gatsby-plugin-catch-links": "2.0.8",
@@ -98,9 +100,11 @@
98100
"react": "16.6.3",
99101
"react-dom": "16.6.3",
100102
"react-helmet": "5.2.0",
103+
"react-pose": "4.0.4",
101104
"styled-components": "4.1.2",
102105
"styled-modern-normalize": ">=0.2.0 <1.0.0",
103106
"styled-theming": "2.2.0",
107+
"subscribe-ui-event": "2.0.5",
104108
"typeface-rubik": "0.0.54",
105109
"typeface-source-code-pro": "0.0.54"
106110
}

src/assets/images/.gitkeep

-1
This file was deleted.
Loading
Loading
Loading
Loading
Loading

src/assets/images/logos/nord.svg

+4
Loading

0 commit comments

Comments
 (0)