nxext / nx-extensions

Nx Extensions for Stencil, Svelte, SolidJS, Preact, Ionic, and Capacitor
MIT License
467 stars 102 forks source link

fix(stencil): support Nx `context.projectsConfigurations` #1120

Closed francescocaveglia closed 1 month ago

francescocaveglia commented 1 month ago

Reason:

context.workspace field is deprecated since Nx@17 and seems to be removed in Nx@20; context.projectsConfigurations and be used instead.

This change makes @nxext/stencil compatible with Nx@20 without breaking compatibility with previous versions.

nx-cloud[bot] commented 1 month ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 26f47dd090af0b95289d09bad3ad77f7ffe98caa. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 2 targets - [`nx affected --target lint build test e2e`](https://cloud.nx.app/runs/lx0iGIFJgR?utm_source=pull-request&utm_medium=comment) - [`nx-cloud record -- pnpm exec nx format:check`](https://cloud.nx.app/runs/cNEcDKrl1f?utm_source=pull-request&utm_medium=comment)

Sent with 💌 from NxCloud.

edbzn commented 1 month ago

@francescocaveglia you need to run pnpm format