Damien Arrachequesne
0af50758f6
chore(cluster-engine): update homepage URL
2024-07-18 10:03:57 +02:00
Damien Arrachequesne
b9b16132c2
chore(socket.io-adapter): remove dist before compilation
2024-07-17 10:34:57 +02:00
Damien Arrachequesne
be1e4cb24d
ci(publish): update the tag regex
...
In order to also match "@socket.io/some-package@1.2.3".
Reference: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet
[skip ci]
2024-07-17 10:26:56 +02:00
Damien Arrachequesne
7521ac227b
chore(release): @socket.io/cluster-engine@0.1.0
@socket.io/cluster-engine@0.1.0
2024-07-17 09:53:34 +02:00
Damien Arrachequesne
b00124b65a
feat: implement cluster-friendly engine
2024-07-17 09:27:12 +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
0692bed462
chore: fix the publish workflow
...
It seems the "registry-url" variable is mandatory: https://github.com/npm/cli/issues/6184
2024-07-11 13:45:44 +02:00
Damien Arrachequesne
f00fc89b07
chore(release): engine.io-parser@5.2.3
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
04033b241b
chore: add publish workflow (2)
...
We need to exclude the 'main' branch (it's an OR operator).
Reference: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
2024-07-11 12:38:47 +02:00
Damien Arrachequesne
fbc0313a10
chore: add publish workflow
...
Reference: https://docs.npmjs.com/generating-provenance-statements
2024-07-11 12:27:36 +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
d3761e3e9e
docs(security): add the list of CVE for the socket.io-client package
2024-07-09 12:32:14 +02:00
Damien Arrachequesne
afdc3b2916
ci: restore browser tests with Sauce Labs
...
The `pull_request` trigger is excluded, since the secrets are not
available for those builds.
2024-07-09 11:22:48 +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
ec79211701
docs: init README for the monorepo
2024-07-08 16:07:34 +02:00
Damien Arrachequesne
8c3debf15a
docs: init the contributing guide
...
Related: https://github.com/socketio/socket.io/issues/4814
2024-07-08 15:33:41 +02:00
Damien Arrachequesne
cbf6df0812
Merge remote-tracking branch 'engine.io-protocol/v3'
...
Source: https://github.com/socketio/engine.io-protocol/tree/v3
2024-07-08 12:21:31 +02:00
Damien Arrachequesne
1d65f11e93
Merge remote-tracking branch 'engine.io-protocol/main'
...
Source: https://github.com/socketio/engine.io-protocol
2024-07-08 12:18:53 +02:00
Damien Arrachequesne
498e8e22d6
refactor: prepare the migration to a monorepo
2024-07-08 12:18:11 +02:00
Damien Arrachequesne
68efa28014
refactor: prepare the migration to a monorepo
2024-07-08 12:16:14 +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
8d0c4835dc
Merge remote-tracking branch 'socket.io-component-emitter/main' into monorepo
...
Source: https://github.com/socketio/emitter
2024-07-08 11:10:24 +02:00
Damien Arrachequesne
dce7200378
Merge remote-tracking branch 'socket.io-adapter/main' into monorepo
...
Source: https://github.com/socketio/socket.io-adapter
2024-07-08 11:09:26 +02:00
Damien Arrachequesne
3546094cfc
refactor: prepare the migration to a monorepo
2024-07-08 11:08:10 +02:00
Damien Arrachequesne
90bbd51440
Merge remote-tracking branch 'engine.io/main' into monorepo
...
Source: https://github.com/socketio/engine.io
2024-07-08 11:03:00 +02:00
Damien Arrachequesne
efe86ee20c
refactor: prepare the migration to a monorepo
2024-07-08 11:02:37 +02:00
Damien Arrachequesne
5b2d238dce
Merge remote-tracking branch 'engine.io-client/main' into monorepo
...
Source: https://github.com/socketio/engine.io-client
2024-07-08 11:00:37 +02:00
Damien Arrachequesne
32a1a6039f
refactor: prepare the migration to a monorepo
2024-07-08 10:59:50 +02:00
Damien Arrachequesne
e514852a37
Merge remote-tracking branch 'engine.io-parser/main' into monorepo
...
Source: https://github.com/socketio/engine.io-parser
2024-07-08 10:54:44 +02:00
Damien Arrachequesne
7c4efaa915
refactor: prepare the migration to a monorepo
2024-07-08 10:53:54 +02:00
Damien Arrachequesne
f98fc2810e
refactor: prepare the migration to a monorepo
2024-07-08 10:46:34 +02:00
Damien Arrachequesne
c0e448a023
docs: add links to each changelog
2024-07-04 19:02:47 +02:00
Damien Arrachequesne
59838b71a2
docs: move changelog of the socket.io package
2024-07-04 18:59:19 +02:00
Damien Arrachequesne
ae3c26fdd4
docs: restore readme
2024-07-04 18:58:18 +02:00
Damien Arrachequesne
c508501d86
Merge remote-tracking branch 'socket.io-protocol/v3'
...
Source: https://github.com/socketio/socket.io-protocol/tree/v3
2024-07-04 18:30:39 +02:00
Damien Arrachequesne
bbcad832fa
Merge remote-tracking branch 'socket.io-protocol/v4'
...
Source: https://github.com/socketio/socket.io-protocol/tree/v4
2024-07-04 18:29:51 +02:00
Damien Arrachequesne
f1c8410c3e
refactor: prepare the migration to a monorepo
2024-07-04 18:29:15 +02:00
Damien Arrachequesne
93b42f6b77
refactor: prepare the migration to a monorepo
2024-07-04 18:27:57 +02:00
Damien Arrachequesne
dfac908769
Merge remote-tracking branch 'socket.io-protocol/main'
...
Source: https://github.com/socketio/socket.io-protocol
2024-07-04 18:25:43 +02:00
Damien Arrachequesne
b4002c281f
refactor: prepare the migration to a monorepo
2024-07-04 18:23:59 +02:00
Damien Arrachequesne
4cac3724ad
chore: update the repository URLs
...
Reference: https://docs.npmjs.com/cli/v10/configuring-npm/package-json
2024-07-04 18:16:51 +02:00
Damien Arrachequesne
914716d71d
ci: move building the examples to its own workflow
2024-07-04 18:08:06 +02:00
Damien Arrachequesne
d9b4c3cb03
ci: create npm workspaces and sort out dependencies
...
This requires at least npm v7.
Reference: https://docs.npmjs.com/cli/v10/using-npm/workspaces
Note: @types/node is pinned at `18.15.3` because it's the last version
which supports TypeScript v4.2.
2024-07-04 17:48:46 +02:00
Damien Arrachequesne
7aedc79436
Merge remote-tracking branch 'socket.io-parser/main' into monorepo
...
Source: https://github.com/socketio/socket.io-parser
2024-07-04 17:38:27 +02:00
Damien Arrachequesne
bd02c7234a
refactor: prepare the migration to a monorepo
2024-07-04 17:37:35 +02:00
Damien Arrachequesne
b2cf3f72fd
Merge remote-tracking branch 'socket.io-client/main' into monorepo
...
Source: https://github.com/socketio/socket.io-client
2024-07-04 17:36:18 +02:00
Damien Arrachequesne
273093ceae
refactor: prepare the migration to a monorepo
2024-07-04 17:35:42 +02:00
Damien Arrachequesne
d9d19b4bb7
refactor: prepare the migration to a monorepo
2024-07-04 17:33:59 +02:00