jsii-release 0.2.225 → 0.2.229
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/bin/jsii-release-npm +1 -0
- package/package.json +4 -2
package/bin/jsii-release-npm
CHANGED
|
@@ -25,6 +25,7 @@ if ! [ -z "${NPM_REGISTRY:-}" ] && [[ $NPM_REGISTRY =~ .codeartifact.*.amazonaws
|
|
|
25
25
|
codeartifact_subdomain="$(echo $NPM_REGISTRY | cut -d. -f1)"
|
|
26
26
|
codeartifact_domain="$(echo $codeartifact_subdomain | cut -b -$((${#codeartifact_subdomain}-${#codeartifact_account}-1)))"
|
|
27
27
|
codeartifact_region="$(echo $NPM_REGISTRY | cut -d. -f4)"
|
|
28
|
+
export AWS_DEFAULT_REGION="$(echo $codeartifact_region)"
|
|
28
29
|
if [ -n "${AWS_ROLE_TO_ASSUME:-}" ]; then
|
|
29
30
|
credentials=`aws sts assume-role --role-session-name "jsii-release-code-artifact" --role-arn ${AWS_ROLE_TO_ASSUME} --output text | sed -n '2 p'`
|
|
30
31
|
export AWS_ACCESS_KEY_ID="$(echo $credentials | cut -d' ' -f2)"
|
package/package.json
CHANGED
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"eslint": "npx projen eslint",
|
|
23
23
|
"package": "npx projen package",
|
|
24
24
|
"post-compile": "npx projen post-compile",
|
|
25
|
+
"post-upgrade": "npx projen post-upgrade",
|
|
25
26
|
"pre-compile": "npx projen pre-compile",
|
|
26
27
|
"release": "npx projen release",
|
|
27
28
|
"test": "npx projen test",
|
|
@@ -50,7 +51,7 @@
|
|
|
50
51
|
"jest-junit": "^13",
|
|
51
52
|
"json-schema": "^0.4.0",
|
|
52
53
|
"npm-check-updates": "^12",
|
|
53
|
-
"projen": "^0.50.
|
|
54
|
+
"projen": "^0.50.27",
|
|
54
55
|
"standard-version": "^9",
|
|
55
56
|
"ts-jest": "^27.1.2",
|
|
56
57
|
"typescript": "^3.9.10"
|
|
@@ -66,7 +67,7 @@
|
|
|
66
67
|
"main": "lib/index.js",
|
|
67
68
|
"license": "Apache-2.0",
|
|
68
69
|
"homepage": "https://github.com/aws/jsii-release",
|
|
69
|
-
"version": "0.2.
|
|
70
|
+
"version": "0.2.229",
|
|
70
71
|
"jest": {
|
|
71
72
|
"testMatch": [
|
|
72
73
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|
|
@@ -78,6 +79,7 @@
|
|
|
78
79
|
"json",
|
|
79
80
|
"lcov",
|
|
80
81
|
"clover",
|
|
82
|
+
"cobertura",
|
|
81
83
|
"text"
|
|
82
84
|
],
|
|
83
85
|
"coverageDirectory": "coverage",
|