Damien Arrachequesne
4338f47336
ci(publish): use Node.js 24
...
Trusted publishing requires npm CLI version 11.5.1 or later.
Reference: https://docs.npmjs.com/trusted-publishers#for-github-actions
2025-12-22 16:27:30 +01:00
Damien Arrachequesne
b837949479
ci: use Node.js 24
...
Reference: https://github.com/nodejs/Release
2025-12-22 13:45:36 +01:00
Damien Arrachequesne
118ef41b94
test: use tsx instead of ts-node
2025-12-22 10:39:57 +01:00
Damien Arrachequesne
d88f3f4578
ci: use actions/checkout@v6 and actions/setup-node@v6
...
Release notes:
- https://github.com/actions/checkout/blob/main/CHANGELOG.md
- https://github.com/actions/setup-node/releases/tag/v6.0.0
2025-12-15 09:38:45 +01:00
Damien Arrachequesne
f5ee981ee8
ci(publish): use trusted publishing
...
Reference: https://docs.npmjs.com/trusted-publishers
[skip ci]
2025-12-15 08:57:17 +01:00
Damien Arrachequesne
c7144920e3
Merge remote-tracking branch 'socket.io-postgres-emitter/main' into monorepo
2025-09-04 09:30:26 +02:00
Damien Arrachequesne
3be6481d9d
ci: pin Node.js 22 version
...
Related: https://github.com/nodejs/node/issues/59364
2025-08-09 09:31:12 +02:00
Damien Arrachequesne
4865f2e62e
fix(eio-client): prevent infinite loop with Node.js built-in WebSocket
...
Related: https://github.com/socketio/socket.io/issues/5194
2024-10-22 00:49:25 +02:00
Damien Arrachequesne
d4b3ddedff
ci: use Node.js 22
...
Reference: https://github.com/nodejs/Release
2024-10-21 23:30:11 +02:00
Damien Arrachequesne
175a2c58c1
fix(eio-client/types): remove ws type from .d.ts file
...
Before this change, the following error would be thrown when compiling
with TypeScript:
```
node_modules/engine.io-client/build/esm/transports/websocket.node.d.ts:12:101 - error TS1340: Module 'ws' does not refer to a type, but is used as a type here. Did you mean 'typeof import('ws')'?
12 createSocket(uri: string, protocols: string | string[] | undefined, opts: Record<string, any>): import("ws");
~~~~~~~~~~~~
```
This behavior was introduced in [1], included in version `6.6.0`.
The return type is forced as `any`, so that the `@types/ws` dependency
is optional.
[1]: f4d898ee96
Related: https://github.com/socketio/socket.io/issues/5202
2024-10-19 07:09:19 +02:00
Damien Arrachequesne
a5d2368512
ci: ignore tests when publishing to npm (bis)
...
`tags-ignore` seems to disable the workflow in all cases.
2024-10-09 18:56:59 +02:00
Damien Arrachequesne
d4cb375856
ci: ignore tests when publishing to npm
2024-09-21 09:27:42 +02:00
Damien Arrachequesne
04c8dd979c
fix(sio-client): close the engine upon decoding exception
...
Related: https://github.com/socketio/socket.io/issues/5128
2024-09-18 07:52:37 +02:00
Damien Arrachequesne
fcbecd4f46
ci: restore package-specific tests
2024-09-17 15:07:23 +02:00
Damien Arrachequesne
02d59a0e99
chore: re-enable publish workflow
...
This reverts commit 7160eb7eb0 .
[skip ci]
2024-09-16 09:11:35 +02:00
Damien Arrachequesne
7160eb7eb0
chore: temporarily disable publish workflow
...
In order to import tags from other repositories.
[skip ci]
2024-09-16 08:56:07 +02:00
Damien Arrachequesne
1f09a3e979
ci(publish): compile all packages before publishing
...
As some packages depend on the types of others.
[skip ci]
2024-07-18 10:07:47 +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
b00124b65a
feat: implement cluster-friendly engine
2024-07-17 09:27:12 +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
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
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
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
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
b25e728da0
docs: update TypeScript example
2024-04-26 07:45:48 +02:00
Damien Arrachequesne
be2da4e4dc
docs: add example with Nuxt
2024-03-29 10:00:23 +01:00
Damien Arrachequesne
61f444956b
docs: add example with Next.js (with app router)
2024-03-27 11:02:03 +01:00
Damien Arrachequesne
b0568b20c1
docs: add example with Next.js (with pages router)
2024-03-25 18:05:22 +01:00
Damien Arrachequesne
748e18c22e
ci: test with older TypeScript version
...
Related: https://github.com/socketio/socket.io/issues/3891
2024-02-22 10:12:18 +01:00
Damien Arrachequesne
54dabe5bff
ci: upgrade to actions/checkout@4 and actions/setup-node@4
...
Reference: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
2024-02-12 18:16:10 +01:00
Damien Arrachequesne
efb5c21e85
docs(examples): add Vue client with CRUD example
2023-11-22 10:12:17 +01:00
Damien Arrachequesne
3848280125
docs(examples): upgrade basic-crud-application to Angular v17
...
Related: https://github.com/socketio/socket.io/issues/4875
2023-11-21 14:15:50 +01:00
Maxime Kjaer
1cdf36bfea
test: build examples in the CI ( #3856 )
2023-10-10 20:02:52 +02:00
Damien Arrachequesne
2dd5fa9dd4
ci: add Node.js 20 in the test matrix
...
Reference: https://github.com/nodejs/Release
2023-06-22 07:55:32 +02:00
Damien Arrachequesne
a250e283da
chore: bump engine.io to version 6.5.0
...
Diff: https://github.com/socketio/engine.io/compare/6.4.2...6.5.0
Release notes: https://github.com/socketio/engine.io/releases/tag/6.5.0
2023-06-20 09:17:10 +02:00
Damien Arrachequesne
596eb88af7
ci: upgrade to actions/checkout@3 and actions/setup-node@3
...
Reference: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
2022-10-13 14:50:09 +02:00
Alex
28038715cb
ci: add explicit permissions to workflow ( #4466 )
...
Reference: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
2022-09-02 23:10:19 +01:00
Damien Arrachequesne
37b6d8fff0
chore: update default label for bug reports
2022-01-10 08:55:56 +01:00
Daniele TDC
b833f918c8
ci: update to node 16 ( #3990 )
...
See also: https://github.com/nodejs/Release#release-schedule
2021-06-28 09:09:44 +02:00
Daniele TDC
24d8d1f67f
ci: update setup-node step ( #3986 )
2021-06-24 14:53:46 +02:00
Damien Arrachequesne
f2e3d162ab
Initial commit
2021-06-14 07:59:12 +02:00
JPSO
10aafbbc16
ci: add Node.js 15 ( #3765 )
2021-01-20 22:34:51 +01:00
Damien Arrachequesne
f773b4889c
chore: update GitHub issue templates
2020-12-30 11:34:30 +01:00
Damien Arrachequesne
1fba399b17
ci: migrate to GitHub Actions
...
Due to the recent changes to the Travis CI platform (see [1]), we will
now use GitHub Actions to run the tests.
Reference: https://docs.github.com/en/free-pro-team@latest/actions/guides/building-and-testing-nodejs
[1]: https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing
2020-12-07 11:37:03 +01:00
Pablo Tejada
28c7cc0856
style(issue-template): fix typo ( #3700 )
...
[skip ci]
2020-11-25 11:09:17 +01:00
Damien Arrachequesne
2dbec77a38
[chore] Update issue template
2018-08-21 13:21:14 +02:00
Damien Arrachequesne
01b262fbe0
[chore] Update issue template with fiddle ( #2811 )
2017-01-10 10:16:27 +01:00
Damien Arrachequesne
8182ecc61c
[chore] Add Github issue and PR templates ( #2733 )
2016-10-22 09:19:08 +02:00