From c9e6b8f8f6244eba8eceff932e2d59cd17896688 Mon Sep 17 00:00:00 2001 From: Diego Pascual Date: Fri, 22 Sep 2023 10:37:19 +0200 Subject: [PATCH] chore(deps): update prettier version (#1284) Co-authored-by: acondal --- package.json | 2 +- packages/eslint-plugin-x/package.json | 10 +- packages/eslint-plugin-x/prettier-config.js | 2 +- .../src/browser-storage-service.ts | 5 +- .../src/http-clients/errors/request-error.ts | 5 +- .../src/build/webpack/webpack.config.ts | 6 +- packages/x-components/package.json | 1 + .../staggering-transition-group.spec.ts | 2 +- .../components/animations/fade-and-slide.vue | 3 +- .../src/components/layouts/layouts.mixin.ts | 5 +- .../layouts/multi-column-max-width-layout.vue | 5 +- .../scroll/__tests__/base-scroll.spec.ts | 6 +- .../src/store/utils/getters-proxy.utils.ts | 5 +- .../src/store/utils/query.utils.ts | 6 +- .../src/store/utils/status-store.utils.ts | 6 +- packages/x-components/src/utils/array.ts | 19 +- .../src/utils/currency-formatter.ts | 6 +- .../src/wiring/namespaced-wiring.types.ts | 12 +- .../x-components/src/wiring/wiring.types.ts | 6 +- .../exclude-filters-with-no-results.spec.ts | 6 +- .../lists/__tests__/filters-list.spec.ts | 6 +- .../__tests__/selected-filters-list.spec.ts | 6 +- .../lists/filters-injection.mixin.ts | 3 +- .../src/x-modules/facets/entities/types.ts | 5 +- .../store/getters/history-queries.getter.ts | 15 +- .../components/__tests__/next-query.spec.ts | 6 +- .../components/query-preview.vue | 21 +- .../store/getters/query-suggestions.getter.ts | 8 +- .../components/__tests__/related-tag.spec.ts | 6 +- packages/x-translations/src/types.ts | 2 +- pnpm-lock.yaml | 214 +++++++++++------- 31 files changed, 248 insertions(+), 162 deletions(-) diff --git a/package.json b/package.json index 2278ddf4e0..6c1fd2c186 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "husky": "~8.0.3", "lerna": "~6.6.0", "lint-staged": "~13.2.0", - "prettier": "~2.8.3" + "prettier": "~3.0.3" }, "engines": { "node": ">=18", diff --git a/packages/eslint-plugin-x/package.json b/packages/eslint-plugin-x/package.json index a2470519c9..5f9cb2d7a2 100644 --- a/packages/eslint-plugin-x/package.json +++ b/packages/eslint-plugin-x/package.json @@ -31,25 +31,25 @@ "@typescript-eslint/parser": "~5.49.0", "@vue/eslint-config-prettier": "^7.0.0", "@vue/eslint-config-typescript": "~11.0.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.0.0", "eslint-import-resolver-typescript": "~3.5.2", "eslint-plugin-cypress": "~2.12.1", "eslint-plugin-import": "~2.27.5", "eslint-plugin-jest": "~27.2.0", "eslint-plugin-jsdoc": "~39.6.4", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.0.0", "eslint-plugin-tsdoc": "~0.2.17", "eslint-plugin-vue": "~8.7.1", "eslint-plugin-vuejs-accessibility": "~2.0.0", - "prettier-plugin-tailwindcss": "~0.3.0" + "prettier-plugin-tailwindcss": "~0.5.4" }, "devDependencies": { "eslint": "~8.32.0", - "prettier": "~2.8.3" + "prettier": "~3.0.3" }, "peerDependencies": { "eslint": "~8.32.0", - "prettier": "^2.0.5" + "prettier": "^3.0.3" }, "prettier": "./prettier-config.js", "publishConfig": { diff --git a/packages/eslint-plugin-x/prettier-config.js b/packages/eslint-plugin-x/prettier-config.js index 37f742dfeb..2640b41bc5 100644 --- a/packages/eslint-plugin-x/prettier-config.js +++ b/packages/eslint-plugin-x/prettier-config.js @@ -10,6 +10,6 @@ module.exports = { trailingComma: 'none', vueIndentScriptAndStyle: true, plugins: [ - require('prettier-plugin-tailwindcss') // MUST come last + 'prettier-plugin-tailwindcss' // MUST come last ] }; diff --git a/packages/storage-service/src/browser-storage-service.ts b/packages/storage-service/src/browser-storage-service.ts index 255a437fa3..0dc3d01394 100644 --- a/packages/storage-service/src/browser-storage-service.ts +++ b/packages/storage-service/src/browser-storage-service.ts @@ -9,7 +9,10 @@ import { StorageService } from './storage-service'; export class BrowserStorageService implements StorageService { protected logger: Logger; - public constructor(private storage: Storage = localStorage, private prefix: string = 'empathy') { + public constructor( + private storage: Storage = localStorage, + private prefix: string = 'empathy' + ) { this.logger = logger.child(`[StorageService][${prefix}]`); } diff --git a/packages/x-adapter/src/http-clients/errors/request-error.ts b/packages/x-adapter/src/http-clients/errors/request-error.ts index 34e7a86c65..316f3b4176 100644 --- a/packages/x-adapter/src/http-clients/errors/request-error.ts +++ b/packages/x-adapter/src/http-clients/errors/request-error.ts @@ -12,7 +12,10 @@ export class RequestError extends Error { * * @public */ - public constructor(public readonly message: string, public readonly response: Response) { + public constructor( + public readonly message: string, + public readonly response: Response + ) { super(message); } } diff --git a/packages/x-archetype-utils/src/build/webpack/webpack.config.ts b/packages/x-archetype-utils/src/build/webpack/webpack.config.ts index c4d119d0d8..db9642b633 100644 --- a/packages/x-archetype-utils/src/build/webpack/webpack.config.ts +++ b/packages/x-archetype-utils/src/build/webpack/webpack.config.ts @@ -30,7 +30,11 @@ export const webpackConfig = { ] }, output: { - devtoolModuleFilenameTemplate: ({ resourcePath, hash, query }: webpackFilenameTemplateInfo) => + devtoolModuleFilenameTemplate: ({ + resourcePath, + hash, + query + }: webpackFilenameTemplateInfo) => resourcePath.match(/\.vue$/) && !query.match(/type=script/) && !query.match(/\?rollup-plugin-vue=script.ts/) diff --git a/packages/x-components/package.json b/packages/x-components/package.json index 9a50c3a962..d549434860 100644 --- a/packages/x-components/package.json +++ b/packages/x-components/package.json @@ -135,6 +135,7 @@ "typescript": "~4.9.4", "vue": "~2.7.14", "vue-docgen-cli": "~4.67.0", + "vue-loader": "^15.10.2", "vue-router": "~3.6.5", "vue-template-compiler": "~2.7.14", "vuex": "~3.6.2" diff --git a/packages/x-components/src/components/animations/__tests__/staggering-transition-group.spec.ts b/packages/x-components/src/components/animations/__tests__/staggering-transition-group.spec.ts index 28b8ff9ed9..0a4fd40897 100644 --- a/packages/x-components/src/components/animations/__tests__/staggering-transition-group.spec.ts +++ b/packages/x-components/src/components/animations/__tests__/staggering-transition-group.spec.ts @@ -183,7 +183,7 @@ function fakeIncrementalMovement(element: HTMLElement): void { ({ left: position++, top: position++ - } as DOMRect); + }) as DOMRect; } // Method for enter in hooks of component afterEnter diff --git a/packages/x-components/src/components/animations/fade-and-slide.vue b/packages/x-components/src/components/animations/fade-and-slide.vue index 727d14dd87..e806712cfb 100644 --- a/packages/x-components/src/components/animations/fade-and-slide.vue +++ b/packages/x-components/src/components/animations/fade-and-slide.vue @@ -61,7 +61,8 @@ &--move, &--enter-active, &--leave-active { - transition: opacity $transition-opacity-duration ease-out, + transition: + opacity $transition-opacity-duration ease-out, transform $transition-transform-duration ease-out; } diff --git a/packages/x-components/src/components/layouts/layouts.mixin.ts b/packages/x-components/src/components/layouts/layouts.mixin.ts index a4ee7957a5..b2c66c8e49 100644 --- a/packages/x-components/src/components/layouts/layouts.mixin.ts +++ b/packages/x-components/src/components/layouts/layouts.mixin.ts @@ -28,8 +28,9 @@ export default class LayoutsMixin extends Vue { protected hasContent(...slotNames: string[]): boolean { return ( (this.devMode || - slotNames.some(slotName => - this.$scopedSlots[slotName]?.(undefined)?.some(vNode => vNode.tag !== undefined) + slotNames.some( + slotName => + this.$scopedSlots[slotName]?.(undefined)?.some(vNode => vNode.tag !== undefined) )) ?? false ); diff --git a/packages/x-components/src/components/layouts/multi-column-max-width-layout.vue b/packages/x-components/src/components/layouts/multi-column-max-width-layout.vue index 8eadb62fbb..e7d32c8cfb 100644 --- a/packages/x-components/src/components/layouts/multi-column-max-width-layout.vue +++ b/packages/x-components/src/components/layouts/multi-column-max-width-layout.vue @@ -395,8 +395,9 @@ &__collapse-aside { width: calc( ( - 100% - var(--x-size-gap-default) * (var(--x-number-columns-layout-columns, 5)) - - var(--x-size-margin-layout-columns) + 100% - var(--x-size-gap-default) * (var(--x-number-columns-layout-columns, 5)) - var( + --x-size-margin-layout-columns + ) ) / var(--x-number-columns-layout-columns, 5) + var(--x-size-gap-default) ); } diff --git a/packages/x-components/src/components/scroll/__tests__/base-scroll.spec.ts b/packages/x-components/src/components/scroll/__tests__/base-scroll.spec.ts index 10fd10a086..9d22844c83 100644 --- a/packages/x-components/src/components/scroll/__tests__/base-scroll.spec.ts +++ b/packages/x-components/src/components/scroll/__tests__/base-scroll.spec.ts @@ -241,8 +241,10 @@ interface RenderBaseScrollOptions { clientHeight?: number; /** Distance to the end of the scroll. */ distanceToBottom?: number; - /** Flag to enable or disable resetting the scroll when the events at {@link BaseScroll.resetOn} - * are emitted. */ + /** + * Flag to enable or disable resetting the scroll when the events at {@link BaseScroll.resetOn} + * are emitted. + */ resetOnChange?: boolean; /** List of events to reset the scroll when they are emitted. */ resetOn?: XEvent[]; diff --git a/packages/x-components/src/store/utils/getters-proxy.utils.ts b/packages/x-components/src/store/utils/getters-proxy.utils.ts index 4cdf803a23..48885aa878 100644 --- a/packages/x-components/src/store/utils/getters-proxy.utils.ts +++ b/packages/x-components/src/store/utils/getters-proxy.utils.ts @@ -103,10 +103,11 @@ function defineGetterProxy( }); } -/** Clean the cache (This is for testing purpose). +/** + * Clean the cache (This is for testing purpose). * * @internal - * */ + */ export function cleanGettersProxyCache(): void { cache = {}; } diff --git a/packages/x-components/src/store/utils/query.utils.ts b/packages/x-components/src/store/utils/query.utils.ts index 0e44eee7d3..73008901b6 100644 --- a/packages/x-components/src/store/utils/query.utils.ts +++ b/packages/x-components/src/store/utils/query.utils.ts @@ -6,8 +6,10 @@ import { RelatedTag } from '@empathyco/x-types'; * @public */ export interface QueryState { - /** The query of the module. Different modules may have queries that differ in value - * or time. */ + /** + * The query of the module. Different modules may have queries that differ in value + * or time. + */ query: string; } diff --git a/packages/x-components/src/store/utils/status-store.utils.ts b/packages/x-components/src/store/utils/status-store.utils.ts index cd4f14ec99..823d7cb76d 100644 --- a/packages/x-components/src/store/utils/status-store.utils.ts +++ b/packages/x-components/src/store/utils/status-store.utils.ts @@ -4,8 +4,10 @@ * @public */ export interface StatusState { - /** The request status. Useful for changing the displayed component depending on whether the - * request has succeeded, has not been fulfilled or has failed. */ + /** + * The request status. Useful for changing the displayed component depending on whether the + * request has succeeded, has not been fulfilled or has failed. + */ status: RequestStatus; } diff --git a/packages/x-components/src/utils/array.ts b/packages/x-components/src/utils/array.ts index 2d3cce4ce7..37e77f2059 100644 --- a/packages/x-components/src/utils/array.ts +++ b/packages/x-components/src/utils/array.ts @@ -88,14 +88,17 @@ export function groupItemsBy( array: ArrayType[], groupBy: (item: ArrayType, index: number) => ReturnType ): Record { - return array.reduce>((accumulator, current, index) => { - const keyValue = groupBy(current, index); - if (!accumulator[keyValue]) { - accumulator[keyValue] = []; - } - accumulator[keyValue].push(current); - return accumulator; - }, {} as Record); + return array.reduce>( + (accumulator, current, index) => { + const keyValue = groupBy(current, index); + if (!accumulator[keyValue]) { + accumulator[keyValue] = []; + } + accumulator[keyValue].push(current); + return accumulator; + }, + {} as Record + ); } /** diff --git a/packages/x-components/src/utils/currency-formatter.ts b/packages/x-components/src/utils/currency-formatter.ts index 03a325c441..c6dd6a9f19 100644 --- a/packages/x-components/src/utils/currency-formatter.ts +++ b/packages/x-components/src/utils/currency-formatter.ts @@ -9,8 +9,10 @@ const FORMAT_REGEX = /(i([^id]+))?i+(([^id?]+)(d+)(\?)?)?/; interface CurrencyConfig { /** The character between a group of three integer 'i's and the following one. */ integerSeparator: string; - /** The character between a group of three integer 'i's and the following one. It also - * supports more than one single character. */ + /** + * The character between a group of three integer 'i's and the following one. It also + * supports more than one single character. + */ decimalSeparator: string; /** Length of decimals numbers. It counts the number of 'd's after the integer part. */ decimalsNumber: number; diff --git a/packages/x-components/src/wiring/namespaced-wiring.types.ts b/packages/x-components/src/wiring/namespaced-wiring.types.ts index 50ec6ea2b4..14b6d7b6e5 100644 --- a/packages/x-components/src/wiring/namespaced-wiring.types.ts +++ b/packages/x-components/src/wiring/namespaced-wiring.types.ts @@ -77,9 +77,9 @@ export type NamespacedWireCommitPayload< * @public */ export interface NamespacedWireCommit { - >(mutation: MutationName): Wire< - ExtractMutationPayload - >; + >( + mutation: MutationName + ): Wire>; >( mutation: MutationName, payload: NamespacedWireCommitPayload @@ -132,9 +132,9 @@ export type NamespacedWireDispatchPayload< * @public */ export interface NamespacedWireDispatch { - >(action: ActionName): Wire< - ExtractActionPayload - >; + >( + action: ActionName + ): Wire>; >( action: ActionName, payload: NamespacedWireDispatchPayload diff --git a/packages/x-components/src/wiring/wiring.types.ts b/packages/x-components/src/wiring/wiring.types.ts index ba0b466c95..0fe2816e85 100644 --- a/packages/x-components/src/wiring/wiring.types.ts +++ b/packages/x-components/src/wiring/wiring.types.ts @@ -160,9 +160,9 @@ export interface WireService * @param method - The method to invoke. * @returns A Wire that expects to receive the function parameter as payload. */ - (method: SomeMethod): Wire< - FirstParameter - >; + ( + method: SomeMethod + ): Wire>; /** * Creates a wire that will invoke the given service function with the provided static payload. * diff --git a/packages/x-components/src/x-modules/facets/components/lists/__tests__/exclude-filters-with-no-results.spec.ts b/packages/x-components/src/x-modules/facets/components/lists/__tests__/exclude-filters-with-no-results.spec.ts index 14acbfbc12..fa5fd62f01 100644 --- a/packages/x-components/src/x-modules/facets/components/lists/__tests__/exclude-filters-with-no-results.spec.ts +++ b/packages/x-components/src/x-modules/facets/components/lists/__tests__/exclude-filters-with-no-results.spec.ts @@ -77,8 +77,10 @@ describe('testing Filters component', () => { interface RenderExcludeFiltersWithNoResultsOptions { /** The filters data to render. */ filters?: Filter[]; - /** The template to render. Receives the `filters` via prop, and has registered the - * {@link ExcludeFiltersWithNoResults} component. */ + /** + * The template to render. Receives the `filters` via prop, and has registered the + * {@link ExcludeFiltersWithNoResults} component. + */ template?: string; } diff --git a/packages/x-components/src/x-modules/facets/components/lists/__tests__/filters-list.spec.ts b/packages/x-components/src/x-modules/facets/components/lists/__tests__/filters-list.spec.ts index 106fef513b..794fce8e3b 100644 --- a/packages/x-components/src/x-modules/facets/components/lists/__tests__/filters-list.spec.ts +++ b/packages/x-components/src/x-modules/facets/components/lists/__tests__/filters-list.spec.ts @@ -83,8 +83,10 @@ describe('testing Filters component', () => { interface RenderFiltersOptions { /** The filters data to render. */ filters?: Filter[]; - /** The template to render. Receives the `filters` via prop, and has registered the - * {@link FiltersComponent} as `Filters`. */ + /** + * The template to render. Receives the `filters` via prop, and has registered the + * {@link FiltersComponent} as `Filters`. + */ template?: string; } diff --git a/packages/x-components/src/x-modules/facets/components/lists/__tests__/selected-filters-list.spec.ts b/packages/x-components/src/x-modules/facets/components/lists/__tests__/selected-filters-list.spec.ts index 9cb989521c..c3742446e6 100644 --- a/packages/x-components/src/x-modules/facets/components/lists/__tests__/selected-filters-list.spec.ts +++ b/packages/x-components/src/x-modules/facets/components/lists/__tests__/selected-filters-list.spec.ts @@ -182,7 +182,9 @@ interface RenderSelectedFiltersAPI { selectedFiltersListWrapper: Wrapper; /** Toggle nth filter of the facet provided. */ toggleFacetNthFilter: (facetId: string, nth: number) => Promise; - /** Retrieves the wrapper for the items of the list rendered by the {@link SelectedFiltersList} - * component. */ + /** + * Retrieves the wrapper for the items of the list rendered by the {@link SelectedFiltersList} + * component. + */ selectedFiltersItems: () => WrapperArray; } diff --git a/packages/x-components/src/x-modules/facets/components/lists/filters-injection.mixin.ts b/packages/x-components/src/x-modules/facets/components/lists/filters-injection.mixin.ts index 4276f2f20c..25d9e7e7d6 100644 --- a/packages/x-components/src/x-modules/facets/components/lists/filters-injection.mixin.ts +++ b/packages/x-components/src/x-modules/facets/components/lists/filters-injection.mixin.ts @@ -29,7 +29,8 @@ export default class FiltersInjectionMixin extends Vue { @Prop({ required: false }) protected parentId?: Filter['id']; - /** The injected filters array. + /** + * The injected filters array. * * @public */ diff --git a/packages/x-components/src/x-modules/facets/entities/types.ts b/packages/x-components/src/x-modules/facets/entities/types.ts index 29a7a20698..d7e0e09535 100644 --- a/packages/x-components/src/x-modules/facets/entities/types.ts +++ b/packages/x-components/src/x-modules/facets/entities/types.ts @@ -52,7 +52,10 @@ export interface FilterEntityModifier export abstract class BaseFilterEntityModifier implements FilterEntity { - public constructor(protected store: Store, protected entity: FilterEntity) {} + public constructor( + protected store: Store, + protected entity: FilterEntity + ) {} /** * Selects the filter passed by parameter. diff --git a/packages/x-components/src/x-modules/history-queries/store/getters/history-queries.getter.ts b/packages/x-components/src/x-modules/history-queries/store/getters/history-queries.getter.ts index 261507da8c..4a3d2c6810 100644 --- a/packages/x-components/src/x-modules/history-queries/store/getters/history-queries.getter.ts +++ b/packages/x-components/src/x-modules/history-queries/store/getters/history-queries.getter.ts @@ -25,13 +25,14 @@ export class HistoryQueriesGetter implements GettersClass { interface RenderNextQueryOptions { /** The next query data to render. */ suggestion?: NextQuery; - /** The template to render. Receives the `nextQuery` via prop, and has registered the - * {@link NextQueryComponent} as `NextQuery`. */ + /** + * The template to render. Receives the `nextQuery` via prop, and has registered the + * {@link NextQueryComponent} as `NextQuery`. + */ template?: string; } diff --git a/packages/x-components/src/x-modules/queries-preview/components/query-preview.vue b/packages/x-components/src/x-modules/queries-preview/components/query-preview.vue index 10d7f7dc43..ab446ebb8b 100644 --- a/packages/x-components/src/x-modules/queries-preview/components/query-preview.vue +++ b/packages/x-components/src/x-modules/queries-preview/components/query-preview.vue @@ -162,15 +162,18 @@ feature: this.queryFeature, location: this.location }); - const filters = this.queryPreviewInfo.filters?.reduce((filtersList, filterId) => { - const facetId = filterId.split(':')[0]; - const rawFilter = createRawFilter(filterId); - filtersList[facetId] = filtersList[facetId] - ? filtersList[facetId].concat(rawFilter) - : [rawFilter]; - - return filtersList; - }, {} as Record); + const filters = this.queryPreviewInfo.filters?.reduce( + (filtersList, filterId) => { + const facetId = filterId.split(':')[0]; + const rawFilter = createRawFilter(filterId); + filtersList[facetId] = filtersList[facetId] + ? filtersList[facetId].concat(rawFilter) + : [rawFilter]; + + return filtersList; + }, + {} as Record + ); return { query: this.queryPreviewInfo.query, diff --git a/packages/x-components/src/x-modules/query-suggestions/store/getters/query-suggestions.getter.ts b/packages/x-components/src/x-modules/query-suggestions/store/getters/query-suggestions.getter.ts index 7bfdc64af1..a1350c778c 100644 --- a/packages/x-components/src/x-modules/query-suggestions/store/getters/query-suggestions.getter.ts +++ b/packages/x-components/src/x-modules/query-suggestions/store/getters/query-suggestions.getter.ts @@ -28,8 +28,8 @@ export class QuerySuggestionsGetter implements GettersClass boolean { @@ -45,11 +45,9 @@ export class QuerySuggestionsGetter implements GettersClass { interface RenderRelatedTagOptions { /** The related tag data to render. */ relatedTag?: RelatedTag; - /** The template to render. Receives the `relatedTag` via prop, and has registered the - * {@link RelatedTagComponent} as `RelatedTag`. */ + /** + * The template to render. Receives the `relatedTag` via prop, and has registered the + * {@link RelatedTagComponent} as `RelatedTag`. + */ template?: string; } diff --git a/packages/x-translations/src/types.ts b/packages/x-translations/src/types.ts index 36cbe897a5..2c02e8cbd7 100644 --- a/packages/x-translations/src/types.ts +++ b/packages/x-translations/src/types.ts @@ -7,7 +7,7 @@ export type JSON = Record; /** * Type to define the parameters received when the script is call. - **/ + */ export interface CommandParameters { sourcePath: string; targetPath?: string; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 208b32fba3..a9f28330fd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,4 +1,4 @@ -lockfileVersion: '6.0' +lockfileVersion: '6.1' settings: autoInstallPeers: true @@ -9,7 +9,7 @@ importers: devDependencies: '@empathyco/eslint-plugin-x': specifier: file:packages/eslint-plugin-x - version: file:packages/eslint-plugin-x(eslint@8.33.0)(prettier@2.8.3)(typescript@4.9.4) + version: file:packages/eslint-plugin-x(eslint@8.33.0)(prettier@3.0.3)(typescript@4.9.4) colors: specifier: 1.4.0 version: 1.4.0 @@ -32,8 +32,8 @@ importers: specifier: ~13.2.0 version: 13.2.0 prettier: - specifier: ~2.8.3 - version: 2.8.3 + specifier: ~3.0.3 + version: 3.0.3 packages/deep-merge: dependencies: @@ -73,13 +73,13 @@ importers: version: 5.49.0(eslint@8.32.0)(typescript@4.9.4) '@vue/eslint-config-prettier': specifier: ^7.0.0 - version: 7.0.0(eslint@8.32.0)(prettier@2.8.3) + version: 7.0.0(eslint@8.32.0)(prettier@3.0.3) '@vue/eslint-config-typescript': specifier: ~11.0.0 version: 11.0.0(eslint-plugin-vue@8.7.1)(eslint@8.32.0)(typescript@4.9.4) eslint-config-prettier: - specifier: ^8.5.0 - version: 8.5.0(eslint@8.32.0) + specifier: ^9.0.0 + version: 9.0.0(eslint@8.32.0) eslint-import-resolver-typescript: specifier: ~3.5.2 version: 3.5.2(eslint-plugin-import@2.27.5)(eslint@8.32.0) @@ -96,8 +96,8 @@ importers: specifier: ~39.6.4 version: 39.6.4(eslint@8.32.0) eslint-plugin-prettier: - specifier: ^4.2.1 - version: 4.2.1(eslint-config-prettier@8.5.0)(eslint@8.32.0)(prettier@2.8.3) + specifier: ^5.0.0 + version: 5.0.0(eslint-config-prettier@9.0.0)(eslint@8.32.0)(prettier@3.0.3) eslint-plugin-tsdoc: specifier: ~0.2.17 version: 0.2.17 @@ -108,15 +108,15 @@ importers: specifier: ~2.0.0 version: 2.0.0(eslint@8.32.0) prettier-plugin-tailwindcss: - specifier: ~0.3.0 - version: 0.3.0(prettier@2.8.3) + specifier: ~0.5.4 + version: 0.5.4(prettier@3.0.3) devDependencies: eslint: specifier: ~8.32.0 version: 8.32.0 prettier: - specifier: ~2.8.3 - version: 2.8.3 + specifier: ~3.0.3 + version: 3.0.3 packages/jest-utils: devDependencies: @@ -478,7 +478,7 @@ importers: version: 5.0.4(@vue/cli-service@5.0.4) '@vue/cli-service': specifier: ~5.0.4 - version: 5.0.4(@babel/core@7.22.9)(esbuild@0.17.19)(sass-loader@13.3.0)(vue-template-compiler@2.7.14)(vue@2.7.14) + version: 5.0.4(@babel/core@7.22.9)(esbuild@0.17.19)(prettier@3.0.3)(sass-loader@13.3.0)(vue-template-compiler@2.7.14)(vue@2.7.14) '@vue/test-utils': specifier: ~1.0.3 version: 1.0.3(vue-template-compiler@2.7.14)(vue@2.7.14) @@ -566,6 +566,9 @@ importers: vue-docgen-cli: specifier: ~4.67.0 version: 4.67.0(vue@2.7.14) + vue-loader: + specifier: ^15.10.2 + version: 15.10.2(css-loader@6.8.1)(prettier@3.0.3)(vue-template-compiler@2.7.14)(webpack@5.88.2) vue-router: specifier: ~3.6.5 version: 3.6.5(vue@2.7.14) @@ -4898,7 +4901,7 @@ packages: '@vue/cli-service': ^3.0.0 || ^4.0.0 || ^5.0.0-0 cypress: '*' dependencies: - '@vue/cli-service': 5.0.4(@babel/core@7.22.9)(esbuild@0.17.19)(sass-loader@13.3.0)(vue-template-compiler@2.7.14)(vue@2.7.14) + '@vue/cli-service': 5.0.4(@babel/core@7.22.9)(esbuild@0.17.19)(prettier@3.0.3)(sass-loader@13.3.0)(vue-template-compiler@2.7.14)(vue@2.7.14) '@vue/cli-shared-utils': 5.0.8 cypress: 13.2.0 eslint-plugin-cypress: 2.12.1(eslint@8.33.0) @@ -4915,7 +4918,7 @@ packages: peerDependencies: '@vue/cli-service': ^3.0.0 || ^4.0.0 || ^5.0.0-0 dependencies: - '@vue/cli-service': 5.0.4(@babel/core@7.22.9)(esbuild@0.17.19)(sass-loader@13.3.0)(vue-template-compiler@2.7.14)(vue@2.7.14) + '@vue/cli-service': 5.0.4(@babel/core@7.22.9)(esbuild@0.17.19)(prettier@3.0.3)(sass-loader@13.3.0)(vue-template-compiler@2.7.14)(vue@2.7.14) '@vue/cli-shared-utils': 5.0.8 transitivePeerDependencies: - encoding @@ -4940,7 +4943,7 @@ packages: dependencies: '@babel/core': 7.22.9 '@types/webpack-env': 1.18.1 - '@vue/cli-service': 5.0.4(@babel/core@7.22.9)(esbuild@0.17.19)(sass-loader@13.3.0)(vue-template-compiler@2.7.14)(vue@2.7.14) + '@vue/cli-service': 5.0.4(@babel/core@7.22.9)(esbuild@0.17.19)(prettier@3.0.3)(sass-loader@13.3.0)(vue-template-compiler@2.7.14)(vue@2.7.14) '@vue/cli-shared-utils': 5.0.8 babel-loader: 8.3.0(@babel/core@7.22.9)(webpack@5.88.2) fork-ts-checker-webpack-plugin: 6.5.3(eslint@8.33.0)(typescript@4.9.4)(vue-template-compiler@2.7.14)(webpack@5.88.2) @@ -4970,15 +4973,12 @@ packages: peerDependencies: '@vue/cli-service': ^3.0.0 || ^4.0.0 || ^5.0.0-0 dependencies: - '@vue/cli-service': 5.0.4(@babel/core@7.22.9)(esbuild@0.17.19)(sass-loader@13.3.0)(vue-template-compiler@2.7.14)(vue@2.7.14) + '@vue/cli-service': 5.0.4(@babel/core@7.22.9)(esbuild@0.17.19)(prettier@3.0.3)(sass-loader@13.3.0)(vue-template-compiler@2.7.14)(vue@2.7.14) dev: true - /@vue/cli-service@5.0.4(@babel/core@7.22.9)(esbuild@0.17.19)(sass-loader@13.3.0)(vue-template-compiler@2.7.14)(vue@2.7.14): - resolution: - { - integrity: sha512-xRiLNTFYmMCT9edZpyYXHijW5xot3gbZpcWDOXUOhKPHN4qs4XqWALnZlU97JYjZOr3XIr/ZvyciyEfrlUVqSA== - } - engines: { node: ^12.0.0 || >= 14.0.0 } + /@vue/cli-service@5.0.4(@babel/core@7.22.9)(esbuild@0.17.19)(prettier@3.0.3)(sass-loader@13.3.0)(vue-template-compiler@2.7.14)(vue@2.7.14): + resolution: {integrity: sha512-xRiLNTFYmMCT9edZpyYXHijW5xot3gbZpcWDOXUOhKPHN4qs4XqWALnZlU97JYjZOr3XIr/ZvyciyEfrlUVqSA==} + engines: {node: ^12.0.0 || >= 14.0.0} hasBin: true peerDependencies: cache-loader: '*' @@ -5016,7 +5016,7 @@ packages: '@vue/cli-plugin-vuex': 5.0.4(@vue/cli-service@5.0.4) '@vue/cli-shared-utils': 5.0.8 '@vue/component-compiler-utils': 3.3.0(pug@3.0.2) - '@vue/vue-loader-v15': /vue-loader@15.10.1(css-loader@6.8.1)(vue-template-compiler@2.7.14)(webpack@5.88.2) + '@vue/vue-loader-v15': /vue-loader@15.10.2(css-loader@6.8.1)(prettier@3.0.3)(vue-template-compiler@2.7.14)(webpack@5.88.2) '@vue/web-component-wrapper': 1.3.0 acorn: 8.10.0 acorn-walk: 8.2.0 @@ -5104,6 +5104,7 @@ packages: - mustache - nunjucks - plates + - prettier - pug - qejs - ractive @@ -5372,34 +5373,28 @@ packages: } dev: false - /@vue/eslint-config-prettier@7.0.0(eslint@8.32.0)(prettier@2.8.3): - resolution: - { - integrity: sha512-/CTc6ML3Wta1tCe1gUeO0EYnVXfo3nJXsIhZ8WJr3sov+cGASr6yuiibJTL6lmIBm7GobopToOuB3B6AWyV0Iw== - } + /@vue/eslint-config-prettier@7.0.0(eslint@8.32.0)(prettier@3.0.3): + resolution: {integrity: sha512-/CTc6ML3Wta1tCe1gUeO0EYnVXfo3nJXsIhZ8WJr3sov+cGASr6yuiibJTL6lmIBm7GobopToOuB3B6AWyV0Iw==} peerDependencies: eslint: '>= 7.28.0' prettier: '>= 2.0.0' dependencies: eslint: 8.32.0 eslint-config-prettier: 8.5.0(eslint@8.32.0) - eslint-plugin-prettier: 4.2.1(eslint-config-prettier@8.5.0)(eslint@8.32.0)(prettier@2.8.3) - prettier: 2.8.3 + eslint-plugin-prettier: 4.2.1(eslint-config-prettier@8.5.0)(eslint@8.32.0)(prettier@3.0.3) + prettier: 3.0.3 dev: false - /@vue/eslint-config-prettier@7.0.0(eslint@8.33.0)(prettier@2.8.3): - resolution: - { - integrity: sha512-/CTc6ML3Wta1tCe1gUeO0EYnVXfo3nJXsIhZ8WJr3sov+cGASr6yuiibJTL6lmIBm7GobopToOuB3B6AWyV0Iw== - } + /@vue/eslint-config-prettier@7.0.0(eslint@8.33.0)(prettier@3.0.3): + resolution: {integrity: sha512-/CTc6ML3Wta1tCe1gUeO0EYnVXfo3nJXsIhZ8WJr3sov+cGASr6yuiibJTL6lmIBm7GobopToOuB3B6AWyV0Iw==} peerDependencies: eslint: '>= 7.28.0' prettier: '>= 2.0.0' dependencies: eslint: 8.33.0 eslint-config-prettier: 8.5.0(eslint@8.33.0) - eslint-plugin-prettier: 4.2.1(eslint-config-prettier@8.5.0)(eslint@8.33.0)(prettier@2.8.3) - prettier: 2.8.3 + eslint-plugin-prettier: 4.2.1(eslint-config-prettier@8.5.0)(eslint@8.33.0)(prettier@3.0.3) + prettier: 3.0.3 dev: true /@vue/eslint-config-typescript@11.0.0(eslint-plugin-vue@8.7.1)(eslint@8.32.0)(typescript@4.9.4): @@ -10189,6 +10184,24 @@ packages: eslint: 8.33.0 dev: true + /eslint-config-prettier@9.0.0(eslint@8.32.0): + resolution: {integrity: sha512-IcJsTkJae2S35pRsRAwoCE+925rJJStOdkKnLVgtE+tEpqU0EVVM7OqrwxqgptKdX29NUwC82I5pXsGFIgSevw==} + hasBin: true + peerDependencies: + eslint: '>=7.0.0' + dependencies: + eslint: 8.32.0 + dev: false + + /eslint-config-prettier@9.0.0(eslint@8.33.0): + resolution: {integrity: sha512-IcJsTkJae2S35pRsRAwoCE+925rJJStOdkKnLVgtE+tEpqU0EVVM7OqrwxqgptKdX29NUwC82I5pXsGFIgSevw==} + hasBin: true + peerDependencies: + eslint: '>=7.0.0' + dependencies: + eslint: 8.33.0 + dev: true + /eslint-import-resolver-node@0.3.7: resolution: { @@ -10499,12 +10512,9 @@ packages: - supports-color dev: true - /eslint-plugin-prettier@4.2.1(eslint-config-prettier@8.5.0)(eslint@8.32.0)(prettier@2.8.3): - resolution: - { - integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ== - } - engines: { node: '>=12.0.0' } + /eslint-plugin-prettier@4.2.1(eslint-config-prettier@8.5.0)(eslint@8.32.0)(prettier@3.0.3): + resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==} + engines: {node: '>=12.0.0'} peerDependencies: eslint: '>=7.28.0' eslint-config-prettier: '*' @@ -10515,16 +10525,13 @@ packages: dependencies: eslint: 8.32.0 eslint-config-prettier: 8.5.0(eslint@8.32.0) - prettier: 2.8.3 + prettier: 3.0.3 prettier-linter-helpers: 1.0.0 dev: false - /eslint-plugin-prettier@4.2.1(eslint-config-prettier@8.5.0)(eslint@8.33.0)(prettier@2.8.3): - resolution: - { - integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ== - } - engines: { node: '>=12.0.0' } + /eslint-plugin-prettier@4.2.1(eslint-config-prettier@8.5.0)(eslint@8.33.0)(prettier@3.0.3): + resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==} + engines: {node: '>=12.0.0'} peerDependencies: eslint: '>=7.28.0' eslint-config-prettier: '*' @@ -10535,10 +10542,52 @@ packages: dependencies: eslint: 8.33.0 eslint-config-prettier: 8.5.0(eslint@8.33.0) - prettier: 2.8.3 + prettier: 3.0.3 prettier-linter-helpers: 1.0.0 dev: true + /eslint-plugin-prettier@5.0.0(eslint-config-prettier@9.0.0)(eslint@8.32.0)(prettier@3.0.3): + resolution: {integrity: sha512-AgaZCVuYDXHUGxj/ZGu1u8H8CYgDY3iG6w5kUFw4AzMVXzB7VvbKgYR4nATIN+OvUrghMbiDLeimVjVY5ilq3w==} + engines: {node: ^14.18.0 || >=16.0.0} + peerDependencies: + '@types/eslint': '>=8.0.0' + eslint: '>=8.0.0' + eslint-config-prettier: '*' + prettier: '>=3.0.0' + peerDependenciesMeta: + '@types/eslint': + optional: true + eslint-config-prettier: + optional: true + dependencies: + eslint: 8.32.0 + eslint-config-prettier: 9.0.0(eslint@8.32.0) + prettier: 3.0.3 + prettier-linter-helpers: 1.0.0 + synckit: 0.8.5 + dev: false + + /eslint-plugin-prettier@5.0.0(eslint-config-prettier@9.0.0)(eslint@8.33.0)(prettier@3.0.3): + resolution: {integrity: sha512-AgaZCVuYDXHUGxj/ZGu1u8H8CYgDY3iG6w5kUFw4AzMVXzB7VvbKgYR4nATIN+OvUrghMbiDLeimVjVY5ilq3w==} + engines: {node: ^14.18.0 || >=16.0.0} + peerDependencies: + '@types/eslint': '>=8.0.0' + eslint: '>=8.0.0' + eslint-config-prettier: '*' + prettier: '>=3.0.0' + peerDependenciesMeta: + '@types/eslint': + optional: true + eslint-config-prettier: + optional: true + dependencies: + eslint: 8.33.0 + eslint-config-prettier: 9.0.0(eslint@8.33.0) + prettier: 3.0.3 + prettier-linter-helpers: 1.0.0 + synckit: 0.8.5 + dev: true + /eslint-plugin-react@7.32.1(eslint@8.33.0): resolution: { @@ -18231,19 +18280,16 @@ packages: dependencies: fast-diff: 1.3.0 - /prettier-plugin-tailwindcss@0.3.0(prettier@2.8.3): - resolution: - { - integrity: sha512-009/Xqdy7UmkcTBpwlq7jsViDqXAYSOMLDrHAdTMlVZOrKfM2o9Ci7EMWTMZ7SkKBFTG04UM9F9iM2+4i6boDA== - } - engines: { node: '>=12.17.0' } + /prettier-plugin-tailwindcss@0.5.4(prettier@3.0.3): + resolution: {integrity: sha512-QZzzB1bID6qPsKHTeA9qPo1APmmxfFrA5DD3LQ+vbTmAnY40eJI7t9Q1ocqel2EKMWNPLJqdTDWZj1hKYgqSgg==} + engines: {node: '>=14.21.3'} peerDependencies: '@ianvs/prettier-plugin-sort-imports': '*' '@prettier/plugin-pug': '*' '@shopify/prettier-plugin-liquid': '*' '@shufo/prettier-plugin-blade': '*' '@trivago/prettier-plugin-sort-imports': '*' - prettier: '>=2.2.0' + prettier: ^3.0 prettier-plugin-astro: '*' prettier-plugin-css-order: '*' prettier-plugin-import-sort: '*' @@ -18286,15 +18332,7 @@ packages: prettier-plugin-twig-melody: optional: true dependencies: - prettier: 2.8.3 - - /prettier@2.8.3: - resolution: - { - integrity: sha512-tJ/oJ4amDihPoufT5sM0Z1SKEuKay8LfVAMlbbhnnkvt6BUserZylqo2PN+p9KeljLr0OHa2rXHU1T8reeoTrw== - } - engines: { node: '>=10.13.0' } - hasBin: true + prettier: 3.0.3 /prettier@2.8.8: resolution: @@ -18305,6 +18343,11 @@ packages: hasBin: true dev: true + /prettier@3.0.3: + resolution: {integrity: sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==} + engines: {node: '>=14'} + hasBin: true + /pretty-bytes@5.6.0: resolution: { @@ -22020,7 +22063,7 @@ packages: fs-extra: 10.1.0 hash-sum: 2.0.0 magic-string: 0.26.7 - prettier: 2.8.3 + prettier: 2.8.8 querystring: 0.2.1 rollup: 2.79.1 slash: 3.0.0 @@ -22318,15 +22361,13 @@ packages: vue: 2.7.14 dev: true - /vue-loader@15.10.1(css-loader@6.8.1)(vue-template-compiler@2.7.14)(webpack@5.88.2): - resolution: - { - integrity: sha512-SaPHK1A01VrNthlix6h1hq4uJu7S/z0kdLUb6klubo738NeQoLbS6V9/d8Pv19tU0XdQKju3D1HSKuI8wJ5wMA== - } + /vue-loader@15.10.2(css-loader@6.8.1)(prettier@3.0.3)(vue-template-compiler@2.7.14)(webpack@5.88.2): + resolution: {integrity: sha512-ndeSe/8KQc/nlA7TJ+OBhv2qalmj1s+uBs7yHDRFaAXscFTApBzY9F1jES3bautmgWjDlDct0fw8rPuySDLwxw==} peerDependencies: '@vue/compiler-sfc': ^3.0.8 cache-loader: '*' css-loader: '*' + prettier: '*' vue-template-compiler: '*' webpack: ^3.0.0 || ^4.1.0 || ^5.0.0-0 peerDependenciesMeta: @@ -22334,6 +22375,8 @@ packages: optional: true cache-loader: optional: true + prettier: + optional: true vue-template-compiler: optional: true dependencies: @@ -22341,6 +22384,7 @@ packages: css-loader: 6.8.1(webpack@5.88.2) hash-sum: 1.0.2 loader-utils: 1.4.2 + prettier: 3.0.3 vue-hot-reload-api: 2.3.4 vue-style-loader: 4.1.3 vue-template-compiler: 2.7.14 @@ -23319,38 +23363,40 @@ packages: commander: 9.5.0 dev: true - file:packages/eslint-plugin-x(eslint@8.33.0)(prettier@2.8.3)(typescript@4.9.4): - resolution: { directory: packages/eslint-plugin-x, type: directory } + file:packages/eslint-plugin-x(eslint@8.33.0)(prettier@3.0.3)(typescript@4.9.4): + resolution: {directory: packages/eslint-plugin-x, type: directory} id: file:packages/eslint-plugin-x name: '@empathyco/eslint-plugin-x' - engines: { node: '>=18' } + version: 2.0.0-alpha.38 + engines: {node: '>=18'} peerDependencies: eslint: ~8.32.0 - prettier: ^2.0.5 + prettier: ^3.0.3 dependencies: '@typescript-eslint/eslint-plugin': 5.49.0(@typescript-eslint/parser@5.49.0)(eslint@8.33.0)(typescript@4.9.4) '@typescript-eslint/parser': 5.49.0(eslint@8.33.0)(typescript@4.9.4) - '@vue/eslint-config-prettier': 7.0.0(eslint@8.33.0)(prettier@2.8.3) + '@vue/eslint-config-prettier': 7.0.0(eslint@8.33.0)(prettier@3.0.3) '@vue/eslint-config-typescript': 11.0.0(eslint-plugin-vue@8.7.1)(eslint@8.33.0)(typescript@4.9.4) eslint: 8.33.0 - eslint-config-prettier: 8.5.0(eslint@8.33.0) + eslint-config-prettier: 9.0.0(eslint@8.33.0) eslint-import-resolver-typescript: 3.5.2(eslint-plugin-import@2.27.5)(eslint@8.33.0) eslint-plugin-cypress: 2.12.1(eslint@8.33.0) eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.49.0)(eslint-import-resolver-typescript@3.5.2)(eslint@8.33.0) eslint-plugin-jest: 27.2.0(@typescript-eslint/eslint-plugin@5.49.0)(eslint@8.33.0)(typescript@4.9.4) eslint-plugin-jsdoc: 39.6.4(eslint@8.33.0) - eslint-plugin-prettier: 4.2.1(eslint-config-prettier@8.5.0)(eslint@8.33.0)(prettier@2.8.3) + eslint-plugin-prettier: 5.0.0(eslint-config-prettier@9.0.0)(eslint@8.33.0)(prettier@3.0.3) eslint-plugin-tsdoc: 0.2.17 eslint-plugin-vue: 8.7.1(eslint@8.33.0) eslint-plugin-vuejs-accessibility: 2.0.0(eslint@8.33.0) - prettier: 2.8.3 - prettier-plugin-tailwindcss: 0.3.0(prettier@2.8.3) + prettier: 3.0.3 + prettier-plugin-tailwindcss: 0.5.4(prettier@3.0.3) transitivePeerDependencies: - '@ianvs/prettier-plugin-sort-imports' - '@prettier/plugin-pug' - '@shopify/prettier-plugin-liquid' - '@shufo/prettier-plugin-blade' - '@trivago/prettier-plugin-sort-imports' + - '@types/eslint' - eslint-import-resolver-webpack - jest - prettier-plugin-astro