Skip to content

Adds new package 'edit'#13397

Draft
mzschwartz5 wants to merge 6 commits intomainfrom
mesh-editing
Draft

Adds new package 'edit'#13397
mzschwartz5 wants to merge 6 commits intomainfrom
mesh-editing

Conversation

@mzschwartz5
Copy link
Copy Markdown
Contributor

@mzschwartz5 mzschwartz5 commented Apr 13, 2026

Description

=== DO NOT MERGE ===
Followed #13400

Adds a new npm package, 'edit', for upcoming mesh editor capabilities.

Issue number and link

#13398

Testing plan

Make sure everything builds independently and together.

Author checklist

  • I have submitted a Contributor License Agreement
  • I have added my name to CONTRIBUTORS.md
  • [] I have updated CHANGES.md with a short summary of my change
  • I have added or updated unit tests to ensure consistent code coverage
  • I have updated the inline documentation, and included code examples where relevant
  • I have performed a self-review of my code

AI acknowledgment

  • I used AI to generate content in this PR
  • If yes, I have reviewed the AI-generated content before submitting

If yes, I used the following Tools(s) and/or Service(s):

If yes, I used the following Model(s):

@github-actions
Copy link
Copy Markdown
Contributor

Thank you for the pull request, @mzschwartz5!

✅ We can confirm we have a CLA on file for you.

@mzschwartz5 mzschwartz5 requested a review from jjspace April 13, 2026 17:02
Comment thread scripts/build.js
Comment on lines +137 to +149
const workspaceEntryPoints = {
engine: path.join(projectRoot, "packages/engine/index.js"),
edit: path.join(projectRoot, "packages/edit/index.js"),
widgets: path.join(projectRoot, "packages/widgets/index.js"),
};

const workspaceAliases = Object.fromEntries(
Object.entries(workspaceEntryPoints).map(([workspace, entryPoint]) => [
`@${scope}/${workspace}`,
entryPoint,
]),
);

Copy link
Copy Markdown
Contributor Author

@mzschwartz5 mzschwartz5 Apr 13, 2026

Choose a reason for hiding this comment

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

This is something AI suggested. Basically, I believe the idea is that instead of resolving imports through node_modules during bundling, it rewrites the import to resolve to the local workspace under the correct package. This is supposedly less brittle because it doesn't depend on things all being installed first.

I'm no expert here so that's why I'm pointing it out.

@mzschwartz5 mzschwartz5 mentioned this pull request Apr 14, 2026
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants