Skip to content
This repository was archived by the owner on Jan 19, 2026. It is now read-only.

chore: updated the package.json detection and removed the STUB env var#194

Merged
alvarosabu merged 2 commits into
nextfrom
chore/package-root
May 19, 2025
Merged

chore: updated the package.json detection and removed the STUB env var#194
alvarosabu merged 2 commits into
nextfrom
chore/package-root

Conversation

@imranolas
Copy link
Copy Markdown
Contributor

Updated the package.json detection method to avoid needing the STUB variable. Now the runner executes the same regardless of whether the environment is stubbed, vitest, or built.

@imranolas imranolas requested a review from alvarosabu May 15, 2025 15:50
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 19, 2025

Open in StackBlitz

npm i https://pkg.pr.new/storyblok@194

commit: ae9d985

Copy link
Copy Markdown
Contributor

@alvarosabu alvarosabu left a comment

Choose a reason for hiding this comment

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

Hey @imranolas thanks a lot for solving this, I wasn't really happy with the stub workaround. I just modified the script to remove the stub there, I also tested:

  • npm run dev
  • npm run build and then node dist/index.mjs

Everything seems to work so all good 👍

@alvarosabu alvarosabu added the p1-chore [Priority] Doesn't change end-user code behavior (priority) label May 19, 2025
@alvarosabu alvarosabu merged commit 8e83b95 into next May 19, 2025
5 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

p1-chore [Priority] Doesn't change end-user code behavior (priority)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants