@serverless-devs/s 2.0.103-beta.1 → 2.0.104
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/CNAME +1 -0
- package/_config.yml +1 -0
- package/lib/clean/index.js +15 -15
- package/lib/cli/index.js +22 -22
- package/lib/component/index.js +28 -28
- package/lib/config/add/index.js +24 -24
- package/lib/config/delete/index.js +24 -24
- package/lib/config/get/index.js +26 -26
- package/lib/config/index.js +15 -15
- package/lib/index.js +72 -72
- package/lib/init/index.js +51 -51
- package/lib/init/init-config.js +5 -1
- package/lib/set/analysis/index.js +26 -26
- package/lib/set/index.js +14 -14
- package/lib/set/locale/index.js +25 -25
- package/lib/set/registry/index.js +25 -25
- package/lib/set/workspace/index.js +27 -27
- package/lib/update-notifier/index.js +18 -18
- package/lib/verify/index.js +28 -28
- package/package.json +2 -2
- package/readme.md +3 -1
- package/a.yaml +0 -38
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serverless-devs/s",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.104",
|
|
4
4
|
"description": "Serverless devs tool, serverless developer tool, supports Alibaba cloud, AWS, azure, baidu cloud, Huawei cloud, Google cloud and Tencent cloud.",
|
|
5
5
|
"homepage": "https://www.serverless-devs.com",
|
|
6
6
|
"keywords": [
|
|
@@ -79,6 +79,6 @@
|
|
|
79
79
|
"**/*.{js,jsx,ts}": "f2elint exec eslint"
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
|
-
"@serverless-devs/core": "
|
|
82
|
+
"@serverless-devs/core": "latest"
|
|
83
83
|
}
|
|
84
84
|
}
|
package/readme.md
CHANGED
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
|
|
34
34
|

|
|
35
35
|
|
|
36
|
+
|
|
36
37
|
> 更多关于 Serverless Devs 的介绍可以参考[项目介绍文档](./docs/zh/readme.md)
|
|
37
38
|
|
|
38
39
|
# 快速上手
|
|
@@ -51,6 +52,7 @@ $ npm install @serverless-devs/s -g
|
|
|
51
52
|
- [安装文档](./docs/zh/install.md)
|
|
52
53
|
- [命令行操作](./docs/zh/command/readme.md)
|
|
53
54
|
- [Yaml规范](./docs/zh/yaml.md)
|
|
55
|
+
- [配置继承/多环境](./docs/zh/extend.md)
|
|
54
56
|
- [CI/CD平台集成](./docs/zh/cicd.md)
|
|
55
57
|
|
|
56
58
|
> 如果您想为 Serverless Devs 贡献 Package(包括组件和应用),您可以参考 [Package开发文档](./docs/zh/package_dev.md)
|
|
@@ -95,7 +97,7 @@ Serverless Devs 遵循 [MIT License](./LICENSE) 开源许可。
|
|
|
95
97
|
|
|
96
98
|
<p align="center">
|
|
97
99
|
|
|
98
|
-
| <img src="https://
|
|
100
|
+
| <img src="https://img.alicdn.com/imgextra/i2/O1CN01zifTV61Mkg9QRNBUs_!!6000000001473-2-tps-466-462.png" width="200px" > | <img src="https://serverless-article-picture.oss-cn-hangzhou.aliyuncs.com/1635407044136_20211028074404326599.png" width="200px" > | <img src="https://img.alicdn.com/imgextra/i1/O1CN01ECE9wN1RMvgS6d1JM_!!6000000002098-0-tps-881-877.jpg" width="200px" > |
|
|
99
101
|
|--- | --- | --- |
|
|
100
102
|
| <center>关注微信公众号:`serverless`</center> | <center>联系微信小助手:`xiaojiangwh`</center> | <center>加入钉钉交流群:`33947367`</center> |
|
|
101
103
|
|
package/a.yaml
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
edition: 1.0.0 # 命令行YAML规范版本,遵循语义化版本(Semantic Versioning)规范
|
|
2
|
-
name: fcDeployApp # 项目名称
|
|
3
|
-
access: 'sub' # 秘钥别名
|
|
4
|
-
|
|
5
|
-
services:
|
|
6
|
-
fc-deploy-test: # 服务名称
|
|
7
|
-
component: devsapp/fc # 组件名称
|
|
8
|
-
props: # 组件的属性值
|
|
9
|
-
region: cn-hangzhou
|
|
10
|
-
service:
|
|
11
|
-
name: fc-deploy-service
|
|
12
|
-
description: 'demo for fc-deploy component'
|
|
13
|
-
internetAccess: true
|
|
14
|
-
function:
|
|
15
|
-
name: http-trigger-nodejs12
|
|
16
|
-
description: this is a test
|
|
17
|
-
runtime: nodejs12
|
|
18
|
-
codeUri: ./test/start-fc-http-nodejs12/code
|
|
19
|
-
# ossBucket:
|
|
20
|
-
# ossKey: # conflict with codeUri
|
|
21
|
-
handler: index.handler
|
|
22
|
-
memorySize: 128
|
|
23
|
-
timeout: 60
|
|
24
|
-
triggers:
|
|
25
|
-
- name: httpTrigger
|
|
26
|
-
type: http
|
|
27
|
-
config:
|
|
28
|
-
authType: anonymous
|
|
29
|
-
methods:
|
|
30
|
-
- GET
|
|
31
|
-
customDomains:
|
|
32
|
-
- domainName: auto
|
|
33
|
-
protocol: HTTP
|
|
34
|
-
routeConfigs:
|
|
35
|
-
- path: /*
|
|
36
|
-
methods:
|
|
37
|
-
- GET
|
|
38
|
-
# 函数计算FC组件文档参考地址:https://github.com/devsapp/fc
|