@lazycatcloud/lzc-cli 1.2.58 → 1.2.60

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.
Files changed (62) hide show
  1. package/changelog.md +11 -0
  2. package/lib/app/lpk_build.js +5 -0
  3. package/lib/app/lpk_create_generator.js +0 -152
  4. package/lib/app/lpk_installer.js +9 -5
  5. package/lib/appstore/index.js +15 -6
  6. package/lib/appstore/login.js +13 -1
  7. package/lib/debug_bridge.js +33 -1
  8. package/lib/shellapi.js +0 -31
  9. package/package.json +1 -1
  10. package/template/blank/lzc-build.yml +15 -16
  11. package/template/blank/lzc-manifest.yml +4 -4
  12. package/template/_lpk/golang.manifest.yml.in +0 -16
  13. package/template/_lpk/lite.manifest.yml.in +0 -19
  14. package/template/golang/.godir +0 -1
  15. package/template/golang/README.md +0 -10
  16. package/template/golang/_gitignore +0 -2
  17. package/template/golang/assets/css/bootstrap-responsive.css +0 -1091
  18. package/template/golang/assets/css/bootstrap-responsive.min.css +0 -1073
  19. package/template/golang/assets/css/bootstrap.css +0 -6264
  20. package/template/golang/assets/css/bootstrap.min.css +0 -5307
  21. package/template/golang/assets/css/rego.css +0 -45
  22. package/template/golang/assets/img/glyphicons-halflings-white.png +0 -0
  23. package/template/golang/assets/img/glyphicons-halflings.png +0 -0
  24. package/template/golang/assets/js/bootstrap.js +0 -2054
  25. package/template/golang/assets/js/bootstrap.min.js +0 -1241
  26. package/template/golang/assets/js/rego.js +0 -132
  27. package/template/golang/build.sh +0 -12
  28. package/template/golang/go.mod +0 -3
  29. package/template/golang/index.html +0 -269
  30. package/template/golang/lazycat.png +0 -0
  31. package/template/golang/lzc-build.yml +0 -60
  32. package/template/golang/rego.go +0 -82
  33. package/template/golang/rego_test.go +0 -13
  34. package/template/ionic_vue3/README.md +0 -46
  35. package/template/ionic_vue3/_eslintrc.cjs +0 -24
  36. package/template/ionic_vue3/_gitignore +0 -29
  37. package/template/ionic_vue3/_vscode/extensions.json +0 -6
  38. package/template/ionic_vue3/capacitor.config.ts +0 -10
  39. package/template/ionic_vue3/env.d.ts +0 -1
  40. package/template/ionic_vue3/index.html +0 -13
  41. package/template/ionic_vue3/ionic.config.json +0 -7
  42. package/template/ionic_vue3/lazycat.png +0 -0
  43. package/template/ionic_vue3/lzc-build.yml +0 -61
  44. package/template/ionic_vue3/package-lock.json +0 -8100
  45. package/template/ionic_vue3/package.json +0 -52
  46. package/template/ionic_vue3/postcss.config.js +0 -6
  47. package/template/ionic_vue3/public/favicon.ico +0 -0
  48. package/template/ionic_vue3/src/App.vue +0 -11
  49. package/template/ionic_vue3/src/assets/logo.svg +0 -1
  50. package/template/ionic_vue3/src/index.css +0 -3
  51. package/template/ionic_vue3/src/main.ts +0 -35
  52. package/template/ionic_vue3/src/router/index.ts +0 -15
  53. package/template/ionic_vue3/src/theme/variables.css +0 -231
  54. package/template/ionic_vue3/src/views/Home.vue +0 -38
  55. package/template/ionic_vue3/tailwind.config.js +0 -7
  56. package/template/ionic_vue3/tsconfig.json +0 -16
  57. package/template/ionic_vue3/tsconfig.vite-config.json +0 -8
  58. package/template/ionic_vue3/vite.config.ts +0 -28
  59. package/template/lite/_gitignore +0 -4
  60. package/template/lite/error_pages/502.html.tpl +0 -13
  61. package/template/lite/lazycat.png +0 -0
  62. package/template/lite/lzc-build.yml +0 -59
@@ -1,10 +0,0 @@
1
- import { CapacitorConfig } from "@capacitor/cli"
2
-
3
- const config: CapacitorConfig = {
4
- appId: "test.app.template",
5
- appName: "app-template",
6
- webDir: "dist",
7
- bundledWebRuntime: false,
8
- }
9
-
10
- export default config
@@ -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>
@@ -1,7 +0,0 @@
1
- {
2
- "name": "app-template",
3
- "integrations": {
4
- "capacitor": {}
5
- },
6
- "type": "vue"
7
- }
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