Skip to content

Commit

Permalink
src: corrected package naming to library package convention
Browse files Browse the repository at this point in the history
Since npm is a library package, it's best we correct it to the
library package naming convention for consistency purposes. Hence,
let's do this.

This patch corrects npm packing naming creation with library
package convention in src/ directory

Co-authored-by: Shuralyov, Jean <[email protected]>
Co-authored-by: Galyna, Cory <[email protected]>
Co-authored-by: (Holloway) Chew, Kean Ho <[email protected]>
Signed-off-by: (Holloway) Chew, Kean Ho <[email protected]>
  • Loading branch information
3 people committed Jun 7, 2024
1 parent 03f306f commit f5bf9cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/.ci/_package-npm_unix-any.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ PACKAGE_Assemble_NPM_Content() {


# execute
__dest="${_directory}/${PROJECT_SKU}_${PROJECT_VERSION}_js-js.tgz"
__dest="${_directory}/lib${PROJECT_SKU}-npm_${PROJECT_VERSION}_js-js.tgz"
I18N_Copy "$_target" "$__dest"
FS_Copy_File "$_target" "$__dest"
if [ $? -ne 0 ]; then
Expand Down
2 changes: 1 addition & 1 deletion src/.ci/_package-npm_windows-any.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function PACKAGE-Assemble-NPM-Content {


# execute
$__dest = "${_directory}\${env:PROJECT_SKU}_${env:PROJECT_VERSION}_js-js.tgz"
$__dest = "${_directory}\lib${env:PROJECT_SKU}-npm_${env:PROJECT_VERSION}_js-js.tgz"
$null = I18N-Copy "${_target}" "${__dest}"
$___process = FS-Copy-File "${_target}" "${__dest}"
if ($___process -ne 0) {
Expand Down

0 comments on commit f5bf9cb

Please sign in to comment.