Skip to content

Commit

Permalink
[add] Scope types of GitHub OAuth 2
Browse files Browse the repository at this point in the history
[add] GitHub PR badges
[optimize] support Custom Base URLs for GitHub OAuth 2
[optimize] update Upstream packages & support NPM provenance
  • Loading branch information
TechQuery committed Aug 21, 2024
1 parent 8901d15 commit 0fe6b29
Show file tree
Hide file tree
Showing 7 changed files with 195 additions and 142 deletions.
17 changes: 17 additions & 0 deletions .github/pr-badge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
- icon: visualstudio
label: 'GitHub.dev'
message: 'PR-$prNumber'
color: 'blue'
url: 'https://github.dev/$owner/$repo/pull/$prNumber'

- icon: github
label: 'GitHub codespaces'
message: 'PR-$prNumber'
color: 'black'
url: 'https://codespaces.new/$owner/$repo/pull/$prNumber'

- icon: git
label: 'GitPod.io'
message: 'PR-$prNumber'
color: 'orange'
url: 'https://gitpod.io/?autostart=true#https://github.com/$owner/$repo/pull/$prNumber'
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
jobs:
Build-and-Publish:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v3

Expand All @@ -21,7 +24,7 @@ jobs:
run: pnpm i --frozen-lockfile

- name: Build & Publish
run: npm publish
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
provenance = true
auto-install-peers = false
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "next-ssr-middleware",
"version": "0.8.2",
"version": "0.8.3",
"license": "LGPL-3.0-or-later",
"author": "[email protected]",
"description": "Koa-like middlewares for Next.js Server Side Rendering",
Expand Down Expand Up @@ -32,15 +32,15 @@
},
"devDependencies": {
"@types/jsonwebtoken": "^9.0.6",
"@types/node": "^18.19.39",
"husky": "^9.0.11",
"koajax": "^1.1.2",
"lint-staged": "^15.2.7",
"@types/node": "^18.19.45",
"husky": "^9.1.5",
"koajax": "^2.0.0",
"lint-staged": "^15.2.9",
"next": "^14.2.5",
"open-cli": "^8.0.0",
"prettier": "^3.3.3",
"typedoc": "^0.26.4",
"typescript": "~5.5.3"
"typedoc": "^0.26.6",
"typescript": "~5.5.4"
},
"prettier": {
"singleQuote": true,
Expand Down
Loading

0 comments on commit 0fe6b29

Please sign in to comment.