Skip to content

Enhance LWC build process and add test cases for USING SCOPE#282

Merged
paustint merged 3 commits into
mainfrom
feat/lwc-build-improvements
May 11, 2026
Merged

Enhance LWC build process and add test cases for USING SCOPE#282
paustint merged 3 commits into
mainfrom
feat/lwc-build-improvements

Conversation

@paustint
Copy link
Copy Markdown
Collaborator

Improve the LWC build process by introducing new artifacts and enhancing metadata packaging. Add additional test cases to ensure compatibility with various USING SCOPE scenarios.

Copilot AI review requested due to automatic review settings May 11, 2026 15:33
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR enhances the project’s distribution/build pipeline for Lightning Web Components (LWC) by introducing a consolidated build script that produces additional LWC deployment artifacts, and it expands SOQL parser test coverage for additional USING SCOPE variants.

Changes:

  • Added new SOQL parser test cases covering more USING SCOPE values (including custom/identifier-like scopes).
  • Introduced a Node-based build orchestrator (tasks/build.mjs) that builds esm, cjs, cli, and lwc, and generates an LWC metadata package + zip artifact.
  • Updated packaging/release configuration and documentation to reflect the new build outputs and deployment workflows, including a configurable salesforceApiVersion.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
test/test-cases.ts Adds parse-output test cases for additional USING SCOPE values.
test/test-cases-for-is-valid.ts Adds isQueryValid cases for additional USING SCOPE scenarios.
tasks/build.mjs New build orchestrator; adds LWC packaging (metadata + zip) and version bannering.
README.md Updates LWC usage/deployment docs to reflect new artifacts and deployment options.
package.json Adds salesforceApiVersion, rewires build scripts to use tasks/build.mjs, and narrows published files.
CHANGELOG.md Documents the new LWC distribution artifacts and release pipeline changes.
.release-it.json Attaches new build artifacts (tgz, LWC zip, standalone LWC JS) to GitHub Releases and updates hooks.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tasks/build.mjs
Comment thread README.md
@paustint paustint merged commit 56e28ea into main May 11, 2026
7 checks passed
@paustint paustint deleted the feat/lwc-build-improvements branch May 11, 2026 15:43
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