update
This commit is contained in:
@@ -90,7 +90,7 @@ export class AssistantInit extends AssistantConfig {
|
||||
}
|
||||
}
|
||||
initPnpm() {
|
||||
const pnpmPath = path.join(this.configDir, 'assistant-app', 'pnpm.yaml');
|
||||
const pnpmPath = path.join(this.configDir, 'assistant-app', 'pnpm-workspace.yaml');
|
||||
let create = false;
|
||||
if (!checkFileExists(pnpmPath, true)) {
|
||||
create = true;
|
||||
@@ -101,7 +101,7 @@ export class AssistantInit extends AssistantConfig {
|
||||
- 'pages/**/*'
|
||||
`,
|
||||
);
|
||||
console.log(chalk.green('助手 pnpm.yaml 文件创建成功'));
|
||||
console.log(chalk.green('助手 pnpm-workspace.yaml 文件创建成功'));
|
||||
}
|
||||
const packagePath = path.join(this.configDir, 'assistant-app', 'package.json');
|
||||
if (!checkFileExists(packagePath, true)) {
|
||||
@@ -133,6 +133,7 @@ export class AssistantInit extends AssistantConfig {
|
||||
"unstorage": "latest",
|
||||
"dayjs": "latest",
|
||||
"es-toolkit": "latest",
|
||||
"node-cron": "latest",
|
||||
"dotenv": "latest"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user