Skip to content
This repository has been archived by the owner on Feb 4, 2025. It is now read-only.

Commit

Permalink
link lib
Browse files Browse the repository at this point in the history
  • Loading branch information
ssuperczynski committed Aug 21, 2024
1 parent 6e61079 commit 501d327
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,8 @@ jobs:
- name: build demo
run: npm run build

- name: link lib
run: npm run link

- name: e2e
run: npm run cy:ci
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ See https://ngx-easy-table.eu/#/doc
## Development

- 1st tab - `npm run watch:table`
- 2nd tab - `cd dist/ngx-easy-table && npm link`
- 2nd tab - go back to project root dir and `npm link ngx-easy-table`
- 2nd tab - `npm run link`
- 2nd tab - `npm run start`

At the end run `npm run cy:ci` to make sure everything works.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"publish:lib:next": "npm run build:lib && cd dist/ngx-easy-table && npm publish --tag next",
"size": "npm run build:lib && cd dist/ngx-easy-table && npm pack && ls -lh *.tgz",
"build:lib": "cd projects/ngx-easy-table && npm install && ng build ngx-easy-table && sass assets/style.scss ../../dist/ngx-easy-table/style.css",
"prepare": "husky install"
"prepare": "husky install",
"link": "cd dist/ngx-easy-table && npm link && cd ../.. && npm link ngx-easy-table"
},
"license": "MIT",
"dependencies": {
Expand Down

0 comments on commit 501d327

Please sign in to comment.