-
Notifications
You must be signed in to change notification settings - Fork 80
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
feat(router-sdk): separate esm/cjs builds #223
Open
just-toby
wants to merge
1
commit into
feat/universal-router-sdk-esm-build
Choose a base branch
from
feat/router-sdk-build
base: feat/universal-router-sdk-esm-build
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
feat(router-sdk): separate esm/cjs builds #223
just-toby
wants to merge
1
commit into
feat/universal-router-sdk-esm-build
from
feat/router-sdk-build
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced Dec 16, 2024
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
just-toby
force-pushed
the
feat/router-sdk-build
branch
from
December 16, 2024 20:15
c6c87a9
to
9f045cc
Compare
This was referenced Dec 16, 2024
just-toby
force-pushed
the
feat/universal-router-sdk-esm-build
branch
from
December 16, 2024 21:57
1950758
to
0794387
Compare
just-toby
force-pushed
the
feat/router-sdk-build
branch
from
December 16, 2024 21:57
9f045cc
to
bf27ecf
Compare
just-toby
force-pushed
the
feat/universal-router-sdk-esm-build
branch
from
December 16, 2024 22:45
0794387
to
88fd603
Compare
just-toby
force-pushed
the
feat/router-sdk-build
branch
from
December 16, 2024 22:46
bf27ecf
to
afb7c94
Compare
just-toby
force-pushed
the
feat/universal-router-sdk-esm-build
branch
from
December 16, 2024 23:05
88fd603
to
e8c6e06
Compare
just-toby
force-pushed
the
feat/router-sdk-build
branch
from
December 16, 2024 23:05
afb7c94
to
45e391a
Compare
just-toby
force-pushed
the
feat/universal-router-sdk-esm-build
branch
from
December 16, 2024 23:07
e8c6e06
to
8d79889
Compare
just-toby
force-pushed
the
feat/router-sdk-build
branch
from
December 16, 2024 23:07
45e391a
to
da7bc1a
Compare
just-toby
force-pushed
the
feat/universal-router-sdk-esm-build
branch
from
December 16, 2024 23:24
8d79889
to
2a00e31
Compare
just-toby
force-pushed
the
feat/router-sdk-build
branch
from
December 16, 2024 23:24
da7bc1a
to
9c858bb
Compare
Graphite Automations"Request reviewers once CI passes on sdks monorepo" took an action on this PR • (12/16/24)1 reviewer was added and 1 assignee was added to this PR based on Siyu Jiang (See-You John)'s automation. |
just-toby
force-pushed
the
feat/universal-router-sdk-esm-build
branch
from
December 18, 2024 17:50
2a00e31
to
c55fb49
Compare
just-toby
force-pushed
the
feat/router-sdk-build
branch
from
December 18, 2024 17:50
9c858bb
to
88746ce
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Scope
breaking change to build structure for
router-sdk
Description
updates the build setup for
router-sdk
to manually and explicitly create separate cjs and esm builds (plus a types-only version)How Has This Been Tested?
built the sdk locally, then installed the local build result in another project (
universe/apps/web
) and verified that it properly resolved the esm version instead of the cjs versionAre there any breaking changes?
there shouldn't be, but technically if an end user is importing incorrectly (by directly referencing any build artifact files) then they'll need to update
(Optional) Follow Ups
PRs to follow will do this for many other SDKs