Skip to content

Commit 4daaafb

Browse files
committed
fix: add repository fields and enable npm provenance for Sigstore OIDC publishing
1 parent 18c4085 commit 4daaafb

32 files changed

Lines changed: 180 additions & 31 deletions

File tree

.github/workflows/prod-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ jobs:
107107
- run: npm ci --unsafe-perm
108108
- run: npm run build --if-present
109109
- run: npx lerna publish from-package --yes --dist-tag ${{ github.event.inputs.dist_tag }}
110+
env:
111+
NPM_CONFIG_PROVENANCE: true
110112

111113
# Once publishing is complete, validate that the published packages are useable
112114
validate:

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/awslabs/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/awslabs/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/awslabs/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/awslabs/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/awslabs/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/awslabs/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/awslabs/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/awslabs/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/awslabs/aws-encryption-sdk-javascript.git",
36+
"directory": "modules/encrypt-browser"
37+
}
3338
}

0 commit comments

Comments
 (0)