Skip to content
This repository was archived by the owner on Dec 6, 2024. It is now read-only.

Commit 79c12cd

Browse files
committed
chore: preparation for release
1 parent caf778e commit 79c12cd

File tree

10 files changed

+61
-3
lines changed

10 files changed

+61
-3
lines changed

.viperlightignore

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,29 @@ frontend/src/locales/en/translation.json:536
2020

2121
node_modules/*
2222

23-
README.md:63
23+
README.md:63
24+
25+
# Adding packages to ignore list to avoid introducing breaking changes at this point
26+
27+
[node-npmoutdated]
28+
pino=6.14.0
29+
uuid=8.3.2
30+
@types/node=16.11.65
31+
@types/jest=27.5.2
32+
@types/pino=6.3.12
33+
@types/uuid=8.3.4
34+
@typescript-eslint/eslint-plugin=5.45.1
35+
eslint-config-standard-with-typescript=23.0.0
36+
eslint-plugin-n=15.6.0
37+
eslint-plugin-prettier=4.2.1
38+
jest=27.5.1
39+
ts-jest=27.1.5
40+
ts-node=8.10.2
41+
typescript=4.8.4
42+
fs-extra=10.1.0
43+
@types/fs-extra=9.0.13
44+
prettier=2.8.0
45+
46+
47+
48+

NOTICE.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1+
Performance Dashboard on AWS
2+
13
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2-
SPDX-License-Identifier: Apache-2.0
4+
Licensed under the Apache License Version 2.0 (the "License"). You may not use this file except
5+
in compliance with the License. A copy of the License is located at http://www.apache.org/licenses/
6+
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
7+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. See the License for the
8+
specific language governing permissions and limitations under the License.
39

410
******************************
511
THIRD PARTY COMPONENTS

backend/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
"version": "1.9.0",
44
"description": "Performance Dashboard on AWS Backend",
55
"license": "Apache-2.0",
6+
"author": {
7+
"name": "Amazon Web Services",
8+
"url": "https://aws.amazon.com/solutions"
9+
},
610
"awssdkUserAgent": "AwsSolution/SO0157/v",
711
"scripts": {
812
"test": "LOG_LEVEL=SILENT jest --coverage --watchAll",

cdk/lib/frontend-stack.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ export class FrontendStack extends Stack {
7373

7474
// Creating a custom response headers policy -- all parameters optional
7575
const httpHeaders = new ResponseHeadersPolicy(this, "HttpHeaders", {
76+
responseHeadersPolicyName: Fn.sub("${AWS::StackName}-${AWS::Region}"),
7677
securityHeadersBehavior: {
7778
// "Content-Security-Policy": "default-src 'self'; img-src 'self' https://*.google-analytics.com blob:; style-src 'unsafe-inline' 'self'; connect-src 'self' https://*.amazoncognito.com https://*.amazonaws.com https://*.google-analytics.com; script-src 'self' https://*.google-analytics.com; block-all-mixed-content;",
7879
contentSecurityPolicy: {

cdk/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
"version": "1.9.0",
44
"description": "Performance Dashboard on AWS CDK",
55
"license": "Apache-2.0",
6+
"author": {
7+
"name": "Amazon Web Services",
8+
"url": "https://aws.amazon.com/solutions"
9+
},
610
"bin": {
711
"cdk": "bin/main.js"
812
},

deployment/build-open-source-dist.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ echo "cp $source_template_dir/../.gitignore $dist_dir"
7777
cp $source_template_dir/../.gitignore $dist_dir
7878
echo "cp $source_template_dir/../test.sh $dist_dir"
7979
cp $source_template_dir/../test.sh $dist_dir
80+
echo "cp -r $source_dir/.github/ $dist_dir"
81+
cp -r "$source_dir/.github/" $dist_dir
82+
echo "rm -r $dist_dir/.github/workflows"
83+
rm -r "$dist_dir/.github/workflows"
84+
8085

8186
echo "------------------------------------------------------------------------------"
8287
echo "[Packing] Clean build, node_modules and coverage folders"

deployment/cdk-solution-helper/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"name": "cdk-solution-helper",
3+
"license": "Apache-2.0",
34
"version": "0.1.0",
5+
"description": "A lightweight helper function that cleans-up synthesized templates from the AWS Cloud Development Kit (CDK) and prepares them for use with the AWS Solutions publishing pipeline.",
46
"devDependencies": {
57
"fs": "0.0.1-security"
68
},

e2e-tests/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
"version": "0.8.0-beta",
44
"description": "Performance Dashboard on AWS UI Tests",
55
"license": "Apache-2.0",
6+
"author": {
7+
"name": "Amazon Web Services",
8+
"url": "https://aws.amazon.com/solutions"
9+
},
610
"scripts": {
711
"start": "cypress open",
812
"test": "cypress run"

examples/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
"version": "1.9.0",
44
"description": "test project for lambda",
55
"license": "Apache-2.0",
6+
"author": {
7+
"name": "Amazon Web Services",
8+
"url": "https://aws.amazon.com/solutions"
9+
},
610
"main": "index.js",
711
"scripts": {
812
"test": "LOG_LEVEL=SILENT jest --coverage --watchAll",
@@ -14,7 +18,6 @@
1418
"export": "ts-node src/export.ts && prettier --write resources",
1519
"import": "ts-node src/import.ts"
1620
},
17-
"author": "",
1821
"devDependencies": {
1922
"@types/fs-extra": "^9.0.13",
2023
"@types/prompt": "^1.1.1",

frontend/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
"private": true,
55
"description": "Performance Dashboard on AWS Frontend",
66
"license": "Apache-2.0",
7+
"author": {
8+
"name": "Amazon Web Services",
9+
"url": "https://aws.amazon.com/solutions"
10+
},
711
"dependencies": {
812
"@aws-amplify/api": "^4.0.44",
913
"@aws-amplify/auth": "^4.5.8",

0 commit comments

Comments
 (0)