Skip to content

Commit

Permalink
Initial changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Feb 22, 2025
1 parent 76d3de1 commit 78dd2df
Show file tree
Hide file tree
Showing 12 changed files with 134 additions and 1,065 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ci
name: CI

on: [pull_request, push]

Expand All @@ -19,10 +19,8 @@ jobs:
cache: pnpm
- name: Install dependencies
run: pnpm i --frozen-lockfile
- name: Lint
run: |
pnpm run pretty:check
pnpm run eslint
- name: Check
run: pnpm run check
- name: Build
run: pnpm run build
- name: Test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_please.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: release-please
name: Release Please

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: stale
name: Stale

on:
schedule:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update_deps.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: update-deps
name: Update dependencies

on:
workflow_dispatch:
Expand All @@ -10,7 +10,7 @@ permissions:
pull-requests: write

jobs:
update_deps:
update-dependencies:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
23 changes: 0 additions & 23 deletions .npmignore

This file was deleted.

2 changes: 0 additions & 2 deletions .prettierignore

This file was deleted.

26 changes: 0 additions & 26 deletions .prettierrc

This file was deleted.

3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["biomejs.biome", "vitest.explorer"]
}
29 changes: 29 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true },
"formatter": {
"indentStyle": "space",
"indentWidth": 4,
"lineWidth": 150,
"bracketSpacing": false
},
"linter": {
"rules": {
"style": {
"noNonNullAssertion": "off",
"noParameterAssign": "off"
},
"complexity": {
"noForEach": "off"
},
"performance": {
"noDelete": "off",
"noAccumulatingSpread": "off"
},
"suspicious": {
"noImplicitAnyLet": "off",
"noExplicitAny": "off"
}
}
}
}
32 changes: 0 additions & 32 deletions eslint.config.mjs

This file was deleted.

16 changes: 4 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"url": "https://github.com/koenkk/zigbee-herdsman/issues"
},
"packageManager": "pnpm@10.4.1",
"files": ["dist"],
"contributors": [
{
"name": "Koen Kanters",
Expand Down Expand Up @@ -38,23 +39,16 @@
"deprecated": false,
"description": "An open source ZigBee gateway solution with node.js.",
"devDependencies": {
"@eslint/core": "^0.11.0",
"@eslint/js": "^9.20.0",
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
"@biomejs/biome": "^1.9.4",
"@serialport/binding-mock": "^10.2.2",
"@types/debounce": "^1.2.4",
"@types/eslint__js": "^8.42.3",
"@types/node": "^22.13.4",
"@vitest/coverage-v8": "^3.0.5",
"eslint": "^9.20.1",
"eslint-config-prettier": "^10.0.1",
"prettier": "^3.5.1",
"rimraf": "^6.0.1",
"typedoc": "^0.27.7",
"typedoc-plugin-markdown": "^4.4.2",
"typedoc-plugin-no-inherit": "^1.5.0",
"typedoc": "^0.27.7",
"typescript": "^5.7.3",
"typescript-eslint": "^8.24.0",
"vitest": "^3.0.5"
},
"homepage": "https://github.com/Koenkk/zigbee-herdsman",
Expand All @@ -79,9 +73,7 @@
"test": "vitest run --config ./test/vitest.config.mts",
"test:coverage": "vitest run --config ./test/vitest.config.mts --coverage",
"test:watch": "vitest watch --config ./test/vitest.config.mts",
"eslint": "eslint --max-warnings=0",
"pretty:write": "prettier --write .",
"pretty:check": "prettier --check .",
"check": "biome check",
"typedoc": "typedoc --gitRevision $(git describe --tag --abbrev=0) --tsconfig tsconfig.json --excludePrivate --excludeProtected --excludeExternals --entryPointStrategy expand ./src --sourceLinkTemplate 'https://github.com/Koenkk/zigbee-herdsman/blob/{gitRevision}/{path}#L{line}' -out typedoc",
"clean": "rimraf temp coverage dist tsconfig.tsbuildinfo",
"prepack": "pnpm run clean && pnpm run build"
Expand Down
Loading

0 comments on commit 78dd2df

Please sign in to comment.