Skip to content

Commit

Permalink
Dev1 (#59)
Browse files Browse the repository at this point in the history
* Cleanup

* Fixes

* updated lerna config

* v1.0.1-alpha.0

* publish fixes

* Fixes

* v1.0.1-alpha.1

* Minor fixes

* Cleanup package.json

* lerna config

* v1.0.1-alpha.2

* Bugfix

* v1.0.1-alpha.3

* temporary fixes

* v1.0.1-alpha.4

* minor fix

* v1.0.1-alpha.5

* added matter server as separate service

* matter server updates

* Add lerna.json to the staging area

* chore(release): publish v1.0.1-alpha.6

* reccommit: 1

* reccommit: 1

* 1

* 1

* updated scope

* various updates

* Prepare for init server release

* fixes

* cleanup

* various updates

* cleanup

* fixes

* updated async logic for server.listen

* chore(release): publish v1.0.1-alpha.11

* updates to auth

* chore(release): publish v1.0.1-alpha.12

* auth fixes

* chore(release): publish v1.0.1-alpha.13

* fixes

* chore(release): publish v1.0.1-alpha.14

* remove xmldoc dep

* remove xmldoc

* chore(release): publish v1.0.1-alpha.15

* various fixes

* chore(release): publish v1.0.1-alpha.16

* import fix

* chore(release): publish v1.0.1-alpha.17

* Fixes

* chore(release): publish v1.0.1-alpha.18

* cleanup

* chore(release): publish v1.0.1-alpha.19

* version check cleanup

* chore(release): publish v1.0.1-alpha.20

* fixes

* chore(release): publish v1.0.1-alpha.21

* minor fixes

* fixes

* chore(release): publish v1.0.1-alpha.22

* updates to env. variable loading

* chore(release): publish v1.0.1-alpha.23

* updated event handling logic for bridged device behavior

* chore(release): publish v1.0.1-alpha.24

* src

* chore(release): publish v1.0.1-alpha.25

* Fixes #1

* cleanup

* chore(release): publish v1.0.1-alpha.26

* Mapping updates

* chore(release): publish v1.0.1-alpha.27

* updates

* chore(release): publish v1.0.1-alpha.28

* cleanup
  • Loading branch information
pradeepmouli authored Nov 14, 2024
1 parent 13f7e92 commit 0c348c1
Show file tree
Hide file tree
Showing 1,327 changed files with 17,127 additions and 116,212 deletions.
36 changes: 18 additions & 18 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true,
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
},
},
"rules": {
"@typescript-eslint/sort-type-constituents":"warn",
"sort-keys": "warn",
},
"plugins": [
"@typescript-eslint",
],
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true,
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
},
},
"rules": {
"@typescript-eslint/sort-type-constituents": "warn",
"sort-keys": "warn",
},
"plugins": [
"@typescript-eslint",
],
}
31 changes: 31 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
module.exports = {
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
],
"rules": {
"indent": [
"warn",
"tab"
],
"linebreak-style": [
"warn",
"unix"
],
"quotes": [
"warn",
"single"
],
"semi": [
"warn",
"always"
]
}
};
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ ISYNodes.xml
CLI/resources/*
**/resources_old/*
**/*.tsbuildinfo
*.log
**/*.log
tools/codegen/codegen.log
tools/codegen/defgen.log
packages/isy-nodejs/dist/tsconfig.esm.tsbuildinfo
packages/isy-nodejs/dist/tsconfig.cjs.tsbuildinfo
apps/matter-server/bin/matter/
apps/matter-server/bin/.env
apps/matter-server/.env
apps/matter-server/matter_server.log*
apps/matter-server/matter_server*.log*
13 changes: 13 additions & 0 deletions apps/matter-server/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
ISY_HOST_URL=eisy.local
ISY_HOST_PORT=8080
ISY_USERNAME=admin
ISY_PASSWORD=qazWSX12
ISY_HOST_PROTOCOL=http
MATTER_PORT=5540
MATTER_VENDORID=65521
MATTER_PRODUCTID=32768
MATTER_DISCRIMINATOR=3840
MATTER_PASSCODE=20202021
WORKING_DIR=
LOG_LEVEL=debug
LOG_FILE=${WORKING_DIR}log/matter_server.log
13 changes: 13 additions & 0 deletions apps/matter-server/.env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
ISY_HOST_URL=eisy.local
ISY_HOST_PORT=8080
ISY_USERNAME=<--username-->
ISY_PASSWORD=<--password-->
ISY_HOST_PROTOCOL=http
MATTER_PORT=5540
MATTER_VENDORID=65521
MATTER_PRODUCTID=32768
MATTER_DISCRIMINATOR=3840
MATTER_PASSCODE=20202021
WORKING_DIR=
LOG_LEVEL=debug
LOG_FILE=${WORKING_DIR}matter_server.log
11 changes: 11 additions & 0 deletions apps/matter-server/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# `isy-matter-server`

> TODO: description
## Usage

```
const isyMatterServer = require('isy-matter-server');
// TODO: DEMONSTRATE API
```
7 changes: 7 additions & 0 deletions apps/matter-server/__tests__/isy-matter-server.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
'use strict';

const isyMatterServer = require('..');
const assert = require('assert').strict;

assert.strictEqual(isyMatterServer(), 'Hello from isyMatterServer');
console.info('isyMatterServer tests passed');
2 changes: 2 additions & 0 deletions apps/matter-server/bin/authenticate.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export declare function authenticate(credential: any): Promise<boolean>;
//# sourceMappingURL=authenticate.d.ts.map
1 change: 1 addition & 0 deletions apps/matter-server/bin/authenticate.d.ts.map

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

4 changes: 4 additions & 0 deletions apps/matter-server/bin/authenticate.js

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

1 change: 1 addition & 0 deletions apps/matter-server/bin/authenticate.js.map

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

3 changes: 3 additions & 0 deletions apps/matter-server/bin/server.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env node
import './utils.js';
//# sourceMappingURL=server.d.ts.map
1 change: 1 addition & 0 deletions apps/matter-server/bin/server.d.ts.map

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

Loading

0 comments on commit 0c348c1

Please sign in to comment.