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

chore: 'hoist' package to reduce pipeline variance #1705

Merged
merged 1 commit into from
May 11, 2023

Conversation

connor4312
Copy link
Member

This adds a new build mode where the built assets will replace those in the repo. This can be used in pipelines to avoid having the "workingDir" that doesn't exist until later.

I also looked at modifying the checked-in package.json, but this was difficult because:

(a) we modify the name for nightly builds, which includes local
development, and having this change based on the build is noisy.
(b) there's just a lot of package.json (about 13k lines) which
uncompressed is sizable

This adds a new build mode where the built assets will replace those in
the repo. This can be used in pipelines to avoid having the "workingDir"
that doesn't exist until later.

I also looked at modifying the checked-in package.json, but this was
difficult because:

(a) we modify the _name_ for nightly builds, which includes local
    development, and having this change based on the build is noisy.
(b) there's just a lot of package.json (about 13k lines) which
    uncompressed is sizable
@connor4312
Copy link
Member Author

the nightly 'failure' is just a test build where publishing as disabled

@connor4312 connor4312 enabled auto-merge (squash) May 11, 2023 22:40
@connor4312 connor4312 merged commit d7ef9e6 into main May 11, 2023
@connor4312 connor4312 deleted the cleaner-packaging branch May 11, 2023 22:57
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.

2 participants