Unverified Commit 44912718 authored by Albert Liu's avatar Albert Liu Committed by GitHub
Browse files

[fix] framework plugin inputs not work (#28)

No related merge requests found
Showing with 56 additions and 88 deletions
+56 -88
...@@ -12,17 +12,13 @@ ...@@ -12,17 +12,13 @@
"use": "@cloudbase/framework-plugin-function", "use": "@cloudbase/framework-plugin-function",
"inputs": { "inputs": {
"functionRootPath": "cloudfunctions", "functionRootPath": "cloudfunctions",
"functions": [ "functions": [{
{ "name": "next-ssr-echo",
"name": "next-ssr-echo", "timeout": 5,
"config": { "envVariables": {},
"timeout": 5, "runtime": "Nodejs10.15",
"envVariables": {}, "memory": 128
"runtime": "Nodejs10.15", }],
"memorySize": 128
}
}
],
"servicePaths": { "servicePaths": {
"next-ssr-echo": "/next-ssr-echo" "next-ssr-echo": "/next-ssr-echo"
} }
......
...@@ -12,17 +12,13 @@ ...@@ -12,17 +12,13 @@
"use": "@cloudbase/framework-plugin-function", "use": "@cloudbase/framework-plugin-function",
"inputs": { "inputs": {
"functionRootPath": "cloudfunctions", "functionRootPath": "cloudfunctions",
"functions": [ "functions": [{
{ "name": "nuxt-ssr-echo",
"name": "nuxt-ssr-echo", "timeout": 5,
"config": { "envVariables": {},
"timeout": 5, "runtime": "Nodejs10.15",
"envVariables": {}, "memory": 128
"runtime": "Nodejs10.15", }],
"memorySize": 128
}
}
],
"servicePaths": { "servicePaths": {
"nuxt-ssr-echo": "/nuxt-ssr-echo" "nuxt-ssr-echo": "/nuxt-ssr-echo"
} }
......
...@@ -17,17 +17,13 @@ ...@@ -17,17 +17,13 @@
"use": "@cloudbase/framework-plugin-function", "use": "@cloudbase/framework-plugin-function",
"inputs": { "inputs": {
"functionRootPath": "cloudfunctions", "functionRootPath": "cloudfunctions",
"functions": [ "functions": [{
{ "name": "omi-echo",
"name": "omi-echo", "timeout": 5,
"config": { "envVariables": {},
"timeout": 5, "runtime": "Nodejs10.15",
"envVariables": {}, "memory": 128
"runtime": "Nodejs10.15", }]
"memorySize": 128
}
}
]
} }
} }
} }
......
...@@ -16,17 +16,13 @@ ...@@ -16,17 +16,13 @@
"use": "@cloudbase/framework-plugin-function", "use": "@cloudbase/framework-plugin-function",
"inputs": { "inputs": {
"functionRootPath": "cloudfunctions", "functionRootPath": "cloudfunctions",
"functions": [ "functions": [{
{ "name": "custom-app",
"name": "custom-app", "timeout": 5,
"config": { "envVariables": {},
"timeout": 5, "runtime": "Nodejs10.15",
"envVariables": {}, "memory": 128
"runtime": "Nodejs10.15", }]
"memorySize": 128
}
}
]
} }
} }
} }
......
...@@ -17,17 +17,13 @@ ...@@ -17,17 +17,13 @@
"use": "@cloudbase/framework-plugin-function", "use": "@cloudbase/framework-plugin-function",
"inputs": { "inputs": {
"functionRootPath": "cloudfunctions", "functionRootPath": "cloudfunctions",
"functions": [ "functions": [{
{ "name": "stater-app",
"name": "stater-app", "timeout": 5,
"config": { "envVariables": {},
"timeout": 5, "runtime": "Nodejs10.15",
"envVariables": {}, "memory": 128
"runtime": "Nodejs10.15", }]
"memorySize": 128
}
}
]
} }
} }
} }
......
...@@ -17,17 +17,13 @@ ...@@ -17,17 +17,13 @@
"use": "@cloudbase/framework-plugin-function", "use": "@cloudbase/framework-plugin-function",
"inputs": { "inputs": {
"functionRootPath": "cloudfunctions", "functionRootPath": "cloudfunctions",
"functions": [ "functions": [{
{ "name": "taro-stater-app",
"name": "taro-stater-app", "timeout": 5,
"config": { "envVariables": {},
"timeout": 5, "runtime": "Nodejs10.15",
"envVariables": {}, "memory": 128
"runtime": "Nodejs10.15", }]
"memorySize": 128
}
}
]
} }
} }
} }
......
...@@ -17,17 +17,13 @@ ...@@ -17,17 +17,13 @@
"use": "@cloudbase/framework-plugin-function", "use": "@cloudbase/framework-plugin-function",
"inputs": { "inputs": {
"functionRootPath": "cloudfunctions", "functionRootPath": "cloudfunctions",
"functions": [ "functions": [{
{ "name": "uni-app-echo",
"name": "uni-app-echo", "timeout": 5,
"config": { "envVariables": {},
"timeout": 5, "runtime": "Nodejs10.15",
"envVariables": {}, "memory": 128
"runtime": "Nodejs10.15", }]
"memorySize": 128
}
}
]
} }
} }
} }
......
...@@ -17,17 +17,13 @@ ...@@ -17,17 +17,13 @@
"use": "@cloudbase/framework-plugin-function", "use": "@cloudbase/framework-plugin-function",
"inputs": { "inputs": {
"functionRootPath": "cloudfunctions", "functionRootPath": "cloudfunctions",
"functions": [ "functions": [{
{ "name": "vue-echo",
"name": "vue-echo", "timeout": 5,
"config": { "envVariables": {},
"timeout": 5, "runtime": "Nodejs10.15",
"envVariables": {}, "memory": 128
"runtime": "Nodejs10.15", }]
"memorySize": 128
}
}
]
} }
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment