File tree Expand file tree Collapse file tree 13 files changed +207
-141
lines changed Expand file tree Collapse file tree 13 files changed +207
-141
lines changed Original file line number Diff line number Diff line change 1- * .js
21! jest.config.js
32* .d.ts
43node_modules
Original file line number Diff line number Diff line change @@ -187,7 +187,6 @@ $ aws cloudformation describe-stacks --stack-name NovaSonicSolutionBackendStack
1871876. Click " Stop Streaming" when you' re done
188188
189189
190-
191190
192191> Note: Ensure your microphone is properly connected and working before testing. The browser may require you to grant microphone permissions the first time you use the feature.
193192
Original file line number Diff line number Diff line change 1+ //
2+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+ //
4+ // Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
5+ // with the License. A copy of the License is located at
6+ //
7+ // http://www.apache.org/licenses/LICENSE-2.0
8+ //
9+ // or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
10+ // OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
11+ // and limitations under the License.
12+ //
13+
14+ module . exports = {
15+ root : true ,
16+ env : { browser : true , es2020 : true } ,
17+ extends : [
18+ "eslint:recommended" ,
19+ "plugin:@typescript-eslint/recommended" ,
20+ "plugin:react-hooks/recommended" ,
21+ ] ,
22+ ignorePatterns : [ "dist" , ".eslintrc.cjs" ] ,
23+ parser : "@typescript-eslint/parser" ,
24+ plugins : [ "react-refresh" ] ,
25+ rules : {
26+ "react-refresh/only-export-components" : [
27+ "warn" ,
28+ { allowConstantExport : true } ,
29+ ] ,
30+ } ,
31+ } ;
Original file line number Diff line number Diff line change 1+ VITE_REGION_NAME = <NovaSonicSolutionBackendStack.RegionName>
2+ VITE_COGNITO_USER_POOL_ID = <NovaSonicSolutionBackendStack.CognitoUserPoolId>
3+ VITE_COGNITO_USER_POOL_CLIENT_ID = <NovaSonicSolutionBackendStack.CognitoUserPoolClientId>
4+ VITE_COGNITO_IDENTITY_POOL_ID = <NovaSonicSolutionBackendStack.CognitoIdentityPoolId>
5+ VITE_LOAD_BALANCER_DNS = <NovaSonicSolutionBackendStack.LoadBalancerDNS>
6+ VITE_DEPLOYMENT_TYPE = " local"
7+ VITE_APP_NAME = " Bedrock Nova Sonic Solution"
Original file line number Diff line number Diff line change 1+ ! jest.config.js
2+ # *.d.ts
3+ node_modules
4+
5+ # CDK asset staging directory
6+ .cdk.staging
7+ cdk.out
8+
9+ # Logs
10+ logs
11+ * .log
12+ npm-debug.log *
13+ yarn-debug.log *
14+ yarn-error.log *
15+ pnpm-debug.log *
16+ lerna-debug.log *
17+
18+ dist
19+ webapp /dist
20+ dist-ssr
21+ webapp /dist-ssr
22+ * .local
23+ webapp /* .local
24+
25+ # Editor directories and files
26+ .vscode /*
27+ ! .vscode /extensions.json
28+ .idea
29+ .DS_Store
30+ * .suo
31+ * .ntvs *
32+ * .njsproj
33+ * .sln
34+ * .sw ?
35+ .env
Original file line number Diff line number Diff line change 1+ * .ts
2+ ! * .d.ts
3+
4+ # CDK asset staging directory
5+ .cdk.staging
6+ cdk.out
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ //
2+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+ //
4+ // Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
5+ // with the License. A copy of the License is located at
6+ //
7+ // http://www.apache.org/licenses/LICENSE-2.0
8+ //
9+ // or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
10+ // OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
11+ // and limitations under the License.
12+ //
13+
14+ export default {
15+ plugins : {
16+ "postcss-import" : { } ,
17+ "tailwindcss/nesting" : { } ,
18+ tailwindcss : { } ,
19+ autoprefixer : { } ,
20+ } ,
21+ } ;
Original file line number Diff line number Diff line change 1+ //
2+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+ //
4+ // Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
5+ // with the License. A copy of the License is located at
6+ //
7+ // http://www.apache.org/licenses/LICENSE-2.0
8+ //
9+ // or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
10+ // OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
11+ // and limitations under the License.
12+ //
13+ export default {
14+ plugins : [ "prettier-plugin-tailwindcss" ] ,
15+ } ;
Original file line number Diff line number Diff line change 1- import { BDAProvider } from "@/contexts/BDAContext" ;
21import { BrowserRouter as Router , Routes } from "react-router-dom" ;
32
43function App ( ) {
54 return (
6- < BDAProvider >
75 < Router >
86 < Routes >
97 { /* Routes configuration */ }
108 </ Routes >
119 </ Router >
12- </ BDAProvider >
1310 ) ;
1411}
1512
You can’t perform that action at this time.
0 commit comments