@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,52 +0,0 @@
1
- {
2
- "name": "app-template",
3
- "version": "0.0.0",
4
- "scripts": {
5
- "dev": "vite --host",
6
- "build": "vue-tsc --noEmit && vite build",
7
- "preview": "vite preview --port 8080",
8
- "typecheck": "vue-tsc --noEmit",
9
- "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
10
- "build_android":"npm run build && ionic capacitor build --no-build --no-open android",
11
- "build_ios":"npm run build && ionic capacitor build --no-build --no-open ios"
12
- },
13
- "dependencies": {
14
- "@capacitor/android": "3.5.0",
15
- "@capacitor/app": "1.1.1",
16
- "@capacitor/core": "3.5.0",
17
- "@capacitor/haptics": "1.1.4",
18
- "@capacitor/keyboard": "1.2.2",
19
- "@capacitor/status-bar": "1.0.8",
20
- "@ionic/vue": "^6.1.3",
21
- "@ionic/vue-router": "^6.1.3",
22
- "pinia": "^2.0.13",
23
- "ts-node": "^10.7.0",
24
- "vue": "^3.2.33",
25
- "vue-router": "^4.0.14"
26
- },
27
- "prettier": {
28
- "bracketSameLine": true,
29
- "vueIndentScriptAndStyle": true,
30
- "htmlWhitespaceSensitivity": "ignore",
31
- "semi": false
32
- },
33
- "devDependencies": {
34
- "@capacitor/cli": "3.5.0",
35
- "@rushstack/eslint-patch": "^1.1.0",
36
- "@types/node": "^16.11.27",
37
- "@vitejs/plugin-vue": "^2.3.1",
38
- "@vitejs/plugin-vue-jsx": "^1.3.10",
39
- "@vue/eslint-config-prettier": "^7.0.0",
40
- "@vue/eslint-config-typescript": "^10.0.0",
41
- "@vue/tsconfig": "^0.1.3",
42
- "autoprefixer": "^10.4.5",
43
- "eslint": "^8.5.0",
44
- "eslint-plugin-vue": "^8.2.0",
45
- "postcss": "^8.4.12",
46
- "prettier": "^2.5.1",
47
- "tailwindcss": "^3.0.24",
48
- "typescript": "~4.6.3",
49
- "vite": "^2.9.5",
50
- "vue-tsc": "^0.34.7"
51
- }
52
- }
@@ -1,6 +0,0 @@
1
- module.exports = {
2
- plugins: {
3
- tailwindcss: {},
4
- autoprefixer: {},
5
- },
6
- }
@@ -1,11 +0,0 @@
1
- <script setup lang="ts">
2
- import { IonApp, IonRouterOutlet } from "@ionic/vue"
3
- </script>
4
-
5
- <template>
6
- <ion-app>
7
- <ion-router-outlet />
8
- </ion-app>
9
- </template>
10
-
11
- <style></style>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 261.76 226.69" xmlns:v="https://vecta.io/nano"><path d="M161.096.001l-30.225 52.351L100.647.001H-.005l130.877 226.688L261.749.001z" fill="#41b883"/><path d="M161.096.001l-30.225 52.351L100.647.001H52.346l78.526 136.01L209.398.001z" fill="#34495e"/></svg>
@@ -1,3 +0,0 @@
1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
@@ -1,35 +0,0 @@
1
- import { createApp } from "vue"
2
- import { createPinia } from "pinia"
3
- import App from "@/App.vue"
4
- import router from "./router"
5
- // tailwind
6
- import "./index.css"
7
-
8
- // ionic
9
- import { IonicVue } from "@ionic/vue"
10
-
11
- // Core CSS required for Ionic components to work properly
12
- import "@ionic/vue/css/core.css"
13
-
14
- // /* Basic CSS for apps built with Ionic */
15
- import "@ionic/vue/css/normalize.css"
16
- import "@ionic/vue/css/structure.css"
17
- import "@ionic/vue/css/typography.css"
18
-
19
- // /* Optional CSS utils that can be commented out */
20
- import "@ionic/vue/css/padding.css"
21
- import "@ionic/vue/css/float-elements.css"
22
- import "@ionic/vue/css/text-alignment.css"
23
- import "@ionic/vue/css/text-transformation.css"
24
- import "@ionic/vue/css/flex-utils.css"
25
- import "@ionic/vue/css/display.css"
26
-
27
- // import "@/theme/variables.css";
28
-
29
- const app = createApp(App)
30
- app.use(IonicVue)
31
- app.use(createPinia())
32
- app.use(router)
33
- router.isReady().then(() => {
34
- app.mount("#app")
35
- })
@@ -1,15 +0,0 @@
1
- import HomeVue from "@/views/Home.vue"
2
- import { createRouter, createWebHistory } from "@ionic/vue-router"
3
-
4
- const router = createRouter({
5
- history: createWebHistory(import.meta.env.BASE_URL),
6
- routes: [
7
- {
8
- path: "/",
9
- name: "home",
10
- component: HomeVue,
11
- },
12
- ],
13
- })
14
-
15
- export default router
@@ -1,231 +0,0 @@
1
- /* Ionic Variables and Theming. For more info, please see:
2
- http://ionicframework.com/docs/theming/ */
3
-
4
- /** Ionic CSS Variables **/
5
- :root {
6
- /** primary **/
7
- --ion-color-primary: #3880ff;
8
- --ion-color-primary-rgb: 56, 128, 255;
9
- --ion-color-primary-contrast: #ffffff;
10
- --ion-color-primary-contrast-rgb: 255, 255, 255;
11
- --ion-color-primary-shade: #3171e0;
12
- --ion-color-primary-tint: #4c8dff;
13
-
14
- /** secondary **/
15
- --ion-color-secondary: #3dc2ff;
16
- --ion-color-secondary-rgb: 61, 194, 255;
17
- --ion-color-secondary-contrast: #ffffff;
18
- --ion-color-secondary-contrast-rgb: 255, 255, 255;
19
- --ion-color-secondary-shade: #36abe0;
20
- --ion-color-secondary-tint: #50c8ff;
21
-
22
- /** tertiary **/
23
- --ion-color-tertiary: #5260ff;
24
- --ion-color-tertiary-rgb: 82, 96, 255;
25
- --ion-color-tertiary-contrast: #ffffff;
26
- --ion-color-tertiary-contrast-rgb: 255, 255, 255;
27
- --ion-color-tertiary-shade: #4854e0;
28
- --ion-color-tertiary-tint: #6370ff;
29
-
30
- /** success **/
31
- --ion-color-success: #2dd36f;
32
- --ion-color-success-rgb: 45, 211, 111;
33
- --ion-color-success-contrast: #ffffff;
34
- --ion-color-success-contrast-rgb: 255, 255, 255;
35
- --ion-color-success-shade: #28ba62;
36
- --ion-color-success-tint: #42d77d;
37
-
38
- /** warning **/
39
- --ion-color-warning: #ffc409;
40
- --ion-color-warning-rgb: 255, 196, 9;
41
- --ion-color-warning-contrast: #000000;
42
- --ion-color-warning-contrast-rgb: 0, 0, 0;
43
- --ion-color-warning-shade: #e0ac08;
44
- --ion-color-warning-tint: #ffca22;
45
-
46
- /** danger **/
47
- --ion-color-danger: #eb445a;
48
- --ion-color-danger-rgb: 235, 68, 90;
49
- --ion-color-danger-contrast: #ffffff;
50
- --ion-color-danger-contrast-rgb: 255, 255, 255;
51
- --ion-color-danger-shade: #cf3c4f;
52
- --ion-color-danger-tint: #ed576b;
53
-
54
- /** dark **/
55
- --ion-color-dark: #222428;
56
- --ion-color-dark-rgb: 34, 36, 40;
57
- --ion-color-dark-contrast: #ffffff;
58
- --ion-color-dark-contrast-rgb: 255, 255, 255;
59
- --ion-color-dark-shade: #1e2023;
60
- --ion-color-dark-tint: #383a3e;
61
-
62
- /** medium **/
63
- --ion-color-medium: #92949c;
64
- --ion-color-medium-rgb: 146, 148, 156;
65
- --ion-color-medium-contrast: #ffffff;
66
- --ion-color-medium-contrast-rgb: 255, 255, 255;
67
- --ion-color-medium-shade: #808289;
68
- --ion-color-medium-tint: #9d9fa6;
69
-
70
- /** light **/
71
- --ion-color-light: #f4f5f8;
72
- --ion-color-light-rgb: 244, 245, 248;
73
- --ion-color-light-contrast: #000000;
74
- --ion-color-light-contrast-rgb: 0, 0, 0;
75
- --ion-color-light-shade: #d7d8da;
76
- --ion-color-light-tint: #f5f6f9;
77
- }
78
-
79
- @media (prefers-color-scheme: dark) {
80
- /*
81
- * Dark Colors
82
- * -------------------------------------------
83
- */
84
-
85
- body {
86
- --ion-color-primary: #428cff;
87
- --ion-color-primary-rgb: 66, 140, 255;
88
- --ion-color-primary-contrast: #ffffff;
89
- --ion-color-primary-contrast-rgb: 255, 255, 255;
90
- --ion-color-primary-shade: #3a7be0;
91
- --ion-color-primary-tint: #5598ff;
92
-
93
- --ion-color-secondary: #50c8ff;
94
- --ion-color-secondary-rgb: 80, 200, 255;
95
- --ion-color-secondary-contrast: #ffffff;
96
- --ion-color-secondary-contrast-rgb: 255, 255, 255;
97
- --ion-color-secondary-shade: #46b0e0;
98
- --ion-color-secondary-tint: #62ceff;
99
-
100
- --ion-color-tertiary: #6a64ff;
101
- --ion-color-tertiary-rgb: 106, 100, 255;
102
- --ion-color-tertiary-contrast: #ffffff;
103
- --ion-color-tertiary-contrast-rgb: 255, 255, 255;
104
- --ion-color-tertiary-shade: #5d58e0;
105
- --ion-color-tertiary-tint: #7974ff;
106
-
107
- --ion-color-success: #2fdf75;
108
- --ion-color-success-rgb: 47, 223, 117;
109
- --ion-color-success-contrast: #000000;
110
- --ion-color-success-contrast-rgb: 0, 0, 0;
111
- --ion-color-success-shade: #29c467;
112
- --ion-color-success-tint: #44e283;
113
-
114
- --ion-color-warning: #ffd534;
115
- --ion-color-warning-rgb: 255, 213, 52;
116
- --ion-color-warning-contrast: #000000;
117
- --ion-color-warning-contrast-rgb: 0, 0, 0;
118
- --ion-color-warning-shade: #e0bb2e;
119
- --ion-color-warning-tint: #ffd948;
120
-
121
- --ion-color-danger: #ff4961;
122
- --ion-color-danger-rgb: 255, 73, 97;
123
- --ion-color-danger-contrast: #ffffff;
124
- --ion-color-danger-contrast-rgb: 255, 255, 255;
125
- --ion-color-danger-shade: #e04055;
126
- --ion-color-danger-tint: #ff5b71;
127
-
128
- --ion-color-dark: #f4f5f8;
129
- --ion-color-dark-rgb: 244, 245, 248;
130
- --ion-color-dark-contrast: #000000;
131
- --ion-color-dark-contrast-rgb: 0, 0, 0;
132
- --ion-color-dark-shade: #d7d8da;
133
- --ion-color-dark-tint: #f5f6f9;
134
-
135
- --ion-color-medium: #989aa2;
136
- --ion-color-medium-rgb: 152, 154, 162;
137
- --ion-color-medium-contrast: #000000;
138
- --ion-color-medium-contrast-rgb: 0, 0, 0;
139
- --ion-color-medium-shade: #86888f;
140
- --ion-color-medium-tint: #a2a4ab;
141
-
142
- --ion-color-light: #222428;
143
- --ion-color-light-rgb: 34, 36, 40;
144
- --ion-color-light-contrast: #ffffff;
145
- --ion-color-light-contrast-rgb: 255, 255, 255;
146
- --ion-color-light-shade: #1e2023;
147
- --ion-color-light-tint: #383a3e;
148
- }
149
-
150
- /*
151
- * iOS Dark Theme
152
- * -------------------------------------------
153
- */
154
-
155
- .ios body {
156
- --ion-background-color: #000000;
157
- --ion-background-color-rgb: 0, 0, 0;
158
-
159
- --ion-text-color: #ffffff;
160
- --ion-text-color-rgb: 255, 255, 255;
161
-
162
- --ion-color-step-50: #0d0d0d;
163
- --ion-color-step-100: #1a1a1a;
164
- --ion-color-step-150: #262626;
165
- --ion-color-step-200: #333333;
166
- --ion-color-step-250: #404040;
167
- --ion-color-step-300: #4d4d4d;
168
- --ion-color-step-350: #595959;
169
- --ion-color-step-400: #666666;
170
- --ion-color-step-450: #737373;
171
- --ion-color-step-500: #808080;
172
- --ion-color-step-550: #8c8c8c;
173
- --ion-color-step-600: #999999;
174
- --ion-color-step-650: #a6a6a6;
175
- --ion-color-step-700: #b3b3b3;
176
- --ion-color-step-750: #bfbfbf;
177
- --ion-color-step-800: #cccccc;
178
- --ion-color-step-850: #d9d9d9;
179
- --ion-color-step-900: #e6e6e6;
180
- --ion-color-step-950: #f2f2f2;
181
-
182
- --ion-toolbar-background: #0d0d0d;
183
-
184
- --ion-item-background: #000000;
185
-
186
- --ion-card-background: #1c1c1d;
187
- }
188
-
189
- /*
190
- * Material Design Dark Theme
191
- * -------------------------------------------
192
- */
193
-
194
- .md body {
195
- --ion-background-color: #121212;
196
- --ion-background-color-rgb: 18, 18, 18;
197
-
198
- --ion-text-color: #ffffff;
199
- --ion-text-color-rgb: 255, 255, 255;
200
-
201
- --ion-border-color: #222222;
202
-
203
- --ion-color-step-50: #1e1e1e;
204
- --ion-color-step-100: #2a2a2a;
205
- --ion-color-step-150: #363636;
206
- --ion-color-step-200: #414141;
207
- --ion-color-step-250: #4d4d4d;
208
- --ion-color-step-300: #595959;
209
- --ion-color-step-350: #656565;
210
- --ion-color-step-400: #717171;
211
- --ion-color-step-450: #7d7d7d;
212
- --ion-color-step-500: #898989;
213
- --ion-color-step-550: #949494;
214
- --ion-color-step-600: #a0a0a0;
215
- --ion-color-step-650: #acacac;
216
- --ion-color-step-700: #b8b8b8;
217
- --ion-color-step-750: #c4c4c4;
218
- --ion-color-step-800: #d0d0d0;
219
- --ion-color-step-850: #dbdbdb;
220
- --ion-color-step-900: #e7e7e7;
221
- --ion-color-step-950: #f3f3f3;
222
-
223
- --ion-item-background: #1e1e1e;
224
-
225
- --ion-toolbar-background: #1f1f1f;
226
-
227
- --ion-tab-bar-background: #1f1f1f;
228
-
229
- --ion-card-background: #1e1e1e;
230
- }
231
- }
@@ -1,38 +0,0 @@
1
- <script lang="ts" setup>
2
- import {
3
- IonContent,
4
- IonHeader,
5
- IonPage,
6
- IonTitle,
7
- IonToolbar,
8
- } from "@ionic/vue"
9
- </script>
10
-
11
- <template>
12
- <ion-page>
13
- <ion-header :translucent="true">
14
- <ion-toolbar>
15
- <ion-title>Lazycat App Template</ion-title>
16
- </ion-toolbar>
17
- </ion-header>
18
-
19
- <ion-content :fullscreen="true">
20
- <div id="container" class="h-full w-full flex flex-col justify-center">
21
- <div class="mx-auto">
22
- <strong>非常滴very good</strong>
23
- <p>
24
- We are LNKS
25
- <a
26
- target="_blank"
27
- rel="noopener noreferrer"
28
- href="https://linakesi.com">
29
- Click Me!
30
- </a>
31
- </p>
32
- </div>
33
- </div>
34
- </ion-content>
35
- </ion-page>
36
- </template>
37
-
38
- <style scoped></style>
@@ -1,7 +0,0 @@
1
- module.exports = {
2
- content: ["./index.html", "./src/**/*.{vue,js,ts,jsx,tsx}"],
3
- theme: {
4
- extend: {},
5
- },
6
- plugins: [],
7
- }
@@ -1,16 +0,0 @@
1
- {
2
- "extends": "@vue/tsconfig/tsconfig.web.json",
3
- "include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
4
- "compilerOptions": {
5
- "baseUrl": ".",
6
- "paths": {
7
- "@/*": ["./src/*"]
8
- }
9
- },
10
-
11
- "references": [
12
- {
13
- "path": "./tsconfig.vite-config.json"
14
- }
15
- ]
16
- }
@@ -1,8 +0,0 @@
1
- {
2
- "extends": "@vue/tsconfig/tsconfig.node.json",
3
- "include": ["vite.config.*"],
4
- "compilerOptions": {
5
- "composite": true,
6
- "types": ["node"]
7
- }
8
- }
@@ -1,28 +0,0 @@
1
- import { fileURLToPath, URL } from "url"
2
-
3
- import { defineConfig } from "vite"
4
- import vue from "@vitejs/plugin-vue"
5
- import vueJsx from "@vitejs/plugin-vue-jsx"
6
-
7
- // https://vitejs.dev/config/
8
- export default defineConfig({
9
- plugins: [
10
- vue({
11
- // template: {
12
- // compilerOptions: {
13
- // // treat all tags with a dash as custom elements
14
- // isCustomElement: (tag) => tag.includes("-"),
15
- // },
16
- // },
17
- }),
18
- vueJsx(),
19
- ],
20
- resolve: {
21
- alias: {
22
- "@": fileURLToPath(new URL("./src", import.meta.url)),
23
- },
24
- },
25
- server: {
26
- port: 3000,
27
- },
28
- })
@@ -1,4 +0,0 @@
1
- **/*.lpk
2
- **/*.tar.gz
3
- **/*.md5
4
- /.pushed.timestamp
@@ -1,13 +0,0 @@
1
- <html>
2
- <body>
3
- <h1>
4
- 你的程序无法访问了~~~~~~~~
5
- </h1>
6
- <p>
7
- 原因: {{ .ErrorDetail}}
8
- </p>
9
- <p>
10
- 请稍后再试吧
11
- </p>
12
- </body>
13
- </html>
Binary file
@@ -1,59 +0,0 @@
1
- # 整个文件中,可以通过 ${var} 的方式,使用 manifest 字段指定的文件定义的值
2
-
3
- # buildscript
4
- # - 可以为构建脚本的路径地址
5
- # - 如果构建命令简单,也可以直接写 sh 的命令
6
- # buildscript: ./build.sh
7
-
8
- # manifest: 指定 lpk 包的 manifest.yml 文件路径
9
- manifest: ./lzc-manifest.yml
10
-
11
- # contentdir: 指定打包的内容,将会打包到 lpk 中
12
- contentdir: ./error_pages
13
-
14
- # pkgout: lpk 包的输出路径
15
- pkgout: ./
16
-
17
- # icon 指定 lpk 包 icon 的路径路径,如果不指定将会警告
18
- # icon 仅仅允许 png 后缀的文件
19
- icon: ./lazycat.png
20
- # devshell 自定义应用的开发容器环境
21
- # - routers 指定应用容器的访问路由
22
-
23
- # devshell 没有指定 image 的情况,将会默认使用 registry.lazycat.cloud/lzc-cli/devshell:v0.0.5
24
- # devshell:
25
- # routers:
26
- # - /=http://127.0.0.1:8080
27
-
28
- # devshell 指定 image 的情况
29
- # devshell:
30
- # routes:
31
- # - /=http://127.0.0.1:3000
32
- # image: registry.lazycat.cloud/lzc-cli/devshell:v0.0.5
33
-
34
- # devshell 指定构建Dockerfile
35
- # image 字段如果没有定义,将默认使用 ${package}-devshell:${version}
36
- # devshell:
37
- # routes:
38
- # - /=http://127.0.0.1:3000
39
- # image: ${package}-devshell:${version}
40
- # pull_policy: build
41
- # build: .
42
-
43
- # dvshell 指定开发依赖的情况
44
- # 这种情况下,选用 alpine:latest 作为基础镜像,在 dependencies 中添加所需要的开发依赖即可
45
- # 如果 dependencies 和 build 同时存在,将会优先使用 dependencies
46
- # devshell:
47
- # routes:
48
- # - /=http://127.0.0.1:3000
49
- # dependencies:
50
- # - go
51
- # - vim
52
- # # setupscript 每次进入到app container后都会执行的配置脚本
53
- # # - 可以为脚本的路径地址
54
- # # - 如果构建命令简单,也可以直接写 sh 的命令
55
- # # setupscript: export GOPROXY=https://goproxy.cn
56
- # # setupscript: ./setupscript.sh
57
- # setupscript: |
58
- # export GOPROXY=https://goproxy.cn
59
- # export npm_config_registry=https://registry.npmmirror.com