Skip to content

Conversation

atlj
Copy link
Collaborator

@atlj atlj commented Jan 27, 2025

Summary

Fixes #754

JS-only libraries were setting the new architecture flag on. While this is not a preferable mental model, we had some code associated with codegen that checked this flag. With this PR, JS-only libraries will set this flag to false. This is not an optimal solution but we will fully drop this flag with the deprecation of the legacy arch in the upcoming months.

Test plan

  1. Generate a JavaScript-only library
  2. Make sure the codegen target isn't added to bob targets in package.json
  3. Make sure there is no codegenConfig in package.json
  4. Make sure yarn prepare works.
@atlj atlj force-pushed the @atlj/fix-js-only-template-codegen branch from d2c4b1d to 0e80065 Compare January 28, 2025 08:27
@atlj atlj merged commit d17ce35 into main Jan 28, 2025
19 checks passed
@atlj atlj deleted the @atlj/fix-js-only-template-codegen branch January 28, 2025 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant