basic changes
This commit is contained in:
parent
78ce01d70f
commit
82383f1daf
@ -51,17 +51,19 @@ module.exports = {
|
|||||||
lang: `ru`,
|
lang: `ru`,
|
||||||
start_url: `/`,
|
start_url: `/`,
|
||||||
display: `minimal-ui`,
|
display: `minimal-ui`,
|
||||||
// icon: `src/images/icon.png`, // This path is relative to the root of the site.
|
icon: `src/images/icon.png`, // This path is relative to the root of the site.
|
||||||
localize: [
|
|
||||||
{
|
|
||||||
start_url: `/en/`,
|
|
||||||
lang: `en`,
|
|
||||||
name: `NPM group`,
|
|
||||||
short_name: `npm`,
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
`gatsby-plugin-netlify-cms`,
|
`gatsby-plugin-netlify-cms`,
|
||||||
|
{
|
||||||
|
resolve: `gatsby-plugin-intl`,
|
||||||
|
options: {
|
||||||
|
path: `${__dirname}/src/intl`,
|
||||||
|
languages: [`ru`, `en`],
|
||||||
|
defaultLanguage: `ru`,
|
||||||
|
redirect: true,
|
||||||
|
redirectComponent: require.resolve(`./src/components/redirect.js`),
|
||||||
|
},
|
||||||
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
131
package-lock.json
generated
131
package-lock.json
generated
@ -1073,6 +1073,56 @@
|
|||||||
"resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.2.5.tgz",
|
"resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.2.5.tgz",
|
||||||
"integrity": "sha512-6U71C2Wp7r5XtFtQzYrW5iKFT67OixrSxjI4MptCHzdSVlgabczzqLe0ZSgnub/5Kp4hSbpDB1tMytZY9pwxxA=="
|
"integrity": "sha512-6U71C2Wp7r5XtFtQzYrW5iKFT67OixrSxjI4MptCHzdSVlgabczzqLe0ZSgnub/5Kp4hSbpDB1tMytZY9pwxxA=="
|
||||||
},
|
},
|
||||||
|
"@formatjs/intl-displaynames": {
|
||||||
|
"version": "1.2.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@formatjs/intl-displaynames/-/intl-displaynames-1.2.0.tgz",
|
||||||
|
"integrity": "sha512-mUGI2sc6OABkrMj42HlOpK1h96EVrN+gOhzbyCTMH9SVH/gPPLr/zFRH3KFWtBwxqhYsDghvUwm8xkdFOK0kTg==",
|
||||||
|
"requires": {
|
||||||
|
"@formatjs/intl-utils": "^2.2.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"@formatjs/intl-listformat": {
|
||||||
|
"version": "1.4.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@formatjs/intl-listformat/-/intl-listformat-1.4.1.tgz",
|
||||||
|
"integrity": "sha512-AX0o1y5xXyMY4ebZOO+UujMcDhniYDs50KpwGzjUPV+bBILwRYqH/6IprZZG/V8YSOtetZlalZiwzJ50dH6PuQ==",
|
||||||
|
"requires": {
|
||||||
|
"@formatjs/intl-utils": "^2.2.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"@formatjs/intl-pluralrules": {
|
||||||
|
"version": "1.5.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/@formatjs/intl-pluralrules/-/intl-pluralrules-1.5.2.tgz",
|
||||||
|
"integrity": "sha512-kxCufLRBOaj9x4PP2QrYmYSmr2WfJnBmUx/6eaajuaHlXTfXvLD1Dz/s1YBXHipOlorh51ehHQPoRgrOCNNpkA==",
|
||||||
|
"requires": {
|
||||||
|
"@formatjs/intl-utils": "^2.2.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"@formatjs/intl-relativetimeformat": {
|
||||||
|
"version": "4.5.9",
|
||||||
|
"resolved": "https://registry.npmjs.org/@formatjs/intl-relativetimeformat/-/intl-relativetimeformat-4.5.9.tgz",
|
||||||
|
"integrity": "sha512-6rgPXQl5MrPPbCuNiHxolzO6xNCHphCVEWW6RWGy7t/Mek70gD7nq1erW8fbQJ0XL/UeAC0Cz/+ggh7vaSsKNA==",
|
||||||
|
"requires": {
|
||||||
|
"@formatjs/intl-utils": "^2.2.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"@formatjs/intl-unified-numberformat": {
|
||||||
|
"version": "3.2.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@formatjs/intl-unified-numberformat/-/intl-unified-numberformat-3.2.0.tgz",
|
||||||
|
"integrity": "sha512-SZMTV/tR0h7nYhS2x69S7zhHXaBmE0ZTR2OIiakt8W7uYWVgcRhu/LgUeVtGzpwPI2ChcOjNMtX/k6y1M9aDNA==",
|
||||||
|
"requires": {
|
||||||
|
"@formatjs/intl-utils": "^2.2.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"@formatjs/intl-utils": {
|
||||||
|
"version": "2.2.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@formatjs/intl-utils/-/intl-utils-2.2.0.tgz",
|
||||||
|
"integrity": "sha512-+Az7tR1av1DHZu9668D8uh9atT6vp+FFmEF8BrEssv0OqzpVjpVBGVmcgPzQP8k2PQjVlm/h2w8cTt0knn132w=="
|
||||||
|
},
|
||||||
|
"@formatjs/macro": {
|
||||||
|
"version": "0.2.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/@formatjs/macro/-/macro-0.2.6.tgz",
|
||||||
|
"integrity": "sha512-DfdnLJf8+PwLHzJECZ1Xfa8+sI9akQnUuLN2UdkaExTQmlY0Vs36rMzEP0JoVDBMk+KdQbJNt72rPeZkBNcKWg=="
|
||||||
|
},
|
||||||
"@hapi/address": {
|
"@hapi/address": {
|
||||||
"version": "2.1.4",
|
"version": "2.1.4",
|
||||||
"resolved": "https://registry.npmjs.org/@hapi/address/-/address-2.1.4.tgz",
|
"resolved": "https://registry.npmjs.org/@hapi/address/-/address-2.1.4.tgz",
|
||||||
@ -1605,6 +1655,11 @@
|
|||||||
"@types/svgo": "*"
|
"@types/svgo": "*"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"@types/invariant": {
|
||||||
|
"version": "2.2.31",
|
||||||
|
"resolved": "https://registry.npmjs.org/@types/invariant/-/invariant-2.2.31.tgz",
|
||||||
|
"integrity": "sha512-jMlgg9pIURvy9jgBHCjQp/CyBjYHUwj91etVcDdXkFl2CwTFiQlB+8tcsMeXpXf2PFE5X2pjk4Gm43hQSMHAdA=="
|
||||||
|
},
|
||||||
"@types/jquery": {
|
"@types/jquery": {
|
||||||
"version": "3.3.31",
|
"version": "3.3.31",
|
||||||
"resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-3.3.31.tgz",
|
"resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-3.3.31.tgz",
|
||||||
@ -3522,6 +3577,11 @@
|
|||||||
"resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz",
|
||||||
"integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8="
|
"integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8="
|
||||||
},
|
},
|
||||||
|
"browser-lang": {
|
||||||
|
"version": "0.1.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/browser-lang/-/browser-lang-0.1.0.tgz",
|
||||||
|
"integrity": "sha512-p4mdcU9fIsoDtbAVorKtxo5H86mK040MYn96yshyhfN3OF0iySuITgR8IxldI72MJAultMnwqDgwfWWwjUrSsw=="
|
||||||
|
},
|
||||||
"browser-resolve": {
|
"browser-resolve": {
|
||||||
"version": "1.11.3",
|
"version": "1.11.3",
|
||||||
"resolved": "https://registry.npmjs.org/browser-resolve/-/browser-resolve-1.11.3.tgz",
|
"resolved": "https://registry.npmjs.org/browser-resolve/-/browser-resolve-1.11.3.tgz",
|
||||||
@ -9399,6 +9459,19 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"gatsby-plugin-intl": {
|
||||||
|
"version": "0.3.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/gatsby-plugin-intl/-/gatsby-plugin-intl-0.3.2.tgz",
|
||||||
|
"integrity": "sha512-bB6F6nkjhLpBlMsHmm6aPrZU+wSUIKdmJ4LSFPdrwl8pCIKKDyP7pokBKzYn1B1OM2wOB3rTXfRZ9DHIKiDIfA==",
|
||||||
|
"requires": {
|
||||||
|
"@babel/runtime": "^7.4.5",
|
||||||
|
"@formatjs/intl-pluralrules": "^1.3.1",
|
||||||
|
"@formatjs/intl-relativetimeformat": "^4.2.1",
|
||||||
|
"browser-lang": "^0.1.0",
|
||||||
|
"intl": "^1.2.5",
|
||||||
|
"react-intl": "^3.4.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"gatsby-plugin-manifest": {
|
"gatsby-plugin-manifest": {
|
||||||
"version": "2.2.31",
|
"version": "2.2.31",
|
||||||
"resolved": "https://registry.npmjs.org/gatsby-plugin-manifest/-/gatsby-plugin-manifest-2.2.31.tgz",
|
"resolved": "https://registry.npmjs.org/gatsby-plugin-manifest/-/gatsby-plugin-manifest-2.2.31.tgz",
|
||||||
@ -11931,6 +12004,38 @@
|
|||||||
"integrity": "sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw==",
|
"integrity": "sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"intl": {
|
||||||
|
"version": "1.2.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/intl/-/intl-1.2.5.tgz",
|
||||||
|
"integrity": "sha1-giRKIZDE5Bn4Nx9ao02qNCDiq94="
|
||||||
|
},
|
||||||
|
"intl-format-cache": {
|
||||||
|
"version": "4.2.21",
|
||||||
|
"resolved": "https://registry.npmjs.org/intl-format-cache/-/intl-format-cache-4.2.21.tgz",
|
||||||
|
"integrity": "sha512-6pZlBdqTRUuuwRWywPItHY1JQwzQxWcpBHv6w4M8T6bGzAsiL/QmI+XsdOhsqJLaL4ZmTATn1kIkNlMk4VzSLQ=="
|
||||||
|
},
|
||||||
|
"intl-locales-supported": {
|
||||||
|
"version": "1.8.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/intl-locales-supported/-/intl-locales-supported-1.8.4.tgz",
|
||||||
|
"integrity": "sha512-wO0JhDqhshhkq8Pa9CLcstqd1aCXjfMgfMzjD6mDreS3mTSDbjGiMU+07O8BdJGxed7Q0Wf3TFVjGq0W3Y0n1w=="
|
||||||
|
},
|
||||||
|
"intl-messageformat": {
|
||||||
|
"version": "7.8.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/intl-messageformat/-/intl-messageformat-7.8.4.tgz",
|
||||||
|
"integrity": "sha512-yS0cLESCKCYjseCOGXuV4pxJm/buTfyCJ1nzQjryHmSehlptbZbn9fnlk1I9peLopZGGbjj46yHHiTAEZ1qOTA==",
|
||||||
|
"requires": {
|
||||||
|
"intl-format-cache": "^4.2.21",
|
||||||
|
"intl-messageformat-parser": "^3.6.4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"intl-messageformat-parser": {
|
||||||
|
"version": "3.6.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/intl-messageformat-parser/-/intl-messageformat-parser-3.6.4.tgz",
|
||||||
|
"integrity": "sha512-RgPGwue0mJtoX2Ax8EmMzJzttxjnva7gx0Q7mKJ4oALrTZvtmCeAw5Msz2PcjW4dtCh/h7vN/8GJCxZO1uv+OA==",
|
||||||
|
"requires": {
|
||||||
|
"@formatjs/intl-unified-numberformat": "^3.2.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"into-stream": {
|
"into-stream": {
|
||||||
"version": "3.1.0",
|
"version": "3.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/into-stream/-/into-stream-3.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/into-stream/-/into-stream-3.1.0.tgz",
|
||||||
@ -17109,6 +17214,27 @@
|
|||||||
"prop-types": "^15.5.8"
|
"prop-types": "^15.5.8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"react-intl": {
|
||||||
|
"version": "3.12.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/react-intl/-/react-intl-3.12.0.tgz",
|
||||||
|
"integrity": "sha512-VQWkFYSKKoi85p3gOXgG80KkBImdBJXwJxssO9gqdelW/fuVnxQLXgYOKuOqWrUz5beXK+qBve6bTpblh1ep2g==",
|
||||||
|
"requires": {
|
||||||
|
"@formatjs/intl-displaynames": "^1.2.0",
|
||||||
|
"@formatjs/intl-listformat": "^1.3.7",
|
||||||
|
"@formatjs/intl-relativetimeformat": "^4.5.7",
|
||||||
|
"@formatjs/intl-unified-numberformat": "^3.0.4",
|
||||||
|
"@formatjs/intl-utils": "^2.0.4",
|
||||||
|
"@formatjs/macro": "^0.2.6",
|
||||||
|
"@types/hoist-non-react-statics": "^3.3.1",
|
||||||
|
"@types/invariant": "^2.2.31",
|
||||||
|
"hoist-non-react-statics": "^3.3.1",
|
||||||
|
"intl-format-cache": "^4.2.19",
|
||||||
|
"intl-locales-supported": "^1.8.4",
|
||||||
|
"intl-messageformat": "^7.8.2",
|
||||||
|
"intl-messageformat-parser": "^3.6.2",
|
||||||
|
"shallow-equal": "^1.2.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
"react-is": {
|
"react-is": {
|
||||||
"version": "16.8.3",
|
"version": "16.8.3",
|
||||||
"resolved": "https://registry.npmjs.org/react-is/-/react-is-16.8.3.tgz",
|
"resolved": "https://registry.npmjs.org/react-is/-/react-is-16.8.3.tgz",
|
||||||
@ -18779,6 +18905,11 @@
|
|||||||
"resolved": "https://registry.npmjs.org/shallow-compare/-/shallow-compare-1.2.2.tgz",
|
"resolved": "https://registry.npmjs.org/shallow-compare/-/shallow-compare-1.2.2.tgz",
|
||||||
"integrity": "sha512-LUMFi+RppPlrHzbqmFnINTrazo0lPNwhcgzuAXVVcfy/mqPDrQmHAyz5bvV0gDAuRFrk804V0HpQ6u9sZ0tBeg=="
|
"integrity": "sha512-LUMFi+RppPlrHzbqmFnINTrazo0lPNwhcgzuAXVVcfy/mqPDrQmHAyz5bvV0gDAuRFrk804V0HpQ6u9sZ0tBeg=="
|
||||||
},
|
},
|
||||||
|
"shallow-equal": {
|
||||||
|
"version": "1.2.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/shallow-equal/-/shallow-equal-1.2.1.tgz",
|
||||||
|
"integrity": "sha512-S4vJDjHHMBaiZuT9NPb616CSmLf618jawtv3sufLl6ivK8WocjAo58cXwbRV1cgqxH0Qbv+iUt6m05eqEa2IRA=="
|
||||||
|
},
|
||||||
"shallowequal": {
|
"shallowequal": {
|
||||||
"version": "1.1.0",
|
"version": "1.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz",
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
"gatsby-awesome-pagination": "^0.3.5",
|
"gatsby-awesome-pagination": "^0.3.5",
|
||||||
"gatsby-cli": "^2.8.22",
|
"gatsby-cli": "^2.8.22",
|
||||||
"gatsby-image": "^2.2.34",
|
"gatsby-image": "^2.2.34",
|
||||||
|
"gatsby-plugin-intl": "^0.3.2",
|
||||||
"gatsby-plugin-manifest": "^2.2.31",
|
"gatsby-plugin-manifest": "^2.2.31",
|
||||||
"gatsby-plugin-netlify-cms": "^4.1.33",
|
"gatsby-plugin-netlify-cms": "^4.1.33",
|
||||||
"gatsby-plugin-offline": "^3.0.27",
|
"gatsby-plugin-offline": "^3.0.27",
|
||||||
|
Loading…
Reference in New Issue
Block a user