@liquidcommerce/elements-sdk 2.6.0-beta.2 → 2.6.0-beta.4
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/index.esm.js +10877 -10037
- package/dist/types/constants/core.constant.d.ts +11 -0
- package/dist/types/core/api/api-client.service.d.ts +9 -9
- package/dist/types/core/api/auth-client.service.d.ts +3 -14
- package/dist/types/core/client/client-action.service.d.ts +7 -4
- package/dist/types/core/client/client-config.service.d.ts +1 -0
- package/dist/types/core/command/base-command.service.d.ts +2 -2
- package/dist/types/core/google-tag-manager.service.d.ts +10 -10
- package/dist/types/core/pubsub/interfaces/address.interface.d.ts +3 -12
- package/dist/types/core/pubsub/interfaces/product.interface.d.ts +3 -9
- package/dist/types/core/store/interfaces/address.interface.d.ts +3 -12
- package/dist/types/core/store/interfaces/cart.interface.d.ts +3 -2
- package/dist/types/core/store/interfaces/core.interface.d.ts +2 -2
- package/dist/types/core/store/interfaces/product.interface.d.ts +11 -66
- package/dist/types/core/store/store.constant.d.ts +1 -1
- package/dist/types/core/telemetry/telemetry.interface.d.ts +0 -1
- package/dist/types/enums/cloud.enum.d.ts +326 -0
- package/dist/types/enums/core.enum.d.ts +1 -0
- package/dist/types/interfaces/api/address.interface.d.ts +28 -0
- package/dist/types/interfaces/api/product.interface.d.ts +107 -0
- package/dist/types/interfaces/cloud/cart.interface.d.ts +4 -4
- package/dist/types/interfaces/cloud/catalog.interface.d.ts +3 -3
- package/dist/types/interfaces/cloud/checkout.interface.d.ts +5 -8
- package/dist/types/interfaces/cloud/index.d.ts +0 -2
- package/dist/types/interfaces/cloud/retailer.interface.d.ts +2 -2
- package/dist/types/interfaces/configs/configurations.interface.d.ts +5 -5
- package/dist/types/modules/address/address.command.d.ts +2 -3
- package/dist/types/modules/address/address.interface.d.ts +0 -7
- package/dist/types/modules/product/components/components.d.ts +2 -4
- package/dist/types/modules/product/product.commands.d.ts +2 -2
- package/dist/types/modules/product-list/components/index.d.ts +2 -0
- package/dist/types/modules/product-list/components/product-list-card.component.d.ts +2 -1
- package/dist/types/modules/product-list/components/product-list-filters-subcomponents/index.d.ts +6 -0
- package/dist/types/modules/product-list/components/product-list-filters-subcomponents/product-list-apply-filter-button.component.d.ts +1 -0
- package/dist/types/modules/product-list/components/product-list-filters-subcomponents/product-list-checkbox-filter.components.d.ts +7 -0
- package/dist/types/modules/product-list/components/product-list-filters-subcomponents/product-list-delivery-options-filter.components.d.ts +16 -0
- package/dist/types/modules/product-list/components/product-list-filters-subcomponents/product-list-price-filter.components.d.ts +22 -0
- package/dist/types/modules/product-list/components/product-list-filters-subcomponents/product-list-search.component.d.ts +16 -0
- package/dist/types/modules/product-list/components/product-list-filters-subcomponents/product-list-toggle-filters.components.d.ts +18 -0
- package/dist/types/modules/product-list/components/product-list-filters.component.d.ts +27 -5
- package/dist/types/modules/product-list/product-list.commands.d.ts +2 -1
- package/dist/types/modules/product-list/product-list.component.d.ts +14 -5
- package/dist/types/modules/product-list/product-list.interface.d.ts +80 -0
- package/dist/types/static/icon/chevron-up.icon.d.ts +2 -0
- package/dist/types/static/icon/filter.icon.d.ts +2 -0
- package/dist/types/static/icon/index.d.ts +1 -0
- package/package.json +2 -3
- package/umd/elements.js +1 -1
- package/dist/types/interfaces/cloud/address.interface.d.ts +0 -36
- package/dist/types/interfaces/cloud/product.interface.d.ts +0 -158
- package/dist/types/modules/product/utils/helpers.d.ts +0 -3
- package/dist/types/modules/product/utils/retailer-hours.d.ts +0 -9
|
@@ -2,7 +2,7 @@ import { BaseCommand } from '@/core/command/base-command.service';
|
|
|
2
2
|
import type { IBaseProductEventData } from '@/core/pubsub/interfaces/product.interface';
|
|
3
3
|
import type { IProductDrawerContentConfig } from '@/core/store/interfaces/product.interface';
|
|
4
4
|
import { type FulfillmentType } from '@/enums';
|
|
5
|
-
import type {
|
|
5
|
+
import type { IProductAvailabilityResponse } from '@/interfaces/api/product.interface';
|
|
6
6
|
import { type AddItemParams } from '@/modules/cart/cart.commands';
|
|
7
7
|
export declare class ProductCommands extends BaseCommand {
|
|
8
8
|
private readonly uiCommands;
|
|
@@ -11,7 +11,7 @@ export declare class ProductCommands extends BaseCommand {
|
|
|
11
11
|
static getInstance(): ProductCommands;
|
|
12
12
|
createProductInstance(productId: string, firstTime?: boolean): Promise<void>;
|
|
13
13
|
loadMultipleProducts(productIds: string[]): Promise<void>;
|
|
14
|
-
loadProduct(productId: string, customProductData?:
|
|
14
|
+
loadProduct(productId: string, customProductData?: IProductAvailabilityResponse | null): Promise<void>;
|
|
15
15
|
selectSize(productId: string, sizeId: string): Promise<void>;
|
|
16
16
|
selectFulfillment(productId: string, selectedFulfillmentId: string): Promise<void>;
|
|
17
17
|
updateQuantity(productId: string, delta: number): Promise<void>;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
export * from './product-list-card.component';
|
|
2
2
|
export * from './product-list-card-loading.component';
|
|
3
3
|
export * from './product-list-filters.component';
|
|
4
|
+
export * from './product-list-filters-subcomponents';
|
|
5
|
+
export * from './product-list-filters-subcomponents/product-list-apply-filter-button.component';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BaseComponent } from '@/core/base-component.service';
|
|
2
|
-
import type { IProduct
|
|
2
|
+
import type { IProduct } from '@/interfaces/api/product.interface';
|
|
3
|
+
import type { IRetailerFulfillments } from '@/interfaces/cloud';
|
|
3
4
|
import type { ProductListCardVariantType } from '@/interfaces/core.interface';
|
|
4
5
|
export interface IProductListCardParams {
|
|
5
6
|
variant: ProductListCardVariantType;
|
package/dist/types/modules/product-list/components/product-list-filters-subcomponents/index.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './product-list-apply-filter-button.component';
|
|
2
|
+
export * from './product-list-checkbox-filter.components';
|
|
3
|
+
export * from './product-list-delivery-options-filter.components';
|
|
4
|
+
export * from './product-list-price-filter.components';
|
|
5
|
+
export * from './product-list-search.component';
|
|
6
|
+
export * from './product-list-toggle-filters.components';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function createApplyFiltersButton(onCloseDrawer: VoidFunction): HTMLElement;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ICheckboxLabelStates, ICreateCheckboxFilterHeaderParams, ICreateCheckboxFilterSearchContainerParams, ICreateCheckboxItemParams, IHandleCheckboxFilterSearchParams, IRenderCheckboxItemsParams } from '../../product-list.interface';
|
|
2
|
+
export declare function createCheckboxItem(params: ICreateCheckboxItemParams): HTMLElement;
|
|
3
|
+
export declare function handleCheckboxFilterSearch(params: IHandleCheckboxFilterSearchParams): void;
|
|
4
|
+
export declare function createCheckboxFilterHeader(params: ICreateCheckboxFilterHeaderParams): HTMLElement;
|
|
5
|
+
export declare function createCheckboxFilterSearchContainer(params: ICreateCheckboxFilterSearchContainerParams): HTMLElement;
|
|
6
|
+
export declare function renderCheckboxItems(params: IRenderCheckboxItemsParams): void;
|
|
7
|
+
export declare function updateFilterExpandState(state: ICheckboxLabelStates): void;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface ICreateDeliveryOptionsFilterParams {
|
|
2
|
+
currentFilters?: {
|
|
3
|
+
deliveryOptions?: string;
|
|
4
|
+
personalized?: boolean;
|
|
5
|
+
preOrder?: boolean;
|
|
6
|
+
};
|
|
7
|
+
deliveryCollapsed: boolean;
|
|
8
|
+
isSameDayDeliveryDisabled: boolean;
|
|
9
|
+
onDeliveryOptionsChange?: (value: 'all' | 'shipping' | 'onDemand') => void;
|
|
10
|
+
onToggleCollapse: () => void;
|
|
11
|
+
}
|
|
12
|
+
export declare function createDeliveryOptionsFilter(params: ICreateDeliveryOptionsFilterParams): {
|
|
13
|
+
elements: HTMLElement[];
|
|
14
|
+
chevronContainer: HTMLElement;
|
|
15
|
+
deliveryOptionsList: HTMLElement;
|
|
16
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface ICreatePriceFilterParams {
|
|
2
|
+
priceConfig?: {
|
|
3
|
+
min?: string;
|
|
4
|
+
max?: string;
|
|
5
|
+
};
|
|
6
|
+
currentFilters?: {
|
|
7
|
+
price?: {
|
|
8
|
+
min?: string;
|
|
9
|
+
max?: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
priceCollapsed: boolean;
|
|
13
|
+
onPriceChange?: (min: string, max: string) => void;
|
|
14
|
+
onToggleCollapse: () => void;
|
|
15
|
+
DEFAULT_MIN: string;
|
|
16
|
+
DEFAULT_MAX: string;
|
|
17
|
+
}
|
|
18
|
+
export declare function createPriceFilter(params: ICreatePriceFilterParams): {
|
|
19
|
+
elements: HTMLElement[];
|
|
20
|
+
chevronContainer: HTMLElement;
|
|
21
|
+
sliderContainer: HTMLElement;
|
|
22
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BaseComponent } from '@/core/base-component.service';
|
|
2
|
+
export interface IProductListSearchParams {
|
|
3
|
+
searchTerm?: string;
|
|
4
|
+
handleInputChange?: (search: string) => void;
|
|
5
|
+
clearSearch?: VoidFunction;
|
|
6
|
+
}
|
|
7
|
+
export declare class ProductListSearchComponent extends BaseComponent<IProductListSearchParams> {
|
|
8
|
+
private searchInput?;
|
|
9
|
+
private clearButton?;
|
|
10
|
+
private readonly ALLOWED_CHARACTERS;
|
|
11
|
+
private readonly MAX_LENGTH;
|
|
12
|
+
get hostClasses(): string[];
|
|
13
|
+
protected template(): HTMLElement[];
|
|
14
|
+
private sanitizeInput;
|
|
15
|
+
private updateClearButtonVisibility;
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface ICreatePersonalizedFilterParams {
|
|
2
|
+
currentFilters?: {
|
|
3
|
+
personalized?: boolean;
|
|
4
|
+
deliveryOptions?: string;
|
|
5
|
+
};
|
|
6
|
+
isPersonalizationDisabled: boolean;
|
|
7
|
+
onPersonalizedChange?: (enabled: boolean) => void;
|
|
8
|
+
}
|
|
9
|
+
export interface ICreatePreOrderFilterParams {
|
|
10
|
+
currentFilters?: {
|
|
11
|
+
preOrder?: boolean;
|
|
12
|
+
deliveryOptions?: string;
|
|
13
|
+
};
|
|
14
|
+
isPreOrderDisabled: boolean;
|
|
15
|
+
onPreOrderChange?: (enabled: boolean) => void;
|
|
16
|
+
}
|
|
17
|
+
export declare function createPersonalizedFilter(params: ICreatePersonalizedFilterParams): HTMLElement[];
|
|
18
|
+
export declare function createPreOrderFilter(params: ICreatePreOrderFilterParams): HTMLElement[];
|
|
@@ -1,21 +1,43 @@
|
|
|
1
1
|
import { BaseComponent } from '@/core/base-component.service';
|
|
2
|
+
import type { ICurrentFilters, IExtendedFilterSchema, IPriceConfig } from '../product-list.interface';
|
|
2
3
|
export interface IProductListFiltersParams {
|
|
3
4
|
enablePersonalized: boolean;
|
|
4
5
|
enablePreOrder: boolean;
|
|
5
6
|
enableDeliveryOptions: boolean;
|
|
7
|
+
sanitizedFilters?: IExtendedFilterSchema[];
|
|
8
|
+
currentFilters?: ICurrentFilters;
|
|
9
|
+
priceConfig?: IPriceConfig;
|
|
10
|
+
isDrawerMode?: boolean;
|
|
6
11
|
onPersonalizedChange?: (enabled: boolean) => void;
|
|
7
12
|
onPreOrderChange?: (enabled: boolean) => void;
|
|
8
13
|
onDeliveryOptionsChange?: (value: 'all' | 'shipping' | 'onDemand') => void;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
deliveryOptions: 'all' | 'shipping' | 'onDemand';
|
|
13
|
-
};
|
|
14
|
+
onPriceChange?: (min: string, max: string) => void;
|
|
15
|
+
onCheckboxFilterChange?: (bucket: string, selectedValues: string[]) => void;
|
|
16
|
+
onApplyFilters?: () => void;
|
|
14
17
|
}
|
|
15
18
|
export declare class ProductListFiltersComponent extends BaseComponent<IProductListFiltersParams> {
|
|
19
|
+
private priceCollapsed;
|
|
20
|
+
private deliveryCollapsed;
|
|
21
|
+
private checkboxFilterStates;
|
|
22
|
+
private readonly DEFAULT_MIN;
|
|
23
|
+
private readonly DEFAULT_MAX;
|
|
24
|
+
private priceChevronContainer?;
|
|
25
|
+
private priceSliderContainer?;
|
|
26
|
+
private deliveryChevronContainer?;
|
|
27
|
+
private deliveryOptionsList?;
|
|
16
28
|
get hostClasses(): string[];
|
|
17
29
|
private isSameDayDeliveryDisabled;
|
|
18
30
|
private isPersonalizationDisabled;
|
|
19
31
|
private isPreOrderDisabled;
|
|
32
|
+
private createPersonalizedFilterWrapper;
|
|
33
|
+
private createPreOrderFilterWrapper;
|
|
34
|
+
private createDeliveryOptionsFilterWrapper;
|
|
35
|
+
private toggleDeliveryCollapse;
|
|
36
|
+
private createPriceFilterWrapper;
|
|
37
|
+
private togglePriceCollapse;
|
|
38
|
+
private createCheckboxFilter;
|
|
39
|
+
private renderCheckboxItemsWrapper;
|
|
40
|
+
private handleCheckboxChange;
|
|
41
|
+
private toggleCheckboxFilter;
|
|
20
42
|
protected template(): HTMLElement[];
|
|
21
43
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BaseCommand } from '@/core/command/base-command.service';
|
|
2
|
-
import type {
|
|
2
|
+
import type { IProduct } from '@/interfaces/api/product.interface';
|
|
3
|
+
import type { ICatalog, ICatalogParams } from '@/interfaces/cloud';
|
|
3
4
|
import { type AddItemParams } from '@/modules/cart/cart.commands';
|
|
4
5
|
export declare class ProductListCommands extends BaseCommand {
|
|
5
6
|
private readonly uiCommands;
|
|
@@ -8,18 +8,16 @@ export interface IProductListComponentParams {
|
|
|
8
8
|
filters: ProductListFilterType[];
|
|
9
9
|
productUrl?: string;
|
|
10
10
|
}
|
|
11
|
-
export interface IProductListFilters {
|
|
12
|
-
personalized: boolean;
|
|
13
|
-
preOrder: boolean;
|
|
14
|
-
deliveryOptions: 'all' | 'shipping' | 'onDemand';
|
|
15
|
-
}
|
|
16
11
|
export declare class ProductListComponent extends BaseComponent<IProductListComponentParams> {
|
|
17
12
|
private products;
|
|
18
13
|
private retailers;
|
|
19
14
|
private pagination;
|
|
15
|
+
private sanitizedFilters;
|
|
16
|
+
private searchFilter;
|
|
20
17
|
private currentFilters;
|
|
21
18
|
private cardsContainer;
|
|
22
19
|
private filtersContainer;
|
|
20
|
+
private searchContainer;
|
|
23
21
|
private sentinelElement;
|
|
24
22
|
private personalizedSwitch;
|
|
25
23
|
private preOrderSwitch;
|
|
@@ -28,6 +26,9 @@ export declare class ProductListComponent extends BaseComponent<IProductListComp
|
|
|
28
26
|
private loadingState;
|
|
29
27
|
private scrollObserver;
|
|
30
28
|
private initializationPromise;
|
|
29
|
+
private filterDebounceTimer;
|
|
30
|
+
private readonly FILTER_DEBOUNCE_MS;
|
|
31
|
+
private filterButton;
|
|
31
32
|
get hostClasses(): string[];
|
|
32
33
|
constructor();
|
|
33
34
|
protected connected(): Promise<void>;
|
|
@@ -36,7 +37,10 @@ export declare class ProductListComponent extends BaseComponent<IProductListComp
|
|
|
36
37
|
protected template(): HTMLElement[];
|
|
37
38
|
private setLoadingState;
|
|
38
39
|
private renderCurrentState;
|
|
40
|
+
private sanitizeFilterValues;
|
|
41
|
+
private processResponseFilters;
|
|
39
42
|
private loadInitialProducts;
|
|
43
|
+
private updateFiltersComponent;
|
|
40
44
|
private loadMoreProducts;
|
|
41
45
|
private mergeRetailers;
|
|
42
46
|
private updatePagination;
|
|
@@ -58,8 +62,13 @@ export declare class ProductListComponent extends BaseComponent<IProductListComp
|
|
|
58
62
|
private renderProducts;
|
|
59
63
|
private appendNewProducts;
|
|
60
64
|
private createProductCard;
|
|
65
|
+
private filterSanitizedFilters;
|
|
66
|
+
private buildFiltersParams;
|
|
67
|
+
private createSearchContainer;
|
|
61
68
|
private createFiltersContainer;
|
|
62
69
|
private storeFilterElementReferences;
|
|
70
|
+
private openFiltersDrawer;
|
|
71
|
+
private createFilterButton;
|
|
63
72
|
private setupInfiniteScroll;
|
|
64
73
|
private createScrollSentinel;
|
|
65
74
|
private updateSentinel;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import type { IFilterValue } from 'enums';
|
|
2
|
+
export interface IProductListFilters {
|
|
3
|
+
personalized: boolean;
|
|
4
|
+
preOrder: boolean;
|
|
5
|
+
deliveryOptions: 'all' | 'shipping' | 'onDemand';
|
|
6
|
+
price?: {
|
|
7
|
+
min?: string;
|
|
8
|
+
max?: string;
|
|
9
|
+
};
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}
|
|
12
|
+
export interface IExtendedFilterValue extends IFilterValue {
|
|
13
|
+
formattedValue?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface IExtendedFilterSchema {
|
|
16
|
+
bucket: string;
|
|
17
|
+
values: IExtendedFilterValue[];
|
|
18
|
+
}
|
|
19
|
+
export interface IProductListSearch {
|
|
20
|
+
searchTerm?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface IPagination {
|
|
23
|
+
currentPage: number;
|
|
24
|
+
totalPages: number;
|
|
25
|
+
hasMorePages: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface ICheckboxLabelStates {
|
|
28
|
+
isExpanded: boolean;
|
|
29
|
+
selectedValues: Set<string>;
|
|
30
|
+
searchInput: HTMLInputElement | null;
|
|
31
|
+
checkboxList: HTMLElement | null;
|
|
32
|
+
filteredItems: IExtendedFilterValue[];
|
|
33
|
+
contentElement: HTMLElement | null;
|
|
34
|
+
iconElement: HTMLElement | null;
|
|
35
|
+
hasUserInteraction: boolean;
|
|
36
|
+
}
|
|
37
|
+
export interface ICurrentFilters {
|
|
38
|
+
personalized: boolean;
|
|
39
|
+
preOrder: boolean;
|
|
40
|
+
deliveryOptions: 'all' | 'shipping' | 'onDemand';
|
|
41
|
+
price?: {
|
|
42
|
+
min?: string;
|
|
43
|
+
max?: string;
|
|
44
|
+
};
|
|
45
|
+
[key: string]: any;
|
|
46
|
+
}
|
|
47
|
+
export interface IPriceConfig {
|
|
48
|
+
min: string;
|
|
49
|
+
max: string;
|
|
50
|
+
}
|
|
51
|
+
export interface ICreateCheckboxItemParams {
|
|
52
|
+
filter: IExtendedFilterSchema;
|
|
53
|
+
state: ICheckboxLabelStates;
|
|
54
|
+
item: IExtendedFilterValue;
|
|
55
|
+
onChange: VoidFunction;
|
|
56
|
+
}
|
|
57
|
+
export interface IHandleCheckboxFilterSearchParams {
|
|
58
|
+
filter: IExtendedFilterSchema;
|
|
59
|
+
state: ICheckboxLabelStates;
|
|
60
|
+
searchTerm: string;
|
|
61
|
+
renderCheckboxItems: VoidFunction;
|
|
62
|
+
}
|
|
63
|
+
export interface ICreateCheckboxFilterHeaderParams {
|
|
64
|
+
filter: IExtendedFilterSchema;
|
|
65
|
+
state: ICheckboxLabelStates;
|
|
66
|
+
onToggle: (bucket: string) => void;
|
|
67
|
+
}
|
|
68
|
+
export interface ICreateCheckboxFilterSearchContainerParams {
|
|
69
|
+
filter: IExtendedFilterSchema;
|
|
70
|
+
state: ICheckboxLabelStates;
|
|
71
|
+
onSearch: (searchTerm: string) => void;
|
|
72
|
+
}
|
|
73
|
+
export interface IRenderCheckboxItemsParams {
|
|
74
|
+
filter: IExtendedFilterSchema;
|
|
75
|
+
state: ICheckboxLabelStates;
|
|
76
|
+
onCheckboxChange: (value: string, checked: boolean) => void;
|
|
77
|
+
}
|
|
78
|
+
export interface ICreateFiltersContainerParams {
|
|
79
|
+
isDrawerMode?: boolean;
|
|
80
|
+
}
|
|
@@ -3,6 +3,7 @@ export * from './bag.icon';
|
|
|
3
3
|
export * from './checkbox.icon';
|
|
4
4
|
export * from './chevron-down.icon';
|
|
5
5
|
export * from './chevron-left.icon';
|
|
6
|
+
export * from './chevron-up.icon';
|
|
6
7
|
export * from './close.icon';
|
|
7
8
|
export * from './error-info.icon';
|
|
8
9
|
export * from './icon.types';
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "LiquidCommerce Elements SDK",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"author": "LiquidCommerce Team",
|
|
6
|
-
"version": "2.6.0-beta.
|
|
6
|
+
"version": "2.6.0-beta.4",
|
|
7
7
|
"homepage": "https://docs.liquidcommerce.co/elements-sdk",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
@@ -53,8 +53,7 @@
|
|
|
53
53
|
"check": "pnpm biome check --write .",
|
|
54
54
|
"fl": "pnpm check && pnpm build:dev",
|
|
55
55
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
|
56
|
-
"clean": "rm -rf dist umd",
|
|
57
|
-
"clean:hard": "rm -rf dist umd node_modules && pnpm install && pnpm build",
|
|
56
|
+
"clean": "rm -rf dist umd node_modules && pnpm install && pnpm build",
|
|
58
57
|
"prepublishOnly": "pnpm run build",
|
|
59
58
|
"deprecate:old": "npm deprecate @liquidcommerceteam/elements-sdk@\"*\" \"Package moved to @liquidcommerce/elements-sdk\"",
|
|
60
59
|
"prepare": "husky"
|