Wang Guan
a1ccba3a77
chore: use prettier v3 everywhere ( #5169 )
2024-09-16 08:43:08 +02:00
Damien Arrachequesne
b7da542890
chore: normalize repository URLs
...
In order to address the following warning when publishing:
> npm warn publish npm auto-corrected some errors in your package.json when publishing. Please run "npm pkg fix" to address these errors.
> npm warn publish errors corrected:
> npm warn publish "repository.url" was normalized to "git+https://github.com/socketio/socket.io.git "
2024-07-11 14:59:00 +02:00
Damien Arrachequesne
f00fc89b07
chore(release): engine.io-parser@5.2.3
2024-07-11 13:33:58 +02:00
Damien Arrachequesne
f9cb983ab7
fix(engine.io-parser): do not expose the TransformStream type
...
The previous commit [1] tried to work around the fact that the
TransformStream object is not exposed in the global scope in the
`@types/node` package, even though it is since Node.js `v18.0.0`.
Unfortunately, it created two new issues:
- using an older `@types/node` version (before v16) would fail with:
> error TS2307: Cannot find module 'node:stream/web' or its corresponding type declarations.
Related: https://github.com/socketio/socket.io/issues/5064#issuecomment-2217149344
- browser-only environments would somehow include the node types,
leading to conflicts like the return value of the setTimeout() method
Related:
- https://github.com/socketio/socket.io/issues/5064#issuecomment-2217149374
- https://github.com/socketio/socket.io/issues/5065
[1]: 0305b4a7a5
2024-07-11 13:08:18 +02:00
Damien Arrachequesne
2a29c4c30e
chore: move dev dependencies in the parent package.json file
...
Notes:
- TypeScript is updated from v4 to v5
- WebDriverIO is updated from v7 to v8
- prettier is kept in v2, in order to reduce style changes
2024-07-10 10:42:22 +02:00
Damien Arrachequesne
84d2aa74cd
chore: update the repository URLs
2024-07-09 10:51:43 +02:00
Damien Arrachequesne
5fae41a0d5
chore: align all MIT licenses text
...
Note: the owner of the `socket.io` repository was updated to Automattic
in [1], though it was never applied to the other repositories nor
mentioned in the client bundles.
[1]: 340281152f
2024-07-09 10:44:20 +02:00
Damien Arrachequesne
34137d39a9
chore: add new npm workspaces
...
The following repositories were merged:
- https://github.com/socketio/engine.io-parser
- https://github.com/socketio/engine.io-client
- https://github.com/socketio/engine.io-parser
- https://github.com/socketio/socket.io-adapter
- https://github.com/socketio/emitter
2024-07-08 12:10:24 +02:00
Damien Arrachequesne
7c4efaa915
refactor: prepare the migration to a monorepo
2024-07-08 10:53:54 +02:00