diff --git a/.babelrc b/.babelrc index ecbbebfa8..829b45cb4 100644 --- a/.babelrc +++ b/.babelrc @@ -19,7 +19,8 @@ "i18n": { "plugins": [ ["react-intl", { - "messagesDir": "./temp" + "messagesDir": "./temp", + "moduleSourceName": "@edx/frontend-i18n" }] ] } diff --git a/package-lock.json b/package-lock.json index bb6aaa029..2d0411c0f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1425,9 +1425,9 @@ "dev": true }, "@edx/frontend-i18n": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@edx/frontend-i18n/-/frontend-i18n-1.0.2.tgz", - "integrity": "sha512-elCY7JGKk0AluCcHWWN1Q9ZZBRH8X0ebxGsjNhxUW6y8YnUTpgbzzKU/G9UBLj2Se8udFI6y6fpxnGoXhT4upA==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@edx/frontend-i18n/-/frontend-i18n-1.1.0.tgz", + "integrity": "sha512-bTS/zGYupas/xbgAV4XKF43b+eQwNfd2Ffhzw4V7L0LUiMm9ULkISHJIhPu3co0Veu/T+sjZn3wkLee/TNk6JQ==", "dev": true, "requires": { "@cospired/i18n-iso-languages": "^2.0.2", @@ -2015,9 +2015,9 @@ } }, "@types/cookie": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@types/cookie/-/cookie-0.3.2.tgz", - "integrity": "sha512-aHQA072E10/8iUQsPH7mQU/KUyQBZAGzTVRCUvnSz8mSvbrYsP4xEO2RSA0Pjltolzi0j8+8ixrm//Hr4umPzw==", + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@types/cookie/-/cookie-0.3.3.tgz", + "integrity": "sha512-LKVP3cgXBT9RYj+t+9FDKwS5tdI+rPBXaNSkma7hvqy35lc7mAokC2zsqWJH0LaqIt3B962nuYI77hsJoT1gow==", "dev": true }, "@types/node": { @@ -11350,9 +11350,9 @@ "dev": true }, "intl-format-cache": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/intl-format-cache/-/intl-format-cache-2.1.0.tgz", - "integrity": "sha1-BKNp/sv61tpgBbrh8UMzMy3PkxY=", + "version": "2.2.6", + "resolved": "https://registry.npmjs.org/intl-format-cache/-/intl-format-cache-2.2.6.tgz", + "integrity": "sha512-8adofiGDGj6Zo9WswzRtQojtKDSLeiZz6r8dMnttM3MYwcqVhkBBvAJ0TxOHQol4VV5PFoFirMg5Xi43Y3AMIA==", "dev": true }, "intl-messageformat": { @@ -11371,9 +11371,9 @@ "dev": true }, "intl-relativeformat": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/intl-relativeformat/-/intl-relativeformat-2.1.0.tgz", - "integrity": "sha1-AQ8RBYAiUfQKxH0OPhogE0iiVd8=", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/intl-relativeformat/-/intl-relativeformat-2.2.0.tgz", + "integrity": "sha512-4bV/7kSKaPEmu6ArxXf9xjv1ny74Zkwuey8Pm01NH4zggPP7JHwg2STk8Y3JdspCKRDriwIyLRfEXnj2ZLr4Bw==", "dev": true, "requires": { "intl-messageformat": "^2.0.0" diff --git a/package.json b/package.json index 9b4c8fa60..fc6088515 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "@commitlint/config-angular": "^6.0.2", "@commitlint/prompt": "^6.0.2", "@commitlint/prompt-cli": "^6.0.2", - "@edx/frontend-i18n": "^1.0.2", + "@edx/frontend-i18n": "^1.0.4", "@edx/frontend-logging": "^2.0.2", "@edx/paragon": "^4.2.4", "@fortawesome/fontawesome-svg-core": "^1.2.17", @@ -93,7 +93,7 @@ "query-string": "^5.1.1" }, "peerDependencies": { - "@edx/frontend-i18n": "^1.0.2", + "@edx/frontend-i18n": "^1.0.4", "@edx/frontend-logging": "^2.0.2", "@edx/paragon": "^4.2.4", "prop-types": "^15.5.10",