Skip to content

Commit

Permalink
Update pinned adapter dependencies (#880)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone authored Feb 16, 2022
1 parent 592f8c1 commit d5c706e
Show file tree
Hide file tree
Showing 13 changed files with 37 additions and 38 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* (AlCalzone) Updated the creator's dependencies (#877)
* (AlCalzone) Suppress npm messages for deprecated packages, audit and funding (#878)
* (AlCalzone) Add link to generated adapter in console output (#879)
* (AlCalzone) Update pinned adapter dependencies (#880)

## 2.0.2 (2022-01-10)
* (UncleSamSwiss) Updated axios to version 0.23.0 including generated typescript code (#833) · [Migration guide](docs/updates/20211013_axios_0_23.md)
Expand Down
16 changes: 7 additions & 9 deletions templates/package.json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const templateFunction: TemplateFunction = async answers => {
"@types/node@14",
] : []),
...(useTypeChecking ? [
"typescript@~4.4",
"typescript@~4.5",
] : []),
...(useTypeScript ? [
// enhance testing through TS tools
Expand All @@ -69,22 +69,20 @@ const templateFunction: TemplateFunction = async answers => {
] : []),
...(useReact ? [
// React
"react@16", // Pinned to v16 for now, don't forget to update @types/react[-dom] aswell
"react-dom@16",
"react",
"react-dom",
// ioBroker react framework
"@iobroker/[email protected].13",
"@iobroker/[email protected].19",
// UI library
"@material-ui/core",
] : []),
...(useTypeChecking && useReact ? [
// React's type definitions
"@types/react@16",
"@types/react-dom@16",
"@types/react",
"@types/react-dom",
] : []),
...(useESLint ? [
// The downstream packages like typescript-eslint don't support ESLint 8 yet.
// Until they do, pin the version
"eslint@7"
"eslint"
] : []),
...((useESLint && useTypeScript) ? [
"@typescript-eslint/eslint-plugin",
Expand Down
4 changes: 2 additions & 2 deletions test/baselines/TS_Prettier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
"@typescript-eslint/parser": "^5.12.0",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"eslint": "^8.9.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint": "^7.32.0",
"mocha": "^9.2.0",
"prettier": "^2.5.1",
"proxyquire": "^2.1.3",
Expand All @@ -46,7 +46,7 @@
"sinon-chai": "^3.7.0",
"source-map-support": "^0.5.21",
"ts-node": "^10.5.0",
"typescript": "~4.4.4"
"typescript": "~4.5.5"
},
"main": "build/main.js",
"files": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@
"@types/sinon-chai": "^3.2.8",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"eslint": "^7.32.0",
"eslint": "^8.9.0",
"mocha": "^9.2.0",
"proxyquire": "^2.1.3",
"sinon": "^13.0.1",
"sinon-chai": "^3.7.0",
"typescript": "~4.4.4"
"typescript": "~4.5.5"
},
"main": "main.js",
"files": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@
"@types/sinon-chai": "^3.2.8",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"eslint": "^7.32.0",
"eslint": "^8.9.0",
"mocha": "^9.2.0",
"proxyquire": "^2.1.3",
"sinon": "^13.0.1",
"sinon-chai": "^3.7.0",
"typescript": "~4.4.4"
"typescript": "~4.5.5"
},
"main": "main.js",
"files": [
Expand Down
8 changes: 4 additions & 4 deletions test/baselines/adapter_JS_React/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@
},
"devDependencies": {
"@iobroker/adapter-dev": "^1.0.0",
"@iobroker/adapter-react": "2.0.13",
"@iobroker/adapter-react": "2.0.19",
"@iobroker/testing": "^2.5.4",
"@material-ui/core": "^4.12.3",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"eslint": "^8.9.0",
"eslint-plugin-react": "^7.28.0",
"eslint": "^7.32.0",
"mocha": "^9.2.0",
"proxyquire": "^2.1.3",
"react-dom": "^16.14.0",
"react": "^16.14.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"sinon": "^13.0.1",
"sinon-chai": "^3.7.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@
"@typescript-eslint/parser": "^5.12.0",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"eslint": "^7.32.0",
"eslint": "^8.9.0",
"mocha": "^9.2.0",
"proxyquire": "^2.1.3",
"rimraf": "^3.0.2",
"sinon": "^13.0.1",
"sinon-chai": "^3.7.0",
"source-map-support": "^0.5.21",
"ts-node": "^10.5.0",
"typescript": "~4.4.4"
"typescript": "~4.5.5"
},
"main": "build/main.js",
"files": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@
"@typescript-eslint/parser": "^5.12.0",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"eslint": "^7.32.0",
"eslint": "^8.9.0",
"mocha": "^9.2.0",
"proxyquire": "^2.1.3",
"rimraf": "^3.0.2",
"sinon": "^13.0.1",
"sinon-chai": "^3.7.0",
"source-map-support": "^0.5.21",
"ts-node": "^10.5.0",
"typescript": "~4.4.4"
"typescript": "~4.5.5"
},
"main": "build/main.js",
"files": [
Expand Down
14 changes: 7 additions & 7 deletions test/baselines/adapter_TS_React/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,34 +23,34 @@
},
"devDependencies": {
"@iobroker/adapter-dev": "^1.0.0",
"@iobroker/adapter-react": "2.0.13",
"@iobroker/adapter-react": "2.0.19",
"@iobroker/testing": "^2.5.4",
"@material-ui/core": "^4.12.3",
"@types/chai": "^4.3.0",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^9.1.0",
"@types/node": "^14.18.12",
"@types/proxyquire": "^1.3.28",
"@types/react-dom": "^16.9.14",
"@types/react": "^16.14.23",
"@types/react": "^17.0.39",
"@types/react-dom": "^17.0.11",
"@types/sinon": "^10.0.11",
"@types/sinon-chai": "^3.2.8",
"@typescript-eslint/eslint-plugin": "^5.12.0",
"@typescript-eslint/parser": "^5.12.0",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"eslint": "^8.9.0",
"eslint-plugin-react": "^7.28.0",
"eslint": "^7.32.0",
"mocha": "^9.2.0",
"proxyquire": "^2.1.3",
"react-dom": "^16.14.0",
"react": "^16.14.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rimraf": "^3.0.2",
"sinon": "^13.0.1",
"sinon-chai": "^3.7.0",
"source-map-support": "^0.5.21",
"ts-node": "^10.5.0",
"typescript": "~4.4.4"
"typescript": "~4.5.5"
},
"main": "build/main.js",
"files": [
Expand Down
4 changes: 2 additions & 2 deletions test/baselines/contributors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@
"@typescript-eslint/parser": "^5.12.0",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"eslint": "^7.32.0",
"eslint": "^8.9.0",
"mocha": "^9.2.0",
"proxyquire": "^2.1.3",
"rimraf": "^3.0.2",
"sinon": "^13.0.1",
"sinon-chai": "^3.7.0",
"source-map-support": "^0.5.21",
"ts-node": "^10.5.0",
"typescript": "~4.4.4"
"typescript": "~4.5.5"
},
"main": "build/main.js",
"files": [
Expand Down
4 changes: 2 additions & 2 deletions test/baselines/git_SSH/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@
"@typescript-eslint/parser": "^5.12.0",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"eslint": "^7.32.0",
"eslint": "^8.9.0",
"mocha": "^9.2.0",
"proxyquire": "^2.1.3",
"rimraf": "^3.0.2",
"sinon": "^13.0.1",
"sinon-chai": "^3.7.0",
"source-map-support": "^0.5.21",
"ts-node": "^10.5.0",
"typescript": "~4.4.4"
"typescript": "~4.5.5"
},
"main": "build/main.js",
"files": [
Expand Down
4 changes: 2 additions & 2 deletions test/baselines/keywords/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@
"@typescript-eslint/parser": "^5.12.0",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"eslint": "^7.32.0",
"eslint": "^8.9.0",
"mocha": "^9.2.0",
"proxyquire": "^2.1.3",
"rimraf": "^3.0.2",
"sinon": "^13.0.1",
"sinon-chai": "^3.7.0",
"source-map-support": "^0.5.21",
"ts-node": "^10.5.0",
"typescript": "~4.4.4"
"typescript": "~4.5.5"
},
"main": "build/main.js",
"files": [
Expand Down
4 changes: 2 additions & 2 deletions test/baselines/releaseScript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@
"@typescript-eslint/parser": "^5.12.0",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"eslint": "^7.32.0",
"eslint": "^8.9.0",
"mocha": "^9.2.0",
"proxyquire": "^2.1.3",
"rimraf": "^3.0.2",
"sinon": "^13.0.1",
"sinon-chai": "^3.7.0",
"source-map-support": "^0.5.21",
"ts-node": "^10.5.0",
"typescript": "~4.4.4"
"typescript": "~4.5.5"
},
"main": "build/main.js",
"files": [
Expand Down

0 comments on commit d5c706e

Please sign in to comment.