René's URL Explorer Experiment


Title: refactor(fmt): simplify SWC Next postprocessing by SoonIter · Pull Request #528 · rstackjs/rstack-cli · GitHub

Open Graph Title: refactor(fmt): simplify SWC Next postprocessing by SoonIter · Pull Request #528 · rstackjs/rstack-cli

X Title: refactor(fmt): simplify SWC Next postprocessing by SoonIter · Pull Request #528 · rstackjs/rstack-cli

Description: Motivation The formatter adapter retains unsupported Hack pipeline handling and template-shape checks inherited from Prettier, plus repeated validation of parser-produced child nodes. Changes Remove those branches and repeated child-node checks while retaining parser-root validation and existing formatting normalization. Document differences from upstream with links pinned to the original port's Prettier commit. Cover nested-template normalization, type-cast parentheses, formatting stability, and single-member unions with comments through observable output tests. Validation: package/native builds, 42 adapter tests, lint/typecheck/formatting, and spelling passed. All 638 successful corpus cases retained identical output; additional embedded-language, range, and cursor checks also matched.

Open Graph Description: Motivation The formatter adapter retains unsupported Hack pipeline handling and template-shape checks inherited from Prettier, plus repeated validation of parser-produced child nodes. Changes Remov...

X Description: Motivation The formatter adapter retains unsupported Hack pipeline handling and template-shape checks inherited from Prettier, plus repeated validation of parser-produced child nodes. Changes Remov...

Opengraph URL: https://github.com/rstackjs/rstack-cli/pull/528

X: @github

direct link

