Skip to content

Commit 23260f0

Browse files
author
Lucas McDonald
committed
fix(release): set repository in every package.json for provenance
npm provenance validation (E422) requires each published package's package.json repository.url to match the source repo. Add the repository block (url + directory) to all modules and fix the root URL (was the old awslabs SSH URL).
1 parent 9a3612f commit 23260f0

31 files changed

Lines changed: 178 additions & 30 deletions

File tree

modules/branch-keystore-node/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,10 @@
3232
"types": "./build/main/src/index.d.ts",
3333
"files": [
3434
"build/**/src/*"
35-
]
35+
],
36+
"repository": {
37+
"type": "git",
38+
"url": "https://github.com/aws/aws-encryption-sdk-javascript.git",
39+
"directory": "modules/branch-keystore-node"
40+
}
3641
}

modules/cache-material/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,10 @@
3030
"types": "./build/main/src/index.d.ts",
3131
"files": [
3232
"build/**/src/*"
33-
]
33+
],
34+
"repository": {
35+
"type": "git",
36+
"url": "https://github.com/aws/aws-encryption-sdk-javascript.git",
37+
"directory": "modules/cache-material"
38+
}
3439
}

modules/caching-materials-manager-browser/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,10 @@
3232
"types": "./build/main/src/index.d.ts",
3333
"files": [
3434
"build/**/src/*"
35-
]
35+
],
36+
"repository": {
37+
"type": "git",
38+
"url": "https://github.com/aws/aws-encryption-sdk-javascript.git",
39+
"directory": "modules/caching-materials-manager-browser"
40+
}
3641
}

modules/caching-materials-manager-node/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,10 @@
2828
"types": "./build/main/src/index.d.ts",
2929
"files": [
3030
"build/**/src/*"
31-
]
31+
],
32+
"repository": {
33+
"type": "git",
34+
"url": "https://github.com/aws/aws-encryption-sdk-javascript.git",
35+
"directory": "modules/caching-materials-manager-node"
36+
}
3237
}

modules/client-browser/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,10 @@
3939
"types": "./build/main/src/index.d.ts",
4040
"files": [
4141
"build/**/src/*"
42-
]
42+
],
43+
"repository": {
44+
"type": "git",
45+
"url": "https://github.com/aws/aws-encryption-sdk-javascript.git",
46+
"directory": "modules/client-browser"
47+
}
4348
}

modules/client-node/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,10 @@
3939
"types": "./build/main/src/index.d.ts",
4040
"files": [
4141
"build/**/src/*"
42-
]
42+
],
43+
"repository": {
44+
"type": "git",
45+
"url": "https://github.com/aws/aws-encryption-sdk-javascript.git",
46+
"directory": "modules/client-node"
47+
}
4348
}

modules/decrypt-browser/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,10 @@
2828
"types": "./build/main/src/index.d.ts",
2929
"files": [
3030
"build/**/src/*"
31-
]
31+
],
32+
"repository": {
33+
"type": "git",
34+
"url": "https://github.com/aws/aws-encryption-sdk-javascript.git",
35+
"directory": "modules/decrypt-browser"
36+
}
3237
}

modules/decrypt-node/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,10 @@
3131
"types": "./build/main/src/index.d.ts",
3232
"files": [
3333
"build/**/src/*"
34-
]
34+
],
35+
"repository": {
36+
"type": "git",
37+
"url": "https://github.com/aws/aws-encryption-sdk-javascript.git",
38+
"directory": "modules/decrypt-node"
39+
}
3540
}

modules/encrypt-browser/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,10 @@
2929
"types": "./build/main/src/index.d.ts",
3030
"files": [
3131
"build/**/src/*"
32-
]
32+
],
33+
"repository": {
34+
"type": "git",
35+
"url": "https://github.com/aws/aws-encryption-sdk-javascript.git",
36+
"directory": "modules/encrypt-browser"
37+
}
3338
}

modules/encrypt-node/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,10 @@
3030
"types": "./build/main/src/index.d.ts",
3131
"files": [
3232
"build/**/src/*"
33-
]
33+
],
34+
"repository": {
35+
"type": "git",
36+
"url": "https://github.com/aws/aws-encryption-sdk-javascript.git",
37+
"directory": "modules/encrypt-node"
38+
}
3439
}

0 commit comments

Comments
 (0)