@serverless-devs/s 2.0.96 → 2.0.97-beta.6

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 (146) hide show
  1. package/Makefile +26 -0
  2. package/lib/clean/index.js +34 -31
  3. package/lib/cli/cli-manager.js +10 -10
  4. package/lib/cli/index.js +52 -52
  5. package/lib/component/index.js +51 -144
  6. package/lib/config/add/index.js +36 -33
  7. package/lib/config/delete/index.js +47 -47
  8. package/lib/config/get/index.js +40 -37
  9. package/lib/config/index.js +35 -32
  10. package/lib/core/command/command-manager.js +5 -5
  11. package/lib/core/component/hook.js +4 -4
  12. package/lib/core/component/index.js +9 -9
  13. package/lib/error/human-error.js +5 -5
  14. package/lib/error/human-warning.js +4 -4
  15. package/lib/error/index.js +19 -14
  16. package/lib/index.js +109 -120
  17. package/lib/init/index.js +97 -97
  18. package/lib/init/init-manager.js +11 -11
  19. package/lib/onboarding/index.js +5 -5
  20. package/lib/set/analysis/index.js +37 -34
  21. package/lib/set/index.js +35 -32
  22. package/lib/set/locale/index.js +49 -49
  23. package/lib/set/registry/index.js +49 -49
  24. package/lib/set/workspace/index.js +38 -35
  25. package/lib/specification/parse.js +10 -10
  26. package/lib/update-notifier/index.js +17 -17
  27. package/lib/utils/command-util.js +74 -57
  28. package/lib/utils/common.js +40 -13
  29. package/lib/utils/index.js +3 -3
  30. package/package.json +5 -4
  31. package/.eslintrc.json +0 -112
  32. package/.prettierrc.json +0 -11
  33. package/CODE_OF_CONDUCT.md +0 -5
  34. package/CONTRIBUTING.md +0 -189
  35. package/CONTRIBUTORS.md +0 -148
  36. package/docs/readme.md +0 -100
  37. package/docs/zh/awesome.md +0 -20
  38. package/docs/zh/cicd.md +0 -231
  39. package/docs/zh/cli_design.md +0 -100
  40. package/docs/zh/command/clean.md +0 -63
  41. package/docs/zh/command/cli.md +0 -92
  42. package/docs/zh/command/component.md +0 -75
  43. package/docs/zh/command/config.md +0 -274
  44. package/docs/zh/command/custom.md +0 -73
  45. package/docs/zh/command/init.md +0 -149
  46. package/docs/zh/command/readme.md +0 -76
  47. package/docs/zh/command/set.md +0 -195
  48. package/docs/zh/default_provider_config/alibabacloud.md +0 -82
  49. package/docs/zh/default_provider_config/aws.md +0 -12
  50. package/docs/zh/default_provider_config/azure.md +0 -9
  51. package/docs/zh/default_provider_config/baiducloud.md +0 -8
  52. package/docs/zh/default_provider_config/gcp.md +0 -21
  53. package/docs/zh/default_provider_config/huaweicloud.md +0 -52
  54. package/docs/zh/default_provider_config/readme.md +0 -9
  55. package/docs/zh/default_provider_config/tencentcloud.md +0 -41
  56. package/docs/zh/install.md +0 -52
  57. package/docs/zh/package_dev.md +0 -142
  58. package/docs/zh/quick_start.md +0 -297
  59. package/docs/zh/readme.md +0 -92
  60. package/docs/zh/tool.md +0 -101
  61. package/docs/zh/yaml.md +0 -207
  62. package/docs/zh/yaml_and_cli.md +0 -67
  63. package/jest.setup.ts +0 -37
  64. package/lib/clean/index.d.ts +0 -1
  65. package/lib/cli/cli-manager.d.ts +0 -13
  66. package/lib/cli/index.d.ts +0 -2
  67. package/lib/component/index.d.ts +0 -1
  68. package/lib/config/add/index.d.ts +0 -1
  69. package/lib/config/common/common.d.ts +0 -46
  70. package/lib/config/delete/index.d.ts +0 -2
  71. package/lib/config/get/index.d.ts +0 -1
  72. package/lib/config/index.d.ts +0 -2
  73. package/lib/constants/index.d.ts +0 -0
  74. package/lib/constants/static-variable.d.ts +0 -4
  75. package/lib/core/command/command-manager.d.ts +0 -12
  76. package/lib/core/component/hook.d.ts +0 -17
  77. package/lib/core/component/index.d.ts +0 -53
  78. package/lib/core/index.d.ts +0 -2
  79. package/lib/core/plugin/index.d.ts +0 -13
  80. package/lib/entiry/cli.d.ts +0 -27
  81. package/lib/entiry/index.d.ts +0 -2
  82. package/lib/error/command-error.d.ts +0 -5
  83. package/lib/error/config-delete-error.d.ts +0 -5
  84. package/lib/error/config-error.d.ts +0 -5
  85. package/lib/error/config-get-error.d.ts +0 -5
  86. package/lib/error/human-error.d.ts +0 -13
  87. package/lib/error/human-warning.d.ts +0 -8
  88. package/lib/error/index.d.ts +0 -17
  89. package/lib/error/init-error.d.ts +0 -5
  90. package/lib/error/serverless-error.d.ts +0 -4
  91. package/lib/execDaemon.d.ts +0 -6
  92. package/lib/index.d.ts +0 -2
  93. package/lib/init/index.d.ts +0 -2
  94. package/lib/init/init-config.d.ts +0 -43
  95. package/lib/init/init-manager.d.ts +0 -17
  96. package/lib/onboarding/index.d.ts +0 -2
  97. package/lib/set/analysis/index.d.ts +0 -1
  98. package/lib/set/index.d.ts +0 -1
  99. package/lib/set/locale/index.d.ts +0 -1
  100. package/lib/set/registry/index.d.ts +0 -10
  101. package/lib/set/workspace/index.d.ts +0 -1
  102. package/lib/specification/analysis.d.ts +0 -12
  103. package/lib/specification/index.d.ts +0 -4
  104. package/lib/specification/parse.d.ts +0 -24
  105. package/lib/specification/version.d.ts +0 -35
  106. package/lib/update-notifier/index.d.ts +0 -10
  107. package/lib/utils/command-util.d.ts +0 -18
  108. package/lib/utils/common.d.ts +0 -28
  109. package/lib/utils/core.d.ts +0 -3
  110. package/lib/utils/handler-set-config.d.ts +0 -19
  111. package/lib/utils/i18n/en.d.ts +0 -44
  112. package/lib/utils/i18n/index.d.ts +0 -2
  113. package/lib/utils/i18n/zh.d.ts +0 -44
  114. package/lib/utils/index.d.ts +0 -9
  115. package/lib/utils/logger.d.ts +0 -11
  116. package/lib/utils/storage.d.ts +0 -8
  117. package/lib/utils/url-parser.d.ts +0 -15
  118. package/spec/readme.md +0 -59
  119. package/spec/zh/0.0.1/readme.md +0 -47
  120. package/spec/zh/0.0.1/serverless_package_model/1.purpose_and_goals.md +0 -3
  121. package/spec/zh/0.0.1/serverless_package_model/2.overview_and_terminology.md +0 -14
  122. package/spec/zh/0.0.1/serverless_package_model/3.package_model.md +0 -434
  123. package/spec/zh/0.0.1/serverless_package_model/4.application_scopes.md +0 -3
  124. package/spec/zh/0.0.1/serverless_package_model/5.design_principles.md +0 -3
  125. package/spec/zh/0.0.1/serverless_package_model/readme.md +0 -12
  126. package/spec/zh/0.0.1/serverless_registry_model/1.purpose_and_goals.md +0 -18
  127. package/spec/zh/0.0.1/serverless_registry_model/2.overview_and_terminology.md +0 -18
  128. package/spec/zh/0.0.1/serverless_registry_model/3.registry_model.md +0 -61
  129. package/spec/zh/0.0.1/serverless_registry_model/4.application_scopes.md +0 -6
  130. package/spec/zh/0.0.1/serverless_registry_model/5.design_principles.md +0 -3
  131. package/spec/zh/0.0.1/serverless_registry_model/readme.md +0 -12
  132. package/spec/zh/0.0.1/serverless_user_model/1.purpose_and_goals.md +0 -3
  133. package/spec/zh/0.0.1/serverless_user_model/2.overview_and_terminology.md +0 -16
  134. package/spec/zh/0.0.1/serverless_user_model/3.user_model.md +0 -218
  135. package/spec/zh/0.0.1/serverless_user_model/4.application_scopes.md +0 -4
  136. package/spec/zh/0.0.1/serverless_user_model/5.design_principles.md +0 -3
  137. package/spec/zh/0.0.1/serverless_user_model/readme.md +0 -12
  138. package/test/ci.sh +0 -33
  139. package/test/cli/cli-manager.test.ts +0 -64
  140. package/test/config/get.test.ts +0 -12
  141. package/test/helloworld.test.ts +0 -7
  142. package/test/start-fc-http-nodejs12/code/index.js +0 -47
  143. package/test/start-fc-http-nodejs12/s.yaml +0 -38
  144. package/test/utils/index.test.ts +0 -8
  145. package/test/utils/storage.test.ts +0 -19
  146. package/tsconfig.json +0 -37
