Skip to content

Commit

Permalink
Housekeeping | Package.json & CI fixes => small DX improvements (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
zrosenbauer committed Jul 12, 2023
1 parent e3473bf commit 8dd7903
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .github/pr-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
enhancement: ['feature/*', 'feat/*', 'enhance/*']
bugfix: bugfix/*
hotfix: hotfix/*
maintenance: ['chore/*', 'maintenance/*', 'maintain/*']
21 changes: 21 additions & 0 deletions .github/workflows/pr-labeler.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: 'PR Labeler'

on:
pull_request:
types: [opened, ready_for_review, reopened]

concurrency:
group: labeler-${{ github.ref }}
cancel-in-progress: true

jobs:
pr-labeler:
name: PR Labeler
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
steps:
- uses: TimonVS/pr-labeler-action@v3
with:
configuration-path: .github/pr-labeler.yml # optional, .github/pr-labeler.yml is the default value
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 10 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"version": "0.1.0",
"description": "Library used to programmatically build markdown documents, with a heavy tilt toward GitHub Flavored Markdown (GFM).",
"main": "dist/index.js",
"repository": "[email protected]:joggrdocs/tolkien.git",
"author": "Joggr Team <[email protected]>",
"license": "MIT",
"scripts": {
"test": "jest",
"build": "tsc",
Expand All @@ -17,6 +14,16 @@
"type:check": "tsc --noEmit",
"prepublish": "tsc"
},
"repository": {
"type": "git",
"url": "git+https://github.com/joggrdocs/tempo.git"
},
"author": "Joggr Team <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/joggrdocs/tempo/issues"
},
"homepage": "https://github.com/joggrdocs/tempo#readme",
"devDependencies": {
"@types/jest": "^29.5.2",
"@types/node": "^20.4.1",
Expand Down

0 comments on commit 8dd7903

Please sign in to comment.