Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: increase version to 0.8.2 and fix TD&TM dependency issues #765

Merged
merged 4 commits into from
May 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -473,3 +473,21 @@ Finally, make the node command available through:
```
sudo ln -sf /usr/local/n/versions/node/<VERSION>/bin/node /usr/bin/node
```

## Development Internals

<details>
<summary>details</summary>

### Publishing on NPM

Run `npm publish --workspaces` in root node-wot folder.

### Regenerating package-lock.json

1. Delete `package-lock.json` file
1. Delete _any_ local cache (like `node_modules` folders etc.)
1. Run `npm install`
1. Run `npm dedupe` (see https://github.com/eclipse/thingweb.node-wot/pull/765#issuecomment-1133772886)

</details>
4 changes: 2 additions & 2 deletions examples/templates/exposed-thing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"tslint": "5.12.1"
},
"dependencies": {
"@node-wot/binding-http": "0.8.1",
"@node-wot/core": "0.8.1",
"@node-wot/binding-http": "0.8.2",
"@node-wot/core": "0.8.2",
"request": "2.88.0",
"ajv": "^7.0.4"
},
Expand Down
5,242 changes: 2,069 additions & 3,173 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions packages/binding-coap/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@node-wot/binding-coap",
"version": "0.8.1",
"version": "0.8.2",
"description": "CoAP client & server protocol binding for node-wot",
"author": "Eclipse Thingweb <thingweb-dev@eclipse.org> (https://thingweb.io/)",
"license": "EPL-2.0 OR W3C-20150513",
Expand Down Expand Up @@ -34,8 +34,8 @@
"typescript-standard": "^0.3.36"
},
"dependencies": {
"@node-wot/core": "0.8.1",
"@node-wot/td-tools": "0.8.1",
"@node-wot/core": "0.8.2",
"@node-wot/td-tools": "0.8.2",
"@types/node": "16.4.13",
"coap": "^1.0.11",
"node-coap-client": "1.0.8",
Expand Down
6 changes: 3 additions & 3 deletions packages/binding-file/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@node-wot/binding-file",
"version": "0.8.1",
"version": "0.8.2",
"description": "File client protocol binding for node-wot",
"author": "Eclipse Thingweb <thingweb-dev@eclipse.org> (https://thingweb.io/)",
"license": "EPL-2.0 OR W3C-20150513",
Expand All @@ -14,7 +14,7 @@
"main": "dist/file.js",
"types": "dist/file.d.ts",
"devDependencies": {
"@node-wot/td-tools": "0.8.1",
"@node-wot/td-tools": "0.8.2",
"@types/node": "16.4.13",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
Expand All @@ -31,7 +31,7 @@
"wot-typescript-definitions": "0.8.0-SNAPSHOT.22"
},
"dependencies": {
"@node-wot/core": "0.8.1"
"@node-wot/core": "0.8.2"
},
"scripts": {
"build": "tsc -b",
Expand Down
4 changes: 2 additions & 2 deletions packages/binding-firestore-browser-bundle/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@node-wot/binding-firestore-browser-bundle",
"version": "0.8.1",
"version": "0.8.2",
"description": "A binding-firestore bundle that can run in a web browser",
"repository": "https://github.com/eclipse/thingweb.node-wot/tree/master/packages/binding-firestore-browser-bundle",
"publishConfig": {
Expand All @@ -17,7 +17,7 @@
"tinyify": "2.5.2"
},
"dependencies": {
"@node-wot/binding-firestore": "0.8.1"
"@node-wot/binding-firestore": "0.8.2"
},
"scripts": {
"build": "browserify -r vm:vm2 index.js --external coffee-script -o dist/binding-firestore-bundle.js"
Expand Down
6 changes: 3 additions & 3 deletions packages/binding-firestore/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@node-wot/binding-firestore",
"version": "0.8.1",
"version": "0.8.2",
"description": "Firestore binding for node-wot",
"repository": "https://github.com/eclipse/thingweb.node-wot/tree/master/packages/binding-firestore",
"publishConfig": {
Expand All @@ -21,8 +21,8 @@
"author": "hidetak",
"license": "EPL-2.0",
"dependencies": {
"@node-wot/core": "0.8.1",
"@node-wot/td-tools": "0.8.1",
"@node-wot/core": "0.8.2",
"@node-wot/td-tools": "0.8.2",
"buffer": "^5.5.0",
"firebase": "9.7.0",
"uuid": "^7.0.3"
Expand Down
6 changes: 3 additions & 3 deletions packages/binding-http/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@node-wot/binding-http",
"version": "0.8.1",
"version": "0.8.2",
"description": "HTTP client & server protocol binding for node-wot",
"author": "Eclipse Thingweb <thingweb-dev@eclipse.org> (https://thingweb.io/)",
"license": "EPL-2.0 OR W3C-20150513",
Expand Down Expand Up @@ -49,8 +49,8 @@
"wot-typescript-definitions": "0.8.0-SNAPSHOT.22"
},
"dependencies": {
"@node-wot/core": "0.8.1",
"@node-wot/td-tools": "0.8.1",
"@node-wot/core": "0.8.2",
"@node-wot/td-tools": "0.8.2",
"@types/eventsource": "^1.1.2",
"accept-language-parser": "1.5.0",
"basic-auth": "2.0.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/binding-mbus/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@node-wot/binding-mbus",
"version": "0.8.1",
"version": "0.8.2",
"description": "M-Bus TCP client protocol binding for node-wot",
"author": "Eclipse Thingweb <thingweb-dev@eclipse.org> (https://thingweb.io/)",
"license": "EPL-2.0 OR W3C-20150513",
Expand Down Expand Up @@ -37,8 +37,8 @@
"typescript-standard": "^0.3.36"
},
"dependencies": {
"@node-wot/core": "0.8.1",
"@node-wot/td-tools": "0.8.1",
"@node-wot/core": "0.8.2",
"@node-wot/td-tools": "0.8.2",
"node-mbus": "^1.2.2",
"wot-typescript-definitions": "0.8.0-SNAPSHOT.22"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/binding-modbus/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@node-wot/binding-modbus",
"version": "0.8.1",
"version": "0.8.2",
"description": "Modbus TCP client protocol binding for node-wot",
"author": "Eclipse Thingweb <thingweb-dev@eclipse.org> (https://thingweb.io/)",
"contributors": [
Expand Down Expand Up @@ -40,8 +40,8 @@
"typescript-standard": "^0.3.36"
},
"dependencies": {
"@node-wot/core": "0.8.1",
"@node-wot/td-tools": "0.8.1",
"@node-wot/core": "0.8.2",
"@node-wot/td-tools": "0.8.2",
"modbus-serial": "^8.0.3",
"rxjs": "5.5.11",
"wot-typescript-definitions": "0.8.0-SNAPSHOT.22"
Expand Down
6 changes: 3 additions & 3 deletions packages/binding-mqtt/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@node-wot/binding-mqtt",
"version": "0.8.1",
"version": "0.8.2",
"description": "MQTT binding for node-wot",
"author": "Eclipse Thingweb <thingweb-dev@eclipse.org> (https://thingweb.io/)",
"license": "EPL-2.0 OR W3C-20150513",
Expand Down Expand Up @@ -35,8 +35,8 @@
"wot-typescript-definitions": "0.8.0-SNAPSHOT.22"
},
"dependencies": {
"@node-wot/core": "0.8.1",
"@node-wot/td-tools": "0.8.1",
"@node-wot/core": "0.8.2",
"@node-wot/td-tools": "0.8.2",
"aedes": "^0.46.2",
"mqtt": "^4.2.8",
"rxjs": "5.5.11"
Expand Down
6 changes: 3 additions & 3 deletions packages/binding-netconf/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@node-wot/binding-netconf",
"version": "0.8.1",
"version": "0.8.2",
"description": "NetConf client protocol binding for node-wot",
"author": "Eclipse Thingweb <thingweb-dev@eclipse.org> (https://thingweb.io/)",
"license": "EPL-2.0 OR W3C-20150513",
Expand Down Expand Up @@ -36,8 +36,8 @@
"wot-typescript-definitions": "0.8.0-SNAPSHOT.22"
},
"dependencies": {
"@node-wot/td-tools": "0.8.1",
"@node-wot/core": "0.8.1",
"@node-wot/td-tools": "0.8.2",
"@node-wot/core": "0.8.2",
"@types/node-netconf": "npm:@types/netconf@^2.0.0",
"@types/url-parse": "^1.4.3",
"case-1.5.3": "npm:case@^1.5.3",
Expand Down
6 changes: 3 additions & 3 deletions packages/binding-opcua/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@node-wot/binding-opcua",
"version": "0.8.1",
"version": "0.8.2",
"description": "opcua client protocol binding for node-wot",
"author": "Eclipse Thingweb <thingweb-dev@eclipse.org> (https://thingweb.io/)",
"license": "EPL-2.0 OR W3C-20150513",
Expand Down Expand Up @@ -40,8 +40,8 @@
"dependencies": {
"ajv": "^7.0.4",
"ajv-formats": "^2.1.1",
"@node-wot/core": "0.8.1",
"@node-wot/td-tools": "0.8.1",
"@node-wot/core": "0.8.2",
"@node-wot/td-tools": "0.8.2",
"node-opcua": "2.67.0",
"node-opcua-json": "0.19.0",
"node-opcua-pubsub-client": "0.19.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/binding-websockets/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@node-wot/binding-websockets",
"version": "0.8.1",
"version": "0.8.2",
"description": "WebSockets client & server protocol binding for node-wot",
"author": "Eclipse Thingweb <thingweb-dev@eclipse.org> (https://thingweb.io/)",
"license": "EPL-2.0 OR W3C-20150513",
Expand Down Expand Up @@ -37,9 +37,9 @@
"wot-typescript-definitions": "0.8.0-SNAPSHOT.22"
},
"dependencies": {
"@node-wot/binding-http": "0.8.1",
"@node-wot/core": "0.8.1",
"@node-wot/td-tools": "0.8.1",
"@node-wot/binding-http": "0.8.2",
"@node-wot/core": "0.8.2",
"@node-wot/td-tools": "0.8.2",
"slugify": "^1.4.5",
"ws": "^7.5.4"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/browser-bundle/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@node-wot/browser-bundle",
"version": "0.8.1",
"version": "0.8.2",
"description": "A node-wot bundle that can run in a web browser",
"author": "Eclipse Thingweb <thingweb-dev@eclipse.org> (https://thingweb.io/)",
"license": "EPL-2.0 OR W3C-20150513",
Expand All @@ -13,9 +13,9 @@
],
"main": "dist/wot-bundle.min.js",
"devDependencies": {
"@node-wot/binding-http": "0.8.1",
"@node-wot/binding-websockets": "0.8.1",
"@node-wot/core": "0.8.1",
"@node-wot/binding-http": "0.8.2",
"@node-wot/binding-websockets": "0.8.2",
"@node-wot/core": "0.8.2",
"browserify": "16.5.0",
"tinyify": "2.5.2",
"typescript": "4.4.3",
Expand Down
18 changes: 9 additions & 9 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@node-wot/cli",
"version": "0.8.1",
"version": "0.8.2",
"description": "servient command line interface",
"author": "Eclipse Thingweb <thingweb-dev@eclipse.org> (https://thingweb.io/)",
"license": "EPL-2.0 OR W3C-20150513",
Expand Down Expand Up @@ -33,20 +33,20 @@
"ts-node": "10.1.0",
"typescript": "4.4.3",
"typescript-standard": "^0.3.36",
"wot-thing-description-types": "^1.1.0-09-February-2022",
"wot-thing-description-types": "1.1.0-09-February-2022",
"wot-typescript-definitions": "0.8.0-SNAPSHOT.22"
},
"optionalDependencies": {
"ts-node": "10.1.0"
},
"dependencies": {
"@node-wot/binding-coap": "0.8.1",
"@node-wot/binding-file": "0.8.1",
"@node-wot/binding-http": "0.8.1",
"@node-wot/binding-mqtt": "0.8.1",
"@node-wot/binding-websockets": "0.8.1",
"@node-wot/core": "0.8.1",
"@node-wot/td-tools": "0.8.1",
"@node-wot/binding-coap": "0.8.2",
"@node-wot/binding-file": "0.8.2",
"@node-wot/binding-http": "0.8.2",
"@node-wot/binding-mqtt": "0.8.2",
"@node-wot/binding-websockets": "0.8.2",
"@node-wot/core": "0.8.2",
"@node-wot/td-tools": "0.8.2",
"ajv": "^8.11.0",
"commander": "^9.1.0",
"dotenv": "^8.6.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@node-wot/core",
"version": "0.8.1",
"version": "0.8.2",
"description": "W3C Web of Things (WoT) Servient framework",
"author": "Eclipse Thingweb <thingweb-dev@eclipse.org> (https://thingweb.io/)",
"license": "EPL-2.0 OR W3C-20150513",
Expand Down Expand Up @@ -39,11 +39,11 @@
"ts-node": "10.1.0",
"typescript": "4.4.3",
"typescript-standard": "^0.3.36",
"wot-thing-description-types": "^1.1.0-09-February-2022",
"wot-thing-description-types": "1.1.0-09-February-2022",
"wot-typescript-definitions": "^0.8.0-SNAPSHOT.22"
},
"dependencies": {
"@node-wot/td-tools": "0.8.1",
"@node-wot/td-tools": "0.8.2",
"@petamoriken/float16": "^3.1.1",
"ajv": "^7.0.4",
"rxjs": "5.5.11",
Expand Down
14 changes: 7 additions & 7 deletions packages/examples/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@node-wot/examples",
"version": "0.8.1",
"version": "0.8.2",
"private": true,
"description": "Examples for node-wot (not published)",
"author": "Eclipse Thingweb <thingweb-dev@eclipse.org> (https://thingweb.io/)",
Expand All @@ -23,15 +23,15 @@
"ts-node": "10.1.0",
"typescript": "4.4.3",
"typescript-standard": "^0.3.36",
"wot-thing-description-types": "^1.1.0-09-February-2022",
"wot-thing-description-types": "1.1.0-09-February-2022",
"wot-typescript-definitions": "0.8.0-SNAPSHOT.22"
},
"dependencies": {
"@node-wot/binding-coap": "0.8.1",
"@node-wot/binding-file": "0.8.1",
"@node-wot/binding-http": "0.8.1",
"@node-wot/core": "0.8.1",
"@node-wot/td-tools": "0.8.1",
"@node-wot/binding-coap": "0.8.2",
"@node-wot/binding-file": "0.8.2",
"@node-wot/binding-http": "0.8.2",
"@node-wot/core": "0.8.2",
"@node-wot/td-tools": "0.8.2",
"rxjs": "5.5.11"
},
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions packages/td-tools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@node-wot/td-tools",
"version": "0.8.1",
"version": "0.8.2",
"description": "W3C Web of Things (WoT) Thing Description parser, serializer, and other tools",
"author": "Eclipse Thingweb <thingweb-dev@eclipse.org> (https://thingweb.io/)",
"license": "EPL-2.0 OR W3C-20150513",
Expand Down Expand Up @@ -44,8 +44,8 @@
"is-absolute-url": "3.0.3",
"json-placeholder-replacer": "^1.0.35",
"url-toolkit": "2.1.6",
"wot-thing-description-types": "^1.1.0-09-February-2022",
"wot-thing-model-types": "^1.1.0-3-February-2022",
"wot-thing-description-types": "1.1.0-09-February-2022",
"wot-thing-model-types": "1.1.0-3-February-2022",
"wot-typescript-definitions": "0.8.0-SNAPSHOT.22"
},
"scripts": {
Expand Down