ag-grid-url-sync 0.3.0 → 0.4.1
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/README.md +93 -1
- package/dist/core/ag-grid-url-sync.js +1 -53
- package/dist/core/ag-grid-url-sync.js.map +1 -1
- package/dist/core/grid-integration.js +5 -67
- package/dist/core/grid-integration.js.map +1 -1
- package/dist/core/index.js +0 -5
- package/dist/core/index.js.map +1 -1
- package/dist/core/serialization/formats.js +2 -21
- package/dist/core/serialization/formats.js.map +1 -1
- package/dist/core/serialization/grouped.js +0 -47
- package/dist/core/serialization/grouped.js.map +1 -1
- package/dist/core/serialization/index.js +0 -4
- package/dist/core/serialization/index.js.map +1 -1
- package/dist/core/types.d.ts +4 -4
- package/dist/core/types.js +0 -118
- package/dist/core/types.js.map +1 -1
- package/dist/core/url-generator.js +2 -48
- package/dist/core/url-generator.js.map +1 -1
- package/dist/core/url-parser.js +1 -57
- package/dist/core/url-parser.js.map +1 -1
- package/dist/core/validation.d.ts +4 -4
- package/dist/core/validation.js +1 -78
- package/dist/core/validation.js.map +1 -1
- package/dist/core/view-storage.d.ts +63 -0
- package/dist/core/view-storage.js +112 -0
- package/dist/core/view-storage.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +0 -6
- package/dist/index.js.map +1 -1
- package/dist/react/index.d.ts +1 -0
- package/dist/react/types.d.ts +96 -0
- package/dist/react/use-ag-grid-url-sync.js +408 -41
- package/dist/react/use-ag-grid-url-sync.js.map +1 -1
- package/package.json +85 -30
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ag-grid-url-sync",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "AG Grid URL Sync - Synchronize AG Grid text filters with URL parameters",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -36,6 +36,11 @@
|
|
|
36
36
|
"import": "./dist/core/grid-integration.js",
|
|
37
37
|
"require": "./dist/core/grid-integration.js"
|
|
38
38
|
},
|
|
39
|
+
"./view-storage": {
|
|
40
|
+
"types": "./dist/core/view-storage.d.ts",
|
|
41
|
+
"import": "./dist/core/view-storage.js",
|
|
42
|
+
"require": "./dist/core/view-storage.js"
|
|
43
|
+
},
|
|
39
44
|
"./types": {
|
|
40
45
|
"types": "./dist/core/types.d.ts",
|
|
41
46
|
"import": "./dist/core/types.js",
|
|
@@ -72,6 +77,9 @@
|
|
|
72
77
|
"grid-integration": [
|
|
73
78
|
"dist/core/grid-integration.d.ts"
|
|
74
79
|
],
|
|
80
|
+
"view-storage": [
|
|
81
|
+
"dist/core/view-storage.d.ts"
|
|
82
|
+
],
|
|
75
83
|
"types": [
|
|
76
84
|
"dist/core/types.d.ts"
|
|
77
85
|
],
|
|
@@ -90,10 +98,10 @@
|
|
|
90
98
|
"test:watch": "vitest",
|
|
91
99
|
"test:coverage": "vitest run --coverage",
|
|
92
100
|
"clean": "rimraf dist",
|
|
93
|
-
"compile": "tsc",
|
|
101
|
+
"compile": "tsc --removeComments && tsc --emitDeclarationOnly",
|
|
94
102
|
"build": "npm run clean && npm run compile && npm run validate",
|
|
95
103
|
"validate": "npm run size-check && npm run type-check",
|
|
96
|
-
"size-check": "
|
|
104
|
+
"size-check": "size-limit",
|
|
97
105
|
"type-check": "tsc --noEmit --strict",
|
|
98
106
|
"ci": "npm run build && npm run check-exports && npm run lint && npm run test",
|
|
99
107
|
"check-exports": "attw --pack . --ignore-rules=cjs-resolves-to-esm",
|
|
@@ -101,7 +109,7 @@
|
|
|
101
109
|
},
|
|
102
110
|
"repository": {
|
|
103
111
|
"type": "git",
|
|
104
|
-
"url": "git+https://github.com/nearform/ag-grid-url-
|
|
112
|
+
"url": "git+https://github.com/nearform/ag-grid-url-sync.git"
|
|
105
113
|
},
|
|
106
114
|
"keywords": [
|
|
107
115
|
"ag-grid",
|
|
@@ -116,35 +124,39 @@
|
|
|
116
124
|
"author": "NearForm",
|
|
117
125
|
"license": "MIT",
|
|
118
126
|
"bugs": {
|
|
119
|
-
"url": "https://github.com/nearform/ag-grid-url-
|
|
127
|
+
"url": "https://github.com/nearform/ag-grid-url-sync/issues"
|
|
120
128
|
},
|
|
121
129
|
"files": [
|
|
122
130
|
"dist"
|
|
123
131
|
],
|
|
124
|
-
"homepage": "https://github.com/nearform/ag-grid-url-
|
|
132
|
+
"homepage": "https://github.com/nearform/ag-grid-url-sync#readme",
|
|
125
133
|
"devDependencies": {
|
|
126
134
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
127
|
-
"@commitlint/cli": "^
|
|
128
|
-
"@commitlint/config-conventional": "^
|
|
129
|
-
"@eslint/js": "^
|
|
135
|
+
"@commitlint/cli": "^21.2.2",
|
|
136
|
+
"@commitlint/config-conventional": "^21.2.2",
|
|
137
|
+
"@eslint/js": "^10.0.1",
|
|
138
|
+
"@size-limit/esbuild": "^14.0.0",
|
|
139
|
+
"@size-limit/file": "^14.0.0",
|
|
130
140
|
"@testing-library/react": "^16.3.0",
|
|
131
|
-
"@types/jsdom": "^
|
|
132
|
-
"@types/
|
|
133
|
-
"@
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
"eslint": "^9.
|
|
141
|
+
"@types/jsdom": "^30.0.0",
|
|
142
|
+
"@types/node": "^26.4.0",
|
|
143
|
+
"@types/react": "^19.2.1",
|
|
144
|
+
"@vitest/coverage-v8": "^5.0.1",
|
|
145
|
+
"ag-grid-community": "^36.1.0",
|
|
146
|
+
"eslint": "^10.9.0",
|
|
137
147
|
"eslint-config-prettier": "^10.1.5",
|
|
138
148
|
"eslint-plugin-prettier": "^5.5.0",
|
|
139
|
-
"globals": "^
|
|
149
|
+
"globals": "^17.11.0",
|
|
140
150
|
"husky": "^9.1.7",
|
|
141
|
-
"jsdom": "^
|
|
142
|
-
"lint-staged": "^
|
|
151
|
+
"jsdom": "^30.0.1",
|
|
152
|
+
"lint-staged": "^17.4.1",
|
|
143
153
|
"prettier": "^3.6.0",
|
|
144
|
-
"react": "^
|
|
154
|
+
"react": "^19.2.0",
|
|
155
|
+
"react-dom": "^19.2.0",
|
|
145
156
|
"rimraf": "^6.0.1",
|
|
146
|
-
"
|
|
147
|
-
"
|
|
157
|
+
"size-limit": "^14.0.0",
|
|
158
|
+
"typescript": "^7.0.2",
|
|
159
|
+
"vitest": "^5.0.1"
|
|
148
160
|
},
|
|
149
161
|
"peerDependencies": {
|
|
150
162
|
"ag-grid-community": ">=28.0.0",
|
|
@@ -158,34 +170,77 @@
|
|
|
158
170
|
"lint-staged": {
|
|
159
171
|
"*.{js,jsx,ts,tsx}": "eslint --cache --fix"
|
|
160
172
|
},
|
|
161
|
-
"
|
|
173
|
+
"size-limit": [
|
|
162
174
|
{
|
|
175
|
+
"name": "dist/index.js (bundled)",
|
|
163
176
|
"path": "./dist/index.js",
|
|
164
|
-
"
|
|
177
|
+
"limit": "5 KiB",
|
|
178
|
+
"gzip": true
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "dist/react/index.js (bundled, react external)",
|
|
182
|
+
"path": "./dist/react/index.js",
|
|
183
|
+
"limit": "8 KiB",
|
|
184
|
+
"gzip": true,
|
|
185
|
+
"ignore": [
|
|
186
|
+
"react"
|
|
187
|
+
]
|
|
165
188
|
},
|
|
166
189
|
{
|
|
167
190
|
"path": "./dist/core/ag-grid-url-sync.js",
|
|
168
|
-
"
|
|
191
|
+
"limit": "4 KiB",
|
|
192
|
+
"gzip": true,
|
|
193
|
+
"disablePlugins": [
|
|
194
|
+
"@size-limit/esbuild"
|
|
195
|
+
]
|
|
169
196
|
},
|
|
170
197
|
{
|
|
171
198
|
"path": "./dist/core/validation.js",
|
|
172
|
-
"
|
|
199
|
+
"limit": "2.5 KiB",
|
|
200
|
+
"gzip": true,
|
|
201
|
+
"disablePlugins": [
|
|
202
|
+
"@size-limit/esbuild"
|
|
203
|
+
]
|
|
173
204
|
},
|
|
174
205
|
{
|
|
175
206
|
"path": "./dist/core/url-parser.js",
|
|
176
|
-
"
|
|
207
|
+
"limit": "3 KiB",
|
|
208
|
+
"gzip": true,
|
|
209
|
+
"disablePlugins": [
|
|
210
|
+
"@size-limit/esbuild"
|
|
211
|
+
]
|
|
177
212
|
},
|
|
178
213
|
{
|
|
179
214
|
"path": "./dist/core/url-generator.js",
|
|
180
|
-
"
|
|
215
|
+
"limit": "2 KiB",
|
|
216
|
+
"gzip": true,
|
|
217
|
+
"disablePlugins": [
|
|
218
|
+
"@size-limit/esbuild"
|
|
219
|
+
]
|
|
181
220
|
},
|
|
182
221
|
{
|
|
183
222
|
"path": "./dist/core/grid-integration.js",
|
|
184
|
-
"
|
|
223
|
+
"limit": "3 KiB",
|
|
224
|
+
"gzip": true,
|
|
225
|
+
"disablePlugins": [
|
|
226
|
+
"@size-limit/esbuild"
|
|
227
|
+
]
|
|
185
228
|
},
|
|
186
229
|
{
|
|
187
|
-
"path": "./dist/
|
|
188
|
-
"
|
|
230
|
+
"path": "./dist/core/view-storage.js",
|
|
231
|
+
"limit": "1.5 KiB",
|
|
232
|
+
"gzip": true,
|
|
233
|
+
"disablePlugins": [
|
|
234
|
+
"@size-limit/esbuild"
|
|
235
|
+
]
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"path": "./dist/react/use-ag-grid-url-sync.js",
|
|
239
|
+
"limit": "4 KiB",
|
|
240
|
+
"gzip": true,
|
|
241
|
+
"disablePlugins": [
|
|
242
|
+
"@size-limit/esbuild"
|
|
243
|
+
]
|
|
189
244
|
}
|
|
190
245
|
]
|
|
191
246
|
}
|