@bootpay/client-js 5.2.0-beta.10 → 5.2.0-beta.12

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.
Files changed (42) hide show
  1. package/dist/index.mjs +2894 -3034
  2. package/dist/index.umd.js +27 -27
  3. package/dist/src/bootpay-environment.d.ts +1 -1
  4. package/dist/src/bootpay-es5.d.ts +1 -1
  5. package/dist/src/bootpay-sdk.d.ts +2 -2
  6. package/dist/src/bootpay-widget.d.ts +2 -2
  7. package/dist/src/bootpay.d.ts +4 -4
  8. package/dist/src/index.d.ts +7 -7
  9. package/dist/src/lib/analytics.d.ts +3 -3
  10. package/dist/src/lib/bootpay-store.d.ts +1 -1
  11. package/dist/src/lib/bootpay-widget.d.ts +3 -3
  12. package/dist/src/lib/bootpay.d.ts +4 -4
  13. package/dist/src/lib/event/hooks/widget/message.d.ts +3 -3
  14. package/dist/src/lib/event/payment.d.ts +2 -2
  15. package/dist/src/lib/event/polling.d.ts +2 -2
  16. package/dist/src/lib/event/store.d.ts +1 -1
  17. package/dist/src/lib/event/user-token.d.ts +1 -1
  18. package/dist/src/lib/event/widget.d.ts +1 -1
  19. package/dist/src/lib/template/brandpay.d.ts +2 -2
  20. package/dist/src/lib/template/confirm-modal.d.ts +1 -1
  21. package/dist/src/lib/template/modal.d.ts +1 -1
  22. package/dist/src/lib/template/payment.d.ts +2 -2
  23. package/dist/src/lib/template/store.d.ts +2 -2
  24. package/dist/src/lib/template/user-token.d.ts +4 -4
  25. package/dist/src/lib/template/widget.d.ts +2 -2
  26. package/dist/src/support/alfred-progress/index.d.ts +1 -1
  27. package/dist/src/support/bootpay-manager.d.ts +2 -2
  28. package/dist/src/support/event-logger.d.ts +2 -2
  29. package/dist/src/support/event.d.ts +1 -1
  30. package/dist/src/support/ex-store.d.ts +2 -2
  31. package/dist/src/support/resource.d.ts +1 -1
  32. package/dist/src/support/storage.d.ts +1 -1
  33. package/dist/src/support/stores/bootpay-store.d.ts +2 -2
  34. package/dist/src/support/stores/widget-store.d.ts +4 -4
  35. package/dist/src/support/template-manager.d.ts +1 -1
  36. package/dist/src/support/widget-store.d.ts +2 -2
  37. package/dist/src/types/bootpay-interface.d.ts +1 -1
  38. package/dist/src/types/bootpay-sdk-interface.d.ts +1 -1
  39. package/dist/src/types/bootpay-widget-interface.d.ts +1 -1
  40. package/package.json +5 -7
  41. package/tsconfig.json +12 -8
  42. package/vite.config.ts +1 -2
@@ -1,3 +1,3 @@
1
- import { Environment } from '../node_modules/support/environment';
1
+ import { Environment } from './node_modules/support/environment';
2
2
 
3
3
  export default Environment;
@@ -1,3 +1,3 @@
1
- import { default as Bootpay } from '../node_modules/bootpay';
1
+ import { default as Bootpay } from './node_modules/bootpay';
2
2
 
3
3
  export default Bootpay;
@@ -1,5 +1,5 @@
1
- import { UserTokenTemplateManager } from '../node_modules/lib/template/user-token';
2
- import { BiometricDataModel, RequestPaymentWalletModel } from '../node_modules/types/bootpay-sdk-interface';
1
+ import { UserTokenTemplateManager } from './node_modules/lib/template/user-token';
2
+ import { BiometricDataModel, RequestPaymentWalletModel } from './node_modules/types/bootpay-sdk-interface';
3
3
 