package/CONTRIBUTING.md DELETED
@@ -1,189 +0,0 @@
1
- # Contributing to Serverless Devs
2
-
3
- It is warmly welcomed if you have interest to hack on Serverless Devs. First, we encourage this kind of willing very much. And here is a list of contributing guide for you.
4
-
5
- ## Topics
6
-
7
- - [Contributing to Serverless Devs](#contributing-to-serverless-devs)
8
- - [Topics](#topics)
9
- - [Reporting security issues](#reporting-security-issues)
10
- - [Reporting general issues](#reporting-general-issues)
11
- - [Code and doc contribution](#code-and-doc-contribution)
12
- - [Workspace Preparation](#workspace-preparation)
13
- - [Branch Definition](#branch-definition)
14
- - [Commit Rules](#commit-rules)
15
- - [Commit Message](#commit-message)
16
- - [Commit Content](#commit-content)
17
- - [PR Description](#pr-description)
18
- - [Test case contribution](#test-case-contribution)
19
- - [Package contribution](#package-contribution)
20
- - [Engage to help anything](#engage-to-help-anything)
21
-
22
-
23
-
24
- ## Reporting security issues
25
-
26
- Security issues are always treated seriously. As our usual principle, we discourage anyone to spread security issues. If you find a security issue of Serverless Devs, please do not discuss it in public and even do not open a public issue. Instead we encourage you to send us a private email to [service@serverlessfans.com](mailto:service@serverlessfans.com) to report this.
27
-
28
- ## Reporting general issues
29
-
30
- To be honest, we regard every user of Serverless Devs as a very kind contributor. After experiencing Serverless Devs, you may have some feedback for the project. Then feel free to open an issue via [NEW ISSUE](https://github.com/Serverless-Devs/Serverless-Devs/issues/new/choose).
31
-
32
- Since we collaborate project Serverless Devs in a distributed way, we appreciate **WELL-WRITTEN**, **DETAILED**, **EXPLICIT** issue reports. To make the communication more efficient, we wish everyone could search if your issue is an existing one in the searching list. If you find it existing, please add your details in comments under the existing issue instead of opening a brand new one.
33
-
34
- To make the issue details as standard as possible, we setup an [ISSUE TEMPLATE](./.github/ISSUE_TEMPLATE) for issue reporters. Please **BE SURE** to follow the instructions to fill fields in template.
35
-
36
- There are a lot of cases when you could open an issue:
37
-
38
- * bug report
39
- * feature request
40
- * performance issues
41
- * feature proposal
42
- * feature design
43
- * help wanted
44
- * doc incomplete
45
- * test improvement
46
- * any questions on project
47
- * and so on
48
-
49
- Also we must remind that when filling a new issue, please remember to remove the sensitive data from your post. Sensitive data could be password, secret key, network locations, private business data and so on.
50
-
51
- ## Code and doc contribution
52
-
53
- Every action to make project Serverless Devs better is encouraged. On GitHub, every improvement for Serverless Devs could be via a PR (short for pull request).
54
-
55
- * If you find a typo, try to fix it!
56
- * If you find a bug, try to fix it!
57
- * If you find some redundant codes, try to remove them!
58
- * If you find some test cases missing, try to add them!
59
- * If you could enhance a feature, please **DO NOT** hesitate!
60
- * If you find code implicit, try to add comments to make it clear!
61
- * If you find code ugly, try to refactor that!
62
- * If you can help to improve documents, it could not be better!
63
- * If you find document incorrect, just do it and fix that!
64
- * ...
65
-
66
- Actually it is impossible to list them completely. Just remember one principle:
67
-
68
- > WE ARE LOOKING FORWARD TO ANY PR FROM YOU.
69
-
70
- Since you are ready to improve Serverless Devs with a PR, we suggest you could take a look at the PR rules here.
71
-
72
- * [Workspace Preparation](#workspace-preparation)
73
- * [Branch Definition](#branch-definition)
74
- * [Commit Rules](#commit-rules)
75
- * [PR Description](#pr-description)
76
-
77
- ### Workspace Preparation
78
-
79
- To put forward a PR, we assume you have registered a GitHub ID. Then you could finish the preparation in the following steps:
80
-
81
- 1. **FORK** Serverless Devs to your repository. To make this work, you just need to click the button Fork in right-left of [Serverless-Devs/Serverless-Devs](https://github.com/Serverless-Devs/Serverless-Devs) main page. Then you will end up with your repository in `https://github.com/<your-username>/Serverless-Devs`, in which `your-username` is your GitHub username.
82
-
83
- 1. **CLONE** your own repository to develop locally. Use `git clone git@github.com:<your-username>/Serverless-Devs.git` to clone repository to your local machine. Then you can create new branches to finish the change you wish to make.
84
-
85
- 1. **Set Remote** upstream to be `git@github.com:Serverless-Devs/Serverless-Devs.git` using the following two commands:
86
-
87
- ```
88
- git remote add upstream git@github.com:Serverless-Devs/Serverless-Devs.git
89
- git remote set-url --push upstream no-pushing
90
- ```
91
-
92
- With this remote setting, you can check your git remote configuration like this:
93
-
94
- ```
95
- $ git remote -v
96
- origin git@github.com:<your-username>/Serverless-Devs.git (fetch)
97
- origin git@github.com:<your-username>/Serverless-Devs.git (push)
98
- upstream git@github.com:Serverless-Devs/Serverless-Devs.git (fetch)
99
- upstream no-pushing (push)
100
- ```
101
-
102
- Adding this, we can easily synchronize local branches with upstream branches.
103
-
104
- ### Branch Definition
105
-
106
- Right now we assume every contribution via pull request is for [branch develop](https://github.com/Serverless-Devs/Serverless-Devs/tree/develop) in Serverless Devs. Before contributing, be aware of branch definition would help a lot.
107
-
108
- As a contributor, keep in mind again that every contribution via pull request is for branch develop. While in project Serverless Devs, there are several other branches, we generally call them release branches(such as 0.6.0,0.6.1), feature branches, hotfix branches and master branch.
109
-
110
- When officially releasing a version, there will be a release branch and named with the version number.
111
-
112
- After the release, we will merge the commit of the release branch into the master branch.
113
-
114
- When we find that there is a bug in a certain version, we will decide to fix it in a later version or fix it in a specific hotfix version. When we decide to fix the hotfix version, we will checkout the hotfix branch based on the corresponding release branch, perform code repair and verification, and merge it into the develop branch and the master branch.
115
-
116
- For larger features, we will pull out the feature branch for development and verification.
117
-
118
-
119
- ### Commit Rules
120
-
121
- Actually in Serverless Devs, we take two rules serious when committing:
122
-
123
- * [Commit Message](#commit-message)
124
- * [Commit Content](#commit-content)
125
-
126
- #### Commit Message
127
-
128
- Commit message could help reviewers better understand what is the purpose of submitted PR. It could help accelerate the code review procedure as well. We encourage contributors to use **EXPLICIT** commit message rather than ambiguous message. In general, we advocate the following commit message type:
129
-
130
- * docs: xxxx. For example, "docs: add docs about Serverless Devs cluster installation".
131
- * feature: xxxx.For example, "feature: support oracle in AT mode".
132
- * bugfix: xxxx. For example, "bugfix: fix panic when input nil parameter".
133
- * refactor: xxxx. For example, "refactor: simplify to make codes more readable".
134
- * test: xxx. For example, "test: add unit test case for func InsertIntoArray".
135
- * other readable and explicit expression ways.
136
-
137
- On the other side, we discourage contributors from committing message like the following ways:
138
-
139
- * ~~fix bug~~
140
- * ~~update~~
141
- * ~~add doc~~
142
-
143
- If you get lost, please see [How to Write a Git Commit Message](http://chris.beams.io/posts/git-commit/) for a start.
144
-
145
- #### Commit Content
146
-
147
- Commit content represents all content changes included in one commit. We had better include things in one single commit which could support reviewer's complete review without any other commits' help. In another word, contents in one single commit can pass the CI to avoid code mess. In brief, there are three minor rules for us to keep in mind:
148
-
149
- * avoid very large change in a commit;
150
- * complete and reviewable for each commit.
151
- * check git config(`user.name`, `user.email`) when committing to ensure that it is associated with your github ID.
152
- * when submitting pr, please add a brief description of the current changes to the X.X.X.md file under the 'changes/' folder
153
-
154
-
155
- In addition, in the code change part, we suggest that all contributors should read the [code style of Serverless Devs](#code-style).
156
-
157
- No matter commit message, or commit content, we do take more emphasis on code review.
158
-
159
-
160
- ### PR Description
161
-
162
- PR is the only way to make change to Serverless Devs project files. To help reviewers better get your purpose, PR description could not be too detailed. We encourage contributors to follow the [PR template](./.github/PULL_REQUEST_TEMPLATE.md) to finish the pull request.
163
-
164
- ## Test case contribution
165
-
166
- Any test case would be welcomed. Currently, Serverless Devs function test cases are high priority.
167
-
168
- * For unit test, you need to create a test file named `xxxTest.java` in the test directory of the same module. Recommend you to use the junit5 UT framework
169
-
170
- * For integration test, you can put the integration test in the test directory or the Serverless Devs-test module. It is recommended to use the mockito test framework.
171
-
172
- ## Package contribution
173
-
174
- For the development of Serverless Devs Package, please refer to the [development guide](https://github.com/Serverless-Devs/Serverless-Devs/discussions/62). After the development is completed, please refer [PR](https://github.com/Serverless-Devs/package-awesome) to the summary warehouse for more reference.
175
-
176
- ## Engage to help anything
177
-
178
- We choose GitHub as the primary place for Serverless Devs to collaborate. So the latest updates of Serverless Devs are always here. Although contributions via PR is an explicit way to help, we still call for any other ways.
179
-
180
- * reply to other's issues if you could;
181
- * help solve other user's problems;
182
- * help review other's PR design;
183
- * help review other's codes in PR;
184
- * discuss about Serverless Devs to make things clearer;
185
- * advocate Serverless Devs technology beyond GitHub;
186
- * write blogs on Serverless Devs and so on.
187
-
188
-
189
- In a word, **ANY HELP IS CONTRIBUTION.**
package/CONTRIBUTORS.md DELETED
@@ -1,148 +0,0 @@
1
- # Serverless Devs Contributors
2
-
3
- > Thank you for your support and recognition of serverless devs. Serverless devs is committed to creating an active and open serverless developer ecosystem, providing more simple and easy-to-use serverless developer tools for more serverless developers.
4
-
5
- > If you also contributed to this project, but there is no your name below, please add your information at the end in order and submit [Pull Requests](https://github.com/Serverless-Devs/Serverless-Devs/pulls) to us
6
-
7
- <center>
8
- <table>
9
- <tr>
10
- <td align="center" width="20%">
11
- <img src="https://avatars.githubusercontent.com/u/4457084?s=60&v=4" width="20%" style="min-width: 100px"><br>
12
- <p>hanxie-crypto<br><a href="https://github.com/hanxie-crypto"> Github</a> | Blog</p>
13
- </td>
14
- <td align="center" width="20%">
15
- <img src="https://avatars.githubusercontent.com/u/46711?v=4" width="20%" style="min-width: 100px"><br>
16
- <p>linux-china<br><a href="http://github.com/linux-china">Github</a> | <a href="http://rsocketbyexample.info">Blog</a></p>
17
- </td>
18
- <td align="center" width="20%">
19
- <img src="https://avatars.githubusercontent.com/u/21079031?v=4" width="20%" style="min-width: 100px"><br>
20
- <p>anycodes<br><a href="http://github.com/anycodes">Github</a> | <a href="http://faas.net.cn">Blog</a></p>
21
- </td>
22
- <td align="center" width="20%">
23
- <img src="https://avatars.githubusercontent.com/u/56686088?v=4" width="20%" style="min-width: 100px"><br>
24
- <p>wss-git<br><a href="https://github.com/wss-git">Github</a> | Blog</p>
25
- </td>
26
- <td align="center" width="20%">
27
- <img src="https://avatars.githubusercontent.com/u/31543505?v=4" width="20%" style="min-width: 100px"><br>
28
- <p>hanyang-sh<br><a href="http://github.com/hanyang-sh">Github</a> | <a href="https://hanyang-sh.github.io/">Blog</a></p>
29
- </td>
30
- </tr>
31
- <tr>
32
- <td align="center" width="20%">
33
- <img src="https://avatars.githubusercontent.com/u/2697433?v=4" width="20%" style="min-width: 100px"><br>
34
- <p>dengshenyu<br><a href="https://github.com/dengshenyu"> Github</a> | <a href="http://www.dengshenyu.com">Blog</a></p>
35
- </td>
36
- <td align="center" width="20%">
37
- <img src="https://avatars.githubusercontent.com/u/52195264?v=4" width="20%" style="min-width: 100px"><br>
38
- <p>git-qfzhang<br><a href="http://github.com/git-qfzhang">Github</a> | Blog</p>
39
- </td>
40
- <td align="center" width="20%">
41
- <img src="https://avatars.githubusercontent.com/u/5129967?v=4" width="20%" style="min-width: 100px"><br>
42
- <p>heimanba<br><a href="https://avatars.githubusercontent.com/u/5129967?v=4">Github</a> | Blog</p>
43
- </td>
44
- <td align="center" width="20%">
45
- <img src="https://avatars.githubusercontent.com/u/10919599?v=4" width="20%" style="min-width: 100px"><br>
46
- <p>rsonghuster<br><a href="https://github.com/rsonghuster">Github</a> | Blog</p>
47
- </td>
48
- <td align="center" width="20%">
49
- <img src="https://avatars.githubusercontent.com/u/5166366?v=4" width="20%" style="min-width: 100px"><br>
50
- <p>Tang Xianbin<br><a href="http://github.com/XianB">Github</a> | <a href="https://hanyang-sh.github.io/">Blog</a></p>
51
- </td>
52
- </tr>
53
- <tr>
54
- <td align="center" width="20%">
55
- <img src="https://avatars.githubusercontent.com/u/13564730?v=4" width="20%" style="min-width: 100px"><br>
56
- <p>cong876<br><a href="https://github.com/cong876"> Github</a> | <a href="http://cong876.github.io/">Blog</a></p>
57
- </td>
58
- <td align="center" width="20%">
59
- <img src="https://avatars.githubusercontent.com/u/43135116?v=4" width="20%" style="min-width: 100px"><br>
60
- <p>gongjl88<br><a href="http://github.com/gongjl88">Github</a> | <a href="https://www.blog.loveapple.top"> Blog </a></p>
61
- </td>
62
- <td align="center" width="20%">
63
- <img src="https://avatars.githubusercontent.com/u/21334770?v=4" width="20%" style="min-width: 100px"><br>
64
- <p>wangbow<br><a href="http://github.com/wangbow">Github</a> | <a href="https://juejin.im/user/58e8a667ac502e4957bcddbe">Blog</a></p>
65
- </td>
66
- <td align="center" width="20%">
67
- <img src="https://avatars.githubusercontent.com/u/30379999?v=4" width="20%" style="min-width: 100px"><br>
68
- <p>Herbbbb<br><a href="https://github.com/Herbbbb">Github</a> | Blog</p>
69
- </td>
70
- <td align="center" width="20%">
71
- <img src="https://avatars.githubusercontent.com/u/62200750?v=4" width="20%" style="min-width: 100px"><br>
72
- <p>janw<br><a href="http://github.com/jjangww">Github</a> | Blog</p>
73
- </td>
74
- </tr>
75
- <tr>
76
- <td align="center" width="20%">
77
- <img src="https://avatars.githubusercontent.com/u/48934955?v=4" width="20%" style="min-width: 100px"><br>
78
- <p>Ellison<br><a href="https://github.com/coco-super"> Github</a> | Blog</p>
79
- </td>
80
- <td align="center" width="20%">
81
- <img src="https://avatars.githubusercontent.com/u/23737468?v=4" width="20%" style="min-width: 100px"><br>
82
- <p>黄沐<br><a href="https://github.com/huangfushan"> Github</a> | Blog</p>
83
- </td>
84
- <td align="center" width="20%">
85
- <img src="https://avatars.githubusercontent.com/u/84389274?v=4" width="20%" style="min-width: 100px"><br>
86
- <p>siyuniuali<br><a href="https://github.com/siyuniuali"> Github</a> | Blog</p>
87
- </td>
88
- <td align="center" width="20%">
89
- <img src="https://avatars.githubusercontent.com/u/85347842?v=4" width="20%" style="min-width: 100px"><br>
90
- <p>Laura-monkey<br><a href="https://github.com/Laura-monkey"> Github</a> | Blog</p>
91
- </td>
92
- <td align="center" width="20%">
93
- <img src="https://avatars.githubusercontent.com/u/85340348?v=4" width="20%" style="min-width: 100px"><br>
94
- <p>jingyan0705<br><a href="https://github.com/jingyan0705"> Github</a> | Blog</p>
95
- </td>
96
- </tr>
97
- <tr>
98
- <td align="center" width="20%">
99
- <img src="https://avatars.githubusercontent.com/u/16363180?v=4" width="20%" style="min-width: 100px"><br>
100
- <p>邓超<br><a href="https://github.com/DevDengChao"> Github</a> | Blog</p>
101
- </td>
102
- <td align="center" width="20%">
103
- <img src="https://avatars.githubusercontent.com/u/24624391?v=4" width="20%" style="min-width: 100px"><br>
104
- <p>吴培泽<br><a href="https://github.com/wupz-repo"> Github</a> | <a href="https://wupeize.com">Blog</a></p>
105
- </td>
106
- <td align="center" width="20%">
107
- <img src="https://avatars.githubusercontent.com/u/18051618?v=4" width="20%" style="min-width: 100px"><br>
108
- <p>xiezht<br><a href="https://github.com/xiezht"> Github</a> | <a href="https://wupeize.com">Blog</a></p>
109
- </td>
110
- <td align="center" width="20%">
111
- <img src="https://avatars.githubusercontent.com/u/10382462?v=4" width="20%" style="min-width: 100px"><br>
112
- <p>Bingqing Wang<br><a href="https://github.com/bingtsingw"> Github</a> | Blog </p>
113
- </td>
114
- <td align="center" width="20%">
115
- <img src="https://avatars.githubusercontent.com/u/7664030?v=4" width="20%" style="min-width: 100px"><br>
116
- <p>Wang Gechao<br><a href="https://github.com/GotzeWong"> Github</a> | Blog </p>
117
- </td>
118
- </tr>
119
- <tr>
120
- <td align="center" width="20%">
121
- <img src="https://avatars.githubusercontent.com/u/6525544?v=4" width="20%" style="min-width: 100px"><br>
122
- <p>金炳<br><a href="https://github.com/stone-jin"> Github</a> | <a href="https://www.fedfans.com">Blog</a></p>
123
- </td>
124
- <td align="center" width="20%">
125
- <img src="https://avatars.githubusercontent.com/u/45506000?v=4" width="20%" style="min-width: 100px"><br>
126
- <p>吹风机<br><a href="https://github.com/chuifengji"> Github</a> | <a href="https://ethan.nt-geek.club/">Blog</a></p>
127
- </td>
128
- <td align="center" width="20%">
129
- <img src="https://avatars.githubusercontent.com/u/626967?v=4" width="20%" style="min-width: 100px"><br>
130
- <p>Haoran Yang<br><a href="https://github.com/hryang"> Github</a> | Blog</p>
131
- </td>
132
- <td align="center" width="20%">
133
- <img src="https://avatars.githubusercontent.com/u/53770230?v=4" width="20%" style="min-width: 100px"><br>
134
- <p>whaohan<br><a href="https://github.com/whaohan"> Github</a> | Blog</p>
135
- </td>
136
- <td align="center" width="20%">
137
- <img src="https://avatars.githubusercontent.com/u/39087996?v=4" width="20%" style="min-width: 100px"><br>
138
- <p>JasonLam<br><a href="https://github.com/JasonLamv-t"> Github</a> | <a href="http://jasonlam.cc/">Blog</a></p>
139
- </td>
140
- </tr>
141
- <tr>
142
- <td align="center" width="20%">
143
- <img src="https://avatars.githubusercontent.com/u/23239892?v=4" width="20%" style="min-width: 100px"><br>
144
- <p>Gao Zhiyuan<br><a href="https://github.com/alapha23"> Github</a> | Blog</p>
145
- </td>
146
- </tr>
147
- </table>
148
- </center>
package/docs/readme.md DELETED
@@ -1,100 +0,0 @@
1
- <div align=center> <img src="https://images.devsapp.cn/devs-github/logo.jpg" width="100%"/> </div>
2
- <br>
3
- <p align="center">
4
- <a href="https://www.npmjs.com/package/@serverless-devs/s">
5
- <img src="https://img.shields.io/npm/v/@serverless-devs/s" alt="npm version">
6
- </a>
7
- <a href="https://www.npmjs.com/package/@serverless-devs/s">
8
- <img src="https://img.shields.io/npm/dy/@serverless-devs/s" alt="npm download">
9
- </a>
10
- <a href="https://nodejs.org/en/">
11
- <img src="https://img.shields.io/badge/node-%3E%3D%2010.8.0-brightgreen" alt="node.js version">
12
- </a>
13
- <a href="https://github.com/Serverless-Devs/Serverless-Devs/blob/master/LICENSE">
14
- <img src="https://img.shields.io/badge/License-MIT-green" alt="license">
15
- </a>
16
- <a href="https://github.com/Serverless-Devs/Serverless-Devs/issues">
17
- <img src="https://img.shields.io/github/issues/serverless-devs/serverless-devs" alt="issues">
18
- </a>
19
- <a href="https://github.com/Serverless-Devs/Serverless-Devs/discussions">
20
- <img src="https://img.shields.io/github/discussions/serverless-devs/serverless-devs" alt="discussions">
21
- </a>
22
- </p>
23
-
24
- <p align="center">
25
- <span><b>Serverless 应用全生命周期管理工具</b></span><br>
26
- </p>
27
-
28
- **Serverless Devs** 是一个开源开放的 Serverless 开发者平台,致力于为开发者提供强大的工具链体系。通过该平台,开发者不仅可以一键体验多云 Serverless 产品,极速部署 Serverless 项目,还可以在 Serverless 应用全生命周期进行项目的管理,并且非常简单快速的将 Serverless Devs 与其他工具/平台进行结合,进一步提升研发、运维效能。
29
-
30
- ![图片alt](https://serverless-article-picture.oss-cn-hangzhou.aliyuncs.com/1635319587379_20211027072627561648.png)
31
-
32
- > 更多关于 Serverless Devs 的介绍可以参考[项目介绍文档](./zh/readme.md)
33
-
34
- # 快速上手
35
-
36
- ❶ 安装 Node.js(>=10.8.0) 与 NPM 包管理工具;
37
- ❷ 安装 Serverless Devs 开发者工具;
38
- ```shell script
39
- $ npm install @serverless-devs/s -g
40
- ```
41
- ❸ 在命令行中执行命令`s`,并按回车,开启你的 Serverless 之旅;
42
-
43
- > 更多详细信息可以参考[Serverless Devs 安装文档](./zh/install.md)和[快速入门指南](./zh/quick_start.md)
44
-
45
- # 帮助文档
46
-
47
- - [安装文档](zh/install.md)
48
- - [命令行操作](zh/command/readme.md)
49
- - [Yaml规范](zh/yaml.md)
50
- - [CI/CD平台集成](zh/cicd.md)
51
-
52
- > 如果您想为 Serverless Devs 贡献 Package(包括组件和应用),您可以参考 [Package开发文档](zh/package_dev.md)
53
-
54
- > Serverless Devs 天然支持 Yaml 模式与 Cli 模式,关于两者的区别和试用场景,可以参考文档[ **Yaml 模式 Cli 模式对比**](./zh/yaml_and_cli.md);关于[**Exit Code 定义**](./zh/tool.md#exit-code-定义)、[**Yaml 文件优先级规范**](./zh/tool.md#yaml-文件优先级规范)、[**密钥使用顺序与规范**](./zh/tool.md#密钥使用顺序与规范)、[**通过环境变量设置密钥**](./zh/tool.md#通过环境变量设置密钥)更多关于项目设计的一些细节可以参考[**开发者工具设计文档**](./zh/tool.md)
55
-
56
- # 相关资源
57
-
58
- 目前 Serverless Devs 项目已经支持的 FaaS 平台/产品:
59
-
60
- - 阿里云函数计算(FC): [项目仓库](https://github.com/devsapp/fc)
61
- - AWS Lambda: [项目仓库](https://github.com/devscomp/lambda)
62
- - 百度智能云函数计算(CFC): [项目仓库](https://github.com/xinwuyun/cfc)
63
- - 华为云函数工作流(FG): [项目仓库](https://github.com/xinwuyun/fg)
64
- - 腾讯云云函数(SCF): [项目仓库](https://github.com/devscomp/scf)
65
-
66
- > 尽管以上 FaaS 平台/产品已经有人贡献或在持续维护中,但是我们仍然非常欢迎大家可以参与贡献/维护,除此之外,其他的 FaaS 平台/产品(例如 Google Cloud Platform Functions、Azure Functions等),我们也非常期望社区的小伙伴们可以参与开发和贡献。
67
-
68
- > 🚀 除此之外 Serverless Devs 项目还拥有很多优秀的组件和应用,可以参考[Awesome](./zh/awesome.md)
69
-
70
- # 项目期望
71
-
72
- - Serverless Devs 希望可以为 Serverless 开发者们提供一款可以无厂商锁定的,可以在 Serverless 应用全生命周期发挥作用的 Serverless 开发者工具;
73
- - Serverless Registry 希望可以为 Serverless 生态提供一套完整的包管理规范,与 Python 中的 pypi, Nodejs 中的 npm 等类似,将以此来开放和分享 Serverless Package,建设 Serverless 生态;
74
- - Serverless Developer Meetup 希望可以打造最符合 Serverless 开发者的社区活动,通过这个活动,我们希望更多人可以一起和我们交流、学习 Serverless 相关的产品;
75
-
76
- # 项目贡献
77
-
78
- 我们非常希望您可以和我们一起贡献这个项目。贡献内容包括不限于代码的维护、应用/组件的贡献、文档的完善等,更多详情可以参考[ 🏆 贡献指南](../CONTRIBUTING.md)。
79
-
80
- 与此同时,我们也非常感谢所有[ 👬 参与贡献的小伙伴](../CONTRIBUTORS.md),为 Serverless Devs 项目贡献的努力和汗水。
81
-
82
- # 开源许可
83
-
84
- Serverless Devs 遵循 [MIT License](../LICENSE) 开源许可。
85
-
86
- 位于`node_modules`和外部目录中的所有文件都是本软件使用的外部维护库,具有自己的许可证;我们建议您阅读它们,因为它们的条款可能与[MIT License](../LICENSE)的条款不同。
87
-
88
- # 交流社区
89
-
90
- <p align="center">
91
-
92
- | <img src="https://serverless-article-picture.oss-cn-hangzhou.aliyuncs.com/1635407298906_20211028074819117230.png" width="200px" > | <img src="https://serverless-article-picture.oss-cn-hangzhou.aliyuncs.com/1635407044136_20211028074404326599.png" width="200px" > | <img src="https://serverless-article-picture.oss-cn-hangzhou.aliyuncs.com/1635407252200_20211028074732517533.png" width="200px" > |
93
- |--- | --- | --- |
94
- | <center>关注微信公众号:`serverless`</center> | <center>联系微信小助手:`xiaojiangwh`</center> | <center>加入钉钉交流群:`33947367`</center> |
95
-
96
- </p>
97
-
98
- -----------
99
-
100
- > Serverless Devs 开发者工具遵循 [Serverless Devs Model](../spec/readme.md),更多模型/规范信息可以参考 [Serverless Registry Model](../spec/zh/0.0.1/serverless_registry_model/readme.md),[Serverless User Model](../spec/zh/0.0.1/serverless_user_model/readme.md) 以及 [Serverless Package Model](../spec/zh/0.0.1/serverless_pacakge_model/readme.md);
@@ -1,20 +0,0 @@
1
- # Awesome
2
-
3
- ## 组件集合
4
-
5
- - [阿里云函数计算(FC)](https://github.com/devsapp/fc)
6
- - [阿里云Serverless应用引擎(FC)](https://github.com/devsapp/sae)
7
- - [AWS Lambda](https://github.com/devscomp/lambda)
8
- - [百度智能云函数计算(CFC)](https://github.com/xinwuyun/cfc)
9
- - [华为云函数工作流(FG)](https://github.com/xinwuyun/fg)
10
- - [腾讯云云函数(SCF)](https://github.com/devscomp/scf)
11
-
12
- ## 应用集合
13
-
14
- - [阿里云相关应用合集](https://github.com/devsapp/awesome)
15
- - [AWS Lambda](https://github.com/devscomp/start-lambda)
16
- - [百度智能云函数计算(CFC)](https://github.com/xinwuyun/start-cfc)
17
- - [华为云函数工作流(FG)](https://github.com/xinwuyun/start-fg)
18
- - [腾讯云云函数(SCF)](https://github.com/devscomp/start-scf)
19
-
20
- > 如果您有相关的案例,欢迎您提PR到本文件。