From a6a473ee5c050f97b57a93ab2a0945b5eab61d02 Mon Sep 17 00:00:00 2001 From: Omar Al-Ithawi Date: Tue, 30 Jan 2024 21:05:02 +0300 Subject: [PATCH] feat: tutor-mfe compatiblilty for atlas pull (#1152) - install atlas - remove `--filter` to pull all languages by default - use ATLAS_OPTIONS to allow custom `--filter` - include frontend-platform in `atlas pull` Refs: FC-0012 OEP-58 --- Makefile | 5 +++-- package-lock.json | 9 +++++++++ package.json | 1 + 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b0d0cae330..2bae315722 100644 --- a/Makefile +++ b/Makefile @@ -53,11 +53,12 @@ pull_translations: rm -rf src/i18n/messages mkdir src/i18n/messages cd src/i18n/messages \ - && atlas pull --filter=$(transifex_langs) \ + && atlas pull $(ATLAS_OPTIONS) \ translations/paragon/src/i18n/messages:paragon \ + translations/frontend-platform/src/i18n/messages:frontend-platform \ translations/frontend-app-authn/src/i18n/messages:frontend-app-authn - $(intl_imports) paragon frontend-app-authn + $(intl_imports) paragon frontend-platform frontend-app-authn endif # This target is used by Travis. diff --git a/package-lock.json b/package-lock.json index 9529629a25..d26c46cd09 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,6 +11,7 @@ "dependencies": { "@edx/brand": "npm:@openedx/brand-openedx@^1.2.2", "@edx/frontend-platform": "7.0.1", + "@edx/openedx-atlas": "^0.6.0", "@fortawesome/fontawesome-svg-core": "6.5.1", "@fortawesome/free-brands-svg-icons": "6.5.1", "@fortawesome/free-solid-svg-icons": "6.5.1", @@ -2443,6 +2444,14 @@ "@newrelic/publish-sourcemap": "^5.0.1" } }, + "node_modules/@edx/openedx-atlas": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@edx/openedx-atlas/-/openedx-atlas-0.6.0.tgz", + "integrity": "sha512-wZO7hA4VJ/bXjaQNNR7KXGYyTCNs1mBJd3HwQK2EmOwFZYFNX6nzSAm9S7HCfi/kb1PCRpmp3wJt+v/Eu9BEQg==", + "bin": { + "atlas": "atlas" + } + }, "node_modules/@edx/reactifex": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@edx/reactifex/-/reactifex-1.1.0.tgz", diff --git a/package.json b/package.json index d9350943f8..a9853f657f 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "dependencies": { "@edx/brand": "npm:@openedx/brand-openedx@^1.2.2", "@edx/frontend-platform": "7.0.1", + "@edx/openedx-atlas": "^0.6.0", "@fortawesome/fontawesome-svg-core": "6.5.1", "@fortawesome/free-brands-svg-icons": "6.5.1", "@fortawesome/free-solid-svg-icons": "6.5.1",