Installations
npm install @gosls/tencent-website
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
12.6.0
NPM Version
6.12.0
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
validate.email 🚀
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Developer
gosls
Download Statistics
Total Downloads
606
Last Day
1
Last Week
2
Last Month
10
Last Year
87
GitHub Statistics
Apache-2.0 License
3 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Feb 25, 2020
Package Meta Information
Latest Version
0.0.2
Package Id
@gosls/tencent-website@0.0.2
Unpacked Size
19.64 kB
Size
7.76 kB
File Count
11
NPM Version
6.12.0
Node Version
12.6.0
Total Downloads
Cumulative downloads
Total Downloads
606
Last Day
0%
1
Compared to previous day
Last Week
100%
2
Compared to previous week
Last Month
-9.1%
10
Compared to previous month
Last Year
-11.2%
87
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
gosls组件使用说明
- 该组件的功能:支持Serverless Framework的指定组件部署
- 该组件对应的官方依赖地址:https://github.com/serverless-components/tencent-website
Serverless Components有很多有趣的组件,在使用的时候也非常方便,但是有的时候我们yaml中有很多很多组件,我们只修改了一其中一个,执行的时候会全部都执行一次,这会浪费很多时间和经历,所以作为社区爱好者我推出了gosls系列。
这一套组件的使用方法很简单,用户只需要把Serverless原有的组件名修改就好,例如tencent-scf组件,原有的格式是:
1# serverless.yml 2helloWorld: 3 component: "@serverless/tencent-scf" 4 inputs: 5 name: myFunction1 6 codeUri: ./code # 代码目录 7 ... ...
此时只需要改成:
1# serverless.yml 2helloWorld: 3 component: "@serverless/tencent-scf" 4 inputs: 5 name: myFunction1 6 codeUri: ./code # 代码目录 7 ... ...
是的,只需要修改component中的@serverless,变成@gosls,在使用的时候,如果想单独操作某个部分,可以直接使用参数-n
,例如我有多个组件:
1# serverless.yml 2helloWorldTest1: 3 component: "@serverless/tencent-scf" 4 inputs: 5 name: myFunction1 6 codeUri: ./code # 代码目录 7 ... ... 8 9helloWorldTest2: 10 component: "@serverless/tencent-scf" 11 inputs: 12 name: myFunction1 13 codeUri: ./code # 代码目录 14 ... ... 15 16helloWorldTest3: 17 component: "@serverless/tencent-scf" 18 inputs: 19 name: myFunction1 20 codeUri: ./code # 代码目录 21 ... ...
我想对其中helloWorldTest1
进行部署,只需要执行sls --debug -n helloWorldTest1
,如果是remove,就是sls remove --debug -n helloWorldTest1
如果不指定-n
参数,系统会默认全部部署/移除。
整个项目流程非常简单,只是在官方基础上增加一层判断,所有的yaml规范和组件更新,都是直接使用官方的,请放心使用。

No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0
Reason
Found 0/3 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
3
/10
Last Scanned on 2025-02-17
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More