Skip to content

Commit

Permalink
Merge pull request #81 from AlCalzone/update-templates-to-1.30.1
Browse files Browse the repository at this point in the history
Update templates to creator version v1.30.1
  • Loading branch information
Apollon77 authored Nov 9, 2020
2 parents 860f05d + edf9d05 commit cb42fae
Show file tree
Hide file tree
Showing 29 changed files with 40 additions and 47 deletions.
2 changes: 1 addition & 1 deletion JavaScript/.create-adapter.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@
],
"indentation": "Space (4)",
"quotes": "single",
"creatorVersion": "1.30.0"
"creatorVersion": "1.30.1"
}
2 changes: 1 addition & 1 deletion JavaScript/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

/*
* Created with @iobroker/create-adapter v1.30.0
* Created with @iobroker/create-adapter v1.30.1
*/

// The adapter-core module gives you access to the core ioBroker functions
Expand Down
2 changes: 1 addition & 1 deletion JavaScript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"axios": "^0.21.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"eslint": "^7.12.1",
"eslint": "^7.13.0",
"gulp": "^4.0.2",
"mocha": "^8.2.1",
"proxyquire": "^2.1.3",
Expand Down
4 changes: 1 addition & 3 deletions JavaScript/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@

"module": "commonjs",
"moduleResolution": "node",
"esModuleInterop": true,
// this is necessary for the automatic typing of the adapter config
"resolveJsonModule": true,

// Support React
"jsx": "react",

// Set this to false if you want to disable the very strict rules (not recommended)
"strict": true,
// Or enable some of those features for more fine-grained control
Expand Down
2 changes: 1 addition & 1 deletion JavaScriptReact/.create-adapter.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@
],
"indentation": "Space (4)",
"quotes": "single",
"creatorVersion": "1.30.0"
"creatorVersion": "1.30.1"
}
2 changes: 1 addition & 1 deletion JavaScriptReact/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

/*
* Created with @iobroker/create-adapter v1.30.0
* Created with @iobroker/create-adapter v1.30.1
*/

// The adapter-core module gives you access to the core ioBroker functions
Expand Down
6 changes: 3 additions & 3 deletions JavaScriptReact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@iobroker/adapter-react": "^1.4.4",
"@iobroker/adapter-react": "^1.4.7",
"@iobroker/testing": "^2.3.0",
"@material-ui/core": "^4.11.0",
"@material-ui/icons": "^4.9.1",
Expand All @@ -35,13 +35,13 @@
"@types/node": "^14.14.6",
"@types/proxyquire": "^1.3.28",
"@types/react-dom": "^16.9.9",
"@types/react": "^16.9.55",
"@types/react": "^16.9.56",
"@types/sinon": "^9.0.8",
"@types/sinon-chai": "^3.2.5",
"axios": "^0.21.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"eslint": "^7.12.1",
"eslint": "^7.13.0",
"eslint-plugin-react": "^7.21.5",
"gulp": "^4.0.2",
"mocha": "^8.2.1",
Expand Down
4 changes: 1 addition & 3 deletions JavaScriptReact/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@

"module": "commonjs",
"moduleResolution": "node",
"esModuleInterop": true,
// this is necessary for the automatic typing of the adapter config
"resolveJsonModule": true,

// Support React
"jsx": "react",

// Set this to false if you want to disable the very strict rules (not recommended)
"strict": true,
// Or enable some of those features for more fine-grained control
Expand Down
2 changes: 1 addition & 1 deletion JavaScriptVIS/.create-adapter.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
],
"indentation": "Space (4)",
"quotes": "single",
"creatorVersion": "1.30.0"
"creatorVersion": "1.30.1"
}
2 changes: 1 addition & 1 deletion JavaScriptVIS/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

/*
* Created with @iobroker/create-adapter v1.30.0
* Created with @iobroker/create-adapter v1.30.1
*/

// The adapter-core module gives you access to the core ioBroker functions
Expand Down
2 changes: 1 addition & 1 deletion JavaScriptVIS/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"axios": "^0.21.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"eslint": "^7.12.1",
"eslint": "^7.13.0",
"gulp": "^4.0.2",
"mocha": "^8.2.1",
"proxyquire": "^2.1.3",
Expand Down
4 changes: 1 addition & 3 deletions JavaScriptVIS/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@

"module": "commonjs",
"moduleResolution": "node",
"esModuleInterop": true,
// this is necessary for the automatic typing of the adapter config
"resolveJsonModule": true,

// Support React
"jsx": "react",

// Set this to false if you want to disable the very strict rules (not recommended)
"strict": true,
// Or enable some of those features for more fine-grained control
Expand Down
2 changes: 1 addition & 1 deletion TypeScript/.create-adapter.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@
],
"indentation": "Tab",
"quotes": "double",
"creatorVersion": "1.30.0"
"creatorVersion": "1.30.1"
}
2 changes: 1 addition & 1 deletion TypeScript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"axios": "^0.21.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"eslint": "^7.12.1",
"eslint": "^7.13.0",
"gulp": "^4.0.2",
"mocha": "^8.2.1",
"nyc": "^15.1.0",
Expand Down
2 changes: 1 addition & 1 deletion TypeScript/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Created with @iobroker/create-adapter v1.30.0
* Created with @iobroker/create-adapter v1.30.1
*/

