@lazycatcloud/lzc-cli 1.2.59 → 1.2.61
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/changelog.md +8 -0
- package/lib/app/lpk_build.js +5 -0
- package/lib/app/lpk_create_generator.js +0 -152
- package/lib/appstore/login.js +13 -1
- package/package.json +1 -1
- package/template/blank/lzc-build.yml +15 -16
- package/template/blank/lzc-manifest.yml +4 -4
- package/template/_lpk/golang.manifest.yml.in +0 -16
- package/template/_lpk/lite.manifest.yml.in +0 -19
- package/template/golang/.godir +0 -1
- package/template/golang/README.md +0 -10
- package/template/golang/_gitignore +0 -2
- package/template/golang/assets/css/bootstrap-responsive.css +0 -1091
- package/template/golang/assets/css/bootstrap-responsive.min.css +0 -1073
- package/template/golang/assets/css/bootstrap.css +0 -6264
- package/template/golang/assets/css/bootstrap.min.css +0 -5307
- package/template/golang/assets/css/rego.css +0 -45
- package/template/golang/assets/img/glyphicons-halflings-white.png +0 -0
- package/template/golang/assets/img/glyphicons-halflings.png +0 -0
- package/template/golang/assets/js/bootstrap.js +0 -2054
- package/template/golang/assets/js/bootstrap.min.js +0 -1241
- package/template/golang/assets/js/rego.js +0 -132
- package/template/golang/build.sh +0 -12
- package/template/golang/go.mod +0 -3
- package/template/golang/index.html +0 -269
- package/template/golang/lazycat.png +0 -0
- package/template/golang/lzc-build.yml +0 -60
- package/template/golang/rego.go +0 -82
- package/template/golang/rego_test.go +0 -13
- package/template/ionic_vue3/README.md +0 -46
- package/template/ionic_vue3/_eslintrc.cjs +0 -24
- package/template/ionic_vue3/_gitignore +0 -29
- package/template/ionic_vue3/_vscode/extensions.json +0 -6
- package/template/ionic_vue3/capacitor.config.ts +0 -10
- package/template/ionic_vue3/env.d.ts +0 -1
- package/template/ionic_vue3/index.html +0 -13
- package/template/ionic_vue3/ionic.config.json +0 -7
- package/template/ionic_vue3/lazycat.png +0 -0
- package/template/ionic_vue3/lzc-build.yml +0 -61
- package/template/ionic_vue3/package-lock.json +0 -8100
- package/template/ionic_vue3/package.json +0 -52
- package/template/ionic_vue3/postcss.config.js +0 -6
- package/template/ionic_vue3/public/favicon.ico +0 -0
- package/template/ionic_vue3/src/App.vue +0 -11
- package/template/ionic_vue3/src/assets/logo.svg +0 -1
- package/template/ionic_vue3/src/index.css +0 -3
- package/template/ionic_vue3/src/main.ts +0 -35
- package/template/ionic_vue3/src/router/index.ts +0 -15
- package/template/ionic_vue3/src/theme/variables.css +0 -231
- package/template/ionic_vue3/src/views/Home.vue +0 -38
- package/template/ionic_vue3/tailwind.config.js +0 -7
- package/template/ionic_vue3/tsconfig.json +0 -16
- package/template/ionic_vue3/tsconfig.vite-config.json +0 -8
- package/template/ionic_vue3/vite.config.ts +0 -28
- package/template/lite/_gitignore +0 -4
- package/template/lite/error_pages/502.html.tpl +0 -13
- package/template/lite/lazycat.png +0 -0
- package/template/lite/lzc-build.yml +0 -59
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<link rel="icon" href="/favicon.ico" />
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
-
<title>Vite App</title>
|
|
8
|
-
</head>
|
|
9
|
-
<body>
|
|
10
|
-
<div id="app"></div>
|
|
11
|
-
<script type="module" src="/src/main.ts"></script>
|
|
12
|
-
</body>
|
|
13
|
-
</html>
|
|
Binary file
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
# 整个文件中,可以通过 ${var} 的方式,使用 manifest 字段指定的文件定义的值
|
|
2
|
-
|
|
3
|
-
# buildscript
|
|
4
|
-
# - 可以为构建脚本的路径地址
|
|
5
|
-
# - 如果构建命令简单,也可以直接写 sh 的命令
|
|
6
|
-
buildscript: npm run build
|
|
7
|
-
|
|
8
|
-
# manifest: 指定 lpk 包的 manifest.yml 文件路径
|
|
9
|
-
# manifest: ./lzc-manifest.yml
|
|
10
|
-
|
|
11
|
-
# contentdir: 指定打包的内容,将会打包到 lpk 中
|
|
12
|
-
contentdir: ./dist
|
|
13
|
-
|
|
14
|
-
# pkgout: lpk 包的输出路径
|
|
15
|
-
pkgout: ./
|
|
16
|
-
|
|
17
|
-
# icon 指定 lpk 包 icon 的路径路径,如果不指定将会警告
|
|
18
|
-
# icon 仅仅允许 png 后缀的文件
|
|
19
|
-
icon: ./lazycat.png
|
|
20
|
-
|
|
21
|
-
# devshell 自定义应用的开发容器环境
|
|
22
|
-
# - routers 指定应用容器的访问路由
|
|
23
|
-
|
|
24
|
-
# devshell 没有指定 image 的情况,将会默认使用 registry.lazycat.cloud/lzc-cli/devshell:v0.0.5
|
|
25
|
-
# devshell:
|
|
26
|
-
# routers:
|
|
27
|
-
# - /=http://127.0.0.1:8080
|
|
28
|
-
|
|
29
|
-
# devshell 指定 image 的情况
|
|
30
|
-
# devshell:
|
|
31
|
-
# routes:
|
|
32
|
-
# - /=http://127.0.0.1:3000
|
|
33
|
-
# image: registry.lazycat.cloud/lzc-cli/devshell:v0.0.5
|
|
34
|
-
|
|
35
|
-
# devshell 指定构建Dockerfile
|
|
36
|
-
# image 字段如果没有定义,将默认使用 ${package}-devshell:${version}
|
|
37
|
-
# devshell:
|
|
38
|
-
# routes:
|
|
39
|
-
# - /=http://127.0.0.1:3000
|
|
40
|
-
# image: ${package}-devshell:${version}
|
|
41
|
-
# pull_policy: build
|
|
42
|
-
# build: .
|
|
43
|
-
|
|
44
|
-
# dvshell 指定开发依赖的情况
|
|
45
|
-
# 这种情况下,选用 alpine:latest 作为基础镜像,在 dependencies 中添加所需要的开发依赖即可
|
|
46
|
-
# 如果 dependencies 和 build 同时存在,将会优先使用 dependencies
|
|
47
|
-
devshell:
|
|
48
|
-
routes:
|
|
49
|
-
- /=http://127.0.0.1:3000
|
|
50
|
-
dependencies:
|
|
51
|
-
- nodejs
|
|
52
|
-
- vim
|
|
53
|
-
- npm
|
|
54
|
-
# setupscript 每次进入到app container后都会执行的配置脚本
|
|
55
|
-
# - 可以为脚本的路径地址
|
|
56
|
-
# - 如果构建命令简单,也可以直接写 sh 的命令
|
|
57
|
-
# setupscript: export GOPROXY=https://goproxy.cn
|
|
58
|
-
# setupscript: ./setupscript.sh
|
|
59
|
-
setupscript: |
|
|
60
|
-
export GOPROXY=https://goproxy.cn
|
|
61
|
-
export npm_config_registry=https://registry.npmmirror.com
|