npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

serverless-tencent-test

v3.21.8

Published

Serverless Tencent command line tool

Downloads

2

Readme

serverless-tencent

目录

快速开始

前置条件

  1. Nodejs 12.x 及以上版本
  2. Serverless CLI v3.0+, 如果没有安装可以使用 npm i -g serverless-cloud-framework 命令安装
  3. 注册腾讯云账号并开通相关权限

安装使用

直接使用 serverless-tencent CLI

$ npm i -g serverless-tencent
$ slt init express-starter --name example
$ cd example
$ slt deploy

或使用Serverless cloud Framework CLI

$ npm i -g serverless-cloud-framework
$ scf init express-starter --name example
$ cd example
$ scf deploy

支持的命令

功能特点

  • 支持 Node.js, Python, Java, Go, Php, , 也可以使用自定义运行环境
  • 可以通过serverless-cloud-framework CLI管理你的 serverless 项目的整个生命周期:
    • 部署: scf deploy
    • 调用: scf invoke
    • 本地调用: scf invoke local, 当前支持Node.js, Python, Php 项目
    • 日志查看: scf logs
    • 实例信息查看: scf info
    • 实例删除: scf remove
    • 实时调试: scf dev
  • 丰富的官方组件支持, 下面所列出仅为一部分
  • 对不同组件的配置文件字段进行校验, 包括字段类型,字段值的范围,字段可取限制等,为用户提供更友好的开发体验和错误排查。 当前支持对scf, multi-scf, http, website组件的配置文件进行校验

贡献代码

serverless-cloud-framework 是一个包容友好的开源项目,欢迎不同的代码贡献者

单元测试补充

  1. 我们的单元测试代码位于 tests/ 目录之下,使用jest 作为测试工具,npm run test 运行所有的单元测试
  2. 您需要为你提交的功能代码补充对应的单元测试, 并且不可以破坏已有的其他模版对应的单元测试。 这是我们保证serverless-cloud-framework 代码健壮性的基本条件

Canary 测试版本

提交代码到 master 分支,合并之后会自动发布项目的 canary 版本,可以通过 npm i -g serverless-cloud-framework@canary 安装测试

发布正式版本

  1. 功能完成之后,需要修改 package.json/version 字段以及在 CHANGELOG.md 中写明更新日志
  2. 提交代码到 master, 合并之后自动发布正式版本