@aws/nx-plugin-mcp 1.0.0-rc.6 → 1.0.0-rc.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -395,6 +395,10 @@ import { formatFilesInSubtree } from '@aws/nx-plugin/sdk/utils/format';
|
|
|
395
395
|
await formatFilesInSubtree(tree, 'optional/path/to/format');
|
|
396
396
|
```
|
|
397
397
|
|
|
398
|
+
:::note
|
|
399
|
+
`formatFilesInSubtree` formats TypeScript, JavaScript, JSON and CSS files with [Biome](https://biomejs.dev/), and Python files with [Ruff](https://docs.astral.sh/ruff/). When the workspace already has a `biome.json` on disk, it uses your workspace's installed version of Biome and its configuration. Otherwise it falls back to a bundled Biome, applying any `biome.json` present in the virtual tree.
|
|
400
|
+
:::
|
|
401
|
+
|
|
398
402
|
#### Reading and Updating JSON Files
|
|
399
403
|
|
|
400
404
|
```typescript
|