-
Notifications
You must be signed in to change notification settings - Fork 18
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
Cleanup MRL / standardize more #1091
base: main
Are you sure you want to change the base?
Conversation
d36d9b7
to
e06e4d3
Compare
const consumerCliPackages = [ | ||
"@osdk/cli", | ||
"@osdk/create-app", | ||
"@osdk/foundry-sdk-generator", | ||
]; | ||
|
||
const testWithHappyDomPackages = [ | ||
const viteApp = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When we move widgets out or want to make more sample apps in other repo's, we'd have to update these first? When we move the MRL config out, is it somehow possible to make these inputs of some sort so these names come from the repos that the packages live in themselves?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For both this var and others
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is part of a temporary state. The goal will be to refactor this whole file to be a "library" where individual repos would "configure" it with the packages in their own repo that fit the various archetypes.
Invalidated by push of c6fe2de
Cleanup MRL / standardize more
In commit order:
Wonky Codegen for
e2e.test.foundry-sdk-generator
The existing code generated into the
src
which then required us to special case not including it in the tsc output. This was unnecessary and caused special casing in mrl that we could cleanup. We now expect codegen will go into either or both:./build/codegen
and./src/generatedNoCheck
.Codegen
Just regenerating
packages/e2e.sandbox.todoapp/src/generatedNoCheck2
with extensionsProper extensions for e2e.sandbox.todoapp
Manually renaming remaining extensions in imports
Refactor
widget.vite-plugin
to use standard pathsDrops a special snow flake tsconfig file. Produces output in a standardized location for turbo.
MRL applied boilerplate
I committed this prior to the MRL changes so that there would be no errors in lint-staged. This is just MRL applied changes for the next commit
Standardize vite apps
Break out 5 projects from
nonStandardPackages
intoviteApp
andusesReact
. Updates turbo.json with better defaults for the inputs and outputs of thebuild
task and adds comments explaining why things are there.Remove foundry-sdk-generator from snowflakes
Following the first commit and other prep work, this commit makes all consumer facing cli apps act the same. Notably this means must use exact version matches (this helps prevent surprises for us) just like foundry-sdk-generator used to do. We also had special casing for
consola
in our tests but it didn't wire up to anything so was pointelessEmpty changeset
There isn't really anything to report here.