Skip to content

refactor: rename and deprecate proxy named stuff - #4932

Merged
juliusmarminge merged 9 commits into
nextfrom
rm-proxy-naming
Oct 20, 2023
Merged

juliusmarminge merged 9 commits into
nextfrom
rm-proxy-naming

Conversation

@juliusmarminge

@juliusmarminge juliusmarminge commented Oct 17, 2023 •

Copy link
Copy Markdown
Member

Part of #3496

Removes Proxy from names, re-exports old name marked as deprecated

went a bit crazy and did it for our tests too πŸ˜…

@vercel

vercel Bot commented Oct 17, 2023 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
next-prisma-starter ❌ Failed (Inspect) Oct 20, 2023 7:08am
og-image βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Oct 20, 2023 7:08am
trpc-next-app-dir βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Oct 20, 2023 7:08am
www βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Oct 20, 2023 7:08am

@github-actions

github-actions Bot commented Oct 17, 2023 •

Copy link
Copy Markdown
Contributor

Diagnostics Comparison

Details

Numbers

Metric PR next main
Files 671 671 (βž– 0) 683 (πŸ”½πŸŸ’ -12)
Lines of Library 39145 39145 (βž– 0) 39145 (βž– 0)
Lines of Definitions 110643 110631 (πŸ”Ί 12) 111143 (πŸ”½πŸŸ’ -500)
Lines of TypeScript 4868 4868 (βž– 0) 4868 (βž– 0)
Lines of JavaScript 0 0 ( N/A) 0 ( N/A)
Lines of JSON 0 0 ( N/A) 0 ( N/A)
Lines of Other 0 0 ( N/A) 0 ( N/A)
Identifiers 177554 177544 (πŸ”Ί 10) 178550 (πŸ”½πŸŸ’ -996)
Symbols 103643 103640 (πŸ”Ί 3) 104179 (πŸ”½πŸŸ’ -536)
Types 88 88 (βž– 0) 88 (βž– 0)
Instantiations 0 0 ( N/A) 0 ( N/A)
Memory used 178742 180404 (πŸ”½πŸŸ’ -1662) 173080 (πŸ”Ί 5662)
Assignability cache size 0 0 ( N/A) 0 ( N/A)
Identity cache size 0 0 ( N/A) 0 ( N/A)
Subtype cache size 0 0 ( N/A) 0 ( N/A)
Strict subtype cache size 0 0 ( N/A) 0 ( N/A)

Timings

Timings are not reliable in CI - we need to run the benchmark multiple times to get a good average.

Metric PR next main
I/O Read time 0.07 0.05 (πŸ”Ί 0.02) 0.06 (πŸ”Ί 0.01)
Parse time 1.45 1.35 (πŸ”Ί 0.1) 1.62 (πŸ”½πŸŸ’ -0.17)
ResolveTypeReference time 0.07 0.06 (πŸ”Ί 0.01) 0.06 (πŸ”Ί 0.01)
ResolveModule time 0.17 0.16 (πŸ”Ί 0.01) 0.19 (πŸ”½πŸŸ’ -0.02)
ResolveLibrary time 0.04 0.04 (βž– 0) 0.05 (πŸ”½πŸŸ’ -0.01)
Program time 2.03 1.92 (πŸ”Ί 0.11) 2.21 (πŸ”½πŸŸ’ -0.18)
Bind time 0.8 0.79 (πŸ”Ί 0.01) 0.84 (πŸ”½πŸŸ’ -0.04)
Total time 2.83 2.71 (πŸ”Ί 0.12) 3.05 (πŸ”½πŸŸ’ -0.22)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

idk how to make deno resolve local package... reverting here

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to update import maps for that. There's no "nice" way to make it work locally for monorepo and remotely at the same time without it. It requires docs to be updated to reflect that.

Also not from that example readme is not true anymore:

Note: Deno Deploy does denoland/deploy_feedback#314.

@KATT KATT left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we wanna make sure the old alias works we could omit changing any tests as part of this

@KATT

KATT commented Oct 19, 2023 •

Copy link
Copy Markdown
Member

((you can do something like git checkout origin/next packages/tests/server/**/*))

@juliusmarminge

juliusmarminge commented Oct 20, 2023 •

Copy link
Copy Markdown
Member Author

If we wanna make sure the old alias works we could omit changing any tests as part of this

You can see all the tests passing here before making the test changes

https://github.com/trpc/trpc/actions/runs/6549848029/job/17787672965

This branch had an error being deployed

2 failed and 3 active deployments
Preview – www β€” a0038d13 Deployed Oct 20, 2023 by vercel[bot]
Preview – trpc-next-app-dir β€” a0038d13 Deployed Oct 20, 2023 by vercel[bot]
Preview – og-image β€” a0038d13 Deployed Oct 20, 2023 by vercel[bot]
Preview – todomvc β€” a0038d13 Deployed Oct 20, 2023 by vercel[bot]
Preview – next-prisma-starter β€” a0038d13 Deployed Oct 20, 2023 by vercel[bot]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

@trpc/client @trpc/next @trpc/react-query πŸ•Έ www Stuff to do with the website (`/www` folder)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants