Skip to content

chore: on ci added script to set resolution on starter project before… #2842

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

Merged
merged 4 commits into from
May 19, 2025

Conversation

ommeirelles
Copy link
Contributor

@ommeirelles ommeirelles commented May 13, 2025

… install

What's the purpose of this pull request?

Prevent yarn of install a version of @faststore deps from registry on the CI.

How it works?

Created a script to add a resolution property on the package.json to make the yarn resolve all @faststore deps to resolve to the root version (the one generated on the build instead of the registry)

How to test it?

Creating a PR that add something to the @faststore/component or UI and use it on the @faststore/core. This would make the CI fail saying the property does not exists in the @faststore/component or UI cause it would install in the @faststore/core deps from @faststore/ui or @faststore/component from the registry instead the new one generated on the PR.

Starters Deploy Preview

References

SFS-2505

Checklist

You may erase this after checking them all 😉

PR Title and Commit Messages

  • PR title and commit messages follow the Conventional Commits specification
    • Available prefixes: feat, fix, chore, docs, style, refactor, ci and test

PR Description

  • Added a label according to the PR goal - breaking change, bug, contributing, performance, documentation..

Dependencies

  • Committed the pnpm-lock.yaml file when there were changes to the packages

Documentation

  • PR description
  • For documentation changes, ping @Mariana-Caetano to review and update (Or submit a doc request)

@ommeirelles ommeirelles requested a review from a team as a code owner May 13, 2025 18:42
@ommeirelles ommeirelles requested review from hellofanny and eduardoformiga and removed request for a team May 13, 2025 18:42
Copy link

codesandbox-ci bot commented May 13, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@ommeirelles ommeirelles merged commit ae131f9 into main May 19, 2025
11 checks passed
@ommeirelles ommeirelles deleted the chore/dependencie-resolution branch May 19, 2025 17:23
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.

3 participants