Skip to content

Commit

Permalink
Swap 'package' requirement type to more clearly state that it's an 'n…
Browse files Browse the repository at this point in the history
…pm' package.
  • Loading branch information
dannon committed Sep 4, 2024
1 parent c9c775f commit 114f973
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ async function installDependenciesFromXML(xmlPath, pluginDir) {
const installPromises = requirements.map(async (dep) => {
const { type: reqType, package: pkgName, version } = dep.$;

if (reqType === "package" && pkgName && version) {
if (reqType === "npm" && pkgName && version) {
try {
const installResult = child_process.spawnSync(
"npm",
Expand Down
2 changes: 1 addition & 1 deletion config/plugins/visualizations/msa/config/msa.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</data_source>
</data_sources>
<requirements>
<requirement type="package" version="0.2.1" package="@galaxyproject/msa"/>
<requirement type="npm" version="0.2.1" package="@galaxyproject/msa"/>
</requirements>
<params>
<param type="dataset" var_name_in_template="hda" required="true">dataset_id</param>
Expand Down

0 comments on commit 114f973

Please sign in to comment.