René's URL Explorer Experiment


Title: Fixing the standalone CLI by making ESM and CJS builds for the SDK by habdelra · Pull Request #2541 · cardstack/cardstack · GitHub

Open Graph Title: Fixing the standalone CLI by making ESM and CJS builds for the SDK by habdelra · Pull Request #2541 · cardstack/cardstack

X Title: Fixing the standalone CLI by making ESM and CJS builds for the SDK by habdelra · Pull Request #2541 · cardstack/cardstack

Description: The mono-repo for the core Cardstack framework. Contribute to cardstack/cardstack development by creating an account on GitHub.

Open Graph Description: apologies for all the npm pushes--i needed to do a full circle tests of the build process which was initially not working for the standalone CLI consuming the SDK from npm. The main takeaway from t...

X Description: apologies for all the npm pushes--i needed to do a full circle tests of the build process which was initially not working for the standalone CLI consuming the SDK from npm. The main takeaway from t...

Opengraph URL: https://github.com/cardstack/cardstack/pull/2541

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:3c1c15c9-6bc4-d48a-9156-b5c151759c1e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9D24:11A2A:A891B17:AC1313F:6A50BD94
html-safe-nonce81f4d5731c05fef8abb6eaef3d605077b1511c538a153d21cb216df8308421d9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDI0OjExQTJBOkE4OTFCMTc6QUMxMzEzRjo2QTUwQkQ5NCIsInZpc2l0b3JfaWQiOiIyNTYzMTg0MTkyODA5NjQ3NTA4IiwicmVnaW9uX2VkZ2UiOiJzZWEiLCJyZWdpb25fcmVuZGVyIjoic2VhIn0=
visitor-hmac1e1c5f61ccdc7c8bd8018d90dddc6128e725bca59e4ac005551af13ca67ef56f
hovercard-subject-tagpull_request:809419253
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/cardstack/cardstack/2541/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/eb30219a38df3700c548b706c3c33178330b727cf76c125fcf659d8fd94144d6/cardstack/cardstack/pull/2541
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/eb30219a38df3700c548b706c3c33178330b727cf76c125fcf659d8fd94144d6/cardstack/cardstack/pull/2541
og:image:altapologies for all the npm pushes--i needed to do a full circle tests of the build process which was initially not working for the standalone CLI consuming the SDK from npm. The main takeaway from t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehabdelra
hostnamegithub.com
expected-hostnamegithub.com
None72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0
turbo-cache-controlno-cache
go-importgithub.com/cardstack/cardstack git https://github.com/cardstack/cardstack.git
octolytics-dimension-user_id10118425
octolytics-dimension-user_logincardstack
octolytics-dimension-repository_id79036909
octolytics-dimension-repository_nwocardstack/cardstack
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id79036909
octolytics-dimension-repository_network_root_nwocardstack/cardstack
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release08e79d53fc070870d5b168356afebb1e286a2ffe
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cardstack/cardstack/pull/2541#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcardstack%2Fcardstack%2Fpull%2F2541
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcardstack%2Fcardstack%2Fpull%2F2541
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=cardstack%2Fcardstack
Reloadhttps://github.com/cardstack/cardstack/pull/2541
Reloadhttps://github.com/cardstack/cardstack/pull/2541
Reloadhttps://github.com/cardstack/cardstack/pull/2541
Please reload this pagehttps://github.com/cardstack/cardstack/pull/2541
cardstack https://github.com/cardstack
cardstackhttps://github.com/cardstack/cardstack
Notifications https://github.com/login?return_to=%2Fcardstack%2Fcardstack
Fork 66 https://github.com/login?return_to=%2Fcardstack%2Fcardstack
Star 325 https://github.com/login?return_to=%2Fcardstack%2Fcardstack
Code https://github.com/cardstack/cardstack
Issues 2 https://github.com/cardstack/cardstack/issues
Pull requests 10 https://github.com/cardstack/cardstack/pulls
Discussions https://github.com/cardstack/cardstack/discussions
Actions https://github.com/cardstack/cardstack/actions
Projects https://github.com/cardstack/cardstack/projects
Wiki https://github.com/cardstack/cardstack/wiki
Security and quality 0 https://github.com/cardstack/cardstack/security
Insights https://github.com/cardstack/cardstack/pulse
Code https://github.com/cardstack/cardstack
Issues https://github.com/cardstack/cardstack/issues
Pull requests https://github.com/cardstack/cardstack/pulls
Discussions https://github.com/cardstack/cardstack/discussions
Actions https://github.com/cardstack/cardstack/actions
Projects https://github.com/cardstack/cardstack/projects
Wiki https://github.com/cardstack/cardstack/wiki
Security and quality https://github.com/cardstack/cardstack/security
Insights https://github.com/cardstack/cardstack/pulse
habdelrahttps://github.com/habdelra
mainhttps://github.com/cardstack/cardstack/tree/main
standalone-cli-fails-to-run-packagejson-cs-2888https://github.com/cardstack/cardstack/tree/standalone-cli-fails-to-run-packagejson-cs-2888
Conversationhttps://github.com/cardstack/cardstack/pull/2541
Commits23 (23)https://github.com/cardstack/cardstack/pull/2541/commits
Checkshttps://github.com/cardstack/cardstack/pull/2541/checks
Files changedhttps://github.com/cardstack/cardstack/pull/2541/files
Fixing the standalone CLI by making ESM and CJS builds for the SDKhttps://github.com/cardstack/cardstack/pull/2541#top
habdelrahttps://github.com/habdelra
mainhttps://github.com/cardstack/cardstack/tree/main
standalone-cli-fails-to-run-packagejson-cs-2888https://github.com/cardstack/cardstack/tree/standalone-cli-fails-to-run-packagejson-cs-2888
https://github.com/habdelra
habdelrahttps://github.com/habdelra
Dec 23, 2021https://github.com/cardstack/cardstack/pull/2541#issue-1088011345
Please reload this pagehttps://github.com/cardstack/cardstack/pull/2541
tsuphttps://tsup.egoist.sh/#what-can-it-bundle
react/metro#670https://github.com/react/metro/issues/670
Please reload this pagehttps://github.com/cardstack/cardstack/pull/2541
habdelrahttps://github.com/habdelra
December 23, 2021 15:19https://github.com/cardstack/cardstack/pull/2541#commits-pushed-1028cc7
https://github.com/habdelra
bin/codegen is actually needed by the standalone CLIhttps://github.com/cardstack/cardstack/pull/2541/commits/1028cc723292a6dfb7aff0df1d2e6f72fb662bb5
1028cc7https://github.com/cardstack/cardstack/pull/2541/commits/1028cc723292a6dfb7aff0df1d2e6f72fb662bb5
https://github.com/habdelra
v0.28.3https://github.com/cardstack/cardstack/pull/2541/commits/03c0c420ce2524ab07f8aa38dc5ec585b017c0ef
03c0c42https://github.com/cardstack/cardstack/pull/2541/commits/03c0c420ce2524ab07f8aa38dc5ec585b017c0ef
https://github.com/habdelra
v0.28.4https://github.com/cardstack/cardstack/pull/2541/commits/cf5b5707d6e55bd4fb232f9a8c7f74dfb36d906e
cf5b570https://github.com/cardstack/cardstack/pull/2541/commits/cf5b5707d6e55bd4fb232f9a8c7f74dfb36d906e
https://github.com/habdelra
v0.28.5https://github.com/cardstack/cardstack/pull/2541/commits/596f40356f1a8596b5be5a2513f0460e6e0b8e57
596f403https://github.com/cardstack/cardstack/pull/2541/commits/596f40356f1a8596b5be5a2513f0460e6e0b8e57
https://github.com/habdelra
v0.28.6https://github.com/cardstack/cardstack/pull/2541/commits/a6c05a3330c7a11c91b0541429704b40261071d1
a6c05a3https://github.com/cardstack/cardstack/pull/2541/commits/a6c05a3330c7a11c91b0541429704b40261071d1
https://github.com/habdelra
v0.28.7https://github.com/cardstack/cardstack/pull/2541/commits/15e76086326b4412d3f97b165dfbccd00317fd95
15e7608https://github.com/cardstack/cardstack/pull/2541/commits/15e76086326b4412d3f97b165dfbccd00317fd95
https://github.com/habdelra
v0.28.8https://github.com/cardstack/cardstack/pull/2541/commits/a6cd190ca753975a050fe1cfe30b20245c86d703
a6cd190https://github.com/cardstack/cardstack/pull/2541/commits/a6cd190ca753975a050fe1cfe30b20245c86d703
https://github.com/habdelra
clean dist before buildhttps://github.com/cardstack/cardstack/pull/2541/commits/63ebe9d984ee36634bfcb42f8dce8439d054d9c6
63ebe9dhttps://github.com/cardstack/cardstack/pull/2541/commits/63ebe9d984ee36634bfcb42f8dce8439d054d9c6
https://github.com/habdelra
v0.28.9https://github.com/cardstack/cardstack/pull/2541/commits/fdfdbcb494389b749d732235d729ae36c2ab9314
fdfdbcbhttps://github.com/cardstack/cardstack/pull/2541/commits/fdfdbcb494389b749d732235d729ae36c2ab9314
https://github.com/habdelra
updating post install so it can handle pkged dist in SDKhttps://github.com/cardstack/cardstack/pull/2541/commits/e5b2eff99d1141f8e58fc36ea5b653bbdabf67ac
e5b2effhttps://github.com/cardstack/cardstack/pull/2541/commits/e5b2eff99d1141f8e58fc36ea5b653bbdabf67ac
https://github.com/habdelra
v0.28.10https://github.com/cardstack/cardstack/pull/2541/commits/878c3321921ea46d425954898fe343dce0d85313
878c332https://github.com/cardstack/cardstack/pull/2541/commits/878c3321921ea46d425954898fe343dce0d85313
https://github.com/habdelra
add ESM and CJS bundling for SDKhttps://github.com/cardstack/cardstack/pull/2541/commits/7a96016ff103f541f716984fa632e8d3b2ebe5c5
7a96016https://github.com/cardstack/cardstack/pull/2541/commits/7a96016ff103f541f716984fa632e8d3b2ebe5c5
https://github.com/habdelra
v0.28.11https://github.com/cardstack/cardstack/pull/2541/commits/566b5273228ee4248ad831387d3a058eeb637eda
566b527https://github.com/cardstack/cardstack/pull/2541/commits/566b5273228ee4248ad831387d3a058eeb637eda
https://github.com/habdelra
using pushd to preserve cwd from the commandlinehttps://github.com/cardstack/cardstack/pull/2541/commits/44f3d75d927dba7b83ef35fcb49f7a6b4cc5e8e0
44f3d75https://github.com/cardstack/cardstack/pull/2541/commits/44f3d75d927dba7b83ef35fcb49f7a6b4cc5e8e0
https://github.com/habdelra
set the main entrypoint to the esm entry point (to make things as eas…https://github.com/cardstack/cardstack/pull/2541/commits/56b9cb8e2e0ee03107e5c88a1970772d640ecd51
56b9cb8https://github.com/cardstack/cardstack/pull/2541/commits/56b9cb8e2e0ee03107e5c88a1970772d640ecd51
https://github.com/habdelra
v0.28.12https://github.com/cardstack/cardstack/pull/2541/commits/902869b30e511731d4a0b9d9310f334b717622b9
902869bhttps://github.com/cardstack/cardstack/pull/2541/commits/902869b30e511731d4a0b9d9310f334b717622b9
https://github.com/habdelra
habdelrahttps://github.com/habdelra
lukemeliahttps://github.com/lukemelia
December 23, 2021 21:57https://github.com/cardstack/cardstack/pull/2541#event-5811681374
https://github.com/habdelra
resurrect npm ignore we check in the postinstall script to see if thi…https://github.com/cardstack/cardstack/pull/2541/commits/e42ab60c258caabcb3aac9499a1e8bdb61e2b7ea
e42ab60https://github.com/cardstack/cardstack/pull/2541/commits/e42ab60c258caabcb3aac9499a1e8bdb61e2b7ea
https://github.com/habdelra
habdelrahttps://github.com/habdelra
Dec 23, 2021 https://github.com/cardstack/cardstack/pull/2541#pullrequestreview-839642234
View reviewed changes https://github.com/cardstack/cardstack/pull/2541/files/902869b30e511731d4a0b9d9310f334b717622b9
packages/cardpay-sdk/package.jsonhttps://github.com/cardstack/cardstack/pull/2541/files/902869b30e511731d4a0b9d9310f334b717622b9#diff-f0028767a5c86e10b03451b8829737afbc46fdb6a6dfb6f79a19b22a2f745702
habdelrahttps://github.com/habdelra
Dec 23, 2021https://github.com/cardstack/cardstack/pull/2541#discussion_r774792647
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@lukemeliahttps://github.com/lukemelia
Please reload this pagehttps://github.com/cardstack/cardstack/pull/2541
https://github.com/habdelra
v0.28.13https://github.com/cardstack/cardstack/pull/2541/commits/460191e0dcfc2da5e9c928a463012ef8cf2f5b50
460191ehttps://github.com/cardstack/cardstack/pull/2541/commits/460191e0dcfc2da5e9c928a463012ef8cf2f5b50
https://github.com/habdelra
habdelrahttps://github.com/habdelra
Dec 23, 2021 https://github.com/cardstack/cardstack/pull/2541#pullrequestreview-839642733
View reviewed changes https://github.com/cardstack/cardstack/pull/2541/files/902869b30e511731d4a0b9d9310f334b717622b9
packages/cardpay-sdk/package.jsonhttps://github.com/cardstack/cardstack/pull/2541/files/902869b30e511731d4a0b9d9310f334b717622b9#diff-f0028767a5c86e10b03451b8829737afbc46fdb6a6dfb6f79a19b22a2f745702
habdelrahttps://github.com/habdelra
Dec 23, 2021https://github.com/cardstack/cardstack/pull/2541#discussion_r774793070
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cardstack/cardstack/pull/2541
habdelrahttps://github.com/habdelra
Dec 23, 2021https://github.com/cardstack/cardstack/pull/2541#discussion_r774795204
Please reload this pagehttps://github.com/cardstack/cardstack/pull/2541
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cardstack/cardstack/pull/2541
habdelrahttps://github.com/habdelra
Dec 23, 2021https://github.com/cardstack/cardstack/pull/2541#discussion_r774797382
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
react/metro#670https://github.com/react/metro/issues/670
Please reload this pagehttps://github.com/cardstack/cardstack/pull/2541
habdelrahttps://github.com/habdelra
December 23, 2021 17:14https://github.com/cardstack/cardstack/pull/2541#commits-pushed-437e63e
https://github.com/habdelra
use the exports.import for TS and the main prpoerty for metro--maybe …https://github.com/cardstack/cardstack/pull/2541/commits/437e63eab75238e38696b89f1695fac83bfd106a
437e63ehttps://github.com/cardstack/cardstack/pull/2541/commits/437e63eab75238e38696b89f1695fac83bfd106a
https://github.com/habdelra
fioxed bad JSONhttps://github.com/cardstack/cardstack/pull/2541/commits/28aa5eb34f353348be3e85ca6bfd795c2471487a
28aa5ebhttps://github.com/cardstack/cardstack/pull/2541/commits/28aa5eb34f353348be3e85ca6bfd795c2471487a
https://github.com/habdelra
cleanup up unsaction access to SDK declarationhttps://github.com/cardstack/cardstack/pull/2541/commits/0ab21b00f2f270bd18afa0123e360c73cfadd1f5
0ab21b0https://github.com/cardstack/cardstack/pull/2541/commits/0ab21b00f2f270bd18afa0123e360c73cfadd1f5
https://github.com/habdelra
add note about node requirementhttps://github.com/cardstack/cardstack/pull/2541/commits/fd127fe41e86e3fff6c64d5e7ea4f06be29a8e27
fd127fehttps://github.com/cardstack/cardstack/pull/2541/commits/fd127fe41e86e3fff6c64d5e7ea4f06be29a8e27
https://github.com/habdelra
v0.28.14https://github.com/cardstack/cardstack/pull/2541/commits/b190b348ee649e0db6bf92168d131df584488876
b190b34https://github.com/cardstack/cardstack/pull/2541/commits/b190b348ee649e0db6bf92168d131df584488876
https://github.com/lukemelia
lukemeliahttps://github.com/lukemelia
Dec 23, 2021 https://github.com/cardstack/cardstack/pull/2541#pullrequestreview-839658835
View reviewed changes https://github.com/cardstack/cardstack/pull/2541/files/b190b348ee649e0db6bf92168d131df584488876
lukemeliahttps://github.com/lukemelia
https://github.com/cardstack/cardstack/pull/2541#pullrequestreview-839658835
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cardstack/cardstack/pull/2541
https://github.com/habdelra
habdelrahttps://github.com/habdelra
e7b2bd9https://github.com/cardstack/cardstack/commit/e7b2bd9f5886474f2ff0f34b8255539e3add24a7
Dec 23, 2021https://github.com/cardstack/cardstack/pull/2541#event-5811815174
https://github.com/apps/delete-merged-branch
delete-merged-branchhttps://github.com/apps/delete-merged-branch
December 23, 2021 23:10https://github.com/cardstack/cardstack/pull/2541#event-5811815222
https://github.com/tintinthong
tintinthonghttps://github.com/tintinthong
May 30, 2023 https://github.com/cardstack/cardstack/pull/2541#ref-pullrequest-1723244572
Fix sdk export #3753 https://github.com/cardstack/cardstack/pull/3753
https://github.co/hiddenchars
https://github.com/cardstack/cardstack/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcardstack%2Fcardstack%2Fpull%2F2541
https://github.com/lukemelia
lukemelia https://github.com/lukemelia
https://github.com/cardstack/cardstack/pull/2541/files/b190b348ee649e0db6bf92168d131df584488876
Please reload this pagehttps://github.com/cardstack/cardstack/pull/2541
https://github.com/habdelra
https://github.com/lukemelia
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.