Skip to content
This repository has been archived by the owner on Jul 2, 2020. It is now read-only.

feat: add create plugin #26

Merged
merged 5 commits into from
Jan 20, 2020
Merged

feat: add create plugin #26

merged 5 commits into from
Jan 20, 2020

Conversation

czy88840616
Copy link
Member

No description provided.

@codecov-io
Copy link

codecov-io commented Jan 20, 2020

Codecov Report

Merging #26 into development will decrease coverage by 0.06%.
The diff coverage is 67.74%.

Impacted file tree graph

@@               Coverage Diff               @@
##           development      #26      +/-   ##
===============================================
- Coverage         69.8%   69.73%   -0.07%     
===============================================
  Files               68       69       +1     
  Lines             1808     1870      +62     
  Branches           171      173       +2     
===============================================
+ Hits              1262     1304      +42     
- Misses             512      531      +19     
- Partials            34       35       +1
Impacted Files Coverage Δ
packages/faas-cli-plugin-create/src/index.ts 67.74% <67.74%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 576b25c...c2dd723. Read the comment docs.

@czy88840616 czy88840616 changed the title Add create cmd Add create plugin Jan 20, 2020
@czy88840616 czy88840616 changed the title Add create plugin feat: add create plugin Jan 20, 2020
@czy88840616 czy88840616 merged commit ee445dd into development Jan 20, 2020
@czy88840616 czy88840616 deleted the add_create_cmd branch January 20, 2020 11:43
czy88840616 added a commit that referenced this pull request Feb 4, 2020
* feat: commit development code

* cg to export

* cg fc-starter

* refactor: fix mock test

* ✨ feat(scf): 增加 scf 相关例子

* chore: add ci yml

* 🔨 refactor: 修改为正确的 package 引用

* 📚 docs(examples): 新增 scf 例子文档

* 📚 docs: 更新 readme

* 🔨 refactor: 使用 runtime-engine 提供的 asyncWrapper

* 🔨 refactor: starter 的 asyncWrapper 基于 runtime-engine

* ✨ feat(scf): 支持启动时传入自定义 options

* 📚 docs: 修改 demo 地址

* 📚 docs: 修改为正确的插件名

* chore: update no-hoist for egg

* chore: update case

* 🐛 fix: 修改为正确的 plugin

* v0.0.2

* chore: just add dist directory to npm

* 🐛 fix(deps): 使用 scf starter

* fix:tencent local invoke

* 🐛 fix: 支持生成 service id

* ✨ feat(context): 调整 context 参数及顺序

* ✨ feat(FaaSContext): 增加 _originContext 定义

* 🔨 refactor(scf): 增加 FaaS Examples

* 🔨 refactor(ts): 移除 _ 前缀

* fix: egg-layer test case

* feat: change serverless plugin

* test: add serverless midway plugin unit test

* v0.0.3

* fix: fix egg dep

* fix: serverless-plugin callCommand options

* ✨ feat(scf): event 触发器时,context 可以获取到 originContext

* v0.0.4

* doc: readme

* 📚 docs(scf): 增加 scf 注意文档

* 🐛 fix: 修复 event 为 null 时取不到 httpMethod 的错误

* 🐛 fix: 修复 invoke 时 event 和 context 可能为 null 的bug

* 🔨 refactor(scf-examples): 更新 tsconfig 依赖

* 🔨 refactor(aliyun): 升级 tsconfig 配置

* v0.0.5

* doc: change readme

* doc: change readme

* doc: change readme

* fix: upgrade target compiler options

* doc: change readme

* doc: change readme

* 🔨 refactor(tsconfig): 移除 lib

* fix: fix tsconfig

* fix: local debug breakpoint

* test: cross platform

* feat: support serverless.yml package include & exclude

* v0.0.6

* 🔨 refactor(scf): 优化 starter 代码

* ✨ feat(scf): 支持解析 application/json 与 application/x-www-form-urlencoded

* 🚨 test: 更新 scf 单测

* feat: select platform

* doc: change example

* v0.0.7

* doc: cg example path

* fix: spec transform support package and plugins

* fix: spec transform support package and plugins

* chore: update

* v0.0.8

* fix: layer wrapper

* chore: change egg logs dir

* v0.0.9

* fix: include file overwrite generate file

* v0.0.10

* chore: open conventionalCommits

* ✨ feat(egg-layer): 增加 scf 测试用例

* feat: aggregation deploy

* feat: aggregation ignore origin functions

* feat: aggregation for tencent

* ✨ feat(egg-layer): scf 兼容 egg-layer

* appregation

* 🚨 test: 修复单测 & 补全 Case

* fix: aggregation custom domain configure

* feat: auto set starter

* test: change after deploy test

* feat: support os and log event

* v0.1.0

* fix: select platform

