mirror of
https://github.com/valitydev/ng-libs.git
synced 2024-11-06 00:35:21 +00:00
📚 Angular Libraries
|
||
---|---|---|
.github/workflows | ||
.idea | ||
.run | ||
.vscode | ||
projects | ||
.eslintrc.js | ||
.gitignore | ||
.prettierignore | ||
.prettierrc.js | ||
angular.json | ||
cspell.json | ||
package-lock.json | ||
package.json | ||
README.md | ||
renovate.json | ||
tsconfig.json |
Angular Libraries
💻 Development with locally built/runnable library
-
Link the library
npm link ~/github/valitydev/ng-libs/projects/ng-core/dist
npx link ~/github/valitydev/ng-libs/projects/ng-core/dist
-
Start Library
# cd ../ng-core npm start
-
Start your app
# cd ../your-app npm start
📦 Preparing a Pull Request in your application along with the library
To do this, you can use the version published in the NPM (with the pr
tag) from your PR to the library:
npm i --save-exact @vality/ng-core@pr
The latest version with the tag can also be viewed in NPM
Publish
Apply the PR label publish
to all packages, or specify it for individual packages like publish ng-core
for the ng-core
package.