ts-ci icon indicating copy to clipboard operation
ts-ci copied to clipboard

is_package_json_version_upgraded in monorepo

Open acurrieclark opened this issue 2 years ago • 4 comments

I am adding Denoify to a package in a monorepo, and came across your excellent github action for managing publishing to deno.land.

Is there a way to configure the is_package_json_version_upgraded action so that it can point to the package.json file in a subdirectory of the repo?

Similarly, is there a way to configure a tag prefix which is checked for the latest semver?

Many thanks.

acurrieclark avatar Jan 10 '23 09:01 acurrieclark

Oh @acurrieclark,
I'm so sorry I missed your the notification.
If you still have this question I can answer it!

garronej avatar May 21 '23 00:05 garronej

Hello! I worked round this using a different action in the end, but I am sure that it will be useful in the future. Is it documented anywhere?

acurrieclark avatar May 23 '23 12:05 acurrieclark

Ok cool!
What was the action you used? Just curious.
The actions are on the actions branch of this repo.
The code for this specific action is here: https://github.com/garronej/ts-ci/blob/actions/src/is_package_json_version_upgraded.ts

It would be cool to have the possiblity to specify a path for the package.json.

Could you give me the link of your repo so that I can have a look at how it is structured?

Thanks

garronej avatar May 23 '23 12:05 garronej

Went with this action in the end.

I was putting together a release action for Automerge at the time. Used your Denoify package there, which is why I tried using this first.

acurrieclark avatar May 23 '23 12:05 acurrieclark