Skip to content

Commit 09b6a8f

Browse files
build: use paragon cli to install @edx/brand packages in local dev (#1332)
1 parent 397fcbb commit 09b6a8f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,18 +91,17 @@
9191
"license": "AGPL-3.0",
9292
"scripts": {
9393
"build": "fedx-scripts webpack",
94-
"build:with-theme": "THEME=npm:@edx/brand-edx.org@latest npm run install-theme && npm run build",
94+
"build:with-theme": "paragon install-theme && npm run build && npm install",
9595
"i18n_extract": "fedx-scripts formatjs extract --throws",
9696
"check-types": "tsc --noEmit",
9797
"lint": "fedx-scripts eslint --ext .js --ext .jsx --ext .ts --ext .tsx .",
9898
"lint:fix": "fedx-scripts eslint --fix --ext .js --ext .jsx --ext .ts --ext .tsx .",
9999
"precommit": "npm run lint",
100100
"snapshot": "fedx-scripts jest --updateSnapshot",
101-
"install-theme": "npm install \"@edx/brand@${THEME}\" --no-save",
102101
"start": "fedx-scripts webpack-dev-server --progress",
103102
"start:stage": "npm run start -- --config=webpack.dev-stage.config.js",
104-
"start:with-theme": "THEME=npm:@edx/brand-edx.org@latest npm run install-theme && npm run start",
105-
"start:stage:with-theme": "THEME=npm:@edx/brand-edx.org@latest npm run install-theme && npm run start:stage",
103+
"start:with-theme": "paragon install-theme && npm run start && npm install",
104+
"start:stage:with-theme": "paragon install-theme && npm run start:stage && npm install",
106105
"test": "fedx-scripts jest --coverage --passWithNoTests --maxWorkers=50%",
107106
"test:watch": "npm run test -- --watch",
108107
"serve": "fedx-scripts serve",

0 commit comments

Comments
 (0)