Skip to content

Commit c3054c5

Browse files
Upgraded to node16 (#30)
1 parent 129b721 commit c3054c5

File tree

10 files changed

+2470
-3582
lines changed

10 files changed

+2470
-3582
lines changed

.github/workflows/mutation-testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v2
1616
- uses: actions/setup-node@v1
1717
with:
18-
node-version: 12.x
18+
node-version: 16.x
1919

2020
- name: Install
2121
run: yarn

.github/workflows/test-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v2
1616
- uses: actions/setup-node@v1
1717
with:
18-
node-version: 12.x
18+
node-version: 16.x
1919

2020
- name: cfn-lint
2121
uses: scottbrenner/cfn-lint-action@master

CHANGELOG.MD

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
77

88
# <<<----- ADD NEW VERSIONS HERE
99

10+
## 2.2.0 - (November 07, 2022)
11+
### Changed
12+
- Upgrade to Node16.
13+
1014
## 2.1.3 - (April 22, 2021)
1115
### Changed
1216
- Update Dependencies

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Resources:
6262
Properties:
6363
Location:
6464
ApplicationId: arn:aws:serverlessrepo:us-east-1:673103718481:applications/CodePipeline-Waiter
65-
SemanticVersion: 2.1.3
65+
SemanticVersion: 2.2.0
6666
# Optional Parameter to control the export name of the nested stack
6767
Parameters:
6868
ExportPrefix: !Ref AWS::StackName

codebuild/publish-buildspec.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ env:
77
phases:
88
install:
99
runtime-versions:
10-
nodejs: 12
11-
python: 3.8
10+
nodejs: 16
11+
python: 3.9
1212
commands:
1313
- curl -H "Authorization:token $GITHUB_AUTH_TOKEN" https://api.github.com/repos/${RepoOwner}/${RepoName}/statuses/$CODEBUILD_RESOLVED_SOURCE_VERSION -d '{"state":"pending","description":"Build in progress","context":"SAR Publish"}'
1414
- pip install aws-sam-cli

codepipeline-waiter.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Metadata:
2424
LicenseUrl: LICENSE
2525
Name: CodePipeline-Waiter
2626
ReadmeUrl: README.md
27-
SemanticVersion: 2.1.3
27+
SemanticVersion: 2.2.0
2828
SourceCodeUrl: https://github.com/xavier-thomas/aws-codepipeline-waiter
2929
SpdxLicenseId: BSD-3-Clause
3030

@@ -35,7 +35,7 @@ Resources:
3535
Properties:
3636
FunctionName: !Sub ${ExportPrefix}PipelineWaiterLambda
3737
Handler: index.handler
38-
Runtime: nodejs12.x
38+
Runtime: nodejs16.x
3939
CodeUri: ./dist
4040
MemorySize: 128
4141
Timeout: 30

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aws-codepipeline-waiter",
3-
"version": "2.1.3",
3+
"version": "2.2.0",
44
"description": "An AWS lambda for a deployment AWS code-pipeline to monitor and wait for another pipeline.",
55
"main": "src/index.js",
66
"keywords": [
@@ -14,7 +14,7 @@
1414
"author": "Xavier Thomas",
1515
"license": "BSD-3-Clause",
1616
"engines": {
17-
"node": ">=12.0.0"
17+
"node": ">=16.0.0"
1818
},
1919
"scripts": {
2020
"build": "babel ./src -d dist --ignore **/*.test.js,**/mocks.js && cp README.md dist/README.md && cp LICENSE dist/LICENSE",
@@ -31,25 +31,25 @@
3131
}
3232
},
3333
"dependencies": {
34-
"aws-sdk": "^2.889.0"
34+
"aws-sdk": "^2.1248.0"
3535
},
3636
"devDependencies": {
37-
"@babel/cli": "^7.13.16",
38-
"@babel/core": "^7.13.16",
39-
"@babel/node": "^7.13.13",
40-
"@babel/preset-env": "^7.13.15",
37+
"@babel/cli": "^7.19.3",
38+
"@babel/core": "^7.20.2",
39+
"@babel/node": "^7.20.2",
40+
"@babel/preset-env": "^7.20.2",
4141
"@stryker-mutator/babel-transpiler": "^4.0.0",
42-
"@stryker-mutator/core": "^4.6.0",
42+
"@stryker-mutator/core": "^6.3.0",
4343
"@stryker-mutator/javascript-mutator": "^4.0.0",
44-
"@stryker-mutator/jest-runner": "^4.6.0",
45-
"eslint": "^7.24.0",
46-
"eslint-config-prettier": "^8.2.0",
44+
"@stryker-mutator/jest-runner": "^6.3.0",
45+
"eslint": "^8.27.0",
46+
"eslint-config-prettier": "^8.5.0",
4747
"eslint-plugin-node": "^11.1.0",
48-
"eslint-plugin-prettier": "^3.4.0",
49-
"husky": "^6.0.0",
50-
"jest": "^26.6.3",
51-
"jest-junit": "^12.0.0",
48+
"eslint-plugin-prettier": "^4.2.1",
49+
"husky": "^8.0.1",
50+
"jest": "^29.2.2",
51+
"jest-junit": "^14.0.1",
5252
"jest-sonar": "^0.2.12",
53-
"prettier": "^2.2.1"
53+
"prettier": "^2.7.1"
5454
}
5555
}

stryker.conf.js

Lines changed: 0 additions & 22 deletions
This file was deleted.

stryker.conf.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"testRunner": "jest",
3+
"mutator": "javascript",
4+
"cleanTempDir": true,
5+
"mutate": [
6+
"src/**/*.js",
7+
"!src/**/*.test.js",
8+
"!src/mocks.js"
9+
],
10+
"reporters": [
11+
"clear-text",
12+
"progress",
13+
"html",
14+
"dashboard"
15+
],
16+
"maxConcurrentTestRunners": 12,
17+
"transpilers": ["babel"],
18+
"packageManager": "yarn",
19+
"babel": {
20+
"optionsFile": ".babelrc"
21+
},
22+
"coverageAnalysis": "all",
23+
"dashboard": {
24+
"reportType": "full"
25+
},
26+
"jest": {
27+
"configFile": "./jest.config.json",
28+
"enableFindRelatedTests": true
29+
}
30+
}

0 commit comments

Comments
 (0)