Skip to content

fix: check dependencies and devDependencies for @screenly/edge-apps#13

Open
nicomiguelino wants to merge 1 commit into
mainfrom
fix/edge-apps-dependency-check
Open

fix: check dependencies and devDependencies for @screenly/edge-apps#13
nicomiguelino wants to merge 1 commit into
mainfrom
fix/edge-apps-dependency-check

Conversation

@nicomiguelino

Copy link
Copy Markdown
Contributor

Summary

  • The initialize and update actions only checked devDependencies for @screenly/edge-apps when deciding whether to run the Bun build step, so Edge Apps that declare it under dependencies would skip building entirely.
  • Both actions now check dependencies and devDependencies via a merged jq lookup.

Fixes #12

Only devDependencies was checked, so Edge Apps that declare
@screenly/edge-apps under dependencies would skip the build step.

Fixes #12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes build-step detection in the initialize and update composite actions so TypeScript Edge Apps are built when @screenly/edge-apps is declared in either dependencies or devDependencies (resolving Issue #12).

Changes:

  • Update the jq lookup to check a merged dependencies + devDependencies map for @screenly/edge-apps.
  • Apply the same detection logic consistently in both initialize and update actions.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
initialize/action.yml Detects @screenly/edge-apps in both dependencies and devDependencies to decide whether to run Bun install/build.
update/action.yml Same merged-dependency detection to avoid skipping the build step when @screenly/edge-apps is not in devDependencies.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update the initialize and update actions so that dependencies is being checked for @screenly/edge-apps as well

2 participants