Skip to content

Commit 2d3511d

Browse files
authored
chore: Simplify checks with @aklinker1/check (#31)
1 parent dea2cfe commit 2d3511d

File tree

4 files changed

+30
-12
lines changed

4 files changed

+30
-12
lines changed

.github/workflows/validate.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,8 @@ jobs:
2727
- name: Install dependencies
2828
run: pnpm install
2929

30-
- name: Formatting
31-
run: pnpm format:check
32-
33-
- name: Type Check
34-
run: pnpm compile
30+
- name: Run Checks
31+
run: pnpm check
3532

3633
- name: Build
3734
run: pnpm build

package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55
"version": "1.7.0",
66
"type": "module",
77
"scripts": {
8-
"format": "prettier --write .",
9-
"format:check": "prettier --check .",
10-
"compile": "vue-tsc --noEmit",
8+
"check": "check",
119
"dev": "wxt",
1210
"dev:firefox": "wxt --browser firefox",
1311
"build": "wxt build",
@@ -22,6 +20,7 @@
2220
"submit:dry": "pnpm -s submit --dry-run"
2321
},
2422
"dependencies": {
23+
"@aklinker1/check": "^1.0.3",
2524
"@vueuse/core": "^9",
2625
"@webext-core/messaging": "^1.4.0",
2726
"@webext-core/proxy-service": "^1.2.0",

pnpm-lock.yaml

+24-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/submit.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ pnpm prettier -w package.json
4747

4848
heading "Run Checks"
4949
pnpm test run
50-
pnpm compile
50+
pnpm check
5151

5252
# Commit Changes
5353

5454
heading "Commit Changes"
55-
if [[ "$1" == "--dry-run" ]]; then
55+
if [[ "$1" == "--dry-run" ]]; then
5656
echo "Skipping commit for dry run"
5757
git checkout -- package.json
5858
NEXT_VERSION="$(node -pe 'require("./package.json").version')"

0 commit comments

Comments
 (0)