Skip to content

Commit

Permalink
fix package names
Browse files Browse the repository at this point in the history
  • Loading branch information
trxcllnt committed May 20, 2024
1 parent 3d0e7db commit f208616
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:
set -x;
targetdir="./targets${t:+/${t}}${m:+/${m}}";
pkg_name="$(jq -r '.name' "${targetdir}/package.json")";
npm install --location=global --unsafe-perm "${targetdir}";
npm install --loglevel verbose --global --unsafe-perm "${targetdir}";
cd /;
# Attempt to import as CommonJS
node -e "require('${pkg_name}')" || true;
Expand Down
2 changes: 1 addition & 1 deletion gulp/package-task.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const createScopedPackageJSON = (target, format) => (({ name, ...orig }) =>
// un-set version, since it's automatically applied during the release process
version: undefined,
// set the scoped package name (e.g. "@reactivex/ix-esnext-esm")
name: `${npmOrgName}/${packageName(target, format)}`,
name: `${npmOrgName}/${npmPkgName}-${packageName(target, format)}`,
// set "unpkg"/"jsdeliver" if building scoped UMD target
unpkg: format === 'umd' ? `${mainExport}.dom.js` : undefined,
jsdelivr: format === 'umd' ? `${mainExport}.dom.js` : undefined,
Expand Down

0 comments on commit f208616

Please sign in to comment.