Skip to content

Commit

Permalink
fix(ngx-jwt-auth): build issue where full path of dist/library folder…
Browse files Browse the repository at this point in the history
… is pushed to npm
  • Loading branch information
uzenith360 committed Jan 28, 2023
1 parent 81b7715 commit d4ec549
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ jobs:
# - name: Test
# run: npm run test:unit --if-present
# Semantic plugin already builds the project
# - name: Build
# run: npm run build
- name: Build
run: npm run build
- name: Create .npmrc file
run: |
echo registry=https://registry.npmjs.org/ > .npmrc
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"ng": "ng",
"start": "ng serve",
"build": "npm run clean && ng build ngx-jwt-auth",
"build:ngx-jwt-auth": "npm run clean && ng build ngx-jwt-auth && cp package.json dist/ngx-jwt-auth/package.json",
"build:ngx-jwt-auth": "npm run clean && ng build ngx-jwt-auth",
"watch": "ng build --watch --configuration development",
"prepack": "npm run build:ngx-jwt-auth",
"test": "ng test ngx-jwt-auth",
Expand Down Expand Up @@ -81,7 +81,7 @@
[
"@semantic-release/npm",
{
"pkgRoot": "projects/ngx-jwt-auth/"
"pkgRoot": "dist/ngx-jwt-auth/"
}
],
"@semantic-release/release-notes-generator",
Expand Down

0 comments on commit d4ec549

Please sign in to comment.