@aws/nx-plugin-mcp 0.104.1 → 0.106.0

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.
Files changed (2) hide show
  1. package/bin/aws-nx-mcp.js +10 -7
  2. package/package.json +1 -1
package/bin/aws-nx-mcp.js CHANGED
@@ -19036,19 +19036,22 @@ const buildCreateNxWorkspaceCommand = (pm, workspace, iacProvider) => {
19036
19036
  const addCreateWorkspaceCommandTool = (server) => {
19037
19037
  server.registerTool("create-workspace-command", {
19038
19038
  description: "Tool to discover how to create a workspace to start a new project.",
19039
- inputSchema: {
19040
- workspaceName: string(),
19041
- packageManager: PackageManagerSchema
19042
- }
19043
- }, ({ workspaceName, packageManager }) => ({ content: [{
19039
+ inputSchema: { packageManager: PackageManagerSchema }
19040
+ }, ({ packageManager }) => ({ content: [{
19044
19041
  type: "text",
19045
19042
  text: `Run the following command to create a workspace:
19046
19043
 
19047
19044
  \`\`\`bash
19048
- ${buildCreateNxWorkspaceCommand(packageManager, workspaceName)} --no-interactive
19045
+ ${buildCreateNxWorkspaceCommand(packageManager, "<workspace-name>")} --no-interactive
19049
19046
  \`\`\`
19050
19047
 
19051
- This will create a new workspace within the ${workspaceName} directory.
19048
+ This will create a new workspace within the \`<workspace-name>\` directory.
19049
+
19050
+ If you are already inside an empty directory intended for this project, you can pass \`.\` as the workspace name to create the workspace in the current directory:
19051
+
19052
+ \`\`\`bash
19053
+ ${buildCreateNxWorkspaceCommand(packageManager, ".")} --no-interactive
19054
+ \`\`\`
19052
19055
 
19053
19056
  Note that this will prompt for an Infrastructure as Code provider (${IAC_PROVIDERS.join(", ")}).
19054
19057
  If you know the preferred option, pass ${IAC_PROVIDERS.map((iac) => `\`--iacProvider=${iac}\``).join(" or ")} to the above command to skip the prompt.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws/nx-plugin-mcp",
3
- "version": "0.104.1",
3
+ "version": "0.106.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/awslabs/nx-plugin-for-aws.git",