durablews 2.0.0-alpha.1 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +37 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "durablews",
|
|
3
|
-
"version": "2.0.0
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "A resilient, TypeScript-based WebSocket client",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -104,6 +104,7 @@
|
|
|
104
104
|
"devDependencies": {
|
|
105
105
|
"@arethetypeswrong/cli": "^0.18.3",
|
|
106
106
|
"@playwright/test": "^1.60.0",
|
|
107
|
+
"@size-limit/preset-small-lib": "^12.1.0",
|
|
107
108
|
"@testing-library/react": "^16.3.2",
|
|
108
109
|
"@types/node": "^22.19.20",
|
|
109
110
|
"@types/react": "^19.2.17",
|
|
@@ -113,6 +114,7 @@
|
|
|
113
114
|
"publint": "^0.3.21",
|
|
114
115
|
"react": "^19.2.7",
|
|
115
116
|
"react-dom": "^19.2.7",
|
|
117
|
+
"size-limit": "^12.1.0",
|
|
116
118
|
"tsup": "^8.5.1",
|
|
117
119
|
"typescript": "^5.3.3",
|
|
118
120
|
"vitest": "^1.2.2",
|
|
@@ -120,6 +122,38 @@
|
|
|
120
122
|
"vue": "^3.5.35",
|
|
121
123
|
"ws": "^8.21.0"
|
|
122
124
|
},
|
|
125
|
+
"size-limit": [
|
|
126
|
+
{
|
|
127
|
+
"name": "core (durablews)",
|
|
128
|
+
"path": "dist/index.js",
|
|
129
|
+
"limit": "3 KB",
|
|
130
|
+
"brotli": true
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "durablews/vue",
|
|
134
|
+
"path": "dist/vue.js",
|
|
135
|
+
"limit": "3.5 KB",
|
|
136
|
+
"brotli": true,
|
|
137
|
+
"ignore": [
|
|
138
|
+
"vue"
|
|
139
|
+
]
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "durablews/react",
|
|
143
|
+
"path": "dist/react.js",
|
|
144
|
+
"limit": "3.5 KB",
|
|
145
|
+
"brotli": true,
|
|
146
|
+
"ignore": [
|
|
147
|
+
"react"
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"name": "durablews/compat",
|
|
152
|
+
"path": "dist/compat.js",
|
|
153
|
+
"limit": "4 KB",
|
|
154
|
+
"brotli": true
|
|
155
|
+
}
|
|
156
|
+
],
|
|
123
157
|
"scripts": {
|
|
124
158
|
"build": "tsup",
|
|
125
159
|
"test": "vitest",
|
|
@@ -128,6 +162,7 @@
|
|
|
128
162
|
"e2e:install": "playwright install --with-deps chromium",
|
|
129
163
|
"typecheck": "tsc --noEmit",
|
|
130
164
|
"typecheck:next": "pnpm --package=typescript@next dlx tsc --noEmit",
|
|
131
|
-
"check:publish": "publint && attw --pack . --profile node16"
|
|
165
|
+
"check:publish": "publint && attw --pack . --profile node16",
|
|
166
|
+
"size": "size-limit"
|
|
132
167
|
}
|
|
133
168
|
}
|