Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: how can I trigger changes/release to app when updating dependency using * #724

Open
luckened opened this issue Aug 10, 2023 · 0 comments
Labels
question Further information is requested

Comments

@luckened
Copy link

luckened commented Aug 10, 2023

Imagine I have this app:

apps/poc/package.json

  "dependencies": {
    "@my_app/poc": "*"
  }

writing "*" tells npm to get whatever latest package is available locally, i also have this lib:

libs/poc/package.json

{
  "name": "@my_app/poc",
  "description": "nodescription",
  "version": "0.0.0",
  ...

question: is there a way to trigger a release of the app if I make a change to @my_app/poc lib?

today I get the following message when versioning the app:


> nx run poc:version

[poc] 🟢 Nothing changed since last release.

which is "expected" since nothing changed on the subdirectory apps/poc/

I know one solution would be versioning the packages and changing the version manually on apps/poc/package.json, but I wonder if there's a better solution to this

thanks in advance

@edbzn edbzn added the question Further information is requested label Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants