Skip to content

Changes

Summary

  1. #28 remove the IIFE build from the API and DOM modules (details)
  2. Publish all modules as ESM instead of a mix of ESM and CJS. (details)
  3. Export node client as commonjs module as ESM still has problems in node (details)
  4. Don't publish the API module (details)
  5. fix jest config (details)
  6. Update node versions in GitHub actions (details)
Commit 46e1725b1203d81e50e1c49b1c872e1491dd5471 by Florian Fendt
#28 remove the IIFE build from the API and DOM modules

Signed-off-by: Florian Fendt <Florian.Fendt@bosch.io>
The file was modified javascript/lib/api/package-lock.json (diff)
The file was modified javascript/lib/node/package-lock.json (diff)
The file was modified javascript/lib/api/package.json (diff)
The file was modified javascript/lib/dom/package-lock.json (diff)
The file was modified javascript/lib/dom/rollup.config.js (diff)
The file was modified javascript/lib/api/README.md (diff)
The file was modified javascript/lib/api/rollup.config.js (diff)
The file was modified javascript/lib/dom/README.md (diff)
The file was modified javascript/README.md (diff)
The file was modified javascript/lib/dom/package.json (diff)
Commit b0fe6d5199902c1166d54215f8fdb5e4df1680ec by Florian Fendt
Publish all modules as ESM instead of a mix of ESM and CJS.
Get rid of all bundler (rollup) configurations.
Pull up jest versions for ESM support.
Use direct imports from implementing modules to api module

Signed-off-by: Florian Fendt <Florian.Fendt@bosch.io>
The file was modified javascript/lib/dom/tests/ditto-dom-client.spec.ts (diff)
The file was modified javascript/lib/node/tests/node-auth.spec.ts (diff)
The file was modified javascript/lib/node/src/node-auth.ts (diff)
The file was modified javascript/lib/api/tests/client/websocket/buffer.websocket.spec.ts (diff)
The file was modified javascript/lib/api/tests/client/websocket/events.websocket.spec.ts (diff)
The file was modified javascript/lib/dom/jest.config.js (diff)
The file was modified javascript/lib/api/package.json (diff)
The file was modified javascript/lib/node/src/node-http.ts (diff)
The file was modified javascript/lib/node/src/node-websocket.ts (diff)
The file was removedjavascript/lib/dom/rollup.config.js
The file was modified javascript/lib/api/tests/client/http/http-client-builder.spec.ts (diff)
The file was modified javascript/lib/node/tests/ditto-node-client.spec.ts (diff)
The file was modified javascript/lib/dom/tests/dom-auth.spec.ts (diff)
The file was modified javascript/lib/api/jest.config.js (diff)
The file was modified javascript/lib/node/package.json (diff)
The file was modified javascript/package-lock.json (diff)
The file was modified javascript/lib/api/tests/client/websocket/bufferless.websocket.spec.ts (diff)
The file was modified javascript/lib/dom/src/ditto-dom-client.ts (diff)
The file was modified javascript/lib/dom/src/fetch-websocket.ts (diff)
The file was modified javascript/lib/node/package-lock.json (diff)
The file was removedjavascript/lib/api/rollup.config.js
The file was modified javascript/lib/dom/src/dom-auth.ts (diff)
The file was modified javascript/lib/dom/package-lock.json (diff)
The file was modified javascript/lib/node/tsconfig.json (diff)
The file was modified javascript/lib/api/package-lock.json (diff)
The file was modified javascript/lib/api/tests/client/websocket/commands.websocket.spec.ts (diff)
The file was modified javascript/lib/node/jest.config.js (diff)
The file was modified javascript/lib/dom/src/fetch-http.ts (diff)
The file was modified javascript/tslint-base.json (diff)
The file was modified javascript/lib/dom/package.json (diff)
The file was modified javascript/lib/node/src/ditto-node-client.ts (diff)
The file was modified javascript/lib/api/tests/client/websocket/messages.websocket.spec.ts (diff)
The file was modified javascript/lib/node/tsconfig-barrels.json (diff)
Commit b19030e9ffaf0417451bd19f186edd1930566570 by Florian Fendt
Export node client as commonjs module as ESM still has problems in node

Signed-off-by: Florian Fendt <Florian.Fendt@bosch.io>
The file was modified javascript/lib/node/tsconfig.json (diff)
The file was modified javascript/lib/node/tsconfig-barrels.json (diff)
The file was modified javascript/lib/node/README.md (diff)
The file was modified javascript/lib/dom/README.md (diff)
The file was modified javascript/lib/node/package.json (diff)
The file was modified javascript/README.md (diff)
Commit c87fc22b693a933947edbce63c08620c48ee6722 by Florian Fendt
Don't publish the API module

Signed-off-by: Florian Fendt <Florian.Fendt@bosch.io>
The file was modified javascript/lib/api/package.json (diff)
Commit 3733a95d605e15a6cc5ad43559b9fe10d63126e6 by Florian Fendt
fix jest config

Signed-off-by: Florian Fendt <Florian.Fendt@bosch.io>
The file was modified javascript/lib/node/jest.config.js (diff)
Commit 1de905eaa0d0c618be155d1d3458c8f51a466a22 by Florian Fendt
Update node versions in GitHub actions

Signed-off-by: Florian Fendt <Florian.Fendt@bosch.io>
The file was modified .github/workflows/nodejs.yml (diff)