Skip to content

Commit

Permalink
Added tests for package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanBluefox committed Jan 31, 2025
1 parent 71611a7 commit fbad7db
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 41 deletions.
42 changes: 6 additions & 36 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
},
"dependencies": {
"@iobroker/adapter-core": "^3.2.3",
"@iobroker/i18n": "^0.3.1",
"@iobroker/dm-utils": "^1.0.9",
"@iobroker/type-detector": "^4.1.1",
"@iobroker/i18n": "^0.3.1",
"@iobroker/type-detector": "^4.2.0",
"@matter/main": "0.12.1",
"@matter/nodejs": "0.12.1",
"@project-chip/matter.js": "0.12.1",
Expand All @@ -41,12 +41,13 @@
"@alcalzone/release-script-plugin-iobroker": "^3.7.2",
"@alcalzone/release-script-plugin-license": "^3.7.0",
"@iobroker/build-tools": "^2.0.15",
"@iobroker/dev-server": "^0.7.6",
"@iobroker/dev-server": "^0.7.8",
"@iobroker/eslint-config": "^1.0.0",
"@iobroker/legacy-testing": "^2.0.2",
"@iobroker/testing": "^5.0.3",
"@iobroker/types": "^7.0.6",
"@types/jsonwebtoken": "^9.0.8",
"@types/node": "^22.10.10",
"@types/node": "^22.12.0",
"chai": "^4.5.0",
"colorette": "^2.0.20",
"mocha": "^11.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src-admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@foxriver76/iob-component-lib": "^0.2.0",
"@iobroker/adapter-react-v5": "^7.4.19",
"@iobroker/dm-gui-components": "^7.4.19",
"@iobroker/type-detector": "^4.1.1",
"@iobroker/type-detector": "^4.2.0",
"@types/react-dom": "^18.3.5",
"@types/uuid": "^10.0.0",
"@vitejs/plugin-react": "^4.3.4",
Expand Down
5 changes: 5 additions & 0 deletions test/package.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const path = require('node:path');
const { tests } = require('@iobroker/testing');

// Validate the package files
tests.packageFiles(path.join(__dirname, '..'));

0 comments on commit fbad7db

Please sign in to comment.