@opexa/portal-sdk 0.0.145 → 0.0.147
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/README.md +1624 -1624
- package/dist/index.js +58 -37
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +413 -311
- package/dist/index.mjs.map +1 -1
- package/dist/sdk/sdk.d.ts +3 -1
- package/dist/sdk/transformer.d.ts +2 -0
- package/dist/sdk/types.d.ts +25 -0
- package/dist/services/cms-portal.service.d.ts +2 -1
- package/dist/services/queries.d.ts +1 -0
- package/dist/services/trigger.service.d.ts +2 -1
- package/dist/services/types.d.ts +40 -1
- package/package.json +81 -81
package/dist/sdk/sdk.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccountReturn, ActivityRecordsInput, ActivityRecordsReturn, AnnouncementsInput, AnnouncementsReturn, AuthenticateInput, AuthenticateReturn, AvailablePromosReturn, BetRecordsInput, BetRecordsReturn, BonusReturn, BonusesReturn, CabinetSignInInput, CabinetSignInReturn, CashbackBonusReturn, CashbacksReturn, ClaimCashbackBonusReturn, ClaimRewardReturn, ClaimSpotBonusReturn, CompleteOnboardingInput, CompleteOnboardingReturn, CreateAccountInput, CreateAccountInput__Next, CreateAccountReturn, CreateDepositInput, CreateDepositReturn, CreateGameSessionInput, CreateGameSessionReturn, CreateWithdrawalInput, CreateWithdrawalReturn, DeleteAccountReturn, DepositRecordsInput, DepositRecordsReturn, DepositReturn, DepositsCountReturn, DownlinesByNameInput, DownlinesByNameReturn, EndGameSessionReturn, FileReturn, GameReturn, GameSessionReturn, GamesInput, GamesReturn, InstapayBankListReturn, LatestBetRecordsReturn, MarkAllMessagesAsReadReturn, MarkMessageAsReadReturn, MayaSignInInput, MayaSignInReturn, MessagesInput, MessagesReturn, MobileNumberSignInInput, MobileNumberSignInReturn, NameAndPasswordSignInInput, NameAndPasswordSignInReturn, OnboardingStatusReturn, PaymentSettingsReturn, PlatformReturn, PlatformReturn__Next, PointsClubSettingsReturn, PointsWalletReturn, PointsWalletTransactionsInput, PointsWalletTransactionsReturn, ProfileCompletionReturn, PromoByCodeReturn, PromosReturn, RecommendedGamesInput, RecommendedGamesReturn, RedeemPointsInput, RedeemPointsReturn, ReferralCodeReturn, ReferralCommissionReturn, ReferralsInput, ReferralsReturn, RegisterMayaAccountInput, RegisterMayaAccountReturn, RemainingDailyWithdrawalsCountReturn, ResetPasswordInput, ResetPasswordReturn, SendVerificationCodeInput__Next, SendVerificationCodeReturn, SendVerificationCodeReturn__Next, SessionReturn, SiteReturn, SkipOnboardingReturn, SocialsSignInInput, SocialsSignInReturn, SubmitVerificationDetailsInput, SubmitVerificationDetailsReturn, TokenSignInInput, TokenSignInReturn, TransactionRecordsInput, TransactionRecordsReturn, UnreadMessagesCountInput, UnreadMessagesCountReturn, UpdateAccountInput, UpdateAccountReturn, UpdateReferralCodeInput, UpdateReferralCodeReturn, UpdateVerificationDetailsInput, UpdateVerificationDetailsReturn, UplinesByNameInput, UplinesByNameReturn, UploadImageFileInput, UploadImageFileReturn, ValidateMayaSessionReturn, VerificationDetailsReturn, VerifyMobileNumberReturn, WalletReturn, WatchSessionInput, WithdrawalRecordsInput, WithdrawalRecordsReturn } from './types';
|
|
1
|
+
import { AccountReturn, ActivityRecordsInput, ActivityRecordsReturn, AnnouncementsInput, AnnouncementsReturn, AuthenticateInput, AuthenticateReturn, AvailablePromosReturn, AvailableQuestsReturn, BetRecordsInput, BetRecordsReturn, BonusReturn, BonusesReturn, CabinetSignInInput, CabinetSignInReturn, CashbackBonusReturn, CashbacksReturn, ClaimCashbackBonusReturn, ClaimRewardReturn, ClaimSpotBonusReturn, CompleteOnboardingInput, CompleteOnboardingReturn, CreateAccountInput, CreateAccountInput__Next, CreateAccountReturn, CreateDepositInput, CreateDepositReturn, CreateGameSessionInput, CreateGameSessionReturn, CreateWithdrawalInput, CreateWithdrawalReturn, DeleteAccountReturn, DepositRecordsInput, DepositRecordsReturn, DepositReturn, DepositsCountReturn, DownlinesByNameInput, DownlinesByNameReturn, EndGameSessionReturn, FileReturn, GameReturn, GameSessionReturn, GamesInput, GamesInput__Next, GamesReturn, InstapayBankListReturn, LatestBetRecordsReturn, MarkAllMessagesAsReadReturn, MarkMessageAsReadReturn, MayaSignInInput, MayaSignInReturn, MessagesInput, MessagesReturn, MobileNumberSignInInput, MobileNumberSignInReturn, NameAndPasswordSignInInput, NameAndPasswordSignInReturn, OnboardingStatusReturn, PaymentSettingsReturn, PlatformReturn, PlatformReturn__Next, PointsClubSettingsReturn, PointsWalletReturn, PointsWalletTransactionsInput, PointsWalletTransactionsReturn, ProfileCompletionReturn, PromoByCodeReturn, PromosReturn, RecommendedGamesInput, RecommendedGamesReturn, RedeemPointsInput, RedeemPointsReturn, ReferralCodeReturn, ReferralCommissionReturn, ReferralsInput, ReferralsReturn, RegisterMayaAccountInput, RegisterMayaAccountReturn, RemainingDailyWithdrawalsCountReturn, ResetPasswordInput, ResetPasswordReturn, SendVerificationCodeInput__Next, SendVerificationCodeReturn, SendVerificationCodeReturn__Next, SessionReturn, SiteReturn, SkipOnboardingReturn, SocialsSignInInput, SocialsSignInReturn, SubmitVerificationDetailsInput, SubmitVerificationDetailsReturn, TokenSignInInput, TokenSignInReturn, TransactionRecordsInput, TransactionRecordsReturn, UnreadMessagesCountInput, UnreadMessagesCountReturn, UpdateAccountInput, UpdateAccountReturn, UpdateReferralCodeInput, UpdateReferralCodeReturn, UpdateVerificationDetailsInput, UpdateVerificationDetailsReturn, UplinesByNameInput, UplinesByNameReturn, UploadImageFileInput, UploadImageFileReturn, ValidateMayaSessionReturn, VerificationDetailsReturn, VerifyMobileNumberReturn, WalletReturn, WatchSessionInput, WithdrawalRecordsInput, WithdrawalRecordsReturn } from './types';
|
|
2
2
|
|
|
3
3
|
export interface SdkConfig {
|
|
4
4
|
site: string;
|
|
@@ -84,6 +84,7 @@ export declare class Sdk {
|
|
|
84
84
|
promoByCode(code: string): Promise<PromoByCodeReturn>;
|
|
85
85
|
game(id: string): Promise<GameReturn>;
|
|
86
86
|
games(input?: GamesInput): Promise<GamesReturn>;
|
|
87
|
+
games__next(input?: GamesInput__Next): Promise<GamesReturn>;
|
|
87
88
|
recommendedGames(input?: RecommendedGamesInput): Promise<RecommendedGamesReturn>;
|
|
88
89
|
gameSession(id: string): Promise<GameSessionReturn>;
|
|
89
90
|
createGameSession(input: CreateGameSessionInput): Promise<CreateGameSessionReturn>;
|
|
@@ -111,5 +112,6 @@ export declare class Sdk {
|
|
|
111
112
|
onboardingStatus(): Promise<OnboardingStatusReturn>;
|
|
112
113
|
completeOnboarding(input: CompleteOnboardingInput): Promise<CompleteOnboardingReturn>;
|
|
113
114
|
skipOnboarding(): Promise<SkipOnboardingReturn>;
|
|
115
|
+
availableQuests(): Promise<AvailableQuestsReturn>;
|
|
114
116
|
}
|
|
115
117
|
export default Sdk;
|
|
@@ -38,6 +38,7 @@ export declare class Transformer {
|
|
|
38
38
|
message: (data: Internal.Message) => External.Message;
|
|
39
39
|
instapayBank: (data: Internal.InstapayBank) => External.InstapayBank;
|
|
40
40
|
promoByCode: (data: Internal.SpotBonusPromo) => External.SpotBonusPromo;
|
|
41
|
+
quest: (data: Internal.Quest) => External.Quest;
|
|
41
42
|
};
|
|
42
43
|
private site;
|
|
43
44
|
/** @deprecated */
|
|
@@ -71,4 +72,5 @@ export declare class Transformer {
|
|
|
71
72
|
private message;
|
|
72
73
|
private instapayBank;
|
|
73
74
|
private promoByCode;
|
|
75
|
+
quest(data: Internal.Quest): External.Quest;
|
|
74
76
|
}
|
package/dist/sdk/types.d.ts
CHANGED
|
@@ -325,6 +325,8 @@ export interface Game {
|
|
|
325
325
|
}
|
|
326
326
|
export interface GamesInput extends Internal.GamesQueryVariables {
|
|
327
327
|
}
|
|
328
|
+
export interface GamesInput__Next extends Internal.GamesQueryVariables__Next {
|
|
329
|
+
}
|
|
328
330
|
export type GamesReturn = OperationResult<never, PaginatedQueryResult<'games', Game>>;
|
|
329
331
|
export type GameReturn = OperationResult<never, Game | null>;
|
|
330
332
|
export interface RecommendedGamesInput {
|
|
@@ -883,4 +885,27 @@ export interface CompleteOnboardingInput {
|
|
|
883
885
|
}
|
|
884
886
|
export type CompleteOnboardingReturn = OperationResult;
|
|
885
887
|
export type SkipOnboardingReturn = OperationResult;
|
|
888
|
+
export type QuestType = UnionAlias<Internal.QuestType>;
|
|
889
|
+
export type QuestStatus = UnionAlias<Internal.QuestStatus>;
|
|
890
|
+
export type QuestProgramStatus = UnionAlias<Internal.QuestProgramStatus>;
|
|
891
|
+
export interface QuestProgram {
|
|
892
|
+
id: string;
|
|
893
|
+
type: QuestType;
|
|
894
|
+
name: string;
|
|
895
|
+
description: string;
|
|
896
|
+
totalBonus: number;
|
|
897
|
+
status: QuestProgramStatus;
|
|
898
|
+
}
|
|
899
|
+
export interface Quest {
|
|
900
|
+
id: string;
|
|
901
|
+
name: string;
|
|
902
|
+
description: string;
|
|
903
|
+
program: QuestProgram;
|
|
904
|
+
status: QuestStatus;
|
|
905
|
+
progressPercentage: number;
|
|
906
|
+
bonus: number;
|
|
907
|
+
endDateTime: Date;
|
|
908
|
+
dateTimeCreated: Date;
|
|
909
|
+
}
|
|
910
|
+
export type AvailableQuestsReturn = OperationResult<never, Quest[]>;
|
|
886
911
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OperationResult } from '../utils/types';
|
|
2
|
-
import { Game, GamesQueryVariables, PaginatedQueryResult, Site } from './types';
|
|
2
|
+
import { Game, GamesQueryVariables, GamesQueryVariables__Next, PaginatedQueryResult, Site } from './types';
|
|
3
3
|
|
|
4
4
|
export interface CmsPortalServiceConfig {
|
|
5
5
|
url: string;
|
|
@@ -13,6 +13,7 @@ export declare class CmsPortalService {
|
|
|
13
13
|
constructor(config: CmsPortalServiceConfig);
|
|
14
14
|
self(): Promise<OperationResult<never, Site>>;
|
|
15
15
|
games(variables?: GamesQueryVariables): Promise<OperationResult<never, PaginatedQueryResult<Game>>>;
|
|
16
|
+
games__next(variables?: GamesQueryVariables__Next): Promise<OperationResult<never, PaginatedQueryResult<Game>>>;
|
|
16
17
|
game(id: string): Promise<OperationResult<never, Game | null | undefined>>;
|
|
17
18
|
private getJson;
|
|
18
19
|
}
|
|
@@ -89,3 +89,4 @@ export declare const CLAIM_SPOT_BONUS: string;
|
|
|
89
89
|
export declare const ONBOARDING_STATUS_QUERY: string;
|
|
90
90
|
export declare const COMPLETE_ONBOARDING_MUTATION: string;
|
|
91
91
|
export declare const SKIP_ONBOARDING_MUTATION: string;
|
|
92
|
+
export declare const AVAILABLE_QUESTS_QUERY: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GraphQLClient } from '../utils/graphql-client';
|
|
2
2
|
import { OperationResult } from '../utils/types';
|
|
3
|
-
import { ClaimRewardError, ClaimRewardMutationVariables, MarkMessageAsReadMutationVariables, Message, MessagesQueryVariables, PaginatedQueryResult, UnreadMessagesCountQueryVariables } from './types';
|
|
3
|
+
import { ClaimRewardError, ClaimRewardMutationVariables, MarkMessageAsReadMutationVariables, Message, MessagesQueryVariables, PaginatedQueryResult, Quest, UnreadMessagesCountQueryVariables } from './types';
|
|
4
4
|
|
|
5
5
|
export declare class TriggerService {
|
|
6
6
|
private client;
|
|
@@ -10,4 +10,5 @@ export declare class TriggerService {
|
|
|
10
10
|
markMessageAsRead(variables: MarkMessageAsReadMutationVariables): Promise<OperationResult>;
|
|
11
11
|
markAllMessageAsRead(): Promise<OperationResult>;
|
|
12
12
|
claimReward(variables: ClaimRewardMutationVariables): Promise<OperationResult<ClaimRewardError>>;
|
|
13
|
+
availableQuests(): Promise<OperationResult<never, Quest[]>>;
|
|
13
14
|
}
|
package/dist/services/types.d.ts
CHANGED
|
@@ -153,7 +153,21 @@ export interface GamesQueryVariables {
|
|
|
153
153
|
reference?: ObjectIdFilterField;
|
|
154
154
|
};
|
|
155
155
|
sort?: SortOrder;
|
|
156
|
-
|
|
156
|
+
}
|
|
157
|
+
export interface GamesQueryVariables__Next {
|
|
158
|
+
after?: string;
|
|
159
|
+
first?: number;
|
|
160
|
+
search?: string;
|
|
161
|
+
filter?: {
|
|
162
|
+
tags?: EnumFilterField<GameTag>;
|
|
163
|
+
type?: EnumFilterField<GameType>;
|
|
164
|
+
provider?: EnumFilterField<GameProvider>;
|
|
165
|
+
reference?: ObjectIdFilterField;
|
|
166
|
+
};
|
|
167
|
+
sort?: {
|
|
168
|
+
order: SortOrder;
|
|
169
|
+
context: 'HOT';
|
|
170
|
+
};
|
|
157
171
|
}
|
|
158
172
|
export interface GamesQuery {
|
|
159
173
|
data: Game[];
|
|
@@ -1375,3 +1389,28 @@ export interface CompleteOnboardingMutation {
|
|
|
1375
1389
|
export interface SkipOnboardingMutation {
|
|
1376
1390
|
skipOnboarding: boolean;
|
|
1377
1391
|
}
|
|
1392
|
+
export type QuestType = 'WAGERING';
|
|
1393
|
+
export type QuestStatus = 'IN_PROGRESS' | 'COMPLETED' | 'FAILED';
|
|
1394
|
+
export type QuestProgramStatus = 'ACTIVE' | 'INACTIVE';
|
|
1395
|
+
export interface QuestProgram {
|
|
1396
|
+
id: string;
|
|
1397
|
+
type: QuestType;
|
|
1398
|
+
name: string;
|
|
1399
|
+
description: string;
|
|
1400
|
+
totalBonus: Decimal;
|
|
1401
|
+
status: QuestProgramStatus;
|
|
1402
|
+
}
|
|
1403
|
+
export interface Quest {
|
|
1404
|
+
id: string;
|
|
1405
|
+
name: string;
|
|
1406
|
+
description: string;
|
|
1407
|
+
program: QuestProgram;
|
|
1408
|
+
status: QuestStatus;
|
|
1409
|
+
progressPercentage: Decimal;
|
|
1410
|
+
bonus: Decimal;
|
|
1411
|
+
endDateTime: DateString;
|
|
1412
|
+
dateTimeCreated: DateString;
|
|
1413
|
+
}
|
|
1414
|
+
export interface AvailableQuestsQuery {
|
|
1415
|
+
availableQuests: Quest[];
|
|
1416
|
+
}
|
package/package.json
CHANGED
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@opexa/portal-sdk",
|
|
3
|
-
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"module": "dist/index.mjs",
|
|
7
|
-
"typings": "dist/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"require": "./dist/index.js",
|
|
11
|
-
"import": "./dist/index.mjs",
|
|
12
|
-
"types": "./dist/index.d.ts"
|
|
13
|
-
},
|
|
14
|
-
"./package.json": "./package.json"
|
|
15
|
-
},
|
|
16
|
-
"publishConfig": {
|
|
17
|
-
"access": "public"
|
|
18
|
-
},
|
|
19
|
-
"files": [
|
|
20
|
-
"dist"
|
|
21
|
-
],
|
|
22
|
-
"scripts": {
|
|
23
|
-
"dev": "vite",
|
|
24
|
-
"build": "tsc --noEmit && vite build --mode library",
|
|
25
|
-
"test": "vitest",
|
|
26
|
-
"release": "release-it"
|
|
27
|
-
},
|
|
28
|
-
"dependencies": {
|
|
29
|
-
"@opexa/object-id": "0.1.6"
|
|
30
|
-
},
|
|
31
|
-
"devDependencies": {
|
|
32
|
-
"@ark-ui/react": "3.5.0",
|
|
33
|
-
"@faker-js/faker": "8.4.1",
|
|
34
|
-
"@fontsource/fira-code": "5.0.18",
|
|
35
|
-
"@fontsource/inter": "5.0.19",
|
|
36
|
-
"@hookform/resolvers": "3.9.0",
|
|
37
|
-
"@types/node": "20.14.11",
|
|
38
|
-
"@types/react": "18.3.3",
|
|
39
|
-
"@types/react-dom": "18.3.0",
|
|
40
|
-
"@untitled-theme/icons-react": "0.10.5",
|
|
41
|
-
"@vitejs/plugin-react-swc": "3.7.0",
|
|
42
|
-
"autoprefixer": "10.4.19",
|
|
43
|
-
"clsx": "2.1.1",
|
|
44
|
-
"date-fns": "3.6.0",
|
|
45
|
-
"graphql-config": "5.0.3",
|
|
46
|
-
"msw": "2.3.2",
|
|
47
|
-
"postcss": "8.4.39",
|
|
48
|
-
"react": "18.3.1",
|
|
49
|
-
"react-dom": "18.3.1",
|
|
50
|
-
"react-hook-form": "7.52.1",
|
|
51
|
-
"react-router-dom": "6.25.1",
|
|
52
|
-
"release-it": "17.6.0",
|
|
53
|
-
"shiki": "1.11.0",
|
|
54
|
-
"tailwind-variants": "0.2.1",
|
|
55
|
-
"tailwindcss": "3.4.6",
|
|
56
|
-
"typescript": "5.5.4",
|
|
57
|
-
"vite": "5.3.4",
|
|
58
|
-
"vite-plugin-dts": "3.9.1",
|
|
59
|
-
"vite-plugin-node-polyfills": "0.22.0",
|
|
60
|
-
"vite-tsconfig-paths": "4.3.2",
|
|
61
|
-
"vitest": "2.0.4",
|
|
62
|
-
"zod": "3.23.8"
|
|
63
|
-
},
|
|
64
|
-
"release-it": {
|
|
65
|
-
"git": {
|
|
66
|
-
"commitMessage": "chore: release ${npm.name} v${version}",
|
|
67
|
-
"tagName": "${npm.name}@${version}"
|
|
68
|
-
},
|
|
69
|
-
"github": {
|
|
70
|
-
"release": false
|
|
71
|
-
},
|
|
72
|
-
"hooks": {
|
|
73
|
-
"before:init": [
|
|
74
|
-
"pnpm test"
|
|
75
|
-
],
|
|
76
|
-
"after:bump": [
|
|
77
|
-
"pnpm build"
|
|
78
|
-
]
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@opexa/portal-sdk",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.0.147",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"typings": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"require": "./dist/index.js",
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"types": "./dist/index.d.ts"
|
|
13
|
+
},
|
|
14
|
+
"./package.json": "./package.json"
|
|
15
|
+
},
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"dist"
|
|
21
|
+
],
|
|
22
|
+
"scripts": {
|
|
23
|
+
"dev": "vite",
|
|
24
|
+
"build": "tsc --noEmit && vite build --mode library",
|
|
25
|
+
"test": "vitest",
|
|
26
|
+
"release": "release-it"
|
|
27
|
+
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@opexa/object-id": "0.1.6"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@ark-ui/react": "3.5.0",
|
|
33
|
+
"@faker-js/faker": "8.4.1",
|
|
34
|
+
"@fontsource/fira-code": "5.0.18",
|
|
35
|
+
"@fontsource/inter": "5.0.19",
|
|
36
|
+
"@hookform/resolvers": "3.9.0",
|
|
37
|
+
"@types/node": "20.14.11",
|
|
38
|
+
"@types/react": "18.3.3",
|
|
39
|
+
"@types/react-dom": "18.3.0",
|
|
40
|
+
"@untitled-theme/icons-react": "0.10.5",
|
|
41
|
+
"@vitejs/plugin-react-swc": "3.7.0",
|
|
42
|
+
"autoprefixer": "10.4.19",
|
|
43
|
+
"clsx": "2.1.1",
|
|
44
|
+
"date-fns": "3.6.0",
|
|
45
|
+
"graphql-config": "5.0.3",
|
|
46
|
+
"msw": "2.3.2",
|
|
47
|
+
"postcss": "8.4.39",
|
|
48
|
+
"react": "18.3.1",
|
|
49
|
+
"react-dom": "18.3.1",
|
|
50
|
+
"react-hook-form": "7.52.1",
|
|
51
|
+
"react-router-dom": "6.25.1",
|
|
52
|
+
"release-it": "17.6.0",
|
|
53
|
+
"shiki": "1.11.0",
|
|
54
|
+
"tailwind-variants": "0.2.1",
|
|
55
|
+
"tailwindcss": "3.4.6",
|
|
56
|
+
"typescript": "5.5.4",
|
|
57
|
+
"vite": "5.3.4",
|
|
58
|
+
"vite-plugin-dts": "3.9.1",
|
|
59
|
+
"vite-plugin-node-polyfills": "0.22.0",
|
|
60
|
+
"vite-tsconfig-paths": "4.3.2",
|
|
61
|
+
"vitest": "2.0.4",
|
|
62
|
+
"zod": "3.23.8"
|
|
63
|
+
},
|
|
64
|
+
"release-it": {
|
|
65
|
+
"git": {
|
|
66
|
+
"commitMessage": "chore: release ${npm.name} v${version}",
|
|
67
|
+
"tagName": "${npm.name}@${version}"
|
|
68
|
+
},
|
|
69
|
+
"github": {
|
|
70
|
+
"release": false
|
|
71
|
+
},
|
|
72
|
+
"hooks": {
|
|
73
|
+
"before:init": [
|
|
74
|
+
"pnpm test"
|
|
75
|
+
],
|
|
76
|
+
"after:bump": [
|
|
77
|
+
"pnpm build"
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|