@aws/nx-plugin-mcp 1.0.0-rc.88 → 1.0.0-rc.89
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.
|
@@ -111,6 +111,14 @@ When you use your Python project as runtime code (for example as the handler for
|
|
|
111
111
|
}
|
|
112
112
|
```
|
|
113
113
|
|
|
114
|
+
### Installing
|
|
115
|
+
|
|
116
|
+
Install Python dependencies with the following command:
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
uv sync
|
|
120
|
+
```
|
|
121
|
+
|
|
114
122
|
### Building
|
|
115
123
|
|
|
116
124
|
Your Python project is configured with a `build` target (defined in `project.json`), which you can run via:
|
|
@@ -306,6 +306,12 @@ Note that in the above target, we chose `src/index.ts` as our entrypoint for the
|
|
|
306
306
|
If you're building an AWS Lambda function, check out the <Link path="/guides/ts-lambda-function">`ts#lambda-function`</Link> generator as this configures bundling for you, as well as generating infrastructure and adding observability and type-safety.
|
|
307
307
|
:::
|
|
308
308
|
|
|
309
|
+
### Installing
|
|
310
|
+
|
|
311
|
+
Install TypeScript dependencies with the following command:
|
|
312
|
+
|
|
313
|
+
<InstallCommand />
|
|
314
|
+
|
|
309
315
|
### Building
|
|
310
316
|
|
|
311
317
|
Your TypeScript project is configured with a `build` target (defined in `project.json`), which you can run via:
|
|
@@ -77,6 +77,28 @@ Nx caches the output of previously executed targets and replays them when the in
|
|
|
77
77
|
|
|
78
78
|
For more details, see the [Nx caching documentation](https://nx.dev/features/cache-task-results).
|
|
79
79
|
|
|
80
|
+
### Parallelism
|
|
81
|
+
|
|
82
|
+
New workspaces set `parallel` in `nx.json`, which controls how many tasks Nx runs concurrently:
|
|
83
|
+
|
|
84
|
+
```json title="nx.json"
|
|
85
|
+
{
|
|
86
|
+
"parallel": 8
|
|
87
|
+
}
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
Lower it if you're building on a machine with fewer cores or limited memory:
|
|
91
|
+
|
|
92
|
+
```json title="nx.json"
|
|
93
|
+
{
|
|
94
|
+
"parallel": 3
|
|
95
|
+
}
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
You can also override it per-invocation:
|
|
99
|
+
|
|
100
|
+
<NxCommands commands={['run-many --target build --parallel=4']} />
|
|
101
|
+
|
|
80
102
|
## Single Version Policy
|
|
81
103
|
|
|
82
104
|
The default monorepo setup uses a [single version policy](https://nx.dev/concepts/decisions/dependency-management#single-version-policy) for both Node and Python based projects.
|