@kmlckj/licos-ai-cli 0.0.21 → 0.0.22
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/lib/__templates__/expo/_npmrc +1 -1
- package/lib/__templates__/expo/pnpm-lock.yaml +1 -1
- package/lib/__templates__/nextjs/_npmrc +1 -1
- package/lib/__templates__/nextjs/pnpm-lock.yaml +1 -1
- package/lib/__templates__/nuxt-vue/_npmrc +1 -1
- package/lib/__templates__/nuxt-vue/pnpm-lock.yaml +1 -1
- package/lib/__templates__/taro/_npmrc +1 -1
- package/lib/__templates__/taro/pnpm-lock.yaml +1 -1
- package/lib/__templates__/vite/_npmrc +1 -1
- package/lib/__templates__/vite/pnpm-lock.yaml +1 -1
- package/lib/cli.js +19 -2
- package/package.json +1 -1
|
@@ -1322,7 +1322,7 @@ packages:
|
|
|
1322
1322
|
resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==}
|
|
1323
1323
|
|
|
1324
1324
|
'@kmlckj/licos-platform-sdk@0.6.1':
|
|
1325
|
-
resolution: {integrity: sha512-
|
|
1325
|
+
resolution: {integrity: sha512-8i+MCc7RYLK42NhT+JGF7wG0ddUQtSfcT05WqUtNnEn7SdHewoNLi/JqK4ZJM3DQB+/azOxqqM/To72B9DkIsA==}
|
|
1326
1326
|
|
|
1327
1327
|
'@langchain/core@1.1.17':
|
|
1328
1328
|
resolution: {integrity: sha512-g7/kcKbKEwNZSyyT7aT0utxn7wTOtKErqz0cL6VjrV4v/aOb9g+dKcfj17YkSm42YQmJp/rB2IXGc17vQPEBqA==}
|
|
@@ -1335,7 +1335,7 @@ packages:
|
|
|
1335
1335
|
resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==}
|
|
1336
1336
|
|
|
1337
1337
|
'@kmlckj/licos-platform-sdk@0.6.1':
|
|
1338
|
-
resolution: {integrity: sha512-
|
|
1338
|
+
resolution: {integrity: sha512-8i+MCc7RYLK42NhT+JGF7wG0ddUQtSfcT05WqUtNnEn7SdHewoNLi/JqK4ZJM3DQB+/azOxqqM/To72B9DkIsA==}
|
|
1339
1339
|
|
|
1340
1340
|
'@langchain/core@1.1.17':
|
|
1341
1341
|
resolution: {integrity: sha512-g7/kcKbKEwNZSyyT7aT0utxn7wTOtKErqz0cL6VjrV4v/aOb9g+dKcfj17YkSm42YQmJp/rB2IXGc17vQPEBqA==}
|
|
@@ -418,7 +418,7 @@ packages:
|
|
|
418
418
|
resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==}
|
|
419
419
|
|
|
420
420
|
'@kmlckj/licos-platform-sdk@0.6.1':
|
|
421
|
-
resolution: {integrity: sha512-
|
|
421
|
+
resolution: {integrity: sha512-8i+MCc7RYLK42NhT+JGF7wG0ddUQtSfcT05WqUtNnEn7SdHewoNLi/JqK4ZJM3DQB+/azOxqqM/To72B9DkIsA==}
|
|
422
422
|
|
|
423
423
|
'@koa/router@12.0.2':
|
|
424
424
|
resolution: {integrity: sha512-sYcHglGKTxGF+hQ6x67xDfkE9o+NhVlRHBqq6gLywaMc6CojK/5vFZByphdonKinYlMLkEkacm+HEse9HzwgTA==}
|
|
@@ -3090,7 +3090,7 @@ packages:
|
|
|
3090
3090
|
resolution: {integrity: sha512-dXn3FZhPv0US+7dtJsIi2R+c7qWYiReoEh5zUntWCf4oSpMNib8FDhSoed6m3QyZdx5hK7iLFkYk3rNxwt8vTA==}
|
|
3091
3091
|
|
|
3092
3092
|
'@kmlckj/licos-platform-sdk@0.6.1':
|
|
3093
|
-
resolution: {integrity: sha512-
|
|
3093
|
+
resolution: {integrity: sha512-8i+MCc7RYLK42NhT+JGF7wG0ddUQtSfcT05WqUtNnEn7SdHewoNLi/JqK4ZJM3DQB+/azOxqqM/To72B9DkIsA==}
|
|
3094
3094
|
|
|
3095
3095
|
'@langchain/core@1.1.16':
|
|
3096
3096
|
resolution: {integrity: sha512-2XKQKxvQdeQiuIo0tacAmDVojhSVAci8D2WDdmmyN+6CqDusLHEHyIDaOt4o+UBvpkyHXbCdrljzDTQY/AKeqg==}
|
|
@@ -295,7 +295,7 @@ packages:
|
|
|
295
295
|
resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==}
|
|
296
296
|
|
|
297
297
|
'@kmlckj/licos-platform-sdk@0.6.1':
|
|
298
|
-
resolution: {integrity: sha512-
|
|
298
|
+
resolution: {integrity: sha512-8i+MCc7RYLK42NhT+JGF7wG0ddUQtSfcT05WqUtNnEn7SdHewoNLi/JqK4ZJM3DQB+/azOxqqM/To72B9DkIsA==}
|
|
299
299
|
|
|
300
300
|
'@langchain/core@1.1.16':
|
|
301
301
|
resolution: {integrity: sha512-2XKQKxvQdeQiuIo0tacAmDVojhSVAci8D2WDdmmyN+6CqDusLHEHyIDaOt4o+UBvpkyHXbCdrljzDTQY/AKeqg==}
|
package/lib/cli.js
CHANGED
|
@@ -2107,7 +2107,7 @@ const EventBuilder = {
|
|
|
2107
2107
|
};
|
|
2108
2108
|
|
|
2109
2109
|
var name = "@kmlckj/licos-ai-cli";
|
|
2110
|
-
var version = "0.0.
|
|
2110
|
+
var version = "0.0.22";
|
|
2111
2111
|
var description = "LICOS AI coding workspace CLI - project template engine and dev tools";
|
|
2112
2112
|
var license = "MIT";
|
|
2113
2113
|
var author = "kmlckj";
|
|
@@ -7002,7 +7002,24 @@ const executeRun = async (
|
|
|
7002
7002
|
const logFilePath = resolveLogFilePath(options.logFile);
|
|
7003
7003
|
const logStream = createLogStream(logFilePath);
|
|
7004
7004
|
|
|
7005
|
-
// 4.
|
|
7005
|
+
// 4. 开发预览先执行 dev.build,例如 pnpm install / framework prepare。
|
|
7006
|
+
if (commandName === 'dev') {
|
|
7007
|
+
const devBuildArgs = _optionalChain$4([config, 'access', _ => _.dev, 'optionalAccess', _2 => _2.build]);
|
|
7008
|
+
if (Array.isArray(devBuildArgs) && devBuildArgs.length > 0) {
|
|
7009
|
+
const devBuildCommand = devBuildArgs.join(' ');
|
|
7010
|
+
logger.info(`Executing dev build step: ${devBuildCommand}`);
|
|
7011
|
+
logger.info(`Working directory: ${process.cwd()}`);
|
|
7012
|
+
const buildResult = shelljs.exec(devBuildCommand, {
|
|
7013
|
+
silent: false,
|
|
7014
|
+
env: buildProjectProgramEnv(),
|
|
7015
|
+
});
|
|
7016
|
+
if (buildResult.code !== 0) {
|
|
7017
|
+
throw new Error(`Dev build step exited with code ${buildResult.code}`);
|
|
7018
|
+
}
|
|
7019
|
+
}
|
|
7020
|
+
}
|
|
7021
|
+
|
|
7022
|
+
// 5. 执行命令
|
|
7006
7023
|
const commandString = commandArgs.join(' ');
|
|
7007
7024
|
|
|
7008
7025
|
logger.info(`Executing: ${commandString}`);
|