mirror of
https://github.com/socketio/socket.io.git
synced 2026-01-10 07:28:06 -05:00
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.
This commit is contained in:
15
package.json
Normal file
15
package.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"private": true,
|
||||
"workspaces": [
|
||||
"packages/socket.io-parser",
|
||||
"packages/socket.io-client",
|
||||
"packages/socket.io"
|
||||
],
|
||||
"overrides": {
|
||||
"@types/estree": "0.0.52",
|
||||
"@types/lodash": "4.14.189"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "18.15.3"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user