mirror of
https://github.com/lingble/chatwoot.git
synced 2026-03-20 03:52:43 +00:00
Removes all the old vuelidate syntax and replaced it with the new `useValidate` composable and the `v$` helper. | Component | Path | Migrated | Tested | |------------------------------------|--------------------------------------------------------------|-----------------------------------------------|--------| | Login page | app/javascript/v3/views/login/Index.vue | ✅ | ✅ | | Custom Attributes settings page | app/javascript/dashboard/components/CustomAttribute.vue | ✅ | ✅ | | Account settings page | app/javascript/dashboard/routes/dashboard/settings/account/Index.vue | ✅ | ✅ | | Add Account Modal | app/javascript/dashboard/components/layout/sidebarComponents/AddAccountModal.vue | ✅ | ✅ | | AICTA Modal | app/javascript/dashboard/components/widgets/AICTAModal.vue | ✅ | ✅ | | Conversation Advanced Filters | app/javascript/dashboard/components/widgets/conversation/ConversationAdvancedFilter.vue | deprecated `$each` prop in validations object | | | Email Transript Modal | app/javascript/dashboard/components/widgets/conversation/EmailTranscriptModal.vue | ✅ | ✅ | | Linear Create Issue | app/javascript/dashboard/components/widgets/conversation/linear/CreateIssue.vue | ✅ | ✅ | | Template Parser | app/javascript/dashboard/components/widgets/conversation/WhatsappTemplates/TemplateParser.vue | ✅ | | | Delete Confirmation Modal | app/javascript/dashboard/components/widgets/modal/ConfirmDeleteModal.vue | ✅ | ✅ | | Add Custom Attribute | app/javascript/dashboard/modules/contact/components/AddCustomAttribute.vue | ✅ | ✅ | | Merge Contacts | app/javascript/dashboard/modules/contact/components/MergeContact.vue | ✅ | ✅ | | Contacts Advanced Filters | app/javascript/dashboard/routes/dashboard/contacts/components/ContactsAdvancedFilters.vue | deprecated `$each` prop in validations object | | | Contact Form | app/javascript/dashboard/routes/dashboard/conversation/contact/ContactForm.vue | ✅ | ✅ | | Conversation Form | app/javascript/dashboard/routes/dashboard/conversation/contact/ConversationForm.vue | ✅ | ✅ | | Add Custom Views | app/javascript/dashboard/routes/dashboard/customviews/AddCustomViews.vue | ✅ | ✅ | | Add Locale | app/javascript/dashboard/routes/dashboard/helpcenter/components/AddLocale.vue | ✅ | ✅ | | Portal Settings Basic Form | /app/javascript/dashboard/routes/dashboard/helpcenter/components/PortalSettingsBasicForm.vue | ✅ | ✅ | | Portal Settings Customization Form | /app/javascript/dashboard/routes/dashboard/helpcenter/components/PortalSettingsCustomizationForm.vue | ✅ | ✅ | | Add Category | app/javascript/dashboard/routes/dashboard/helpcenter/pages/categories/AddCategory.vue | ✅ | ✅ | | Edit Category | app/javascript/dashboard/routes/dashboard/helpcenter/pages/categories/EditCategory.vue | ✅ | ✅ | | CSML Bot Editor | app/javascript/dashboard/routes/dashboard/settings/agentBots/components/CSMLBotEditor.vue | ✅ | ✅ | | Add Agent | app/javascript/dashboard/routes/dashboard/settings/agents/AddAgent.vue | ✅ | ✅ | | Edit Agent | app/javascript/dashboard/routes/dashboard/settings/agents/EditAgent.vue | ✅ | ✅ | | Add Attribute | app/javascript/dashboard/routes/dashboard/settings/attributes/AddAttribute.vue | ✅ | ✅ | | Edit Attribute | app/javascript/dashboard/routes/dashboard/settings/attributes/EditAttribute.vue | ✅ | ✅ | | Add Campaign | app/javascript/dashboard/routes/dashboard/settings/campaigns/AddCampaign.vue | ✅ | ✅ | | Edit Campaign | app/javascript/dashboard/routes/dashboard/settings/campaigns/EditCampaign.vue | ✅ | ✅ | | Add Canned | app/javascript/dashboard/routes/dashboard/settings/canned/AddCanned.vue | ✅ | ✅ | | Edit Canned | app/javascript/dashboard/routes/dashboard/settings/canned/EditCanned.vue | ✅ | ✅ | | IMAP Settings | app/javascript/dashboard/routes/dashboard/settings/inbox/ImapSettings.vue | ✅ | ✅ | | SMTP Settings | app/javascript/dashboard/routes/dashboard/settings/inbox/SmtpSettings.vue | ✅ | ✅ | | Widget Builder | app/javascript/dashboard/routes/dashboard/settings/inbox/WidgetBuilder.vue | ✅ | ✅ | | 360 Dialog Whatsapp | app/javascript/dashboard/routes/dashboard/settings/inbox/channels/360DialogWhatsapp.vue | ✅ | ✅ | | Inbox API settings | app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Api.vue | ✅ | ✅ | | SMS Bandwidth settings | app/javascript/dashboard/routes/dashboard/settings/inbox/channels/BandwidthSms.vue | ✅ | ✅ | | Cloud Whatsapp Settings | app/javascript/dashboard/routes/dashboard/settings/inbox/channels/CloudWhatsapp.vue | ✅ | ✅ | | Facebook Settings | app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Facebook.vue | ✅ | ✅ | | Line Settings | app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Line.vue | ✅ | ✅ | | Telegram Settings | app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Telegram.vue | ✅ | ✅ | | Twillio Settings | app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Twilio.vue | ✅ | ✅ | | Forward To option settings | app/javascript/dashboard/routes/dashboard/settings/inbox/channels/emailChannels/ForwardToOption.vue | ✅ | ✅ | | Microsoft settings | app/javascript/dashboard/routes/dashboard/settings/inbox/channels/emailChannels/Microsoft.vue | ✅ | ✅ | | Collaborators page | app/javascript/dashboard/routes/dashboard/settings/inbox/settingsPage/CollaboratorsPage.vue | ✅ | ✅ | | Configuration Page | app/javascript/dashboard/routes/dashboard/settings/inbox/settingsPage/ConfigurationPage.vue | ✅ | ✅ | | Dashboard App Modal Settings | app/javascript/dashboard/routes/dashboard/settings/integrations/DashboardApps/DashboardAppModal.vue | ✅ | ✅ | | Settings - Webhook Form | app/javascript/dashboard/routes/dashboard/settings/integrations/Webhooks/WebhookForm.vue | ✅ | ✅ | | Macro Form | app/javascript/dashboard/routes/dashboard/settings/macros/MacroForm.vue | deprecated `$each` prop in validations object | | | Change Password | app/javascript/dashboard/routes/dashboard/settings/profile/ChangePassword.vue | ✅ | ✅ | | settings - User Basic Details | app/javascript/dashboard/routes/dashboard/settings/profile/UserBasicDetails.vue | ✅ | ✅ | | Password Edit | app/javascript/v3/views/auth/password/Edit.vue | ✅ | ✅ | | Password Reset form | app/javascript/v3/views/auth/reset/password/Index.vue | ✅ | ✅ | | Signup form | app/javascript/v3/views/auth/signup/components/Signup/Form.vue | ✅ | ✅ | | Login form | app/javascript/v3/views/login/Index.vue | ✅ | ✅ | | Custom Attributes | app/javascript/dashboard/components/CustomAttribute.vue | ✅ | ✅ | | Reply Email Head | app/javascript/dashboard/components/widgets/conversation/ReplyEmailHead.vue | ✅ | ✅ | | Methods Mixin | app/javascript/dashboard/mixins/automations/methodsMixin.js | ✅ | ✅ | | Validations mixin | app/javascript/dashboard/routes/dashboard/settings/labels/validationMixin.js | ✅ | ✅ | | SLA Form | app/javascript/dashboard/routes/dashboard/settings/sla/SlaForm.vue | ✅ | ✅ | | SLA Time Input | app/javascript/dashboard/routes/dashboard/settings/sla/SlaTimeInput.vue | ✅ | ✅ | | SLA Validation Mixin | app/javascript/dashboard/routes/dashboard/settings/sla/validationMixin.js | ✅ | ✅ | | Team Form | app/javascript/dashboard/routes/dashboard/settings/teams/TeamForm.vue | ✅ | ✅ | | Add Agents | app/javascript/dashboard/routes/dashboard/settings/teams/Create/AddAgents.vue | ✅ | ✅ | | Edit Agents | app/javascript/dashboard/routes/dashboard/settings/teams/Edit/EditAgents.vue | ✅ | ✅ | --------- Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com> Co-authored-by: Shivam Mishra <scm.mymail@gmail.com> Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Co-authored-by: Pranav <pranav@chatwoot.com>
170 lines
5.1 KiB
JSON
170 lines
5.1 KiB
JSON
{
|
|
"name": "@chatwoot/chatwoot",
|
|
"version": "3.11.0",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"eslint": "eslint app/**/*.{js,vue}",
|
|
"eslint:fix": "eslint app/**/*.{js,vue} --fix",
|
|
"test": "TZ=UTC vitest --no-watch --no-cache --no-coverage",
|
|
"test:watch": "TZ=UTC vitest --no-cache --no-coverage",
|
|
"test:coverage": "TZ=UTC vitest --no-cache --no-watch --coverage",
|
|
"webpacker-start": "webpack-dev-server -d --config webpack.dev.config.js --content-base public/ --progress --colors",
|
|
"start:dev": "foreman start -f ./Procfile.dev",
|
|
"start:test": "RAILS_ENV=test foreman start -f ./Procfile.test",
|
|
"start:dev-overmind": "overmind start -f ./Procfile.dev",
|
|
"storybook": "start-storybook -p 6006",
|
|
"build-storybook": "build-storybook",
|
|
"ruby:prettier": "bundle exec rubocop -a",
|
|
"prepare": "husky install",
|
|
"size": "size-limit"
|
|
},
|
|
"size-limit": [
|
|
{
|
|
"path": "public/packs/js/widget-*.js",
|
|
"limit": "300 KB"
|
|
},
|
|
{
|
|
"path": "public/packs/js/sdk.js",
|
|
"limit": "40 KB"
|
|
}
|
|
],
|
|
"dependencies": {
|
|
"@braid/vue-formulate": "^2.5.2",
|
|
"@chatwoot/ninja-keys": "1.2.3",
|
|
"@chatwoot/prosemirror-schema": "1.0.11",
|
|
"@chatwoot/utils": "^0.0.25",
|
|
"@hcaptcha/vue-hcaptcha": "^0.3.2",
|
|
"@june-so/analytics-next": "^2.0.0",
|
|
"@radix-ui/colors": "^1.0.1",
|
|
"@rails/actioncable": "6.1.3",
|
|
"@rails/ujs": "^7.0.3-1",
|
|
"@rails/webpacker": "5.4.4",
|
|
"@scmmishra/pico-search": "0.5.1",
|
|
"@sentry/tracing": "^6.19.7",
|
|
"@sentry/vue": "^6.19.7",
|
|
"@sindresorhus/slugify": "1.1.0",
|
|
"@tailwindcss/typography": "^0.5.9",
|
|
"@vuelidate/core": "^2.0.3",
|
|
"@vuelidate/validators": "^2.0.4",
|
|
"@vueuse/core": "^10.10.0",
|
|
"activestorage": "^5.2.6",
|
|
"autoprefixer": "^10.4.14",
|
|
"axios": "^1.6.0",
|
|
"babel-plugin-syntax-jsx": "^6.18.0",
|
|
"babel-plugin-transform-vue-jsx": "^3.7.0",
|
|
"chart.js": "~2.9.4",
|
|
"color2k": "^2.0.2",
|
|
"company-email-validator": "^1.0.8",
|
|
"core-js": "3.11.0",
|
|
"date-fns": "2.21.1",
|
|
"date-fns-tz": "^1.3.3",
|
|
"dompurify": "2.2.7",
|
|
"highlight.js": "~10.4.1",
|
|
"idb": "^7.1.1",
|
|
"ionicons": "~2.0.1",
|
|
"js-cookie": "^3.0.5",
|
|
"lamejs": "1.2.0",
|
|
"libphonenumber-js": "^1.10.24",
|
|
"markdown-it": "^13.0.2",
|
|
"markdown-it-link-attributes": "^4.0.1",
|
|
"md5": "^2.3.0",
|
|
"mitt": "^3.0.1",
|
|
"opus-recorder": "^8.0.5",
|
|
"postcss": "^8.4.31",
|
|
"postcss-loader": "^4.2.0",
|
|
"semver": "7.5.3",
|
|
"tailwindcss": "^3.3.2",
|
|
"tinykeys": "^2.1.0",
|
|
"turbolinks": "^5.2.0",
|
|
"url-loader": "^2.0.0",
|
|
"urlpattern-polyfill": "^6.0.2",
|
|
"v-tooltip": "~2.1.3",
|
|
"videojs-record": "^4.5.0",
|
|
"vue": "^2.7.0",
|
|
"vue-chartjs": "3.5.1",
|
|
"vue-clickaway": "~2.1.0",
|
|
"vue-color": "2.8.1",
|
|
"vue-dompurify-html": "^2.5.2",
|
|
"vue-easytable": "2.5.5",
|
|
"vue-i18n": "8.24.3",
|
|
"vue-letter": "^0.1.3",
|
|
"vue-loader": "^15.10.0",
|
|
"vue-multiselect": "~2.1.6",
|
|
"vue-router": "~3.5.2",
|
|
"vue-template-compiler": "^2.7.0",
|
|
"vue-upload-component": "2.8.22",
|
|
"vue-virtual-scroll-list": "^2.3.5",
|
|
"vue2-datepicker": "^3.9.1",
|
|
"vuedraggable": "^2.24.3",
|
|
"vuex": "~2.1.1",
|
|
"vuex-router-sync": "~4.1.2",
|
|
"wavesurfer.js": "^6.0.4",
|
|
"webpack": "^4.46.0",
|
|
"webpack-cli": "^3.3.12"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.13.16",
|
|
"@babel/eslint-parser": "^7.22.15",
|
|
"@babel/plugin-proposal-class-properties": "7.13.0",
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
|
|
"@babel/preset-env": "7.13.15",
|
|
"@size-limit/file": "^8.2.4",
|
|
"@storybook/addon-actions": "6.5.9",
|
|
"@storybook/addon-docs": "^6.5.9",
|
|
"@storybook/addon-essentials": "6.5.9",
|
|
"@storybook/addon-links": "6.5.9",
|
|
"@storybook/addon-postcss": "^2.0.0",
|
|
"@storybook/addons": "6.5.9",
|
|
"@storybook/vue": "6.5.9",
|
|
"@vitejs/plugin-vue2": "^2.3.1",
|
|
"@vitest/coverage-v8": "^2.0.1",
|
|
"@vue/test-utils": "^1.3.6",
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
"babel-helper-vue-jsx-merge-props": "^2.0.3",
|
|
"babel-loader": "8.2.2",
|
|
"babel-preset-vue": "^2.0.2",
|
|
"cypress": "^13.4.0",
|
|
"eslint": "^8.49.0",
|
|
"eslint-config-airbnb-base": "15.0.0",
|
|
"eslint-config-prettier": "^9.0.0",
|
|
"eslint-import-resolver-webpack": "^0.13.7",
|
|
"eslint-plugin-babel": "5.3.1",
|
|
"eslint-plugin-cypress": "^2.15.1",
|
|
"eslint-plugin-html": "7.1.0",
|
|
"eslint-plugin-import": "2.28.1",
|
|
"eslint-plugin-jsx-a11y": "6.7.1",
|
|
"eslint-plugin-prettier": "5.0.0",
|
|
"eslint-plugin-storybook": "^0.6.14",
|
|
"eslint-plugin-vue": "^9.27.0",
|
|
"fake-indexeddb": "^6.0.0",
|
|
"husky": "^7.0.0",
|
|
"jsdom": "^24.1.0",
|
|
"lint-staged": "14.0.1",
|
|
"postcss-preset-env": "^8.5.1",
|
|
"prettier": "^3.0.3",
|
|
"rimraf": "^3.0.0",
|
|
"size-limit": "^8.2.4",
|
|
"vitest": "^2.0.1",
|
|
"webpack-dev-server": "^3"
|
|
},
|
|
"engines": {
|
|
"node": "20.x",
|
|
"npm": ">=6.x",
|
|
"yarn": "1.22.x"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-push": "sh bin/validate_push"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"app/**/*.{js,vue}": [
|
|
"eslint --fix",
|
|
"git add"
|
|
],
|
|
"*.scss": [
|
|
"scss-lint"
|
|
]
|
|
}
|
|
}
|