4
4
  interface BootpaySdkInterface {
5
5
  $templateUserToken: UserTokenTemplateManager;
@@ -1,5 +1,5 @@
1
- import { ExternalBootpaySelectModel, PaymentParametersModel, RequestBootpayWidgetModel, ResponseBootpayWidgetTermsModel } from '../node_modules/types/bootpay-widget-interface';
2
- import { RequestPaymentModel, RequestSubscriptionModel } from '../node_modules/types/bootpay-interface';
1
+ import { ExternalBootpaySelectModel, PaymentParametersModel, RequestBootpayWidgetModel, ResponseBootpayWidgetTermsModel } from './node_modules/types/bootpay-widget-interface';
2
+ import { RequestPaymentModel, RequestSubscriptionModel } from './node_modules/types/bootpay-interface';
3
3
 
4
4
  export interface BootpayWidgetInterface {
5
5
  render(el: string, data: RequestBootpayWidgetModel): void;
@@ -1,7 +1,7 @@
1
- import { BootpayAnalyticsModel, BootpayAnalyticsUserModel, RequestAuthenticationModel, RequestPaymentModel, RequestPaymentUrlModel, RequestSubscriptionModel } from '../node_modules/types/bootpay-interface';
2
- import { EnvironmentInterface } from '../node_modules/support/environment';
3
- import { BootpayRequestPaymentManager } from '../node_modules/lib/bootpay';
4
- import { BootpayAnalyticsManager } from '../node_modules/lib/analytics';
1
+ import { BootpayAnalyticsModel, BootpayAnalyticsUserModel, RequestAuthenticationModel, RequestPaymentModel, RequestPaymentUrlModel, RequestSubscriptionModel } from './node_modules/types/bootpay-interface';
2
+ import { EnvironmentInterface } from './node_modules/support/environment';
3
+ import { BootpayRequestPaymentManager } from './node_modules/lib/bootpay';
4
+ import { BootpayAnalyticsManager } from './node_modules/lib/analytics';
5
5
 
6
6
  export interface BootpayInterface {
7
7
  $payment: BootpayRequestPaymentManager;
@@ -1,10 +1,10 @@
1
- import { default as Bootpay, BootpayInterface } from '../node_modules/bootpay';
2
- import { default as BootpaySDK } from '../node_modules/bootpay-sdk';
3
- import { default as BootpayEnvironment } from '../node_modules/bootpay-environment';
4
- import { default as BootpayStore } from '../node_modules/bootpay-store';
5
- import { default as BootpayWidget, BootpayWidgetInterface } from '../node_modules/bootpay-widget';
6
- import { UserTokenTemplateManager } from '../node_modules/lib/template/user-token';
7
- import { BiometricDataModel, RequestPaymentWalletModel } from '../node_modules/types/bootpay-sdk-interface';
1
+ import { default as Bootpay, BootpayInterface } from './node_modules/bootpay';
2
+ import { default as BootpaySDK } from './node_modules/bootpay-sdk';
3
+ import { default as BootpayEnvironment } from './node_modules/bootpay-environment';
4
+ import { default as BootpayStore } from './node_modules/bootpay-store';
5
+ import { default as BootpayWidget, BootpayWidgetInterface } from './node_modules/bootpay-widget';
6
+ import { UserTokenTemplateManager } from './node_modules/lib/template/user-token';
7
+ import { BiometricDataModel, RequestPaymentWalletModel } from './node_modules/types/bootpay-sdk-interface';
8
8
 
9
9
  export { Bootpay, BootpaySDK, BootpayEnvironment, BootpayWidget, BootpayStore };
10
10
  export default Bootpay;
@@ -1,6 +1,6 @@
1
- import { Resource } from '../../support/resource';
2
- import { SessionStorageManager } from '../../support/storage';
3
- import { BootpayAnalyticsBaseModel, BootpayAnalyticsModel, BootpayAnalyticsUserModel, ItemAnalyticsLegacyModel, ItemAnalyticsModel } from '../../types/bootpay-interface';
1
+ import { Resource } from '../support/resource';
2
+ import { SessionStorageManager } from '../support/storage';
3
+ import { BootpayAnalyticsBaseModel, BootpayAnalyticsModel, BootpayAnalyticsUserModel, ItemAnalyticsLegacyModel, ItemAnalyticsModel } from '../types/bootpay-interface';
4
4
 
5
5
  export declare class BootpayAnalyticsManager extends Resource {
6
6
  $session: SessionStorageManager;
@@ -1,4 +1,4 @@
1
- import { BootpayManager } from '../../support/bootpay-manager';
1
+ import { BootpayManager } from '../support/bootpay-manager';
2
2
 
3
3
  export declare class BootpayStoreWindowManager extends BootpayManager {
4
4
  constructor();
@@ -1,6 +1,6 @@
1
- import { BootpayManager } from '../../support/bootpay-manager';
2
- import { ExternalBootpaySelectModel, PaymentParametersModel, RequestBootpayWidgetModel, ResponseBootpayWidgetTermsModel } from '../../types/bootpay-widget-interface';
3
- import { ExtraModel, RequestPaymentModel, RequestSubscriptionModel } from '../../types/bootpay-interface';
1
+ import { BootpayManager } from '../support/bootpay-manager';
2
+ import { ExternalBootpaySelectModel, PaymentParametersModel, RequestBootpayWidgetModel, ResponseBootpayWidgetTermsModel } from '../types/bootpay-widget-interface';
3
+ import { ExtraModel, RequestPaymentModel, RequestSubscriptionModel } from '../types/bootpay-interface';
4
4
 
5
5
  export declare class BootpayWidgetWindowManager extends BootpayManager {
6
6
  message: any;
@@ -1,7 +1,7 @@
1
- import { BootpayManager } from '../../support/bootpay-manager';
2
- import { SessionStorageManager } from '../../support/storage';
3
- import { ConfirmModel, EnvironmentModel, ErrorModel, ExtraModel, ItemModel, RequestAuthenticationModel, RequestPaymentModel, RequestPaymentUrlModel, RequestSubscriptionModel } from '../../types/bootpay-interface';
4
- import { EventLoggerManager } from '../../support/event-logger';
1
+ import { BootpayManager } from '../support/bootpay-manager';
2
+ import { SessionStorageManager } from '../support/storage';
3
+ import { ConfirmModel, EnvironmentModel, ErrorModel, ExtraModel, ItemModel, RequestAuthenticationModel, RequestPaymentModel, RequestPaymentUrlModel, RequestSubscriptionModel } from '../types/bootpay-interface';
4
+ import { EventLoggerManager } from '../support/event-logger';
5
5
 
6
6
  export declare class BootpayRequestPaymentManager extends BootpayManager {
7
7
  $session: SessionStorageManager;
@@ -1,6 +1,6 @@
1
- import { ResponseBootpayWidgetTermsModel } from '../../../../../../../../types/bootpay-widget-interface';
2
- import { ExtraModel } from '../../../../../../../../types/bootpay-interface';
3
- import { BootpayWindowEvent } from '../../../../../../../../support/event';
1
+ import { ResponseBootpayWidgetTermsModel } from '../../../../../../../types/bootpay-widget-interface';
2
+ import { ExtraModel } from '../../../../../../../types/bootpay-interface';
3
+ import { BootpayWindowEvent } from '../../../../../../../support/event';
4
4
 
5
5
  export declare const WidgetWindowMessage: {
6
6
  $eventPrefix: string;
@@ -1,5 +1,5 @@
1
- import { BootpayWindowEvent } from '../../../../support/event';
2
- import { BootpayPollingEvent } from '../../../node_modules/polling';
1
+ import { BootpayWindowEvent } from '../../../support/event';
2
+ import { BootpayPollingEvent } from '../../node_modules/polling';
3
3
 
4
4
  interface PollingDataModel {
5
5
  applicationId: string | null;
@@ -1,4 +1,4 @@
1
- import { Resource } from '../../../../support/resource';
1
+ import { Resource } from '../../../support/resource';
2
2
 
3
3
  export declare class BootpayPollingEvent extends Resource {
4
4
  constructor();
@@ -7,6 +7,6 @@ export declare class BootpayPollingEvent extends Resource {
7
7
  * Comment by GOSOMI
8
8
  * @date: 2021-12-29
9
9
  */
10
- pollingStatus(gatewayUrl: string, receiptId: string, applicationId: string | null, transactionKey: string | null): Promise<import('../../../node_modules/axios').AxiosResponse<any, any>>;
10
+ pollingStatus(gatewayUrl: string, receiptId: string, applicationId: string | null, transactionKey: string | null): Promise<import('../../node_modules/axios').AxiosResponse<any, any>>;
11
11
  }
12
12
  export declare const BootpayPolling: BootpayPollingEvent;
@@ -1,4 +1,4 @@
1
- import { BootpayWindowEvent } from '../../../../support/event';
1
+ import { BootpayWindowEvent } from '../../../support/event';
2
2
 
3
3
  declare class BootpayStoreEventManager extends BootpayWindowEvent {
4
4
  constructor();
@@ -1,4 +1,4 @@
1
- import { BootpayWindowEvent } from '../../../../support/event';
1
+ import { BootpayWindowEvent } from '../../../support/event';
2
2
 
3
3
  export declare class BootpayUserTokenEventManager extends BootpayWindowEvent {
4
4
  $messageEventName: string;
@@ -1,4 +1,4 @@
1
- import { BootpayWindowEvent } from '../../../../support/event';
1
+ import { BootpayWindowEvent } from '../../../support/event';
2
2
 
3
3
  declare class BootpayWidgetEventManager extends BootpayWindowEvent {
4
4
  constructor();
@@ -1,5 +1,5 @@
1
- import { TemplateManager } from '../../../../support/template-manager';
2
- import { WidgetStoreModel } from '../../../../support/widget-store';
1
+ import { TemplateManager } from '../../../support/template-manager';
2
+ import { WidgetStoreModel } from '../../../support/widget-store';
3
3
 
4
4
  declare class BrandpayTemplateManager extends TemplateManager {
5
5
  $brandpayWindowId: string;
@@ -1,4 +1,4 @@
1
- import { TemplateManager } from '../../../../support/template-manager';
1
+ import { TemplateManager } from '../../../support/template-manager';
2
2
 
3
3
  declare class ConfirmModalManager extends TemplateManager {
4
4
  $windowId: string;
@@ -1,4 +1,4 @@
1
- import { TemplateManager } from '../../../../support/template-manager';
1
+ import { TemplateManager } from '../../../support/template-manager';
2
2
 
3
3
  declare class ModalTemplateManager extends TemplateManager {
4
4
  $windowId: string;
@@ -1,5 +1,5 @@
1
- import { TemplateManager } from '../../../../support/template-manager';
2
- import { ConfirmModel, PopupDisplayResponseModel } from '../../../../types/bootpay-interface';
1
+ import { TemplateManager } from '../../../support/template-manager';
2
+ import { ConfirmModel, PopupDisplayResponseModel } from '../../../types/bootpay-interface';
3
3
 
4
4
  declare class TemplatePaymentManager extends TemplateManager {
5
5
  $template: string;
@@ -1,5 +1,5 @@
1
- import { TemplateManager } from '../../../../support/template-manager';
2
- import { ExStoreManager } from '../../../../support/ex-store';
1
+ import { TemplateManager } from '../../../support/template-manager';
2
+ import { ExStoreManager } from '../../../support/ex-store';
3
3
 
4
4
  declare class TemplateStoreManager extends TemplateManager {
5
5
  $template: string;
@@ -1,7 +1,7 @@
1
- import { TemplateManager } from '../../../../support/template-manager';
2
- import { BootpayUserTokenEventManager } from '../../../event/user-token';
3
- import { SessionStorageManager } from '../../../../support/storage';
4
- import { BiometricDataModel, RequestPaymentWalletModel } from '../../../../types/bootpay-sdk-interface';
1
+ import { TemplateManager } from '../../../support/template-manager';
2
+ import { BootpayUserTokenEventManager } from '../../event/user-token';
3
+ import { SessionStorageManager } from '../../../support/storage';
4
+ import { BiometricDataModel, RequestPaymentWalletModel } from '../../../types/bootpay-sdk-interface';
5
5
 
6
6
  export declare class UserTokenTemplateManager extends TemplateManager {
7
7
  $session: SessionStorageManager;
@@ -1,5 +1,5 @@
1
- import { TemplateManager } from '../../../../support/template-manager';
2
- import { WidgetStoreModel } from '../../../../support/widget-store';
1
+ import { TemplateManager } from '../../../support/template-manager';
2
+ import { WidgetStoreModel } from '../../../support/widget-store';
3
3
 
4
4
  declare class TemplateWidgetManager extends TemplateManager {
5
5
  $iFrameId: string;
@@ -1,4 +1,4 @@
1
- import { TemplateManager } from '../../../template-manager';
1
+ import { TemplateManager } from '../../template-manager';
2
2
 
3
3
  declare class AlfredProgressManager extends TemplateManager {
4
4
  $alfredId: string;
@@ -3,7 +3,7 @@ export declare class BootpayManager {
3
3
  $present(value: any): boolean;
4
4
  $type(value: any, type: string): boolean;
5
5
  $uuid(): string;
6
- $encrypt(data: any): any;
7
- $decrypt(payload: string): any;
6
+ $encrypt(data: any): string;
7
+ $decrypt(payload: string): string;
8
8
  getUserAgent(): string;
9
9
  }
@@ -1,5 +1,5 @@
1
- import { Resource } from '../../node_modules/resource';
2
- import { SessionStorageManager } from '../../node_modules/storage';
1
+ import { Resource } from '../node_modules/resource';
2
+ import { SessionStorageManager } from '../node_modules/storage';
3
3
 
4
4
  interface EventDataModel {
5
5
  application_id?: string;
@@ -1,4 +1,4 @@
1
- import { BootpayManager } from '../../node_modules/bootpay-manager';
1
+ import { BootpayManager } from '../node_modules/bootpay-manager';
2
2
 
3
3
  interface EventMessage {
4
4
  event: string;
@@ -1,4 +1,4 @@
1
- import { BootpayStoreManager } from '../../node_modules/stores/bootpay-store';
1
+ import { BootpayStoreManager } from '../node_modules/stores/bootpay-store';
2
2
 
3
3
  export declare class ExStoreManager extends BootpayStoreManager {
4
4
  data: any | undefined;
@@ -7,7 +7,7 @@ export declare class ExStoreManager extends BootpayStoreManager {
7
7
  constructor();
8
8
  setExData(el: string, data: RequestExModel): void;
9
9
  encryptParameters(): string;
10
- encryptKey(): any;
10
+ encryptKey(): string;
11
11
  currentBootpayStoreParameters(): string;
12
12
  }
13
13
  export declare const ExStore: ExStoreManager;
@@ -1,4 +1,4 @@
1
- import { AxiosInstance } from '../../node_modules/axios';
1
+ import { AxiosInstance } from '../node_modules/axios';
2
2
 
3
3
  interface EncryptParamsFormat {
4
4
  payload: string;
@@ -1,4 +1,4 @@
1
- import { BootpayManager } from '../../node_modules/bootpay-manager';
1
+ import { BootpayManager } from '../node_modules/bootpay-manager';
2
2
 
3
3
  export interface SessionUserInterface {
4
4
  id?: string;
@@ -1,7 +1,7 @@
1
1
  export declare class BootpayStoreManager {
2
2
  data: any;
3
3
  constructor();
4
- encryptKey(): any;
5
- encrypt(data: object | string): any;
4
+ encryptKey(): string;
5
+ encrypt(data: object | string): string;
6
6
  decrypt(data: string): any | string;
7
7
  }
@@ -1,6 +1,6 @@
1
- import { RequestBootpayWidgetModel, ResponseBootpayWidgetTermsModel, WidgetStoreData } from '../../../../types/bootpay-widget-interface';
2
- import { ExtraModel, RequestPaymentModel, RequestSubscriptionModel } from '../../../../types/bootpay-interface';
3
- import { BootpayStoreManager } from '../../../node_modules/bootpay-store';
1
+ import { RequestBootpayWidgetModel, ResponseBootpayWidgetTermsModel, WidgetStoreData } from '../../../types/bootpay-widget-interface';
2
+ import { ExtraModel, RequestPaymentModel, RequestSubscriptionModel } from '../../../types/bootpay-interface';
3
+ import { BootpayStoreManager } from '../../node_modules/bootpay-store';
4
4
 
5
5
  export declare class WidgetStoreManager extends BootpayStoreManager {
6
6
  el: string | undefined;
@@ -12,7 +12,7 @@ export declare class WidgetStoreManager extends BootpayStoreManager {
12
12
  setPayment(pg: string | undefined, method: string | undefined, wallet_id: string | undefined, terms: boolean, select_terms: ResponseBootpayWidgetTermsModel[], extra: ExtraModel): void;
13
13
  updateOnProcessing(data: WidgetStoreData): void;
14
14
  encryptParameters(): string;
15
- encryptKey(): any;
15
+ encryptKey(): string;
16
16
  /**
17
17
  * 결제 요청시 가져올 extra 값
18
18
  * Comment by GOSOMI
@@ -1,4 +1,4 @@
1
- import { BootpayManager } from '../../node_modules/bootpay-manager';
1
+ import { BootpayManager } from '../node_modules/bootpay-manager';
2
2
 
3
3
  export declare class TemplateManager extends BootpayManager {
4
4
  $windowId: string;
@@ -1,5 +1,5 @@
1
- import { RequestBootpayWidgetModel, ResponseBootpayWidgetTermsModel, WidgetHookFunction, WidgetStoreData } from '../../types/bootpay-widget-interface';
2
- import { ExtraModel, RequestSubscriptionModel, WidgetExtraModel } from '../../types/bootpay-interface';
1
+ import { RequestBootpayWidgetModel, ResponseBootpayWidgetTermsModel, WidgetHookFunction, WidgetStoreData } from '../types/bootpay-widget-interface';
2
+ import { ExtraModel, RequestSubscriptionModel, WidgetExtraModel } from '../types/bootpay-interface';
3
3
 
4
4
  export interface WidgetStoreModel {
5
5
  el: string | undefined;
@@ -1,4 +1,4 @@
1
- import { ResponseBootpayWidgetTermsModel } from '../../node_modules/bootpay-widget-interface';
1
+ import { ResponseBootpayWidgetTermsModel } from '../node_modules/bootpay-widget-interface';
2
2
 
3
3
 
4
4
  interface RequestPaymentBaseModel {
@@ -1,4 +1,4 @@
1
- import { RequestPaymentModel } from '../../node_modules/bootpay-interface';
1
+ import { RequestPaymentModel } from '../node_modules/bootpay-interface';
2
2
 
3
3
 
4
4
  export interface BiometricDataModel {
@@ -1,4 +1,4 @@
1
- import { ExtraModel, RequestPaymentModel, WidgetExtraModel } from '../../node_modules/bootpay-interface';
1
+ import { ExtraModel, RequestPaymentModel, WidgetExtraModel } from '../node_modules/bootpay-interface';
2
2
 
3
3
 
4
4
  export interface RequestBootpayWidgetModel extends Partial<RequestPaymentModel> {
package/package.json CHANGED
@@ -1,14 +1,12 @@
1
1
  {
2
2
  "name": "@bootpay/client-js",
3
- "version": "5.2.0-beta.10",
4
- "main": "dist/index.es.js",
3
+ "version": "5.2.0-beta.12",
4
+ "main": "dist/index.mjs",
5
5
  "exports": {
6
6
  ".": {
7
- "import": "./dist/index.es.js",
8
- "require": "./dist/index.cjs.js",
9
- "types": "./dist/index.d.ts"
10
- },
11
- "./package.json": "./package.json"
7
+ "import": "./dist/index.mjs",
8
+ "types": "./dist/src/index.d.ts"
9
+ }
12
10
  },
13
11
  "styles": "dist/index.css",
14
12
  "scripts": {
package/tsconfig.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "target": "esnext",
4
- "module": "esnext",
3
+ "target": "es5",
5
4
  "sourceMap": false,
6
5
  "lib": [
7
6
  "esnext",
8
7
  "dom"
9
8
  ],
10
- "moduleResolution": "nodenext",
9
+ "module": "commonjs",
10
+ "moduleResolution": "node",
11
11
  "allowSyntheticDefaultImports": true,
12
12
  "resolveJsonModule": true,
13
13
  "esModuleInterop": true,
@@ -21,16 +21,20 @@
21
21
  "baseUrl": "./src/",
22
22
  "paths": {
23
23
  "*": [
24
- "../node_modules/*",
25
- "./*"
24
+ "./node_modules/*",
25
+ "./src/*"
26
26
  ]
27
- }
27
+ },
28
+ "typeRoots": [
29
+ "./node_modules/@types",
30
+ "./src/types"
31
+ ],
28
32
  },
29
33
  "include": [
30
34
  "src/**/*.ts",
31
- "src/**/*.d.ts",
32
35
  "src/**/*.js",
33
- "src/**/*.json"
36
+ "src/**/*.json",
37
+ "src/**/*.vue"
34
38
  ],
35
39
  "exclude": [
36
40
  "**/*.spec.ts",
package/vite.config.ts CHANGED
@@ -1,8 +1,7 @@
1
1
  import { defineConfig } from 'vite'
2
2
  import dts from 'vite-plugin-dts'
3
3
  import cssInjectedByJsPlugin from 'vite-plugin-css-injected-by-js'
4
-
5
- const path = require('path')
4
+ import path from 'path'
6
5
 
7
6
  export default defineConfig({
8
7
  build: {