Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(workspace): Set up publish with npm provenance #3180

Merged
merged 4 commits into from
Apr 25, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ jobs:
name: Release
runs-on: ubuntu-20.04
timeout-minutes: 20
permissions:
contents: write
id-token: write
issues: write
repository-projects: write
deployments: write
packages: write
pull-requests: write
steps:
- name: Checkout Repo
uses: actions/checkout@v3
Expand All @@ -22,7 +30,7 @@ jobs:
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: 7
version: 8
run_install: false

- name: Get pnpm store directory
Expand Down
5 changes: 3 additions & 2 deletions exchanges/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,14 @@
},
"dependencies": {
"@urql/core": ">=4.0.0",
"wonka": "^6.3.0"
"wonka": "^6.3.2"
},
"devDependencies": {
"@urql/core": "workspace:*",
"graphql": "^16.0.0"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
}
}
5 changes: 3 additions & 2 deletions exchanges/context/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,14 @@
},
"dependencies": {
"@urql/core": ">=4.0.0",
"wonka": "^6.3.0"
"wonka": "^6.3.2"
},
"devDependencies": {
"@urql/core": "workspace:*",
"graphql": "^16.0.0"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
}
}
5 changes: 3 additions & 2 deletions exchanges/execute/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
},
"dependencies": {
"@urql/core": ">=4.0.0",
"wonka": "^6.3.0"
"wonka": "^6.3.2"
},
"peerDependencies": {
"graphql": "^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
Expand All @@ -59,6 +59,7 @@
"graphql": "^16.0.0"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
}
}
7 changes: 4 additions & 3 deletions exchanges/graphcache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@
"prepublishOnly": "run-s clean build"
},
"dependencies": {
"@0no-co/graphql.web": "^1.0.0",
"@0no-co/graphql.web": "^1.0.1",
"@urql/core": ">=4.0.0",
"wonka": "^6.3.0"
"wonka": "^6.3.2"
},
"devDependencies": {
"@cypress/react": "^7.0.2",
Expand All @@ -78,6 +78,7 @@
"urql": "workspace:*"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
}
}
5 changes: 3 additions & 2 deletions exchanges/persisted/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,14 @@
},
"dependencies": {
"@urql/core": ">=4.0.0",
"wonka": "^6.3.0"
"wonka": "^6.3.2"
},
"devDependencies": {
"@urql/core": "workspace:*",
"graphql": "^16.0.0"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
}
}
5 changes: 3 additions & 2 deletions exchanges/populate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
},
"dependencies": {
"@urql/core": ">=4.0.0",
"wonka": "^6.3.0"
"wonka": "^6.3.2"
},
"peerDependencies": {
"graphql": "^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
Expand All @@ -57,6 +57,7 @@
"graphql": "^16.0.0"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
}
}
5 changes: 3 additions & 2 deletions exchanges/refocus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@
},
"dependencies": {
"@urql/core": ">=4.0.0",
"wonka": "^6.3.0"
"wonka": "^6.3.2"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
}
}
5 changes: 3 additions & 2 deletions exchanges/request-policy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@
},
"dependencies": {
"@urql/core": ">=4.0.0",
"wonka": "^6.3.0"
"wonka": "^6.3.2"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
}
}
5 changes: 3 additions & 2 deletions exchanges/retry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@
},
"dependencies": {
"@urql/core": ">=4.0.0",
"wonka": "^6.3.0"
"wonka": "^6.3.2"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@
"react-is": "^17.0.2",
"styled-components": "^5.2.3",
"vite": "^3.2.4",
"wonka": "^6.3.0"
"wonka": "^6.3.2"
}
},
"devDependencies": {
"@0no-co/graphql.web": "^1.0.0",
"@0no-co/graphql.web": "^1.0.1",
"@actions/artifact": "^1.1.1",
"@actions/core": "^1.10.0",
"@babel/core": "^7.21.3",
Expand Down
7 changes: 4 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,11 @@
"prepublishOnly": "run-s clean build"
},
"dependencies": {
"@0no-co/graphql.web": "^1.0.0",
"wonka": "^6.3.0"
"@0no-co/graphql.web": "^1.0.1",
"wonka": "^6.3.2"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
}
}
3 changes: 2 additions & 1 deletion packages/introspection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
},
"dependencies": {},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
}
}
3 changes: 3 additions & 0 deletions packages/next-urql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,8 @@
"peerDependencies": {
"react": ">=16.8.0",
"urql": "^4.0.0"
},
"publishConfig": {
"provenance": true
}
}
5 changes: 3 additions & 2 deletions packages/preact-urql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@
},
"dependencies": {
"@urql/core": "^4.0.0",
"wonka": "^6.3.0"
"wonka": "^6.3.2"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
}
}
5 changes: 4 additions & 1 deletion packages/react-urql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
},
"dependencies": {
"@urql/core": "^4.0.0",
"wonka": "^6.3.0"
"wonka": "^6.3.2"
},
"publishConfig": {
"provenance": true
}
}
3 changes: 2 additions & 1 deletion packages/storage-rn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"@react-native-community/netinfo": "^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
}
}
5 changes: 3 additions & 2 deletions packages/svelte-urql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,15 @@
},
"dependencies": {
"@urql/core": "^4.0.0",
"wonka": "^6.3.0"
"wonka": "^6.3.2"
},
"devDependencies": {
"@urql/core": "workspace:*",
"graphql": "^16.0.0",
"svelte": "^3.20.0"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
}
}
5 changes: 3 additions & 2 deletions packages/vue-urql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@
},
"dependencies": {
"@urql/core": "^4.0.0",
"wonka": "^6.3.0"
"wonka": "^6.3.2"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
}
}
Loading