@zeniai/web-components 4.1.97 → 4.1.99
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 +114 -46
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/web-components",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.99",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -25,6 +25,51 @@
|
|
|
25
25
|
"files": [
|
|
26
26
|
"dist"
|
|
27
27
|
],
|
|
28
|
+
"scripts": {
|
|
29
|
+
"clean": "rimraf build",
|
|
30
|
+
"build-stories": "export NODE_OPTIONS=--max-old-space-size=8192 && tsc --noEmit",
|
|
31
|
+
"test": "export NODE_OPTIONS=--max-old-space-size=8192 && pnpm lint-modified-files && tsc --noEmit && bash ./scripts/test-storybook-watch.sh",
|
|
32
|
+
"test-all": "export NODE_OPTIONS=--max-old-space-size=8192 && tsc --noEmit && test-storybook --updateSnapshot --maxWorkers 2 --testTimeout 30000",
|
|
33
|
+
"test-modified-files": "export NODE_OPTIONS=--max-old-space-size=8192 && chmod +x ./scripts/track_modified_files.sh && ./scripts/track_modified_files.sh && pnpm test && pnpm format-watch",
|
|
34
|
+
"storybook": "export NODE_OPTIONS=--max-old-space-size=8192 && storybook dev -p 6006",
|
|
35
|
+
"build-storybook": "export NODE_OPTIONS=--max-old-space-size=8192 && storybook build",
|
|
36
|
+
"circular-dependency": "npx madge --circular --extensions ts ./src",
|
|
37
|
+
"lint": "export NODE_OPTIONS=--max-old-space-size=8192 && time eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",
|
|
38
|
+
"lint:fix": "chmod +x ./scripts/fix-lint.sh && ./scripts/fix-lint.sh",
|
|
39
|
+
"lint-modified-files": "chmod +x ./scripts/lint-modified-files.sh && ./scripts/lint-modified-files.sh",
|
|
40
|
+
"lint:fix-modified-files": "chmod +x ./scripts/lint-modified-files.sh && LINT_FIX=true ./scripts/lint-modified-files.sh",
|
|
41
|
+
"tsc-modified-files": "chmod +x ./scripts/tsc-modified-files.sh && ./scripts/tsc-modified-files.sh",
|
|
42
|
+
"data-testid-changes": "chmod +x ./scripts/data-testid-changes.sh && ./scripts/data-testid-changes.sh",
|
|
43
|
+
"typecheck": "tsc --noEmit",
|
|
44
|
+
"typecheck:mocks": "tsc --noEmit -p tsconfig.mocks.json",
|
|
45
|
+
"typecheck:mocks-modified-files": "chmod +x ./scripts/tsc-modified-files.sh && SINCE_DAYS=2 ./scripts/tsc-modified-files.sh master tsconfig.mocks.json",
|
|
46
|
+
"typecheck:stories": "tsc --noEmit -p tsconfig.stories.json",
|
|
47
|
+
"typecheck:stories-modified-files": "chmod +x ./scripts/tsc-modified-files.sh && SINCE_DAYS=2 ./scripts/tsc-modified-files.sh master tsconfig.stories.json",
|
|
48
|
+
"build": "export NODE_OPTIONS=--max-old-space-size=8192 && pnpm lint-modified-files && pnpm tsc-modified-files && vite build",
|
|
49
|
+
"format": "prettier --write --ignore-unknown \"src/**/*\" && pnpm lint",
|
|
50
|
+
"format-watch": "(git diff --name-only --diff-filter=ACM && git ls-files --others --exclude-standard) | grep -E '\\.(ts|tsx|js)$' | xargs prettier --write || true",
|
|
51
|
+
"format-staged": "git diff --cached --name-only --diff-filter=ACM | grep -E '\\.(ts|tsx|js)$' | xargs prettier --write || true",
|
|
52
|
+
"preview": "vite preview",
|
|
53
|
+
"version": "git add -A src",
|
|
54
|
+
"postversion": "git push && git push --tags",
|
|
55
|
+
"chromatic": "npx chromatic --project-token=b0f981300c3c --auto-accept-changes",
|
|
56
|
+
"analyze": "vite-bundle-visualizer -t sunburst",
|
|
57
|
+
"find-dead-code": "ts-prune | grep -v '(used in module)'",
|
|
58
|
+
"find-unused-exports": "ts-unused-exports ./tsconfig.json",
|
|
59
|
+
"check-version": "node ./scripts/check_version.js",
|
|
60
|
+
"bump-update-web-app-cockpit-beta": "chmod +x ./scripts/bump_and_update_web_app_ui_beta.sh && ./scripts/bump_and_update_web_app_ui_beta.sh",
|
|
61
|
+
"publish-beta": "sh -c 'echo \"Publishing with tag: ${betaTag:-beta}\" && pnpm publish --tag ${betaTag:-beta} --no-git-checks'",
|
|
62
|
+
"build-beta": "export NODE_OPTIONS=--max-old-space-size=8192 && tsc && vite build --config vite.dev.config.ts && ([ -f dist/web-components.css ] && mv dist/web-components.css dist/index.css || true)",
|
|
63
|
+
"build-beta-and-copy": "chmod +x ./scripts/build_and_copy.sh && ./scripts/build_and_copy.sh",
|
|
64
|
+
"prepublishOnly": "chmod +x ./scripts/branch_validation.sh && ./scripts/branch_validation.sh && pnpm run check-version && pnpm update-slack-group-topic && pnpm clean && if [ -n \"$betaTag\" ]; then pnpm run build-beta; else pnpm run build; fi",
|
|
65
|
+
"check-dependencies": "node ./scripts/check_dependencies.js",
|
|
66
|
+
"clean-overrides": "node ./scripts/clean_overrides.js",
|
|
67
|
+
"update-slack-group-topic": "chmod +x ./scripts/update_slack_group_topic.sh && ./scripts/update_slack_group_topic.sh",
|
|
68
|
+
"raise-pr-automation": "chmod +x ./scripts/raise_pr_automation.sh && ./scripts/raise_pr_automation.sh",
|
|
69
|
+
"cherry-pick": "chmod +x ./scripts/cherry_pick.sh && ./scripts/cherry_pick.sh",
|
|
70
|
+
"prebuild": "node ./scripts/check-imports.js",
|
|
71
|
+
"prepare": "husky"
|
|
72
|
+
},
|
|
28
73
|
"dependencies": {
|
|
29
74
|
"@babel/runtime": "^7.26.10",
|
|
30
75
|
"@emotion/cache": "^11.13.1",
|
|
@@ -50,7 +95,7 @@
|
|
|
50
95
|
"@stripe/react-stripe-js": "^2.7.3",
|
|
51
96
|
"@stripe/stripe-js": "^4.4.0",
|
|
52
97
|
"@zeniai/client-analytics": "2.0.29",
|
|
53
|
-
"@zeniai/client-epic-state": "5.1.
|
|
98
|
+
"@zeniai/client-epic-state": "5.1.18",
|
|
54
99
|
"autosuggest-highlight": "^3.2.1",
|
|
55
100
|
"browser-image-compression": "^2.0.2",
|
|
56
101
|
"countries-list": "^2.6.1",
|
|
@@ -209,7 +254,7 @@
|
|
|
209
254
|
"@types/react-select": "^4.0.18",
|
|
210
255
|
"@types/react-window": "^1.8.8",
|
|
211
256
|
"@zeniai/client-analytics": "2.0.28",
|
|
212
|
-
"@zeniai/client-epic-state": "5.1.
|
|
257
|
+
"@zeniai/client-epic-state": "5.1.18",
|
|
213
258
|
"color": "^3.1.3",
|
|
214
259
|
"react": "18.3.1",
|
|
215
260
|
"react-dom": "18.3.1",
|
|
@@ -245,47 +290,70 @@
|
|
|
245
290
|
"type": "git",
|
|
246
291
|
"url": "https://github.com/zeni-ai/zeni-web-components.git"
|
|
247
292
|
},
|
|
248
|
-
"
|
|
249
|
-
"
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
"
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
"
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
"
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
293
|
+
"pnpm": {
|
|
294
|
+
"onlyBuiltDependencies": [
|
|
295
|
+
"@swc/core",
|
|
296
|
+
"node-jq"
|
|
297
|
+
],
|
|
298
|
+
"ignoredBuiltDependencies": [
|
|
299
|
+
"canvas",
|
|
300
|
+
"core-js",
|
|
301
|
+
"core-js-pure",
|
|
302
|
+
"esbuild",
|
|
303
|
+
"unrs-resolver"
|
|
304
|
+
],
|
|
305
|
+
"auditConfig": {
|
|
306
|
+
"ignoreGhsas": [
|
|
307
|
+
"GHSA-w5hq-g745-h8pq"
|
|
308
|
+
]
|
|
309
|
+
},
|
|
310
|
+
"overrides": {
|
|
311
|
+
"@babel/plugin-transform-modules-systemjs": ">=7.29.4",
|
|
312
|
+
"@eslint/eslintrc>ajv": ">=6.14.0 <7",
|
|
313
|
+
"@eslint/plugin-kit": ">=0.3.4",
|
|
314
|
+
"@tootallnate/once": ">=3.0.1",
|
|
315
|
+
"ajv": ">=8.18.0",
|
|
316
|
+
"ajv-keywords": ">=5.1.0",
|
|
317
|
+
"axios": ">=1.15.2",
|
|
318
|
+
"bfj": "9.1.3",
|
|
319
|
+
"brace-expansion": ">=5.0.5",
|
|
320
|
+
"cosmiconfig>yaml": ">=1.10.3 <2",
|
|
321
|
+
"d3-color": ">=3.1.0",
|
|
322
|
+
"decode-uri-component": ">=0.2.1",
|
|
323
|
+
"esbuild": ">=0.25.0",
|
|
324
|
+
"eslint>ajv": ">=6.14.0 <7",
|
|
325
|
+
"fast-uri": ">=3.1.2",
|
|
326
|
+
"flatted": ">=3.4.2",
|
|
327
|
+
"follow-redirects": ">=1.16.0",
|
|
328
|
+
"form-data": ">=4.0.4",
|
|
329
|
+
"glob": "^11.1.0",
|
|
330
|
+
"immutable": ">=4.3.8 <5",
|
|
331
|
+
"js-yaml": ">=4.1.1",
|
|
332
|
+
"lodash": ">=4.18.1 <5",
|
|
333
|
+
"mdast-util-to-hast": ">=13.2.1",
|
|
334
|
+
"minimatch": ">=10.2.3",
|
|
335
|
+
"mux-embed": "5.15.0",
|
|
336
|
+
"node-forge": ">=1.4.0",
|
|
337
|
+
"npm-check": ">=2.0.1",
|
|
338
|
+
"nth-check": ">=2.0.1",
|
|
339
|
+
"nyc>glob": "7.2.3",
|
|
340
|
+
"on-headers": ">=1.1.0",
|
|
341
|
+
"path-to-regexp": "0.1.13",
|
|
342
|
+
"picomatch": ">=4.0.4",
|
|
343
|
+
"postcss": ">=8.5.10",
|
|
344
|
+
"prismjs": ">=1.30.0",
|
|
345
|
+
"qs": ">=6.15.2",
|
|
346
|
+
"rollup": ">=4.59.0",
|
|
347
|
+
"serialize-javascript": ">=7.0.5",
|
|
348
|
+
"svgo": ">=2.8.1",
|
|
349
|
+
"tar": ">=7.5.11",
|
|
350
|
+
"tar-fs": ">=3.1.1",
|
|
351
|
+
"test-exclude>glob": "7.2.3",
|
|
352
|
+
"tmp": ">=0.2.6",
|
|
353
|
+
"uuid": "^11.1.1",
|
|
354
|
+
"webpack": ">=5.104.1",
|
|
355
|
+
"webpack-dev-server": ">=5.2.1",
|
|
356
|
+
"yaml": ">=2.8.3"
|
|
357
|
+
}
|
|
290
358
|
}
|
|
291
|
-
}
|
|
359
|
+
}
|