@@ -9,7 +9,7 @@ const fs = require('fs');
99 * @returns {string } Paragon dependency version of the consuming application
1010 */
1111function getParagonVersion ( dir , { isBrandOverride = false } = { } ) {
12- const npmPackageName = isBrandOverride ? '@edx/brand' : '@edx /paragon' ;
12+ const npmPackageName = isBrandOverride ? '@edx/brand' : '@openedx /paragon' ;
1313 const pathToPackageJson = `${ dir } /node_modules/${ npmPackageName } /package.json` ;
1414 if ( ! fs . existsSync ( pathToPackageJson ) ) {
1515 return undefined ;
@@ -38,12 +38,12 @@ function getParagonVersion(dir, { isBrandOverride = false } = {}) {
3838 */
3939
4040/**
41- * Attempts to extract the Paragon theme CSS from the locally installed `@edx /paragon` package.
41+ * Attempts to extract the Paragon theme CSS from the locally installed `@openedx /paragon` package.
4242 * @param {string } dir Path to directory containing `node_modules`.
4343 * @returns {ParagonThemeCss }
4444 */
4545function getParagonThemeCss ( dir , { isBrandOverride = false } = { } ) {
46- const npmPackageName = isBrandOverride ? '@edx/brand' : '@edx /paragon' ;
46+ const npmPackageName = isBrandOverride ? '@edx/brand' : '@openedx /paragon' ;
4747 const pathToParagonThemeOutput = path . resolve ( dir , 'node_modules' , npmPackageName , 'dist' , 'theme-urls.json' ) ;
4848
4949 if ( ! fs . existsSync ( pathToParagonThemeOutput ) ) {
@@ -128,8 +128,8 @@ function getParagonCacheGroups(paragonThemeCss) {
128128 * @param {ParagonThemeCss } paragonThemeCss The Paragon theme CSS metadata.
129129 * @returns {Object.<string, string> } The entry points for the Paragon theme CSS. Example: ```
130130 * {
131- * "paragon.theme.core": "/path/to/node_modules/@edx /paragon/dist/core.min.css",
132- * "paragon.theme.variants.light": "/path/to/node_modules/@edx /paragon/dist/light.min.css"
131+ * "paragon.theme.core": "/path/to/node_modules/@openedx /paragon/dist/core.min.css",
132+ * "paragon.theme.variants.light": "/path/to/node_modules/@openedx /paragon/dist/light.min.css"
133133 * }
134134 * ```
135135 */
0 commit comments