@zeniai/web-components 4.3.45-betaAK1 → 4.3.46
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/dist/{SessionTimeoutPopup-DLDUYNhX.cjs → SessionTimeoutPopup-BeLMqudJ.cjs} +15882 -15864
- package/dist/{SessionTimeoutPopup-DhBK6mDj.js → SessionTimeoutPopup-CDejuWHR.js} +78585 -78383
- package/dist/appLocale.d.ts +1 -132
- package/dist/cockpit.cjs.js +1 -1
- package/dist/cockpit.esm.js +2 -2
- package/dist/components/aiCfo/components/AiCfoComposerHintBar.d.ts +5 -3
- package/dist/components/aiCfo/getLatestCapabilityPromo.d.ts +5 -0
- package/dist/components/expenseAutomation/sections/accountRecon/StatementParseInfo.d.ts +11 -1
- package/dist/components/invoicing/customerForm/InvoicingCustomerFormPage.d.ts +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/strings/strings.d.ts +1 -132
- package/package.json +48 -124
|
@@ -8898,6 +8898,7 @@ export declare const zeniStrings: {
|
|
|
8898
8898
|
closingBalanceMismatchConfirmation: {
|
|
8899
8899
|
heading: string;
|
|
8900
8900
|
descriptionBeforeStatementAmount: string;
|
|
8901
|
+
forAccountDescriptionBeforeStatementAmount: string;
|
|
8901
8902
|
descriptionBetweenAmounts: string;
|
|
8902
8903
|
reviewHint: string;
|
|
8903
8904
|
reviewTransactions: string;
|
|
@@ -9522,58 +9523,6 @@ export declare const zeniStrings: {
|
|
|
9522
9523
|
trial: string;
|
|
9523
9524
|
amount: string;
|
|
9524
9525
|
all: string;
|
|
9525
|
-
active: string;
|
|
9526
|
-
address: string;
|
|
9527
|
-
available: string;
|
|
9528
|
-
billingAddress: string;
|
|
9529
|
-
billingCycles: string;
|
|
9530
|
-
card: string;
|
|
9531
|
-
clearAll: string;
|
|
9532
|
-
commaSpace: string;
|
|
9533
|
-
company: string;
|
|
9534
|
-
country: string;
|
|
9535
|
-
createdAt: string;
|
|
9536
|
-
currency: string;
|
|
9537
|
-
currencyUsd: string;
|
|
9538
|
-
customer: string;
|
|
9539
|
-
date: string;
|
|
9540
|
-
discount: string;
|
|
9541
|
-
dollarPrefix: string;
|
|
9542
|
-
dueDate: string;
|
|
9543
|
-
dunning: string;
|
|
9544
|
-
email: string;
|
|
9545
|
-
firstNameLabel: string;
|
|
9546
|
-
invoice: string;
|
|
9547
|
-
lastNameLabel: string;
|
|
9548
|
-
middleDotSeparator: string;
|
|
9549
|
-
mrr: string;
|
|
9550
|
-
nextBilling: string;
|
|
9551
|
-
notSet: string;
|
|
9552
|
-
notes: string;
|
|
9553
|
-
paymentMethod: string;
|
|
9554
|
-
payments: string;
|
|
9555
|
-
period: string;
|
|
9556
|
-
phoneLabel: string;
|
|
9557
|
-
plan: string;
|
|
9558
|
-
qty: string;
|
|
9559
|
-
reason: string;
|
|
9560
|
-
saveChanges: string;
|
|
9561
|
-
selectPlan: string;
|
|
9562
|
-
status: string;
|
|
9563
|
-
tax: string;
|
|
9564
|
-
taxable: string;
|
|
9565
|
-
total: string;
|
|
9566
|
-
transaction: string;
|
|
9567
|
-
transactionId: string;
|
|
9568
|
-
type: string;
|
|
9569
|
-
amountDue2: string;
|
|
9570
|
-
invoiceDate: string;
|
|
9571
|
-
issueCreditNote: string;
|
|
9572
|
-
lineItems: string;
|
|
9573
|
-
refund: string;
|
|
9574
|
-
selectDatePlaceholder: string;
|
|
9575
|
-
subscription: string;
|
|
9576
|
-
subscriptions: string;
|
|
9577
9526
|
};
|
|
9578
9527
|
invoicingAuditLog: {
|
|
9579
9528
|
timeColumnHeader: string;
|
|
@@ -9625,11 +9574,6 @@ export declare const zeniStrings: {
|
|
|
9625
9574
|
archiveSubFamilyBlocked: string;
|
|
9626
9575
|
duplicateSubFamily: string;
|
|
9627
9576
|
subscriptionsUseSubFamilyBanner: string;
|
|
9628
|
-
createSubFamily: string;
|
|
9629
|
-
externalId: string;
|
|
9630
|
-
internalDescription: string;
|
|
9631
|
-
showDescriptionInInvoices: string;
|
|
9632
|
-
subscriptionCount: string;
|
|
9633
9577
|
};
|
|
9634
9578
|
invoicingCatalogForm: {
|
|
9635
9579
|
typeOneTimeCharge: string;
|
|
@@ -9698,12 +9642,6 @@ export declare const zeniStrings: {
|
|
|
9698
9642
|
placeholderAddSku: string;
|
|
9699
9643
|
placeholderAddAccountingCode: string;
|
|
9700
9644
|
placeholderSelectIncomeAccount: string;
|
|
9701
|
-
labelAccountName: string;
|
|
9702
|
-
placeholderAddDescription: string;
|
|
9703
|
-
placeholderSelectQboClass: string;
|
|
9704
|
-
tierColumnPrice: string;
|
|
9705
|
-
labelClass: string;
|
|
9706
|
-
tierColumnFrom: string;
|
|
9707
9645
|
};
|
|
9708
9646
|
invoicingCouponForm: {
|
|
9709
9647
|
enterCouponIdError: string;
|
|
@@ -9720,7 +9658,6 @@ export declare const zeniStrings: {
|
|
|
9720
9658
|
periodPlaceholder: string;
|
|
9721
9659
|
periodUnitLabel: string;
|
|
9722
9660
|
maxRedemptionsPlaceholder: string;
|
|
9723
|
-
selectPlaceholder: string;
|
|
9724
9661
|
};
|
|
9725
9662
|
invoicingCreateInvoice: {
|
|
9726
9663
|
selectPaymentTerm: string;
|
|
@@ -9768,13 +9705,6 @@ export declare const zeniStrings: {
|
|
|
9768
9705
|
removeLine: string;
|
|
9769
9706
|
addLine: string;
|
|
9770
9707
|
unitPriceInDollars: string;
|
|
9771
|
-
addDescription: string;
|
|
9772
|
-
addMemo: string;
|
|
9773
|
-
dueDate: string;
|
|
9774
|
-
invoiceNumber: string;
|
|
9775
|
-
memo: string;
|
|
9776
|
-
selectDueDate: string;
|
|
9777
|
-
totalLabel: string;
|
|
9778
9708
|
};
|
|
9779
9709
|
invoicingCreditDetail: {
|
|
9780
9710
|
allocatedAt: string;
|
|
@@ -9869,16 +9799,6 @@ export declare const zeniStrings: {
|
|
|
9869
9799
|
recentInvoices: string;
|
|
9870
9800
|
noInvoices: string;
|
|
9871
9801
|
addNoteAboutCustomer: string;
|
|
9872
|
-
ach: string;
|
|
9873
|
-
collectFrom: string;
|
|
9874
|
-
companyDetails: string;
|
|
9875
|
-
netTerms15: string;
|
|
9876
|
-
netTerms30: string;
|
|
9877
|
-
netTerms45: string;
|
|
9878
|
-
netTerms60: string;
|
|
9879
|
-
previewEmailLink: string;
|
|
9880
|
-
sendEmail: string;
|
|
9881
|
-
createPromotionalCredits: string;
|
|
9882
9802
|
};
|
|
9883
9803
|
invoicingCustomerForm: {
|
|
9884
9804
|
validationEnterCompanyNameOrEmail: string;
|
|
@@ -9893,11 +9813,6 @@ export declare const zeniStrings: {
|
|
|
9893
9813
|
customerTypeResidential: string;
|
|
9894
9814
|
netTermImmediate: string;
|
|
9895
9815
|
taxabilityExempt: string;
|
|
9896
|
-
addCompanyBillingAddressTitle: string;
|
|
9897
|
-
companyNameLabel: string;
|
|
9898
|
-
editCustomerTitle: string;
|
|
9899
|
-
newCustomerTitle: string;
|
|
9900
|
-
selectTypePlaceholder: string;
|
|
9901
9816
|
};
|
|
9902
9817
|
invoicingCustomerList: {
|
|
9903
9818
|
noCustomersMatchSearch: string;
|
|
@@ -10082,12 +9997,6 @@ export declare const zeniStrings: {
|
|
|
10082
9997
|
noDunningAttempts: string;
|
|
10083
9998
|
retryAttemptPrefix: string;
|
|
10084
9999
|
failedSuffix: string;
|
|
10085
|
-
cancelCase: string;
|
|
10086
|
-
failureReason: string;
|
|
10087
|
-
resolveCase: string;
|
|
10088
|
-
resumeDunning: string;
|
|
10089
|
-
retryNow: string;
|
|
10090
|
-
sendEmail: string;
|
|
10091
10000
|
};
|
|
10092
10001
|
invoicingDunningList: {
|
|
10093
10002
|
activeCases: string;
|
|
@@ -10132,13 +10041,6 @@ export declare const zeniStrings: {
|
|
|
10132
10041
|
noDunningAttempts: string;
|
|
10133
10042
|
additionalDetails: string;
|
|
10134
10043
|
note: string;
|
|
10135
|
-
discard: string;
|
|
10136
|
-
invoiceSummary: string;
|
|
10137
|
-
regenerate: string;
|
|
10138
|
-
sendReminder: string;
|
|
10139
|
-
unitAmount: string;
|
|
10140
|
-
voidInvoice: string;
|
|
10141
|
-
issueCreditNote: string;
|
|
10142
10044
|
};
|
|
10143
10045
|
invoicingInvoiceList: {
|
|
10144
10046
|
totalInvoicedKpiLabel: string;
|
|
@@ -10221,9 +10123,6 @@ export declare const zeniStrings: {
|
|
|
10221
10123
|
placeholderAddInvoiceToLink: string;
|
|
10222
10124
|
labelComment: string;
|
|
10223
10125
|
placeholderCommentInternalNote: string;
|
|
10224
|
-
amountDueLabel: string;
|
|
10225
|
-
invoiceContextTitle: string;
|
|
10226
|
-
sectionPaymentDetails: string;
|
|
10227
10126
|
};
|
|
10228
10127
|
invoicingIssueCreditNote: {
|
|
10229
10128
|
validationSelectLineItem: string;
|
|
@@ -10241,12 +10140,6 @@ export declare const zeniStrings: {
|
|
|
10241
10140
|
reasonDuplicateCharge: string;
|
|
10242
10141
|
reasonPricingCorrection: string;
|
|
10243
10142
|
reasonGoodwill: string;
|
|
10244
|
-
columnDescription: string;
|
|
10245
|
-
columnQuantity: string;
|
|
10246
|
-
columnUnitAmount: string;
|
|
10247
|
-
labelAmountDue: string;
|
|
10248
|
-
sectionInvoiceSummary: string;
|
|
10249
|
-
placeholderSelectType: string;
|
|
10250
10143
|
};
|
|
10251
10144
|
invoicingOnboarding: {
|
|
10252
10145
|
promoText: string;
|
|
@@ -10397,16 +10290,6 @@ export declare const zeniStrings: {
|
|
|
10397
10290
|
qboFailedTasksTitle: string;
|
|
10398
10291
|
qboFailedTaskAttemptsLabel: string;
|
|
10399
10292
|
qboSaveButtonLabel: string;
|
|
10400
|
-
accountCountryLabel: string;
|
|
10401
|
-
businessDetailsTitle: string;
|
|
10402
|
-
connectedCapsuleLabel: string;
|
|
10403
|
-
invoiceBrandingTabLabel: string;
|
|
10404
|
-
middot: string;
|
|
10405
|
-
qboAccountSelectPlaceholder: string;
|
|
10406
|
-
qboNotConnectedCompanyFallback: string;
|
|
10407
|
-
qboRealmIdLabel: string;
|
|
10408
|
-
dateFormatPlaceholder: string;
|
|
10409
|
-
paymentDestinationHeading: string;
|
|
10410
10293
|
};
|
|
10411
10294
|
invoicingSubscriptionDetail: {
|
|
10412
10295
|
changeTermEndTitle: string;
|
|
@@ -10457,16 +10340,6 @@ export declare const zeniStrings: {
|
|
|
10457
10340
|
renew: string;
|
|
10458
10341
|
cancelBeforeNoticePeriod: string;
|
|
10459
10342
|
totalContractValue: string;
|
|
10460
|
-
cancelSubscriptionConfirm: string;
|
|
10461
|
-
cancelSubscriptionTitle: string;
|
|
10462
|
-
createdDate: string;
|
|
10463
|
-
lifecycle: string;
|
|
10464
|
-
nDays: string;
|
|
10465
|
-
nDays2: string;
|
|
10466
|
-
productName: string;
|
|
10467
|
-
termEnd: string;
|
|
10468
|
-
pauseSubscriptionConfirm: string;
|
|
10469
|
-
pauseSubscriptionTitle: string;
|
|
10470
10343
|
};
|
|
10471
10344
|
invoicingSubscriptionForm: {
|
|
10472
10345
|
billingFrequencyHalfYearly: string;
|
|
@@ -10493,10 +10366,6 @@ export declare const zeniStrings: {
|
|
|
10493
10366
|
shippingAddressDescription: string;
|
|
10494
10367
|
shipCountryLabel: string;
|
|
10495
10368
|
shipZipLabel: string;
|
|
10496
|
-
billingCyclesLabel: string;
|
|
10497
|
-
selectCustomerPlaceholder: string;
|
|
10498
|
-
startDateLabel: string;
|
|
10499
|
-
planQuantityPlaceholder: string;
|
|
10500
10369
|
};
|
|
10501
10370
|
invoicingSubscriptionList: {
|
|
10502
10371
|
perPrefix: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/web-components",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.46",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -25,51 +25,6 @@
|
|
|
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
|
-
"circular-dependency-modified-files": "chmod +x ./scripts/circular-dependency-modified-files.sh && ./scripts/circular-dependency-modified-files.sh",
|
|
38
|
-
"lint": "export NODE_OPTIONS=--max-old-space-size=8192 && time eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",
|
|
39
|
-
"lint:fix": "chmod +x ./scripts/fix-lint.sh && ./scripts/fix-lint.sh",
|
|
40
|
-
"lint-modified-files": "chmod +x ./scripts/lint-modified-files.sh && ./scripts/lint-modified-files.sh",
|
|
41
|
-
"lint:fix-modified-files": "chmod +x ./scripts/lint-modified-files.sh && LINT_FIX=true ./scripts/lint-modified-files.sh",
|
|
42
|
-
"tsc-modified-files": "chmod +x ./scripts/tsc-modified-files.sh && ./scripts/tsc-modified-files.sh",
|
|
43
|
-
"data-testid-changes": "chmod +x ./scripts/data-testid-changes.sh && ./scripts/data-testid-changes.sh",
|
|
44
|
-
"typecheck": "export NODE_OPTIONS=--max-old-space-size=8192 && tsc --noEmit",
|
|
45
|
-
"typecheck:mocks": "export NODE_OPTIONS=--max-old-space-size=8192 && tsc --noEmit -p tsconfig.mocks.json",
|
|
46
|
-
"typecheck:mocks-modified-files": "chmod +x ./scripts/tsc-modified-files.sh && SINCE_DAYS=30 ./scripts/tsc-modified-files.sh master tsconfig.mocks.json",
|
|
47
|
-
"typecheck:stories": "export NODE_OPTIONS=--max-old-space-size=8192 && tsc --noEmit -p tsconfig.stories.json",
|
|
48
|
-
"typecheck:stories-modified-files": "chmod +x ./scripts/tsc-modified-files.sh && SINCE_DAYS=30 ./scripts/tsc-modified-files.sh master tsconfig.stories.json",
|
|
49
|
-
"build": "export NODE_OPTIONS=--max-old-space-size=8192 && pnpm lint-modified-files && pnpm tsc-modified-files && vite build",
|
|
50
|
-
"format": "prettier --write --ignore-unknown \"src/**/*\" && pnpm lint",
|
|
51
|
-
"format-watch": "FORMAT_WATCH_EXT='\\.(ts|tsx|js)$' bash ./scripts/run-format-watch.sh",
|
|
52
|
-
"format-staged": "git diff --cached --name-only --diff-filter=ACM | grep -E '\\.(ts|tsx|js)$' | xargs prettier --write || true",
|
|
53
|
-
"preview": "vite preview",
|
|
54
|
-
"version": "git add -A src",
|
|
55
|
-
"postversion": "git push && git push --tags",
|
|
56
|
-
"chromatic": "npx chromatic --project-token=b0f981300c3c --auto-accept-changes",
|
|
57
|
-
"analyze": "vite-bundle-visualizer -t sunburst",
|
|
58
|
-
"check-version": "node ./scripts/check_version.js",
|
|
59
|
-
"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",
|
|
60
|
-
"publish-beta": "sh -c 'echo \"Publishing with tag: ${betaTag:-beta}\" && pnpm publish --tag ${betaTag:-beta} --no-git-checks'",
|
|
61
|
-
"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)",
|
|
62
|
-
"build-beta-and-copy": "chmod +x ./scripts/build_and_copy.sh && ./scripts/build_and_copy.sh",
|
|
63
|
-
"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",
|
|
64
|
-
"check-dependencies": "node ./scripts/check_dependencies.js",
|
|
65
|
-
"clean-overrides": "node ./scripts/clean_overrides.js",
|
|
66
|
-
"update-slack-group-topic": "chmod +x ./scripts/update_slack_group_topic.sh && ./scripts/update_slack_group_topic.sh",
|
|
67
|
-
"raise-pr-automation": "chmod +x ./scripts/raise_pr_automation.sh && ./scripts/raise_pr_automation.sh",
|
|
68
|
-
"cherry-pick": "chmod +x ./scripts/cherry_pick.sh && ./scripts/cherry_pick.sh",
|
|
69
|
-
"prebuild": "node ./scripts/check-imports.js",
|
|
70
|
-
"prepare": "husky",
|
|
71
|
-
"find-unused-code": "knip"
|
|
72
|
-
},
|
|
73
28
|
"dependencies": {
|
|
74
29
|
"@emotion/cache": "^11.13.1",
|
|
75
30
|
"@emotion/react": "11.10.0",
|
|
@@ -92,8 +47,8 @@
|
|
|
92
47
|
"@statsig/react-bindings": "^3.14.0",
|
|
93
48
|
"@stripe/react-stripe-js": "^2.7.3",
|
|
94
49
|
"@stripe/stripe-js": "^4.4.0",
|
|
95
|
-
"@zeniai/client-analytics": "2.0.
|
|
96
|
-
"@zeniai/client-epic-state": "5.2.
|
|
50
|
+
"@zeniai/client-analytics": "2.0.85",
|
|
51
|
+
"@zeniai/client-epic-state": "5.2.20",
|
|
97
52
|
"autosuggest-highlight": "^3.2.1",
|
|
98
53
|
"browser-image-compression": "^2.0.2",
|
|
99
54
|
"countries-list": "^2.6.1",
|
|
@@ -211,8 +166,8 @@
|
|
|
211
166
|
"@types/color": "^3.0.2",
|
|
212
167
|
"@types/react-select": "^4.0.18",
|
|
213
168
|
"@types/react-window": "^1.8.8",
|
|
214
|
-
"@zeniai/client-analytics": "2.0.
|
|
215
|
-
"@zeniai/client-epic-state": "5.2.
|
|
169
|
+
"@zeniai/client-analytics": "2.0.85",
|
|
170
|
+
"@zeniai/client-epic-state": "5.2.20",
|
|
216
171
|
"color": "^3.1.3",
|
|
217
172
|
"react": "18.3.1",
|
|
218
173
|
"react-dom": "18.3.1",
|
|
@@ -247,78 +202,47 @@
|
|
|
247
202
|
"type": "git",
|
|
248
203
|
"url": "https://github.com/zeni-ai/zeni-web-components.git"
|
|
249
204
|
},
|
|
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
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
"launch-editor": ">=2.14.1",
|
|
293
|
-
"lodash": ">=4.18.1 <5",
|
|
294
|
-
"mdast-util-to-hast": ">=13.2.1",
|
|
295
|
-
"minimatch": ">=10.2.3",
|
|
296
|
-
"mux-embed": "5.15.0",
|
|
297
|
-
"node-forge": ">=1.4.0",
|
|
298
|
-
"npm-check": ">=2.0.1",
|
|
299
|
-
"nth-check": ">=2.0.1",
|
|
300
|
-
"nyc>glob": "7.2.3",
|
|
301
|
-
"on-headers": ">=1.1.0",
|
|
302
|
-
"path-to-regexp": "0.1.13",
|
|
303
|
-
"picomatch": ">=4.0.4",
|
|
304
|
-
"playwright-core": "1.62.1",
|
|
305
|
-
"postcss": ">=8.5.18",
|
|
306
|
-
"prismjs": ">=1.30.0",
|
|
307
|
-
"qs": ">=6.15.2",
|
|
308
|
-
"rollup": ">=4.59.0",
|
|
309
|
-
"serialize-javascript": ">=7.0.5",
|
|
310
|
-
"shell-quote": ">=1.9.0",
|
|
311
|
-
"svgo": ">=4.0.2",
|
|
312
|
-
"tar": ">=7.5.21",
|
|
313
|
-
"tar-fs": ">=3.1.1",
|
|
314
|
-
"test-exclude>glob": "7.2.3",
|
|
315
|
-
"tmp": ">=0.2.6",
|
|
316
|
-
"uuid": "^11.1.1",
|
|
317
|
-
"webpack": ">=5.104.1",
|
|
318
|
-
"webpack-dev-server": ">=5.2.6 <6",
|
|
319
|
-
"websocket-driver": "0.7.5",
|
|
320
|
-
"ws": ">=8.21.0",
|
|
321
|
-
"yaml": ">=2.8.3"
|
|
322
|
-
}
|
|
205
|
+
"scripts": {
|
|
206
|
+
"clean": "rimraf build",
|
|
207
|
+
"build-stories": "export NODE_OPTIONS=--max-old-space-size=8192 && tsc --noEmit",
|
|
208
|
+
"test": "export NODE_OPTIONS=--max-old-space-size=8192 && pnpm lint-modified-files && tsc --noEmit && bash ./scripts/test-storybook-watch.sh",
|
|
209
|
+
"test-all": "export NODE_OPTIONS=--max-old-space-size=8192 && tsc --noEmit && test-storybook --updateSnapshot --maxWorkers 2 --testTimeout 30000",
|
|
210
|
+
"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",
|
|
211
|
+
"storybook": "export NODE_OPTIONS=--max-old-space-size=8192 && storybook dev -p 6006",
|
|
212
|
+
"build-storybook": "export NODE_OPTIONS=--max-old-space-size=8192 && storybook build",
|
|
213
|
+
"circular-dependency": "npx madge --circular --extensions ts ./src",
|
|
214
|
+
"circular-dependency-modified-files": "chmod +x ./scripts/circular-dependency-modified-files.sh && ./scripts/circular-dependency-modified-files.sh",
|
|
215
|
+
"lint": "export NODE_OPTIONS=--max-old-space-size=8192 && time eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",
|
|
216
|
+
"lint:fix": "chmod +x ./scripts/fix-lint.sh && ./scripts/fix-lint.sh",
|
|
217
|
+
"lint-modified-files": "chmod +x ./scripts/lint-modified-files.sh && ./scripts/lint-modified-files.sh",
|
|
218
|
+
"lint:fix-modified-files": "chmod +x ./scripts/lint-modified-files.sh && LINT_FIX=true ./scripts/lint-modified-files.sh",
|
|
219
|
+
"tsc-modified-files": "chmod +x ./scripts/tsc-modified-files.sh && ./scripts/tsc-modified-files.sh",
|
|
220
|
+
"data-testid-changes": "chmod +x ./scripts/data-testid-changes.sh && ./scripts/data-testid-changes.sh",
|
|
221
|
+
"typecheck": "export NODE_OPTIONS=--max-old-space-size=8192 && tsc --noEmit",
|
|
222
|
+
"typecheck:mocks": "export NODE_OPTIONS=--max-old-space-size=8192 && tsc --noEmit -p tsconfig.mocks.json",
|
|
223
|
+
"typecheck:mocks-modified-files": "chmod +x ./scripts/tsc-modified-files.sh && SINCE_DAYS=30 ./scripts/tsc-modified-files.sh master tsconfig.mocks.json",
|
|
224
|
+
"typecheck:stories": "export NODE_OPTIONS=--max-old-space-size=8192 && tsc --noEmit -p tsconfig.stories.json",
|
|
225
|
+
"typecheck:stories-modified-files": "chmod +x ./scripts/tsc-modified-files.sh && SINCE_DAYS=30 ./scripts/tsc-modified-files.sh master tsconfig.stories.json",
|
|
226
|
+
"build": "export NODE_OPTIONS=--max-old-space-size=8192 && pnpm lint-modified-files && pnpm tsc-modified-files && vite build",
|
|
227
|
+
"format": "prettier --write --ignore-unknown \"src/**/*\" && pnpm lint",
|
|
228
|
+
"format-watch": "FORMAT_WATCH_EXT='\\.(ts|tsx|js)$' bash ./scripts/run-format-watch.sh",
|
|
229
|
+
"format-staged": "git diff --cached --name-only --diff-filter=ACM | grep -E '\\.(ts|tsx|js)$' | xargs prettier --write || true",
|
|
230
|
+
"preview": "vite preview",
|
|
231
|
+
"version": "git add -A src",
|
|
232
|
+
"postversion": "git push && git push --tags",
|
|
233
|
+
"chromatic": "npx chromatic --project-token=b0f981300c3c --auto-accept-changes",
|
|
234
|
+
"analyze": "vite-bundle-visualizer -t sunburst",
|
|
235
|
+
"check-version": "node ./scripts/check_version.js",
|
|
236
|
+
"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",
|
|
237
|
+
"publish-beta": "sh -c 'echo \"Publishing with tag: ${betaTag:-beta}\" && pnpm publish --tag ${betaTag:-beta} --no-git-checks'",
|
|
238
|
+
"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)",
|
|
239
|
+
"build-beta-and-copy": "chmod +x ./scripts/build_and_copy.sh && ./scripts/build_and_copy.sh",
|
|
240
|
+
"check-dependencies": "node ./scripts/check_dependencies.js",
|
|
241
|
+
"clean-overrides": "node ./scripts/clean_overrides.js",
|
|
242
|
+
"update-slack-group-topic": "chmod +x ./scripts/update_slack_group_topic.sh && ./scripts/update_slack_group_topic.sh",
|
|
243
|
+
"raise-pr-automation": "chmod +x ./scripts/raise_pr_automation.sh && ./scripts/raise_pr_automation.sh",
|
|
244
|
+
"cherry-pick": "chmod +x ./scripts/cherry_pick.sh && ./scripts/cherry_pick.sh",
|
|
245
|
+
"prebuild": "node ./scripts/check-imports.js",
|
|
246
|
+
"find-unused-code": "knip"
|
|
323
247
|
}
|
|
324
|
-
}
|
|
248
|
+
}
|