From 7bd17d32873992bc3bd217c0732e8f9ac44c9828 Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Wed, 20 Mar 2024 21:27:20 -0400 Subject: [PATCH] build(prettier): include html, json files --- README.md | 2 +- index.html | 2 +- package.json | 6 +++--- renovate.json | 12 +++--------- 4 files changed, 8 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 0cd3a9dbb..b5e641877 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ The release process is automated. Follow the steps below. 1. Create a [new **draft** release](https://github.com/manosim/gitify/releases/new). Set the tag version to something with the format of `v1.2.3`. Save as a **draft**. 2. Once everything is merged to `main`, create a branch that starts with `release/vX.X.X` (ie. `release/v1.2.3`). 3. In the same branch, **bump the version** of the app in the `package.json` file and open a PR. GitHub Actions will build, sign and upload the release assets for each commit to that branch as long as a branch is named like `release/vX.X.X` and there is a draft release with the same version number(`package.json`). -4. Attach each of the [release artifacts](https://github.com/gitify-app/gitify/actions/workflows/release.yml) to the draft release notes +4. Attach each of the [release artifacts](https://github.com/gitify-app/gitify/actions/workflows/release.yml) to the draft release notes 5. Merge your release branch into `main`. 6. Publish the draft release once you've added notes to it and all assets are there. 7. Raise and merge a pull request in [gitify-app/website](https://github.com/gitify-app/website) using the automatically created branch (ie: `bump/v1.2.3`) diff --git a/index.html b/index.html index 56c1a1580..1178f95c4 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ - + Gitify diff --git a/package.json b/package.json index 39fcdf1ba..1276b0327 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,8 @@ "make:linux": "electron-builder --linux", "make:macos": "electron-builder --mac --universal", "make:win": "electron-builder --win", - "prettier:check": "prettier --check 'src/**/*.{js,ts,tsx}'", - "prettier:apply": "prettier --write 'src/**/*.{js,ts,tsx}'", + "prettier:check": "prettier --check '*.{html,js,json,md,ts,tsx}'", + "prettier:apply": "prettier --write '*.{html,js,json,md,ts,tsx}'", "test": "jest", "start": "electron . --enable-logging", "prepare": "husky" @@ -150,7 +150,7 @@ }, "packageManager": "pnpm@8.15.5", "lint-staged": { - "*.{md,js,ts,tsx}": "prettier --write" + "*.{html,js,json,md,ts,tsx}": "prettier --write" }, "pnpm": { "overrides": { diff --git a/renovate.json b/renovate.json index c63680831..7f210bd2d 100644 --- a/renovate.json +++ b/renovate.json @@ -1,16 +1,10 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:recommended" - ], - "labels": [ - "dependency" - ], + "extends": ["config:recommended"], + "labels": ["dependency"], "prConcurrentLimit": 5, "rangeStrategy": "pin", - "schedule": [ - "monthly" - ], + "schedule": ["monthly"], "separateMultipleMajor": true, "osvVulnerabilityAlerts": true, "packageRules": [