* v0.1.1

* fix: aggregation deploy prefix

* v0.1.2

* 📚 docs: 增加详细文档

* 📚 docs: 升级文档

* 📚 docs: 升级图片

* 📚 docs: 优化链接文案

* add lock

* modified

* Update typos

* chore: legacy compatible

* chores: adjust package version

* v0.1.3

* acquire return result

* feat: web site

update web site

* ✨ feat(scf): 增加跨域配置

* v0.1.4

* Update README.md

* Update README.md

* ✨ feat(fc): 阿里云增加 Body Parser & 修复 originContext 不存在的 BUG

* 🔨 refactor: 更新依赖版本

* v0.1.5

* feat: cli & cli core

* fix: format

* test: add command-core

* test: plugin command lifesysleEvents

* fix: lifecycle

* feat: faas-cli default plugin manager

* v0.1.6

* fix: faas-cli package dist

* chore: publish

* v0.1.7

* chore: add sync sh

* fix: instead invoke by faas-cli

* v0.1.8

* fix: faas-cli test

* feat: use faas-local for invoke/test...

* fix: change faas-local name

* fix: common-cli add extensions

* chore: format

* v0.1.9

* fix: remove faas-plugin-common

* v0.1.10

* fix: faas-cli use aliCli

* v0.1.11

* Update README.md

* Update LICENSE

* fix: invoke user runtime

* fix: command-core point and writeSpec

* v0.1.12

* fix: Utils to utils

* feat: measure handler performance with perf_hooks

* Refactor cli (#9)

feat: optimizing faas cli and command-core

* v0.2.0

* feature: add fcli package pliugin (#10)

* feature: add faas-cli-plugin-package
* test: add test
* test: assert package

* chore: export interface

* v0.2.1

* feat: add cli deploy plugins (#11)

* fix:cli cwd & support aliyun fc deploy
* fix: deploy deps version

* chore: fix typo

* chore: fix typo

* v0.2.1

* v0.2.2

* fix: add package buildDir and sourceDir (#14)

* v0.2.3

* fix: lambda params can't use ...args (#15)

* feat: single process invoke and debug (#16)

* fix: use single process invoke
* feat: single process invoke
* fix: new invoke debug

* v0.2.4

* feat: One pkg (#17)

* feat: support integration project package

* v0.2.5

* fix: egg-layer fix logger directory (#13)

* fix layer directory

* chore: export build path (#18)

* chore: export build path

* fix: remove pkg unit test

* fix: remove serverless-midway-plugin

* chore: remove expect

* chore: remove chai

Co-authored-by: Gao Yang <echosoar@qq.com>

* v0.2.6

* fix: invoke export (#20)

* fix: remove pkg unit test

* fix: remove serverless-midway-plugin

* fix: export all invoke function

* refactor: Support egg layer (#21)

* chore: add egg caes

* test: add case

* chore: add eaas case

* v0.2.7

* fix: fix case

* fix: layer format (#22)

* fix: remove pkg unit test

* fix: remove serverless-midway-plugin

* fix: export all invoke function

* fix: layer check

* chore: update case

* v0.2.8

* fix: fix cover entry file in build (#23)

* fix: fix cover entry file in build
* chore: transform absolute dir

* v0.2.9

* fix: refactor appregation & pass process env to invoke debug (#24)

* fix:invoke pass env and support aggregation

* fix:reedit error tips

* docs: command core

* fix: warpper start

* v0.2.10

* chore: remove invoke interface (#25)

* feat: add create plugin (#26)

* chore: fix boilerplate

* chore: add create cmd

* chore: add create cmd

* test: fix case

* chore: clean code

* v0.2.11

* chore: export template list (#27)

* chore: export template list

* chore: fix test

* v0.2.12

* feat: 支持自定义模板 (#28)

* fix: change json to ts

* chore: fix lint

* feat: support remote package

* v0.2.13

* fix: repair no provider & change doc to faas-cli (#30)

* chore: add f.yml docuement

* chore: update text

* v0.2.14

* chore: change release cmd

* refactor: adjust new event (#31)

* refactor: adjust new event

* feat: adjust functionEvent from abstract class to interface

* fix: runtime-mock HTTPEvent

* v0.2.15

* test: runtime extension events (#32)

* test: runtime perf events (#33)

* v0.2.16

Co-authored-by: Gao Yang <echosoar@qq.com>
Co-authored-by: Lxxyx <Lxxyxzj@gmail.com>
Co-authored-by: Lellansin Huang <Lellansin@gmail.com>
Co-authored-by: Kurten <chinkurten@gmail.com>
Co-authored-by: ZQun <q_un@foxmail.com>
Co-authored-by: 金炳 <1520006273@qq.com>
Co-authored-by: legendecas <legendecas@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants