File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -1135,6 +1135,8 @@ edxapp_npm_bin: "{{ edxapp_npm_dir }}/bin"
1135
1135
edxapp_settings : ' {{ EDXAPP_SETTINGS }}'
1136
1136
EDXAPP_NODE_VERSION : " 20"
1137
1137
EDXAPP_NPM_VERSION : " 10.7.0"
1138
+ NPM_ALIASES :
1139
+ " @edx/brand " : " npm:@edx/brand-edx.org@^2.1.3"
1138
1140
# This is where node installs modules, not node itself
1139
1141
edxapp_node_bin : " {{ edxapp_code_dir }}/node_modules/.bin"
1140
1142
edxapp_user : edxapp
Original file line number Diff line number Diff line change 314
314
- install
315
315
- install:app-requirements
316
316
317
+ - name : Install NPM aliases
318
+ shell : >
319
+ npm install {{ item.key }}@{{ item.value }} --no-save
320
+ args :
321
+ chdir : " {{ edxapp_code_dir }}"
322
+ environment : " {{ edxapp_environment | combine(git_ssh_environment_mixin) }}"
323
+ become_user : " {{ edxapp_user }}"
324
+ with_dict : " {{ NPM_ALIASES }}"
325
+ tags :
326
+ - install
327
+ - install:app-requirements
328
+
317
329
# The next few tasks set up the python code sandbox
318
330
319
331
# need to disable this profile, otherwise the pip inside the sandbox venv has no permissions
You can’t perform that action at this time.
0 commit comments