@kmlckj/licos-ai-cli 1.0.13 → 1.0.16
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__/agent/pyproject.toml +2 -2
- package/lib/__templates__/agent/requirements.txt +1 -1
- package/lib/__templates__/expo/pnpm-lock.yaml +12942 -12942
- package/lib/__templates__/expo/server/package.json +2 -2
- package/lib/__templates__/nextjs/package.json +2 -2
- package/lib/__templates__/nextjs/pnpm-lock.yaml +10 -10
- package/lib/__templates__/nuxt-vue/package.json +2 -2
- package/lib/__templates__/nuxt-vue/pnpm-lock.yaml +10 -10
- package/lib/__templates__/taro/config/index.ts +54 -1
- package/lib/__templates__/taro/pnpm-lock.yaml +21212 -21212
- package/lib/__templates__/taro/server/package.json +8 -8
- package/lib/__templates__/vite/package.json +2 -2
- package/lib/__templates__/vite/pnpm-lock.yaml +10 -10
- package/lib/__templates__/vite/vite.config.ts +30 -1
- package/lib/__templates__/workflow/pyproject.toml +2 -2
- package/lib/__templates__/workflow/requirements.txt +1 -1
- package/package.json +1 -1
|
@@ -11,17 +11,17 @@
|
|
|
11
11
|
"start:prod": "node dist/main"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@kmlckj/licos-dev-sdk": "0.2.
|
|
15
|
-
"@kmlckj/licos-platform-sdk": "0.6.
|
|
14
|
+
"@kmlckj/licos-dev-sdk": "0.2.5",
|
|
15
|
+
"@kmlckj/licos-platform-sdk": "0.6.7",
|
|
16
16
|
"@nestjs/common": "^10.4.15",
|
|
17
17
|
"@nestjs/core": "^10.4.15",
|
|
18
18
|
"@nestjs/platform-express": "^10.4.15",
|
|
19
|
-
"dotenv": "^17.2.3",
|
|
20
|
-
"express": "5.2.1",
|
|
21
|
-
"reflect-metadata": "0.2.2",
|
|
22
|
-
"rxjs": "^7.8.1",
|
|
23
|
-
"zod": "^4.3.5"
|
|
24
|
-
},
|
|
19
|
+
"dotenv": "^17.2.3",
|
|
20
|
+
"express": "5.2.1",
|
|
21
|
+
"reflect-metadata": "0.2.2",
|
|
22
|
+
"rxjs": "^7.8.1",
|
|
23
|
+
"zod": "^4.3.5"
|
|
24
|
+
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@nestjs/cli": "^10.4.9",
|
|
27
27
|
"@nestjs/schematics": "^10.2.3",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"ts-check": "tsc -p tsconfig.json"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@kmlckj/licos-dev-sdk": "0.2.
|
|
18
|
-
"@kmlckj/licos-platform-sdk": "0.6.
|
|
17
|
+
"@kmlckj/licos-dev-sdk": "0.2.5",
|
|
18
|
+
"@kmlckj/licos-platform-sdk": "0.6.7",
|
|
19
19
|
"dotenv": "^17.2.3",
|
|
20
20
|
"express": "^4.21.2"
|
|
21
21
|
},
|
|
@@ -13,11 +13,11 @@ importers:
|
|
|
13
13
|
.:
|
|
14
14
|
dependencies:
|
|
15
15
|
'@kmlckj/licos-dev-sdk':
|
|
16
|
-
specifier: 0.2.
|
|
17
|
-
version: 0.2.
|
|
16
|
+
specifier: 0.2.5
|
|
17
|
+
version: 0.2.5
|
|
18
18
|
'@kmlckj/licos-platform-sdk':
|
|
19
|
-
specifier: 0.6.
|
|
20
|
-
version: 0.6.
|
|
19
|
+
specifier: 0.6.7
|
|
20
|
+
version: 0.6.7
|
|
21
21
|
dotenv:
|
|
22
22
|
specifier: ^17.2.3
|
|
23
23
|
version: 17.2.4
|
|
@@ -291,11 +291,11 @@ packages:
|
|
|
291
291
|
'@jridgewell/trace-mapping@0.3.31':
|
|
292
292
|
resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==}
|
|
293
293
|
|
|
294
|
-
'@kmlckj/licos-dev-sdk@0.2.
|
|
295
|
-
resolution: {integrity: sha512-
|
|
294
|
+
'@kmlckj/licos-dev-sdk@0.2.5':
|
|
295
|
+
resolution: {integrity: sha512-bkju53I3rAgCT4BlF3RjbzQreihoQR6M/9XIoC+/GSluqQOpwwXAkUO2nBCKkwIGd2I61rLizjsaEXi/QviXrg==}
|
|
296
296
|
|
|
297
|
-
'@kmlckj/licos-platform-sdk@0.6.
|
|
298
|
-
resolution: {integrity: sha512-
|
|
297
|
+
'@kmlckj/licos-platform-sdk@0.6.7':
|
|
298
|
+
resolution: {integrity: sha512-7fOUquWSGWWVcu2u+3fZv5GmisZ1yd4zeWdmGodNWHfAgAqJt/03QR1SOWIWMDVWoZYANShRyIVj93vZwzSzAA==}
|
|
299
299
|
|
|
300
300
|
'@nodelib/fs.scandir@2.1.5':
|
|
301
301
|
resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
|
|
@@ -1710,9 +1710,9 @@ snapshots:
|
|
|
1710
1710
|
'@jridgewell/resolve-uri': 3.1.2
|
|
1711
1711
|
'@jridgewell/sourcemap-codec': 1.5.5
|
|
1712
1712
|
|
|
1713
|
-
'@kmlckj/licos-dev-sdk@0.2.
|
|
1713
|
+
'@kmlckj/licos-dev-sdk@0.2.5': {}
|
|
1714
1714
|
|
|
1715
|
-
'@kmlckj/licos-platform-sdk@0.6.
|
|
1715
|
+
'@kmlckj/licos-platform-sdk@0.6.7': {}
|
|
1716
1716
|
|
|
1717
1717
|
'@nodelib/fs.scandir@2.1.5':
|
|
1718
1718
|
dependencies:
|
|
@@ -14,13 +14,42 @@ function isProdProjectEnv(value?: string): boolean {
|
|
|
14
14
|
const deployBasePath = process.env.VITE_BASE_PATH || process.env.BASE_PATH;
|
|
15
15
|
const shouldUseBasePath = Boolean(deployBasePath) || isProdProjectEnv(process.env.LICOS_PROJECT_ENV);
|
|
16
16
|
|
|
17
|
+
function parsePort(value?: string): number | undefined {
|
|
18
|
+
const port = Number.parseInt(value || '', 10);
|
|
19
|
+
return Number.isInteger(port) && port > 0 ? port : undefined;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
function createPreviewHmrConfig() {
|
|
23
|
+
if (!process.env.LICOS_PREVIEW_BASE_PATH) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
const hmr: Record<string, unknown> = {
|
|
27
|
+
overlay: true,
|
|
28
|
+
path: process.env.LICOS_PREVIEW_HMR_PATH || '/hot/vite-hmr',
|
|
29
|
+
timeout: 30000,
|
|
30
|
+
};
|
|
31
|
+
if (process.env.LICOS_PREVIEW_HMR_HOST) {
|
|
32
|
+
hmr.host = process.env.LICOS_PREVIEW_HMR_HOST;
|
|
33
|
+
}
|
|
34
|
+
if (process.env.LICOS_PREVIEW_HMR_PROTOCOL) {
|
|
35
|
+
hmr.protocol = process.env.LICOS_PREVIEW_HMR_PROTOCOL;
|
|
36
|
+
}
|
|
37
|
+
const clientPort = parsePort(process.env.LICOS_PREVIEW_HMR_CLIENT_PORT);
|
|
38
|
+
if (clientPort) {
|
|
39
|
+
hmr.clientPort = clientPort;
|
|
40
|
+
}
|
|
41
|
+
return hmr;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
const previewHmrConfig = createPreviewHmrConfig();
|
|
45
|
+
|
|
17
46
|
export default defineConfig({
|
|
18
47
|
base: shouldUseBasePath ? normalizeBasePath(deployBasePath) : '/',
|
|
19
48
|
server: {
|
|
20
49
|
port: <%= port %>,
|
|
21
50
|
host: '0.0.0.0',
|
|
22
51
|
allowedHosts: true,
|
|
23
|
-
hmr: {
|
|
52
|
+
hmr: previewHmrConfig || {
|
|
24
53
|
overlay: true,
|
|
25
54
|
path: '/hot/vite-hmr',
|
|
26
55
|
port: <%= hmrPort %>,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
licos-agent-runtime>=0.2.
|
|
1
|
+
licos-agent-runtime>=0.2.25
|