nx-console icon indicating copy to clipboard operation
nx-console copied to clipboard

fix(nxls): dynamically read nx.json schema during schema setup

Open MaxKless opened this issue 1 year ago • 1 comments

Before, the nx.json schema was hard-copied from the nx repo from time to time, which caused issues with version mismatches and outdated properties. Now, if there's no $schema property specified in nx.json, we can still autocomplete things properly by loading nx-schema.json from your local node_modules.

I also added some e2e tests to make sure this stays like this and doesn't autocomplete old stuff on new versions and vice versa.

MaxKless avatar Jul 29 '24 12:07 MaxKless

☁️ Nx Cloud Report

CI is running/has finished running commands for commit d0b58ec3b1a04034d048e7e87d68b1486a8e9a70. 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 4 targets

Sent with 💌 from NxCloud.

nx-cloud[bot] avatar Jul 29 '24 12:07 nx-cloud[bot]