@aws/nx-plugin 0.81.0 → 0.82.1
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.
- package/LICENSE-THIRD-PARTY +118 -79
- package/package.json +4 -4
- package/src/connection/generator.d.ts +32 -2
- package/src/connection/generator.js +125 -16
- package/src/connection/generator.js.map +1 -1
- package/src/connection/schema.d.ts +2 -0
- package/src/connection/schema.json +8 -0
- package/src/infra/app/__snapshots__/generator.spec.ts.snap +11 -11
- package/src/mcp-server/generator-info.d.ts +5 -1
- package/src/mcp-server/generator-info.js +52 -8
- package/src/mcp-server/generator-info.js.map +1 -1
- package/src/py/lambda-function/generator.js +2 -1
- package/src/py/lambda-function/generator.js.map +1 -1
- package/src/py/mcp-server/__snapshots__/generator.spec.ts.snap +1 -1
- package/src/py/mcp-server/generator.js +2 -1
- package/src/py/mcp-server/generator.js.map +1 -1
- package/src/py/strands-agent/__snapshots__/generator.spec.ts.snap +5 -5
- package/src/py/strands-agent/generator.js +2 -1
- package/src/py/strands-agent/generator.js.map +1 -1
- package/src/trpc/react/__snapshots__/generator.spec.ts.snap +2 -3
- package/src/trpc/react/generator.js +1 -2
- package/src/trpc/react/generator.js.map +1 -1
- package/src/ts/lambda-function/generator.js +1 -1
- package/src/ts/lambda-function/generator.js.map +1 -1
- package/src/ts/mcp-server/__snapshots__/generator.spec.ts.snap +1 -1
- package/src/ts/mcp-server/generator.js +1 -1
- package/src/ts/mcp-server/generator.js.map +1 -1
- package/src/ts/nx-generator/generator.js +1 -1
- package/src/ts/nx-generator/generator.js.map +1 -1
- package/src/ts/react-website/app/__snapshots__/generator.spec.ts.snap +28 -28
- package/src/ts/react-website/cognito-auth/generator.js +4 -2
- package/src/ts/react-website/cognito-auth/generator.js.map +1 -1
- package/src/ts/react-website/runtime-config/generator.js +4 -2
- package/src/ts/react-website/runtime-config/generator.js.map +1 -1
- package/src/ts/strands-agent/__snapshots__/generator.spec.ts.snap +5 -4
- package/src/ts/strands-agent/files/app/router.ts.template +5 -4
- package/src/ts/strands-agent/generator.js +1 -1
- package/src/ts/strands-agent/generator.js.map +1 -1
- package/src/utils/connection/open-api/react.js +1 -2
- package/src/utils/connection/open-api/react.js.map +1 -1
- package/src/utils/files/common/shadcn/src/components/ui/alert.tsx.template +3 -3
- package/src/utils/files/common/shadcn/src/components/ui/breadcrumb.tsx.template +3 -3
- package/src/utils/files/common/shadcn/src/components/ui/button.tsx.template +4 -4
- package/src/utils/files/common/shadcn/src/components/ui/card.tsx.template +2 -2
- package/src/utils/files/common/shadcn/src/components/ui/input.tsx.template +3 -3
- package/src/utils/files/common/shadcn/src/components/ui/separator.tsx.template +1 -1
- package/src/utils/files/common/shadcn/src/components/ui/sheet.tsx.template +9 -9
- package/src/utils/files/common/shadcn/src/components/ui/sidebar.tsx.template +18 -18
- package/src/utils/files/common/shadcn/src/components/ui/skeleton.tsx.template +1 -1
- package/src/utils/files/common/shadcn/src/components/ui/tooltip.tsx.template +2 -2
- package/src/utils/files/website/hooks/sigv4/useSigV4.tsx.template +2 -3
- package/src/utils/nx.d.ts +10 -1
- package/src/utils/nx.js +3 -5
- package/src/utils/nx.js.map +1 -1
- package/src/utils/paths.d.ts +5 -1
- package/src/utils/paths.js +10 -1
- package/src/utils/paths.js.map +1 -1
- package/src/utils/versions.d.ts +40 -42
- package/src/utils/versions.js +39 -41
- package/src/utils/versions.js.map +1 -1
|
@@ -139,7 +139,7 @@ function SidebarProvider({
|
|
|
139
139
|
} as React.CSSProperties
|
|
140
140
|
}
|
|
141
141
|
className={cn(
|
|
142
|
-
"group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar
|
|
142
|
+
"group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar",
|
|
143
143
|
className
|
|
144
144
|
)}
|
|
145
145
|
{...props}
|
|
@@ -170,7 +170,7 @@ function Sidebar({
|
|
|
170
170
|
<div
|
|
171
171
|
data-slot="sidebar"
|
|
172
172
|
className={cn(
|
|
173
|
-
"
|
|
173
|
+
"flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground",
|
|
174
174
|
className
|
|
175
175
|
)}
|
|
176
176
|
{...props}
|
|
@@ -187,7 +187,7 @@ function Sidebar({
|
|
|
187
187
|
data-sidebar="sidebar"
|
|
188
188
|
data-slot="sidebar"
|
|
189
189
|
data-mobile="true"
|
|
190
|
-
className="
|
|
190
|
+
className="w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden"
|
|
191
191
|
style={
|
|
192
192
|
{
|
|
193
193
|
"--sidebar-width": SIDEBAR_WIDTH_MOBILE,
|
|
@@ -207,7 +207,7 @@ function Sidebar({
|
|
|
207
207
|
|
|
208
208
|
return (
|
|
209
209
|
<div
|
|
210
|
-
className="group peer text-sidebar-foreground
|
|
210
|
+
className="group peer hidden text-sidebar-foreground md:block"
|
|
211
211
|
data-state={state}
|
|
212
212
|
data-collapsible={state === "collapsed" ? collapsible : ""}
|
|
213
213
|
data-variant={variant}
|
|
@@ -244,7 +244,7 @@ function Sidebar({
|
|
|
244
244
|
<div
|
|
245
245
|
data-sidebar="sidebar"
|
|
246
246
|
data-slot="sidebar-inner"
|
|
247
|
-
className="
|
|
247
|
+
className="flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow-sm"
|
|
248
248
|
>
|
|
249
249
|
{children}
|
|
250
250
|
</div>
|
|
@@ -291,10 +291,10 @@ function SidebarRail({ className, ...props }: React.ComponentProps<"button">) {
|
|
|
291
291
|
onClick={toggleSidebar}
|
|
292
292
|
title="Toggle Sidebar"
|
|
293
293
|
className={cn(
|
|
294
|
-
"
|
|
294
|
+
"absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border sm:flex",
|
|
295
295
|
"in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
|
|
296
296
|
"[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
|
|
297
|
-
"
|
|
297
|
+
"group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full hover:group-data-[collapsible=offcanvas]:bg-sidebar",
|
|
298
298
|
"[[data-side=left][data-collapsible=offcanvas]_&]:-right-2",
|
|
299
299
|
"[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",
|
|
300
300
|
className
|
|
@@ -309,7 +309,7 @@ function SidebarInset({ className, ...props }: React.ComponentProps<"main">) {
|
|
|
309
309
|
<main
|
|
310
310
|
data-slot="sidebar-inset"
|
|
311
311
|
className={cn(
|
|
312
|
-
"
|
|
312
|
+
"relative flex w-full flex-1 flex-col bg-background",
|
|
313
313
|
"md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",
|
|
314
314
|
className
|
|
315
315
|
)}
|
|
@@ -326,7 +326,7 @@ function SidebarInput({
|
|
|
326
326
|
<Input
|
|
327
327
|
data-slot="sidebar-input"
|
|
328
328
|
data-sidebar="input"
|
|
329
|
-
className={cn("
|
|
329
|
+
className={cn("h-8 w-full bg-background shadow-none", className)}
|
|
330
330
|
{...props}
|
|
331
331
|
/>
|
|
332
332
|
)
|
|
@@ -362,7 +362,7 @@ function SidebarSeparator({
|
|
|
362
362
|
<Separator
|
|
363
363
|
data-slot="sidebar-separator"
|
|
364
364
|
data-sidebar="separator"
|
|
365
|
-
className={cn("
|
|
365
|
+
className={cn("mx-2 w-auto bg-sidebar-border", className)}
|
|
366
366
|
{...props}
|
|
367
367
|
/>
|
|
368
368
|
)
|
|
@@ -405,7 +405,7 @@ function SidebarGroupLabel({
|
|
|
405
405
|
data-slot="sidebar-group-label"
|
|
406
406
|
data-sidebar="group-label"
|
|
407
407
|
className={cn(
|
|
408
|
-
"
|
|
408
|
+
"flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 ring-sidebar-ring outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
409
409
|
"group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
|
|
410
410
|
className
|
|
411
411
|
)}
|
|
@@ -426,7 +426,7 @@ function SidebarGroupAction({
|
|
|
426
426
|
data-slot="sidebar-group-action"
|
|
427
427
|
data-sidebar="group-action"
|
|
428
428
|
className={cn(
|
|
429
|
-
"
|
|
429
|
+
"absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
430
430
|
// Increases the hit area of the button on mobile.
|
|
431
431
|
"after:absolute after:-inset-2 md:after:hidden",
|
|
432
432
|
"group-data-[collapsible=icon]:hidden",
|
|
@@ -474,7 +474,7 @@ function SidebarMenuItem({ className, ...props }: React.ComponentProps<"li">) {
|
|
|
474
474
|
}
|
|
475
475
|
|
|
476
476
|
const sidebarMenuButtonVariants = cva(
|
|
477
|
-
"peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm
|
|
477
|
+
"peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
|
|
478
478
|
{
|
|
479
479
|
variants: {
|
|
480
480
|
variant: {
|
|
@@ -561,7 +561,7 @@ function SidebarMenuAction({
|
|
|
561
561
|
data-slot="sidebar-menu-action"
|
|
562
562
|
data-sidebar="menu-action"
|
|
563
563
|
className={cn(
|
|
564
|
-
"
|
|
564
|
+
"absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform peer-hover/menu-button:text-sidebar-accent-foreground hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
565
565
|
// Increases the hit area of the button on mobile.
|
|
566
566
|
"after:absolute after:-inset-2 md:after:hidden",
|
|
567
567
|
"peer-data-[size=sm]/menu-button:top-1",
|
|
@@ -569,7 +569,7 @@ function SidebarMenuAction({
|
|
|
569
569
|
"peer-data-[size=lg]/menu-button:top-2.5",
|
|
570
570
|
"group-data-[collapsible=icon]:hidden",
|
|
571
571
|
showOnHover &&
|
|
572
|
-
"
|
|
572
|
+
"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground data-[state=open]:opacity-100 md:opacity-0",
|
|
573
573
|
className
|
|
574
574
|
)}
|
|
575
575
|
{...props}
|
|
@@ -586,7 +586,7 @@ function SidebarMenuBadge({
|
|
|
586
586
|
data-slot="sidebar-menu-badge"
|
|
587
587
|
data-sidebar="menu-badge"
|
|
588
588
|
className={cn(
|
|
589
|
-
"
|
|
589
|
+
"pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium text-sidebar-foreground tabular-nums select-none",
|
|
590
590
|
"peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
|
|
591
591
|
"peer-data-[size=sm]/menu-button:top-1",
|
|
592
592
|
"peer-data-[size=default]/menu-button:top-1.5",
|
|
@@ -643,7 +643,7 @@ function SidebarMenuSub({ className, ...props }: React.ComponentProps<"ul">) {
|
|
|
643
643
|
data-slot="sidebar-menu-sub"
|
|
644
644
|
data-sidebar="menu-sub"
|
|
645
645
|
className={cn(
|
|
646
|
-
"
|
|
646
|
+
"mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5",
|
|
647
647
|
"group-data-[collapsible=icon]:hidden",
|
|
648
648
|
className
|
|
649
649
|
)}
|
|
@@ -686,7 +686,7 @@ function SidebarMenuSubButton({
|
|
|
686
686
|
data-size={size}
|
|
687
687
|
data-active={isActive}
|
|
688
688
|
className={cn(
|
|
689
|
-
"
|
|
689
|
+
"flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground ring-sidebar-ring outline-hidden hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground",
|
|
690
690
|
"data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",
|
|
691
691
|
size === "sm" && "text-xs",
|
|
692
692
|
size === "md" && "text-sm",
|
|
@@ -4,7 +4,7 @@ function Skeleton({ className, ...props }: React.ComponentProps<"div">) {
|
|
|
4
4
|
return (
|
|
5
5
|
<div
|
|
6
6
|
data-slot="skeleton"
|
|
7
|
-
className={cn("
|
|
7
|
+
className={cn("animate-pulse rounded-md bg-accent", className)}
|
|
8
8
|
{...props}
|
|
9
9
|
/>
|
|
10
10
|
)
|
|
@@ -42,13 +42,13 @@ function TooltipContent({
|
|
|
42
42
|
data-slot="tooltip-content"
|
|
43
43
|
sideOffset={sideOffset}
|
|
44
44
|
className={cn(
|
|
45
|
-
"
|
|
45
|
+
"z-50 w-fit origin-(--radix-tooltip-content-transform-origin) animate-in rounded-md bg-foreground px-3 py-1.5 text-xs text-balance text-background fade-in-0 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
46
46
|
className
|
|
47
47
|
)}
|
|
48
48
|
{...props}
|
|
49
49
|
>
|
|
50
50
|
{children}
|
|
51
|
-
<TooltipPrimitive.Arrow className="
|
|
51
|
+
<TooltipPrimitive.Arrow className="z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground" />
|
|
52
52
|
</TooltipPrimitive.Content>
|
|
53
53
|
</TooltipPrimitive.Portal>
|
|
54
54
|
)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AwsClient } from 'aws4fetch';
|
|
2
|
-
import {
|
|
3
|
-
import { fromCognitoIdentityPool } from '@aws-sdk/credential-provider-cognito-identity';
|
|
2
|
+
import { fromCognitoIdentityPool } from '@aws-sdk/credential-providers';
|
|
4
3
|
import { useCallback, useRef } from 'react';
|
|
5
4
|
import { useAuth } from 'react-oidc-context';
|
|
6
5
|
import { useRuntimeConfig } from './useRuntimeConfig';
|
|
@@ -64,7 +63,7 @@ export const useSigV4 = (): SigV4Client => {
|
|
|
64
63
|
}
|
|
65
64
|
|
|
66
65
|
const credentialsFromCognitoIdentityPool = fromCognitoIdentityPool({
|
|
67
|
-
|
|
66
|
+
clientConfig: { region: cognitoProps.region },
|
|
68
67
|
identityPoolId: cognitoProps.identityPoolId,
|
|
69
68
|
logins: {
|
|
70
69
|
[`cognito-idp.${cognitoProps.region}.amazonaws.com/${cognitoProps.userPoolId}`]:
|
package/src/utils/nx.d.ts
CHANGED
|
@@ -32,10 +32,19 @@ export declare const readProjectConfigurationUnqualified: (tree: Tree, projectNa
|
|
|
32
32
|
export declare const addGeneratorMetadata: (tree: Tree, projectName: string, info: NxGeneratorInfo, additionalMetadata?: {
|
|
33
33
|
[key: string]: any;
|
|
34
34
|
}) => void;
|
|
35
|
+
/**
|
|
36
|
+
* Represents a component entry in project metadata
|
|
37
|
+
*/
|
|
38
|
+
export interface ComponentMetadata {
|
|
39
|
+
readonly generator: string;
|
|
40
|
+
readonly name?: string;
|
|
41
|
+
readonly path?: string;
|
|
42
|
+
[key: string]: any;
|
|
43
|
+
}
|
|
35
44
|
/**
|
|
36
45
|
* Add metadata about the generator that generated the component to the project.json
|
|
37
46
|
*/
|
|
38
|
-
export declare const addComponentGeneratorMetadata: (tree: Tree, projectName: string, info: NxGeneratorInfo, componentName?: string, additionalMetadata?: {
|
|
47
|
+
export declare const addComponentGeneratorMetadata: (tree: Tree, projectName: string, info: NxGeneratorInfo, componentPath: string, componentName?: string, additionalMetadata?: {
|
|
39
48
|
[key: string]: any;
|
|
40
49
|
}) => void;
|
|
41
50
|
/**
|
package/src/utils/nx.js
CHANGED
|
@@ -70,16 +70,14 @@ exports.addGeneratorMetadata = addGeneratorMetadata;
|
|
|
70
70
|
/**
|
|
71
71
|
* Add metadata about the generator that generated the component to the project.json
|
|
72
72
|
*/
|
|
73
|
-
const addComponentGeneratorMetadata = (tree, projectName, info, componentName, additionalMetadata) => {
|
|
73
|
+
const addComponentGeneratorMetadata = (tree, projectName, info, componentPath, componentName, additionalMetadata) => {
|
|
74
74
|
var _a, _b;
|
|
75
75
|
const config = (0, exports.readProjectConfigurationUnqualified)(tree, projectName);
|
|
76
76
|
const existingComponents = (_b = (_a = config === null || config === void 0 ? void 0 : config.metadata) === null || _a === void 0 ? void 0 : _a.components) !== null && _b !== void 0 ? _b : [];
|
|
77
77
|
const alreadyAdded = existingComponents.filter((c) => c.generator === info.id && c.name === componentName);
|
|
78
78
|
if (alreadyAdded.length === 0) {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
Object.assign(Object.assign({ generator: info.id }, (componentName ? { name: componentName } : {})), additionalMetadata),
|
|
82
|
-
] }) }));
|
|
79
|
+
const componentMetadata = Object.assign(Object.assign({ generator: info.id, path: componentPath }, (componentName ? { name: componentName } : {})), additionalMetadata);
|
|
80
|
+
(0, devkit_1.updateProjectConfiguration)(tree, config.name, Object.assign(Object.assign({}, config), { metadata: Object.assign(Object.assign({}, config === null || config === void 0 ? void 0 : config.metadata), { components: [...existingComponents, componentMetadata] }) }));
|
|
83
81
|
}
|
|
84
82
|
};
|
|
85
83
|
exports.addComponentGeneratorMetadata = addComponentGeneratorMetadata;
|
package/src/utils/nx.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nx.js","sourceRoot":"","sources":["../../../../../packages/nx-plugin/src/utils/nx.ts"],"names":[],"mappings":";;;;AAAA;;;GAGG;AACH,uCAMoB;AACpB,oFAAmD;AACnD,8EAA6C;AAC7C,mDAA6B;AAC7B,2CAA6D;AAC7D,mCAAsC;AAYtC,MAAM,UAAU,GAAsB,MAAM,CAAC,OAAO,CAClD,yBAAc,CAAC,UAAU,CAC1B,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,+BACpB,EAAE,EACF,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,mBAAmB,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,EACtE,kBAAkB,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,EACpE,WAAW,EAAE,IAAI,CAAC,WAAW,IAC1B,CAAC,QAAQ,IAAI,IAAI,I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GAAG,CAC/C,OAA6B,EAC7B,MAAc,EACd,UAAkB,EAClB,EAAE;;;IACF,MAAA,OAAO,CAAC,OAAO,oCAAf,OAAO,CAAC,OAAO,GAAK,EAAE,EAAC;IACvB,YAAA,OAAO,CAAC,OAAO,EAAC,MAAM,wCAAN,MAAM,IAAM,EAAE,EAAC;IAC/B,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,SAAS,GAAG;QAClC,GAAG,CAAC,MAAA,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,SAAS,mCAAI,EAAE,CAAC,CAAC,MAAM,CACjD,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,UAAU,CACxB;QACD,UAAU;KACX,CAAC;AACJ,CAAC,CAAC;AAbW,QAAA,iCAAiC,qCAa5C"}
|
package/src/utils/paths.d.ts
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
|
-
import { Tree } from '@nx/devkit';
|
|
5
|
+
import { ProjectConfiguration, Tree } from '@nx/devkit';
|
|
6
6
|
export declare const getRelativePathToRoot: (tree: Tree, projectName: string) => string;
|
|
7
7
|
export declare const getRelativePathToRootByDirectory: (directory: string) => string;
|
|
8
|
+
/**
|
|
9
|
+
* Convert an absolute path within a project to a path relative to the project root.
|
|
10
|
+
*/
|
|
11
|
+
export declare const toProjectRelativePath: (projectConfiguration: ProjectConfiguration, absolutePath: string) => string;
|
package/src/utils/paths.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getRelativePathToRootByDirectory = exports.getRelativePathToRoot = void 0;
|
|
3
|
+
exports.toProjectRelativePath = exports.getRelativePathToRootByDirectory = exports.getRelativePathToRoot = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const path = tslib_1.__importStar(require("path"));
|
|
4
6
|
const nx_1 = require("./nx");
|
|
5
7
|
const getRelativePathToRoot = (tree, projectName) => {
|
|
6
8
|
const projectConfig = (0, nx_1.readProjectConfigurationUnqualified)(tree, projectName);
|
|
@@ -15,4 +17,11 @@ const getRelativePathToRootByDirectory = (directory) => {
|
|
|
15
17
|
return '../'.repeat(levels);
|
|
16
18
|
};
|
|
17
19
|
exports.getRelativePathToRootByDirectory = getRelativePathToRootByDirectory;
|
|
20
|
+
/**
|
|
21
|
+
* Convert an absolute path within a project to a path relative to the project root.
|
|
22
|
+
*/
|
|
23
|
+
const toProjectRelativePath = (projectConfiguration, absolutePath) => {
|
|
24
|
+
return path.relative(projectConfiguration.root, absolutePath);
|
|
25
|
+
};
|
|
26
|
+
exports.toProjectRelativePath = toProjectRelativePath;
|
|
18
27
|
//# sourceMappingURL=paths.js.map
|
package/src/utils/paths.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paths.js","sourceRoot":"","sources":["../../../../../packages/nx-plugin/src/utils/paths.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"paths.js","sourceRoot":"","sources":["../../../../../packages/nx-plugin/src/utils/paths.ts"],"names":[],"mappings":";;;;AAKA,mDAA6B;AAC7B,6BAA2D;AAEpD,MAAM,qBAAqB,GAAG,CACnC,IAAU,EACV,WAAmB,EACX,EAAE;IACV,MAAM,aAAa,GAAG,IAAA,wCAAmC,EAAC,IAAI,EAAE,WAAW,CAAC,CAAC;IAC7E,MAAM,WAAW,GAAG,aAAa,CAAC,IAAI,CAAC;IACvC,OAAO,IAAA,wCAAgC,EAAC,WAAW,CAAC,CAAC;AACvD,CAAC,CAAC;AAPW,QAAA,qBAAqB,yBAOhC;AAEK,MAAM,gCAAgC,GAAG,CAAC,SAAiB,EAAU,EAAE;IAC5E,wEAAwE;IACxE,MAAM,MAAM,GAAG,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC;IAC3D,wCAAwC;IACxC,OAAO,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AAC9B,CAAC,CAAC;AALW,QAAA,gCAAgC,oCAK3C;AAEF;;GAEG;AACI,MAAM,qBAAqB,GAAG,CACnC,oBAA0C,EAC1C,YAAoB,EACZ,EAAE;IACV,OAAO,IAAI,CAAC,QAAQ,CAAC,oBAAoB,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;AAChE,CAAC,CAAC;AALW,QAAA,qBAAqB,yBAKhC"}
|
package/src/utils/versions.d.ts
CHANGED
|
@@ -6,11 +6,9 @@
|
|
|
6
6
|
* Versons for TypeScript dependencies added by generators
|
|
7
7
|
*/
|
|
8
8
|
export declare const TS_VERSIONS: {
|
|
9
|
-
readonly '@aws-sdk/client-
|
|
10
|
-
readonly '@aws-sdk/client-
|
|
11
|
-
readonly '@aws-sdk/
|
|
12
|
-
readonly '@aws-sdk/credential-providers': "3.992.0";
|
|
13
|
-
readonly '@aws-sdk/credential-provider-cognito-identity': "3.972.3";
|
|
9
|
+
readonly '@aws-sdk/client-dynamodb': "3.1004.0";
|
|
10
|
+
readonly '@aws-sdk/client-sts': "3.1004.0";
|
|
11
|
+
readonly '@aws-sdk/credential-providers': "3.1004.0";
|
|
14
12
|
readonly '@aws-smithy/server-apigateway': "1.0.0-alpha.10";
|
|
15
13
|
readonly '@aws-smithy/server-node': "1.0.0-alpha.10";
|
|
16
14
|
readonly '@aws-lambda-powertools/logger': "2.31.0";
|
|
@@ -18,43 +16,43 @@ export declare const TS_VERSIONS: {
|
|
|
18
16
|
readonly '@aws-lambda-powertools/tracer': "2.31.0";
|
|
19
17
|
readonly '@aws-lambda-powertools/parser': "2.31.0";
|
|
20
18
|
readonly '@middy/core': "6.4.5";
|
|
21
|
-
readonly '@nxlv/python': "22.1.
|
|
19
|
+
readonly '@nxlv/python': "22.1.1";
|
|
22
20
|
readonly '@nx-extend/terraform': "9.0.1";
|
|
23
21
|
readonly '@nx/devkit': "22.5.3";
|
|
24
22
|
readonly '@nx/react': "22.5.3";
|
|
25
23
|
readonly 'create-nx-workspace': "22.5.3";
|
|
26
|
-
readonly '@modelcontextprotocol/sdk': "1.27.
|
|
24
|
+
readonly '@modelcontextprotocol/sdk': "1.27.1";
|
|
27
25
|
readonly '@modelcontextprotocol/inspector': "0.19.0";
|
|
28
|
-
readonly '@strands-agents/sdk': "0.
|
|
29
|
-
readonly '@tanstack/react-router': "1.
|
|
30
|
-
readonly '@tanstack/router-plugin': "1.
|
|
31
|
-
readonly '@tanstack/router-generator': "1.
|
|
32
|
-
readonly '@tanstack/virtual-file-routes': "1.
|
|
33
|
-
readonly '@tanstack/router-utils': "1.
|
|
34
|
-
readonly '@cloudscape-design/board-components': "3.0.
|
|
35
|
-
readonly '@cloudscape-design/components': "3.0.
|
|
36
|
-
readonly '@cloudscape-design/global-styles': "1.0.
|
|
26
|
+
readonly '@strands-agents/sdk': "0.4.0";
|
|
27
|
+
readonly '@tanstack/react-router': "1.163.3";
|
|
28
|
+
readonly '@tanstack/router-plugin': "1.164.0";
|
|
29
|
+
readonly '@tanstack/router-generator': "1.164.0";
|
|
30
|
+
readonly '@tanstack/virtual-file-routes': "1.161.4";
|
|
31
|
+
readonly '@tanstack/router-utils': "1.161.4";
|
|
32
|
+
readonly '@cloudscape-design/board-components': "3.0.150";
|
|
33
|
+
readonly '@cloudscape-design/components': "3.0.1217";
|
|
34
|
+
readonly '@cloudscape-design/global-styles': "1.0.51";
|
|
37
35
|
readonly '@tanstack/react-query': "5.90.21";
|
|
38
36
|
readonly '@tanstack/react-query-devtools': "5.91.3";
|
|
39
|
-
readonly '@trpc/tanstack-react-query': "11.
|
|
40
|
-
readonly '@trpc/client': "11.
|
|
41
|
-
readonly '@trpc/server': "11.
|
|
42
|
-
readonly '@types/node': "22.19.
|
|
43
|
-
readonly '@types/aws-lambda': "8.10.
|
|
37
|
+
readonly '@trpc/tanstack-react-query': "11.11.0";
|
|
38
|
+
readonly '@trpc/client': "11.11.0";
|
|
39
|
+
readonly '@trpc/server': "11.11.0";
|
|
40
|
+
readonly '@types/node': "22.19.13";
|
|
41
|
+
readonly '@types/aws-lambda': "8.10.161";
|
|
44
42
|
readonly '@types/cors': "2.8.19";
|
|
45
43
|
readonly '@types/ws': "8.18.1";
|
|
46
44
|
readonly '@types/express': "5.0.6";
|
|
47
|
-
readonly '@smithy/types': "4.
|
|
45
|
+
readonly '@smithy/types': "4.13.0";
|
|
48
46
|
readonly aws4fetch: "1.0.20";
|
|
49
|
-
readonly 'aws-cdk': "2.
|
|
50
|
-
readonly 'aws-cdk-lib': "2.
|
|
51
|
-
readonly '@aws-cdk/aws-bedrock-agentcore-alpha': "2.
|
|
47
|
+
readonly 'aws-cdk': "2.1108.0";
|
|
48
|
+
readonly 'aws-cdk-lib': "2.241.0";
|
|
49
|
+
readonly '@aws-cdk/aws-bedrock-agentcore-alpha': "2.241.0-alpha.0";
|
|
52
50
|
readonly 'aws-xray-sdk-core': "3.12.0";
|
|
53
|
-
readonly constructs: "10.5.
|
|
51
|
+
readonly constructs: "10.5.1";
|
|
54
52
|
readonly cors: "2.8.6";
|
|
55
53
|
readonly 'class-variance-authority': "0.7.1";
|
|
56
54
|
readonly clsx: "2.1.1";
|
|
57
|
-
readonly electrodb: "3.
|
|
55
|
+
readonly electrodb: "3.7.0";
|
|
58
56
|
readonly esbuild: "0.27.3";
|
|
59
57
|
readonly 'event-source-polyfill': "1.0.31";
|
|
60
58
|
readonly '@types/event-source-polyfill': "1.0.5";
|
|
@@ -63,7 +61,7 @@ export declare const TS_VERSIONS: {
|
|
|
63
61
|
readonly 'jsonc-eslint-parser': "2.4.2";
|
|
64
62
|
readonly 'make-dir-cli': "4.0.0";
|
|
65
63
|
readonly ncp: "2.0.0";
|
|
66
|
-
readonly 'npm-check-updates': "19.3
|
|
64
|
+
readonly 'npm-check-updates': "19.6.3";
|
|
67
65
|
readonly 'oidc-client-ts': "3.4.1";
|
|
68
66
|
readonly prettier: "3.8.1";
|
|
69
67
|
readonly 'react-oidc-context': "3.3.0";
|
|
@@ -72,14 +70,14 @@ export declare const TS_VERSIONS: {
|
|
|
72
70
|
readonly rimraf: "6.1.3";
|
|
73
71
|
readonly rolldown: "1.0.0-rc.1";
|
|
74
72
|
readonly 'source-map-support': "0.5.21";
|
|
75
|
-
readonly tailwindcss: "4.1
|
|
76
|
-
readonly '@tailwindcss/vite': "4.1
|
|
73
|
+
readonly tailwindcss: "4.2.1";
|
|
74
|
+
readonly '@tailwindcss/vite': "4.2.1";
|
|
77
75
|
readonly tsx: "4.21.0";
|
|
78
|
-
readonly 'lucide-react': "0.
|
|
76
|
+
readonly 'lucide-react': "0.576.0";
|
|
79
77
|
readonly 'radix-ui': "1.4.3";
|
|
80
78
|
readonly shadcn: "3.8.5";
|
|
81
79
|
readonly 'tw-animate-css': "1.4.0";
|
|
82
|
-
readonly 'tailwind-merge': "3.
|
|
80
|
+
readonly 'tailwind-merge': "3.5.0";
|
|
83
81
|
readonly 'vite-tsconfig-paths': "5.1.4";
|
|
84
82
|
readonly zod: "4.3.6";
|
|
85
83
|
readonly ws: "8.19.0";
|
|
@@ -89,25 +87,25 @@ export type ITsDepVersion = keyof typeof TS_VERSIONS;
|
|
|
89
87
|
* Add versions to the given dependencies
|
|
90
88
|
*/
|
|
91
89
|
export declare const withVersions: (deps: ITsDepVersion[]) => {
|
|
92
|
-
[k: string]: "22.5.3" | "3.8.1" | "1.27.
|
|
90
|
+
[k: string]: "22.5.3" | "3.8.1" | "1.27.1" | "22.1.1" | "4.3.6" | "3.1004.0" | "1.0.0-alpha.10" | "2.31.0" | "6.4.5" | "9.0.1" | "0.19.0" | "0.4.0" | "1.163.3" | "1.164.0" | "1.161.4" | "3.0.150" | "3.0.1217" | "1.0.51" | "5.90.21" | "5.91.3" | "11.11.0" | "22.19.13" | "8.10.161" | "2.8.19" | "8.18.1" | "5.0.6" | "4.13.0" | "1.0.20" | "2.1108.0" | "2.241.0" | "2.241.0-alpha.0" | "3.12.0" | "10.5.1" | "2.8.6" | "0.7.1" | "2.1.1" | "3.7.0" | "0.27.3" | "1.0.31" | "1.0.5" | "5.5.5" | "5.2.1" | "2.4.2" | "4.0.0" | "2.0.0" | "19.6.3" | "3.4.1" | "3.3.0" | "19.2.4" | "6.1.3" | "1.0.0-rc.1" | "0.5.21" | "4.2.1" | "4.21.0" | "0.576.0" | "1.4.3" | "3.8.5" | "1.4.0" | "3.5.0" | "5.1.4" | "8.19.0";
|
|
93
91
|
};
|
|
94
92
|
/**
|
|
95
93
|
* Versions for Python dependencies added by generators
|
|
96
94
|
*/
|
|
97
95
|
export declare const PY_VERSIONS: {
|
|
98
|
-
readonly 'aws-lambda-powertools': "==3.
|
|
99
|
-
readonly 'aws-lambda-powertools[tracer]': "==3.
|
|
100
|
-
readonly 'aws-lambda-powertools[parser]': "==3.
|
|
96
|
+
readonly 'aws-lambda-powertools': "==3.25.0";
|
|
97
|
+
readonly 'aws-lambda-powertools[tracer]': "==3.25.0";
|
|
98
|
+
readonly 'aws-lambda-powertools[parser]': "==3.25.0";
|
|
101
99
|
readonly 'aws-opentelemetry-distro': "==0.15.0";
|
|
102
100
|
readonly 'bedrock-agentcore': "==0.1.7";
|
|
103
|
-
readonly boto3: "==1.42.
|
|
104
|
-
readonly checkov: "==3.2.
|
|
105
|
-
readonly fastapi: "==0.
|
|
106
|
-
readonly 'fastapi[standard]': "==0.
|
|
101
|
+
readonly boto3: "==1.42.63";
|
|
102
|
+
readonly checkov: "==3.2.508";
|
|
103
|
+
readonly fastapi: "==0.135.1";
|
|
104
|
+
readonly 'fastapi[standard]': "==0.135.1";
|
|
107
105
|
readonly mcp: "==1.26.0";
|
|
108
106
|
readonly 'pip-check-updates': "==0.28.0";
|
|
109
|
-
readonly 'strands-agents': "==1.
|
|
110
|
-
readonly 'strands-agents-tools': "==0.2.
|
|
107
|
+
readonly 'strands-agents': "==1.29.0";
|
|
108
|
+
readonly 'strands-agents-tools': "==0.2.22";
|
|
111
109
|
readonly uvicorn: "==0.41.0";
|
|
112
110
|
};
|
|
113
111
|
export type IPyDepVersion = keyof typeof PY_VERSIONS;
|
package/src/utils/versions.js
CHANGED
|
@@ -9,11 +9,9 @@ exports.withPyVersions = exports.PY_VERSIONS = exports.withVersions = exports.TS
|
|
|
9
9
|
* Versons for TypeScript dependencies added by generators
|
|
10
10
|
*/
|
|
11
11
|
exports.TS_VERSIONS = {
|
|
12
|
-
'@aws-sdk/client-
|
|
13
|
-
'@aws-sdk/client-
|
|
14
|
-
'@aws-sdk/
|
|
15
|
-
'@aws-sdk/credential-providers': '3.992.0',
|
|
16
|
-
'@aws-sdk/credential-provider-cognito-identity': '3.972.3',
|
|
12
|
+
'@aws-sdk/client-dynamodb': '3.1004.0',
|
|
13
|
+
'@aws-sdk/client-sts': '3.1004.0',
|
|
14
|
+
'@aws-sdk/credential-providers': '3.1004.0',
|
|
17
15
|
'@aws-smithy/server-apigateway': '1.0.0-alpha.10',
|
|
18
16
|
'@aws-smithy/server-node': '1.0.0-alpha.10',
|
|
19
17
|
'@aws-lambda-powertools/logger': '2.31.0',
|
|
@@ -21,43 +19,43 @@ exports.TS_VERSIONS = {
|
|
|
21
19
|
'@aws-lambda-powertools/tracer': '2.31.0',
|
|
22
20
|
'@aws-lambda-powertools/parser': '2.31.0',
|
|
23
21
|
'@middy/core': '6.4.5',
|
|
24
|
-
'@nxlv/python': '22.1.
|
|
22
|
+
'@nxlv/python': '22.1.1',
|
|
25
23
|
'@nx-extend/terraform': '9.0.1',
|
|
26
24
|
'@nx/devkit': '22.5.3',
|
|
27
25
|
'@nx/react': '22.5.3',
|
|
28
26
|
'create-nx-workspace': '22.5.3',
|
|
29
|
-
'@modelcontextprotocol/sdk': '1.27.
|
|
27
|
+
'@modelcontextprotocol/sdk': '1.27.1',
|
|
30
28
|
'@modelcontextprotocol/inspector': '0.19.0',
|
|
31
|
-
'@strands-agents/sdk': '0.
|
|
32
|
-
'@tanstack/react-router': '1.
|
|
33
|
-
'@tanstack/router-plugin': '1.
|
|
34
|
-
'@tanstack/router-generator': '1.
|
|
35
|
-
'@tanstack/virtual-file-routes': '1.
|
|
36
|
-
'@tanstack/router-utils': '1.
|
|
37
|
-
'@cloudscape-design/board-components': '3.0.
|
|
38
|
-
'@cloudscape-design/components': '3.0.
|
|
39
|
-
'@cloudscape-design/global-styles': '1.0.
|
|
29
|
+
'@strands-agents/sdk': '0.4.0',
|
|
30
|
+
'@tanstack/react-router': '1.163.3',
|
|
31
|
+
'@tanstack/router-plugin': '1.164.0',
|
|
32
|
+
'@tanstack/router-generator': '1.164.0',
|
|
33
|
+
'@tanstack/virtual-file-routes': '1.161.4',
|
|
34
|
+
'@tanstack/router-utils': '1.161.4',
|
|
35
|
+
'@cloudscape-design/board-components': '3.0.150',
|
|
36
|
+
'@cloudscape-design/components': '3.0.1217',
|
|
37
|
+
'@cloudscape-design/global-styles': '1.0.51',
|
|
40
38
|
'@tanstack/react-query': '5.90.21',
|
|
41
39
|
'@tanstack/react-query-devtools': '5.91.3',
|
|
42
|
-
'@trpc/tanstack-react-query': '11.
|
|
43
|
-
'@trpc/client': '11.
|
|
44
|
-
'@trpc/server': '11.
|
|
45
|
-
'@types/node': '22.19.
|
|
46
|
-
'@types/aws-lambda': '8.10.
|
|
40
|
+
'@trpc/tanstack-react-query': '11.11.0',
|
|
41
|
+
'@trpc/client': '11.11.0',
|
|
42
|
+
'@trpc/server': '11.11.0',
|
|
43
|
+
'@types/node': '22.19.13',
|
|
44
|
+
'@types/aws-lambda': '8.10.161',
|
|
47
45
|
'@types/cors': '2.8.19',
|
|
48
46
|
'@types/ws': '8.18.1',
|
|
49
47
|
'@types/express': '5.0.6',
|
|
50
|
-
'@smithy/types': '4.
|
|
48
|
+
'@smithy/types': '4.13.0',
|
|
51
49
|
aws4fetch: '1.0.20',
|
|
52
|
-
'aws-cdk': '2.
|
|
53
|
-
'aws-cdk-lib': '2.
|
|
54
|
-
'@aws-cdk/aws-bedrock-agentcore-alpha': '2.
|
|
50
|
+
'aws-cdk': '2.1108.0',
|
|
51
|
+
'aws-cdk-lib': '2.241.0',
|
|
52
|
+
'@aws-cdk/aws-bedrock-agentcore-alpha': '2.241.0-alpha.0',
|
|
55
53
|
'aws-xray-sdk-core': '3.12.0',
|
|
56
|
-
constructs: '10.5.
|
|
54
|
+
constructs: '10.5.1',
|
|
57
55
|
cors: '2.8.6',
|
|
58
56
|
'class-variance-authority': '0.7.1',
|
|
59
57
|
clsx: '2.1.1',
|
|
60
|
-
electrodb: '3.
|
|
58
|
+
electrodb: '3.7.0',
|
|
61
59
|
esbuild: '0.27.3',
|
|
62
60
|
'event-source-polyfill': '1.0.31',
|
|
63
61
|
'@types/event-source-polyfill': '1.0.5',
|
|
@@ -66,7 +64,7 @@ exports.TS_VERSIONS = {
|
|
|
66
64
|
'jsonc-eslint-parser': '2.4.2',
|
|
67
65
|
'make-dir-cli': '4.0.0',
|
|
68
66
|
ncp: '2.0.0',
|
|
69
|
-
'npm-check-updates': '19.3
|
|
67
|
+
'npm-check-updates': '19.6.3',
|
|
70
68
|
'oidc-client-ts': '3.4.1',
|
|
71
69
|
prettier: '3.8.1',
|
|
72
70
|
'react-oidc-context': '3.3.0',
|
|
@@ -75,14 +73,14 @@ exports.TS_VERSIONS = {
|
|
|
75
73
|
rimraf: '6.1.3',
|
|
76
74
|
rolldown: '1.0.0-rc.1',
|
|
77
75
|
'source-map-support': '0.5.21',
|
|
78
|
-
tailwindcss: '4.1
|
|
79
|
-
'@tailwindcss/vite': '4.1
|
|
76
|
+
tailwindcss: '4.2.1',
|
|
77
|
+
'@tailwindcss/vite': '4.2.1',
|
|
80
78
|
tsx: '4.21.0',
|
|
81
|
-
'lucide-react': '0.
|
|
79
|
+
'lucide-react': '0.576.0',
|
|
82
80
|
'radix-ui': '1.4.3',
|
|
83
81
|
shadcn: '3.8.5',
|
|
84
82
|
'tw-animate-css': '1.4.0',
|
|
85
|
-
'tailwind-merge': '3.
|
|
83
|
+
'tailwind-merge': '3.5.0',
|
|
86
84
|
'vite-tsconfig-paths': '5.1.4',
|
|
87
85
|
zod: '4.3.6',
|
|
88
86
|
ws: '8.19.0',
|
|
@@ -96,19 +94,19 @@ exports.withVersions = withVersions;
|
|
|
96
94
|
* Versions for Python dependencies added by generators
|
|
97
95
|
*/
|
|
98
96
|
exports.PY_VERSIONS = {
|
|
99
|
-
'aws-lambda-powertools': '==3.
|
|
100
|
-
'aws-lambda-powertools[tracer]': '==3.
|
|
101
|
-
'aws-lambda-powertools[parser]': '==3.
|
|
97
|
+
'aws-lambda-powertools': '==3.25.0',
|
|
98
|
+
'aws-lambda-powertools[tracer]': '==3.25.0',
|
|
99
|
+
'aws-lambda-powertools[parser]': '==3.25.0',
|
|
102
100
|
'aws-opentelemetry-distro': '==0.15.0',
|
|
103
101
|
'bedrock-agentcore': '==0.1.7',
|
|
104
|
-
boto3: '==1.42.
|
|
105
|
-
checkov: '==3.2.
|
|
106
|
-
fastapi: '==0.
|
|
107
|
-
'fastapi[standard]': '==0.
|
|
102
|
+
boto3: '==1.42.63',
|
|
103
|
+
checkov: '==3.2.508',
|
|
104
|
+
fastapi: '==0.135.1',
|
|
105
|
+
'fastapi[standard]': '==0.135.1',
|
|
108
106
|
mcp: '==1.26.0',
|
|
109
107
|
'pip-check-updates': '==0.28.0',
|
|
110
|
-
'strands-agents': '==1.
|
|
111
|
-
'strands-agents-tools': '==0.2.
|
|
108
|
+
'strands-agents': '==1.29.0',
|
|
109
|
+
'strands-agents-tools': '==0.2.22',
|
|
112
110
|
uvicorn: '==0.41.0',
|
|
113
111
|
};
|
|
114
112
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versions.js","sourceRoot":"","sources":["../../../../../packages/nx-plugin/src/utils/versions.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH;;GAEG;AACU,QAAA,WAAW,GAAG;IACzB,
|
|
1
|
+
{"version":3,"file":"versions.js","sourceRoot":"","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