-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: update biome config * ci: remove pre-commit
- Loading branch information
1 parent
f9f3bf7
commit fd371e0
Showing
8 changed files
with
402 additions
and
428 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
{ | ||
"$schema": "https://biomejs.dev/schemas/1.6.1/schema.json", | ||
"organizeImports": { | ||
"enabled": true | ||
}, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"suspicious": { | ||
"noExplicitAny": "off" | ||
}, | ||
"recommended": true | ||
} | ||
} | ||
"$schema": "https://biomejs.dev/schemas/1.6.1/schema.json", | ||
"organizeImports": { | ||
"enabled": true | ||
}, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"suspicious": { | ||
"noExplicitAny": "off" | ||
}, | ||
"recommended": true | ||
} | ||
}, | ||
"files": { | ||
"ignore": [".devcontainer/*", ".vscode/*", "examples/*.json"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"bail": 1, | ||
"verbose": true, | ||
"preset": "ts-jest", | ||
"testEnvironment": "node" | ||
"bail": 1, | ||
"verbose": true, | ||
"preset": "ts-jest", | ||
"testEnvironment": "node" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,87 +1,84 @@ | ||
{ | ||
"name": "@red-mobile/red-mobile-nodes", | ||
"version": "3.4.1", | ||
"description": "Extra nodes for RedMobile", | ||
"scripts": { | ||
"start": "npx node-red --setting=settings.js -v", | ||
"build": "run-p lint type-check copy", | ||
"copy": "copyfiles -u 1 \"./nodes/**/*.{png,svg,json,html}\" \"./dist/nodes/\"", | ||
"type-check": "npx tsc", | ||
"test": "npx jest --runInBand nodes/", | ||
"coverage": "npx jest --runInBand --coverage nodes/", | ||
"lint": "npx @biomejs/biome check --apply nodes/" | ||
}, | ||
"keywords": [ | ||
"redmobile", | ||
"nodered" | ||
], | ||
"author": "hiroyuki okada", | ||
"license": "MIT", | ||
"dependencies": { | ||
"@types/node-red-node-test-helper": "0.3.4", | ||
"axios": "1.6.7", | ||
"is-base64": "1.1.0", | ||
"qs": "6.12.0", | ||
"ws": "8.16.0" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "1.6.1", | ||
"@types/is-base64": "1.1.3", | ||
"@types/jest": "29.5.12", | ||
"@types/node-red": "1.3.5", | ||
"@types/node-red-node-test-helper": "0.3.4", | ||
"@types/ws": "8.5.10", | ||
"copyfiles": "2.4.1", | ||
"jest": "29.7.0", | ||
"node-red": "3.1.7", | ||
"node-red-node-test-helper": "0.3.3", | ||
"npm-run-all2": "6.1.2", | ||
"ts-jest": "29.1.2", | ||
"typescript": "5.4.2" | ||
}, | ||
"node-red": { | ||
"nodes": { | ||
"sensor subscribe": "./dist/nodes/sensors/subscribe/subscribe.js", | ||
"sensor unsubscribe": "./dist/nodes/sensors/unsubscribe/unsubscribe.js", | ||
"light": "./dist/nodes/sensors/light/light.js", | ||
"motion": "./dist/nodes/sensors/motion/motion.js", | ||
"gyroscope": "./dist/nodes/sensors/gyroscope/gyroscope.js", | ||
"compass": "./dist/nodes/sensors/compass/compass.js", | ||
"magnetic": "./dist/nodes/sensors/magnetic/magnetic.js", | ||
"dB": "./dist/nodes/sensors/db/db.js", | ||
"battery": "./dist/nodes/sensors/battery/battery.js", | ||
"location": "./dist/nodes/sensors/geolocation/geolocation.js", | ||
"proximity": "./dist/nodes/sensors/proximity/proximity.js", | ||
"nfc": "./dist/nodes/sensors/nfc/nfc.js", | ||
"speech-to-text": "./dist/nodes/cognitives/speech-to-text/speech-to-text.js", | ||
"text-to-speech": "./dist/nodes/cognitives/text-to-speech/text-to-speech.js", | ||
"in-app-browser": "./dist/nodes/in-app-browser/in-app-browser.js", | ||
"vibrate": "./dist/nodes/notifications/vibrate/vibrate.js", | ||
"beep": "./dist/nodes/notifications/beep/beep.js", | ||
"alert": "./dist/nodes/notifications/alert/alert.js", | ||
"confirm": "./dist/nodes/notifications/confirm/confirm.js", | ||
"prompt": "./dist/nodes/notifications/prompt/prompt.js", | ||
"camera-command": "./dist/nodes/camera-command/camera.js", | ||
"camera": "./dist/nodes/camera/camera.js", | ||
"serial": "./dist/nodes/serial/serial.js", | ||
"volume": "./dist/nodes/volume/volume.js", | ||
"intent": "./dist/nodes/intent/intent.js", | ||
"sqlite": "./dist/nodes/sqlite/sqlite.js", | ||
"ble-bledevice": "./dist/nodes/ble/00-bledevice.js", | ||
"ble-notification": "./dist/nodes/ble/01-notification.js", | ||
"ble-scan": "./dist/nodes/ble/02-scan.js", | ||
"ble-connect": "./dist/nodes/ble/03-connect.js", | ||
"ble-disconnect": "./dist/nodes/ble/04-disconnect.js", | ||
"ble-read": "./dist/nodes/ble/05-read.js", | ||
"ble-write": "./dist/nodes/ble/06-write.js", | ||
"ble-subscribe": "./dist/nodes/ble/07-subscribe.js", | ||
"ble-unsubscribe": "./dist/nodes/ble/08-unsubscribe.js", | ||
"clipboard": "./dist/nodes/clipboard/clipboard.js", | ||
"qrcode-scan": "./dist/nodes/qrcode/scan.js", | ||
"mlkit": "./dist/nodes/mlkit/mlkit.js" | ||
} | ||
}, | ||
"engines": { | ||
"node": "18" | ||
} | ||
"name": "@red-mobile/red-mobile-nodes", | ||
"version": "3.4.1", | ||
"description": "Extra nodes for RedMobile", | ||
"scripts": { | ||
"start": "npx node-red --setting=settings.js -v", | ||
"build": "run-p lint type-check copy", | ||
"copy": "copyfiles -u 1 \"./nodes/**/*.{png,svg,json,html}\" \"./dist/nodes/\"", | ||
"type-check": "npx tsc", | ||
"test": "npx jest --runInBand nodes/", | ||
"coverage": "npx jest --runInBand --coverage nodes/", | ||
"lint": "npx @biomejs/biome check --apply ." | ||
}, | ||
"keywords": ["redmobile", "nodered"], | ||
"author": "hiroyuki okada", | ||
"license": "MIT", | ||
"dependencies": { | ||
"@types/node-red-node-test-helper": "0.3.4", | ||
"axios": "1.6.7", | ||
"is-base64": "1.1.0", | ||
"qs": "6.12.0", | ||
"ws": "8.16.0" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "1.6.1", | ||
"@types/is-base64": "1.1.3", | ||
"@types/jest": "29.5.12", | ||
"@types/node-red": "1.3.5", | ||
"@types/node-red-node-test-helper": "0.3.4", | ||
"@types/ws": "8.5.10", | ||
"copyfiles": "2.4.1", | ||
"jest": "29.7.0", | ||
"node-red": "3.1.7", | ||
"node-red-node-test-helper": "0.3.3", | ||
"npm-run-all2": "6.1.2", | ||
"ts-jest": "29.1.2", | ||
"typescript": "5.4.2" | ||
}, | ||
"node-red": { | ||
"nodes": { | ||
"sensor subscribe": "./dist/nodes/sensors/subscribe/subscribe.js", | ||
"sensor unsubscribe": "./dist/nodes/sensors/unsubscribe/unsubscribe.js", | ||
"light": "./dist/nodes/sensors/light/light.js", | ||
"motion": "./dist/nodes/sensors/motion/motion.js", | ||
"gyroscope": "./dist/nodes/sensors/gyroscope/gyroscope.js", | ||
"compass": "./dist/nodes/sensors/compass/compass.js", | ||
"magnetic": "./dist/nodes/sensors/magnetic/magnetic.js", | ||
"dB": "./dist/nodes/sensors/db/db.js", | ||
"battery": "./dist/nodes/sensors/battery/battery.js", | ||
"location": "./dist/nodes/sensors/geolocation/geolocation.js", | ||
"proximity": "./dist/nodes/sensors/proximity/proximity.js", | ||
"nfc": "./dist/nodes/sensors/nfc/nfc.js", | ||
"speech-to-text": "./dist/nodes/cognitives/speech-to-text/speech-to-text.js", | ||
"text-to-speech": "./dist/nodes/cognitives/text-to-speech/text-to-speech.js", | ||
"in-app-browser": "./dist/nodes/in-app-browser/in-app-browser.js", | ||
"vibrate": "./dist/nodes/notifications/vibrate/vibrate.js", | ||
"beep": "./dist/nodes/notifications/beep/beep.js", | ||
"alert": "./dist/nodes/notifications/alert/alert.js", | ||
"confirm": "./dist/nodes/notifications/confirm/confirm.js", | ||
"prompt": "./dist/nodes/notifications/prompt/prompt.js", | ||
"camera-command": "./dist/nodes/camera-command/camera.js", | ||
"camera": "./dist/nodes/camera/camera.js", | ||
"serial": "./dist/nodes/serial/serial.js", | ||
"volume": "./dist/nodes/volume/volume.js", | ||
"intent": "./dist/nodes/intent/intent.js", | ||
"sqlite": "./dist/nodes/sqlite/sqlite.js", | ||
"ble-bledevice": "./dist/nodes/ble/00-bledevice.js", | ||
"ble-notification": "./dist/nodes/ble/01-notification.js", | ||
"ble-scan": "./dist/nodes/ble/02-scan.js", | ||
"ble-connect": "./dist/nodes/ble/03-connect.js", | ||
"ble-disconnect": "./dist/nodes/ble/04-disconnect.js", | ||
"ble-read": "./dist/nodes/ble/05-read.js", | ||
"ble-write": "./dist/nodes/ble/06-write.js", | ||
"ble-subscribe": "./dist/nodes/ble/07-subscribe.js", | ||
"ble-unsubscribe": "./dist/nodes/ble/08-unsubscribe.js", | ||
"clipboard": "./dist/nodes/clipboard/clipboard.js", | ||
"qrcode-scan": "./dist/nodes/qrcode/scan.js", | ||
"mlkit": "./dist/nodes/mlkit/mlkit.js" | ||
} | ||
}, | ||
"engines": { | ||
"node": "18" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,35 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"config:base", | ||
":timezone(Asia/Tokyo)" | ||
], | ||
"rangeStrategy": "pin", | ||
"major": { | ||
"automerge": false | ||
}, | ||
"nodenv": { | ||
"enabled": false | ||
}, | ||
"lockFileMaintenance": { | ||
"enabled": true, | ||
"automerge": true, | ||
"platformAutomerge": true | ||
}, | ||
"packageRules": [ | ||
{ | ||
"automerge": true, | ||
"platformAutomerge": true, | ||
"matchManagers": ["pre-commit"] | ||
}, | ||
{ | ||
"automerge": true, | ||
"platformAutomerge": true, | ||
"matchUpdateTypes": ["minor", "patch", "pin", "digest"] | ||
}, | ||
{ | ||
"description": "Ignore nodejs", | ||
"matchPackageNames": ["node"], | ||
"matchManagers": ["npm"], | ||
"matchDepTypes": ["engines"], | ||
"enabled": false | ||
} | ||
] | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": ["config:base", ":timezone(Asia/Tokyo)"], | ||
"rangeStrategy": "pin", | ||
"major": { | ||
"automerge": false | ||
}, | ||
"nodenv": { | ||
"enabled": false | ||
}, | ||
"lockFileMaintenance": { | ||
"enabled": true, | ||
"automerge": true, | ||
"platformAutomerge": true | ||
}, | ||
"packageRules": [ | ||
{ | ||
"automerge": true, | ||
"platformAutomerge": true, | ||
"matchManagers": ["pre-commit"] | ||
}, | ||
{ | ||
"automerge": true, | ||
"platformAutomerge": true, | ||
"matchUpdateTypes": ["minor", "patch", "pin", "digest"] | ||
}, | ||
{ | ||
"description": "Ignore nodejs", | ||
"matchPackageNames": ["node"], | ||
"matchManagers": ["npm"], | ||
"matchDepTypes": ["engines"], | ||
"enabled": false | ||
} | ||
] | ||
} |
Oops, something went wrong.