Domain: redirect.github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:2c7fcd87-9159-bbd0-cc64-3642542932cf
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id844C:2EDAFB:9BD51:D7BBE:6AECE9A2
html-safe-nonce0eabf65230db67d1e0deb1e3968203bfd912bc66b7b5736f06a757fb609b841a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDRDOjJFREFGQjo5QkQ1MTpEN0JCRTo2QUVDRTlBMiIsInZpc2l0b3JfaWQiOiI4Mjc3OTkzNzY0Nzg1Mjg1NTM4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac9de042d3ec15cae852e71e441033ec9e79e23c5d2494b203d8e201e41e303afd
hovercard-subject-tagpull_request:4662898014
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/rstackjs/rstack-cli/pull/528/files
twitter:imagehttps://avatars.githubusercontent.com/u/79413249?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/79413249?s=400&v=4
og:image:altMotivation The formatter adapter retains unsupported Hack pipeline handling and template-shape checks inherited from Prettier, plus repeated validation of parser-produced child nodes. Changes Remov...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5641a73f15264947a17748200b59dec00ae39eb7522affd91f995ef06d9ce6c9
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/rstackjs/rstack-cli git https://github.com/rstackjs/rstack-cli.git
octolytics-dimension-user_id129049372
octolytics-dimension-user_loginrstackjs
octolytics-dimension-repository_id1138027854
octolytics-dimension-repository_nworstackjs/rstack-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1138027854
octolytics-dimension-repository_network_root_nworstackjs/rstack-cli
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5f0df4009b0e64119ec827fac272de9a74b5e208
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://redirect.github.com/rstackjs/rstack-cli/pull/528/files#start-of-content
https://redirect.github.com/
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Frstackjs%2Frstack-cli%2Fpull%2F528%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Frstackjs%2Frstack-cli%2Fpull%2F528%2Ffiles
Sign uphttps://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=rstackjs%2Frstack-cli
Reloadhttps://redirect.github.com/rstackjs/rstack-cli/pull/528/files
Reloadhttps://redirect.github.com/rstackjs/rstack-cli/pull/528/files
Reloadhttps://redirect.github.com/rstackjs/rstack-cli/pull/528/files
rstackjshttps://redirect.github.com/rstackjs
rstack-clihttps://redirect.github.com/rstackjs/rstack-cli
Codehttps://redirect.github.com/rstackjs/rstack-cli
Issues3 (3)https://redirect.github.com/rstackjs/rstack-cli/issues
Pull requests1 (1)https://redirect.github.com/rstackjs/rstack-cli/pulls
Discussionshttps://redirect.github.com/rstackjs/rstack-cli/discussions
Actionshttps://redirect.github.com/rstackjs/rstack-cli/actions
Projectshttps://redirect.github.com/rstackjs/rstack-cli/projects
Security and qualityhttps://redirect.github.com/rstackjs/rstack-cli/security
Insightshttps://redirect.github.com/rstackjs/rstack-cli/pulse
Sign up for GitHub https://redirect.github.com/signup?return_to=%2Frstackjs%2Frstack-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://redirect.github.com/login?return_to=%2Frstackjs%2Frstack-cli%2Fissues%2Fnew%2Fchoose
chenjiahanhttps://redirect.github.com/chenjiahan
mainhttps://redirect.github.com/rstackjs/rstack-cli/tree/main
soon-codex/simplify-swc-next-postprocesshttps://redirect.github.com/rstackjs/rstack-cli/tree/soon-codex/simplify-swc-next-postprocess
Conversation 4 https://redirect.github.com/rstackjs/rstack-cli/pull/528
Commits 7 https://redirect.github.com/rstackjs/rstack-cli/pull/528/commits
Checks 5 https://redirect.github.com/rstackjs/rstack-cli/pull/528/checks
Files changed https://redirect.github.com/rstackjs/rstack-cli/pull/528/files
Please reload this pagehttps://redirect.github.com/rstackjs/rstack-cli/pull/528/files
refactor(fmt): simplify SWC Next postprocessing https://redirect.github.com/rstackjs/rstack-cli/pull/528/files#top
Show all changes 7 commits https://redirect.github.com/rstackjs/rstack-cli/pull/528/files
ada8b2e refactor(fmt): simplify SWC Next postprocessing SoonIter Sep 28, 2026 https://redirect.github.com/rstackjs/rstack-cli/pull/528/commits/ada8b2e17cfc54c659cd873b5302400e2fe8554d
de0a6bd test(fmt): cover postprocess normalization SoonIter Sep 28, 2026 https://redirect.github.com/rstackjs/rstack-cli/pull/528/commits/de0a6bd014ed9c358fd6dba2c69a78ecf3b8016c
952ac82 test(fmt): group postprocess coverage in a suite SoonIter Sep 28, 2026 https://redirect.github.com/rstackjs/rstack-cli/pull/528/commits/952ac82b93e688db4ce2c93fc7699498b6774f36
ab774bf test(fmt): clarify postprocess suite description SoonIter Sep 28, 2026 https://redirect.github.com/rstackjs/rstack-cli/pull/528/commits/ab774bf16fa3b3cfcbed612949654645c25f397f
e995301 docs(fmt): clarify local plugin adapter differences SoonIter Sep 28, 2026 https://redirect.github.com/rstackjs/rstack-cli/pull/528/commits/e99530101f3e8467d0ef2555648a9a03d7abf009
53047b4 docs(fmt): clarify upstream adapter differences SoonIter Sep 28, 2026 https://redirect.github.com/rstackjs/rstack-cli/pull/528/commits/53047b47aca42833d8584617b3b8c368c9103f85
7e2eee7 test(fmt): name Prettier in postprocess suite SoonIter Sep 28, 2026 https://redirect.github.com/rstackjs/rstack-cli/pull/528/commits/7e2eee7dab575d5fbc2ec0b1e26b262197081dbf
Clear filters https://redirect.github.com/rstackjs/rstack-cli/pull/528/files
Please reload this pagehttps://redirect.github.com/rstackjs/rstack-cli/pull/528/files
Please reload this pagehttps://redirect.github.com/rstackjs/rstack-cli/pull/528/files
swcNextPlugin.ts https://redirect.github.com/rstackjs/rstack-cli/pull/528/files#diff-dcaf167001f67e11ecff6875baa5513cd36df4d920d00fc6bc4439525abea754
swcNextPlugin.test.ts https://redirect.github.com/rstackjs/rstack-cli/pull/528/files#diff-977e2cdeaac4b71de42628a821acf82010429aed75014c68ea7c1e922b836ce3
packages/rstack/src/fmt/swcNextPlugin.tshttps://redirect.github.com/rstackjs/rstack-cli/pull/528/files#diff-dcaf167001f67e11ecff6875baa5513cd36df4d920d00fc6bc4439525abea754
View file https://redirect.github.com/rstackjs/rstack-cli/blob/7e2eee7dab575d5fbc2ec0b1e26b262197081dbf/packages/rstack/src/fmt/swcNextPlugin.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://redirect.github.com/rstackjs/rstack-cli/pull/528/{{ revealButtonHref }}
https://redirect.github.com/rstackjs/rstack-cli/pull/528/files#diff-dcaf167001f67e11ecff6875baa5513cd36df4d920d00fc6bc4439525abea754
https://redirect.github.com/rstackjs/rstack-cli/pull/528/files#diff-dcaf167001f67e11ecff6875baa5513cd36df4d920d00fc6bc4439525abea754
https://redirect.github.com/rstackjs/rstack-cli/pull/528/files#diff-dcaf167001f67e11ecff6875baa5513cd36df4d920d00fc6bc4439525abea754
https://redirect.github.com/rstackjs/rstack-cli/pull/528/files#diff-dcaf167001f67e11ecff6875baa5513cd36df4d920d00fc6bc4439525abea754
https://redirect.github.com/rstackjs/rstack-cli/pull/528/files#diff-dcaf167001f67e11ecff6875baa5513cd36df4d920d00fc6bc4439525abea754
https://redirect.github.com/rstackjs/rstack-cli/pull/528/files#diff-dcaf167001f67e11ecff6875baa5513cd36df4d920d00fc6bc4439525abea754
https://redirect.github.com/rstackjs/rstack-cli/pull/528/files#diff-dcaf167001f67e11ecff6875baa5513cd36df4d920d00fc6bc4439525abea754
https://redirect.github.com/rstackjs/rstack-cli/pull/528/files#diff-dcaf167001f67e11ecff6875baa5513cd36df4d920d00fc6bc4439525abea754
packages/rstack/tests/fmt/swcNextPlugin.test.tshttps://redirect.github.com/rstackjs/rstack-cli/pull/528/files#diff-977e2cdeaac4b71de42628a821acf82010429aed75014c68ea7c1e922b836ce3
View file https://redirect.github.com/rstackjs/rstack-cli/blob/7e2eee7dab575d5fbc2ec0b1e26b262197081dbf/packages/rstack/tests/fmt/swcNextPlugin.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://redirect.github.com/rstackjs/rstack-cli/pull/528/{{ revealButtonHref }}
https://redirect.github.com/rstackjs/rstack-cli/pull/528/files#diff-977e2cdeaac4b71de42628a821acf82010429aed75014c68ea7c1e922b836ce3
https://redirect.github.com/rstackjs/rstack-cli/pull/528/files#diff-977e2cdeaac4b71de42628a821acf82010429aed75014c68ea7c1e922b836ce3
https://redirect.github.com/rstackjs/rstack-cli/pull/528/files#diff-977e2cdeaac4b71de42628a821acf82010429aed75014c68ea7c1e922b836ce3
https://redirect.github.com/rstackjs/rstack-cli/pull/528/files#diff-977e2cdeaac4b71de42628a821acf82010429aed75014c68ea7c1e922b836ce3
https://redirect.github.com/rstackjs/rstack-cli/pull/528/files#diff-977e2cdeaac4b71de42628a821acf82010429aed75014c68ea7c1e922b836ce3
https://redirect.github.com/rstackjs/rstack-cli/pull/528/files#diff-977e2cdeaac4b71de42628a821acf82010429aed75014c68ea7c1e922b836ce3
Please reload this pagehttps://redirect.github.com/rstackjs/rstack-cli/pull/528/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.