// The adapter-core module gives you access to the core ioBroker functions
Expand Down
4 changes: 1 addition & 3 deletions TypeScript/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@
"removeComments": false,
"module": "commonjs",
"moduleResolution": "node",
"esModuleInterop": true,
// this is necessary for the automatic typing of the adapter config
"resolveJsonModule": true,

// Support React
"jsx": "react",

// Set this to false if you want to disable the very strict rules (not recommended)
"strict": true,
// Or enable some of those features for more fine-grained control
Expand Down
2 changes: 1 addition & 1 deletion TypeScriptReact/.create-adapter.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@
],
"indentation": "Tab",
"quotes": "double",
"creatorVersion": "1.30.0"
"creatorVersion": "1.30.1"
}
2 changes: 1 addition & 1 deletion TypeScriptReact/admin/src/app.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as React from "react";
import React from "react";
import { Theme, withStyles } from "@material-ui/core/styles";

import GenericApp from "@iobroker/adapter-react/GenericApp";
Expand Down
2 changes: 1 addition & 1 deletion TypeScriptReact/admin/src/components/settings.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as React from "react";
import React from "react";
import { withStyles } from "@material-ui/core/styles";
import { CreateCSSProperties } from "@material-ui/core/styles/withStyles";
import TextField from "@material-ui/core/TextField";
Expand Down
4 changes: 2 additions & 2 deletions TypeScriptReact/admin/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import React from "react";
import ReactDOM from "react-dom";
import { MuiThemeProvider } from "@material-ui/core/styles";
import theme from "@iobroker/adapter-react/Theme";
import Utils from "@iobroker/adapter-react/Components/Utils";
Expand Down
9 changes: 7 additions & 2 deletions TypeScriptReact/admin/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
"lib": [
"es2018",
"DOM"
]
],

// Support React - both must be here because parcel v1 does not
// evaluate the "extends" option
"jsx": "react",
"esModuleInterop": true
},
"include": [
"./**/*.ts",
Expand All @@ -22,4 +27,4 @@
"./**/*.test.ts",
"./**/*.test.tsx"
]
}
}
6 changes: 3 additions & 3 deletions TypeScriptReact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@babel/plugin-proposal-decorators": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-typescript": "^7.12.1",
"@iobroker/adapter-react": "^1.4.4",
"@iobroker/adapter-react": "^1.4.7",
"@iobroker/testing": "^2.3.0",
"@material-ui/core": "^4.11.0",
"@material-ui/icons": "^4.9.1",
Expand All @@ -38,15 +38,15 @@
"@types/node": "^14.14.6",
"@types/proxyquire": "^1.3.28",
"@types/react-dom": "^16.9.9",
"@types/react": "^16.9.55",
"@types/react": "^16.9.56",
"@types/sinon": "^9.0.8",
"@types/sinon-chai": "^3.2.5",
"@typescript-eslint/eslint-plugin": "^4.6.1",
"@typescript-eslint/parser": "^4.6.1",
"axios": "^0.21.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"eslint": "^7.12.1",
"eslint": "^7.13.0",
"eslint-plugin-react": "^7.21.5",
"gulp": "^4.0.2",
"mocha": "^8.2.1",
Expand Down
2 changes: 1 addition & 1 deletion TypeScriptReact/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Created with @iobroker/create-adapter v1.30.0
* Created with @iobroker/create-adapter v1.30.1
*/

// The adapter-core module gives you access to the core ioBroker functions
Expand Down
4 changes: 1 addition & 3 deletions TypeScriptReact/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@
"removeComments": false,
"module": "commonjs",
"moduleResolution": "node",
"esModuleInterop": true,
// this is necessary for the automatic typing of the adapter config
"resolveJsonModule": true,

// Support React
"jsx": "react",

// Set this to false if you want to disable the very strict rules (not recommended)
"strict": true,
// Or enable some of those features for more fine-grained control
Expand Down
2 changes: 1 addition & 1 deletion TypeScriptVIS/.create-adapter.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
],
"indentation": "Tab",
"quotes": "double",
"creatorVersion": "1.30.0"
"creatorVersion": "1.30.1"
}
2 changes: 1 addition & 1 deletion TypeScriptVIS/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"axios": "^0.21.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"eslint": "^7.12.1",
"eslint": "^7.13.0",
"gulp": "^4.0.2",
"mocha": "^8.2.1",
"nyc": "^15.1.0",
Expand Down
2 changes: 1 addition & 1 deletion TypeScriptVIS/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Created with @iobroker/create-adapter v1.30.0
* Created with @iobroker/create-adapter v1.30.1
*/

// The adapter-core module gives you access to the core ioBroker functions
Expand Down
4 changes: 1 addition & 3 deletions TypeScriptVIS/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@
"removeComments": false,
"module": "commonjs",
"moduleResolution": "node",
"esModuleInterop": true,
// this is necessary for the automatic typing of the adapter config
"resolveJsonModule": true,

// Support React
"jsx": "react",

// Set this to false if you want to disable the very strict rules (not recommended)
"strict": true,
// Or enable some of those features for more fine-grained control
Expand Down
2 changes: 1 addition & 1 deletion VIS/.create-adapter.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
],
"title": "Template (VIS only)",
"type": "visualization-widgets",
"creatorVersion": "1.30.0"
"creatorVersion": "1.30.1"
}

0 comments on commit cb42fae

Please sign in to comment.