Skip to content

fix: lit produces dist-js which needs to be a prod build output#10995

Merged
TkDodo merged 1 commit into
mainfrom
feature/fix/lit-nx-config
Jun 27, 2026
Merged

fix: lit produces dist-js which needs to be a prod build output#10995
TkDodo merged 1 commit into
mainfrom
feature/fix/lit-nx-config

Conversation

@TkDodo

@TkDodo TkDodo commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • Chores
    • Updated build artifact tracking so the build process now recognizes additional output folders, improving consistency for generated files and cached build results.

@TkDodo TkDodo requested a review from a team as a code owner June 27, 2026 18:15
@coderabbitai

coderabbitai Bot commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 98036512-dc25-484a-91ea-d2b17229bef2

📥 Commits

Reviewing files that changed from the base of the PR and between b03390b and c592e90.

📒 Files selected for processing (1)
  • nx.json

📝 Walkthrough

Walkthrough

The build target outputs array in nx.json is expanded from two entries ({projectRoot}/build, {projectRoot}/dist) to three, adding {projectRoot}/dist-cjs as a recognized Nx artifact output.

Nx Build Outputs

Layer / File(s) Summary
Add dist-cjs output path
nx.json
{projectRoot}/dist-cjs is added to the build target outputs array alongside the existing build and dist entries.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

A rabbit hops and adds a path,
dist-cjs joins the aftermath.
Three outputs now where two once stood,
Nx caches all just as it should.
🐇✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning No pull request description was provided, so the required template sections are missing. Add the Changes, Checklist, and Release Impact sections from the template, with brief details for each item.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title is related to the build output change, though it mentions dist-js while the change adds dist-cjs output.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/fix/lit-nx-config

Comment @coderabbitai help to get the list of available commands.

@nx-cloud

nx-cloud Bot commented Jun 27, 2026

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit c592e90

Command Status Duration Result
nx affected --targets=test:sherif,test:knip,tes... ✅ Succeeded 7m 14s View ↗
nx run-many --target=build --exclude=examples/*... ✅ Succeeded 1m 54s View ↗

☁️ Nx Cloud last updated this comment at 2026-06-27 18:23:40 UTC

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Changeset Version Preview

No changeset entries found. Merging this PR will not cause a version bump for any packages.

@pkg-pr-new

pkg-pr-new Bot commented Jun 27, 2026

Copy link
Copy Markdown
More templates

@tanstack/angular-query-experimental

npm i https://pkg.pr.new/@tanstack/angular-query-experimental@10995

@tanstack/eslint-plugin-query

npm i https://pkg.pr.new/@tanstack/eslint-plugin-query@10995

@tanstack/lit-query

npm i https://pkg.pr.new/@tanstack/lit-query@10995

@tanstack/preact-query

npm i https://pkg.pr.new/@tanstack/preact-query@10995

@tanstack/preact-query-devtools

npm i https://pkg.pr.new/@tanstack/preact-query-devtools@10995

@tanstack/preact-query-persist-client

npm i https://pkg.pr.new/@tanstack/preact-query-persist-client@10995

@tanstack/query-async-storage-persister

npm i https://pkg.pr.new/@tanstack/query-async-storage-persister@10995

@tanstack/query-broadcast-client-experimental

npm i https://pkg.pr.new/@tanstack/query-broadcast-client-experimental@10995

@tanstack/query-core

npm i https://pkg.pr.new/@tanstack/query-core@10995

@tanstack/query-devtools

npm i https://pkg.pr.new/@tanstack/query-devtools@10995

@tanstack/query-persist-client-core

npm i https://pkg.pr.new/@tanstack/query-persist-client-core@10995

@tanstack/query-sync-storage-persister

npm i https://pkg.pr.new/@tanstack/query-sync-storage-persister@10995

@tanstack/react-query

npm i https://pkg.pr.new/@tanstack/react-query@10995

@tanstack/react-query-devtools

npm i https://pkg.pr.new/@tanstack/react-query-devtools@10995

@tanstack/react-query-next-experimental

npm i https://pkg.pr.new/@tanstack/react-query-next-experimental@10995

@tanstack/react-query-persist-client

npm i https://pkg.pr.new/@tanstack/react-query-persist-client@10995

@tanstack/solid-query

npm i https://pkg.pr.new/@tanstack/solid-query@10995

@tanstack/solid-query-devtools

npm i https://pkg.pr.new/@tanstack/solid-query-devtools@10995

@tanstack/solid-query-persist-client

npm i https://pkg.pr.new/@tanstack/solid-query-persist-client@10995

@tanstack/svelte-query

npm i https://pkg.pr.new/@tanstack/svelte-query@10995

@tanstack/svelte-query-devtools

npm i https://pkg.pr.new/@tanstack/svelte-query-devtools@10995

@tanstack/svelte-query-persist-client

npm i https://pkg.pr.new/@tanstack/svelte-query-persist-client@10995

@tanstack/vue-query

npm i https://pkg.pr.new/@tanstack/vue-query@10995

@tanstack/vue-query-devtools

npm i https://pkg.pr.new/@tanstack/vue-query-devtools@10995

commit: c592e90

@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
react full 12.13 KB (0%)
react minimal 9.08 KB (0%)

@TkDodo TkDodo merged commit 9cb8eac into main Jun 27, 2026
9 checks passed
@TkDodo TkDodo deleted the feature/fix/lit-nx-config branch June 27, 2026 19:21
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