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

Improve repository checks #22

Merged
merged 7 commits into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
3 changes: 3 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["bloq"]
}
17 changes: 17 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"extends": ["bloq", "prettier"],
"overrides": [
{
"extends": ["bloq/typescript", "prettier"],
"files": ["*.ts"]
},
{
"extends": ["bloq/markdown"],
"files": ["*.md"]
}
],
"parserOptions": {
"sourceType": "module"
},
"root": true
}
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @gabmontes @gndelia
38 changes: 0 additions & 38 deletions .github/workflows/CI_checks.yml

This file was deleted.

13 changes: 13 additions & 0 deletions .github/workflows/js-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: JS Checks

on:
pull_request:
push:

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

jobs:
run-checks-and-tests:
uses: bloq/actions/.github/workflows/js-checks.yml@v1
15 changes: 15 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: NPM Publish

on:
release:
types:
- published

jobs:
publish-to-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bloq/actions/publish-to-npm@v1
with:
token: ${{ secrets.NPM_TOKEN }}
17 changes: 0 additions & 17 deletions .github/workflows/publish.yml

This file was deleted.

5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
_esm
_types
.DS_Store
.vscode
node_modules
tsconfig.tsbuildinfo
_esm
_types
7 changes: 7 additions & 0 deletions .huskyrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged",
"pre-push": "npm run deps:check"
}
}
4 changes: 4 additions & 0 deletions .knip.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"ignore": [".eslintrc.json"],
"ignoreDependencies": ["@commitlint/cli", "husky", "lint-staged"]
}
4 changes: 4 additions & 0 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"!(package.json)": ["prettier --ignore-unknown --write"],
"package.json": ["better-sort-package-json", "prettier --write"]
}
3 changes: 3 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"quoteProps": "consistent"
}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Hemi Viem

![NPM Version](https://img.shields.io/npm/v/hemi-viem)

[Viem](https://viem.sh/) extension for the [Hemi Network](https://hemi.xyz/).
It includes:

Expand Down
Loading