@create-moralis-dapp/react-vite
Advanced tools
Comparing version 2.16.1 to 2.17.0
@@ -0,52 +1,6 @@ | ||
/// <reference types="prompts" /> | ||
export declare class ReactViteAppInquirer { | ||
private static commonQuestions; | ||
static inquire(): Promise<import("@create-moralis-dapp/toolkit").InquirerAnswers<({ | ||
readonly name: "confirmBeta"; | ||
readonly type: "confirm"; | ||
readonly default: true; | ||
readonly message: "Note: This tool is still in beta, and in active development.\n Many changes and updates are coming, which may impact your experience.\n Reach out to us in forum.moralis.io or in our discord for any feedback."; | ||
} | { | ||
readonly type: "input"; | ||
readonly name: "name"; | ||
readonly message: "What name would you like to use for your new project? ..."; | ||
readonly default: "moralis-dapp"; | ||
readonly prefix: "🧙 :"; | ||
} | { | ||
readonly name: "moralisApiKey"; | ||
readonly message: "Input your Moralis Api key. You can find it on https://admin.moralis.io/web3apis"; | ||
readonly type: "password"; | ||
readonly prefix: "🧙 :"; | ||
readonly default: null; | ||
} | { | ||
readonly type: "list"; | ||
readonly name: "packageManager"; | ||
readonly message: "🧙 : Select a package manager for installing dependencies ..."; | ||
readonly choices: readonly ["yarn", "npm", "pnpm"]; | ||
readonly default: "yarn"; | ||
})[]>>; | ||
static questions: ({ | ||
readonly name: "confirmBeta"; | ||
readonly type: "confirm"; | ||
readonly default: true; | ||
readonly message: "Note: This tool is still in beta, and in active development.\n Many changes and updates are coming, which may impact your experience.\n Reach out to us in forum.moralis.io or in our discord for any feedback."; | ||
} | { | ||
readonly type: "input"; | ||
readonly name: "name"; | ||
readonly message: "What name would you like to use for your new project? ..."; | ||
readonly default: "moralis-dapp"; | ||
readonly prefix: "🧙 :"; | ||
} | { | ||
readonly name: "moralisApiKey"; | ||
readonly message: "Input your Moralis Api key. You can find it on https://admin.moralis.io/web3apis"; | ||
readonly type: "password"; | ||
readonly prefix: "🧙 :"; | ||
readonly default: null; | ||
} | { | ||
readonly type: "list"; | ||
readonly name: "packageManager"; | ||
readonly message: "🧙 : Select a package manager for installing dependencies ..."; | ||
readonly choices: readonly ["yarn", "npm", "pnpm"]; | ||
readonly default: "yarn"; | ||
})[]; | ||
static inquire(): Promise<import("prompts").Answers<"packageManager" | "confirmBeta" | "name" | "moralisApiKey">>; | ||
} | ||
//# sourceMappingURL=ReactViteAppInquirer.d.ts.map |
@@ -46,16 +46,13 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function () { | ||
return __generator(this, function (_b) { | ||
return [2 /*return*/, toolkit_1.Inquirer.inquire(this.questions)]; | ||
return __generator(this, function (_a) { | ||
return [2 /*return*/, toolkit_1.Inquirer.inquire([ | ||
this.commonQuestions.confirmBeta, | ||
this.commonQuestions.name, | ||
this.commonQuestions.moralisApiKey, | ||
this.commonQuestions.packageManager, | ||
])]; | ||
}); | ||
}); | ||
}; | ||
var _a; | ||
_a = ReactViteAppInquirer; | ||
ReactViteAppInquirer.commonQuestions = toolkit_1.Inquirer.commonQuestions; | ||
ReactViteAppInquirer.questions = [ | ||
_a.commonQuestions.confirmBeta, | ||
_a.commonQuestions.name, | ||
_a.commonQuestions.moralisApiKey, | ||
_a.commonQuestions.packageManager, | ||
]; | ||
return ReactViteAppInquirer; | ||
@@ -62,0 +59,0 @@ }()); |
{ | ||
"name": "@create-moralis-dapp/react-vite", | ||
"author": "Moralis", | ||
"version": "2.16.1", | ||
"version": "2.17.0", | ||
"license": "MIT", | ||
@@ -25,3 +25,3 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@create-moralis-dapp/toolkit": "^2.16.1" | ||
"@create-moralis-dapp/toolkit": "^2.17.0" | ||
}, | ||
@@ -28,0 +28,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21670
313