Skip to content

Commit cb315fc

Browse files
authored
Setup package provenance (#1015)
* Setup package provenance * Update repo.url * Rm duplicated README
1 parent 554a738 commit cb315fc

5 files changed

Lines changed: 19 additions & 40 deletions

File tree

.changeset/eighty-adults-divide.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'nuka-carousel': patch
3+
---
4+
5+
Add package provenance

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ on:
88
jobs:
99
release:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
id-token: write
14+
issues: write
15+
repository-projects: write
16+
deployments: write
17+
packages: write
18+
pull-requests: write
1119

1220
steps:
1321
- uses: actions/checkout@v2

packages/nuka/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
LICENSE
2+
README.md

packages/nuka/README.md

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

packages/nuka/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
},
7575
"repository": {
7676
"type": "git",
77-
"url": "https://github.com/FormidableLabs/nuka-carousel.git"
77+
"url": "https://github.com/FormidableLabs/nuka-carousel"
7878
},
7979
"keywords": [
8080
"react",
@@ -87,5 +87,8 @@
8787
"url": "https://github.com/FormidableLabs/nuka-carousel/issues"
8888
},
8989
"homepage": "https://github.com/FormidableLabs/nuka-carousel",
90-
"sideEffects": false
90+
"sideEffects": false,
91+
"publishConfig": {
92+
"provenance": true
93+
}
9194
}

0 commit comments

Comments
 (0)