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

codefaster-dubbo-template

v0.0.21

Published

springboot、dubbo、nacos项目初始化模版

Downloads

62

Readme

codefaster-dubbo-template

code-faster 模版项目,技术栈为 spring boot、dubbo、nacos、redis、mongodb、mysql

项目 GUI 地址,提供基于任意语言任意模版的 项目 CURD 生成以及测试部署一体化

https://github.com/code-faster/code-faster

src/index.ts 对外提供以下功能

// 初始化项目
init: (params: CodeFaster.Params) => void;
// 更新项目config结构,并返回结构JSON
updateProjectConfig: () => CodeFaster.ConfigJSON | undefined;
// 根据参数生成POJO
generatorPojo: (params: CodeFaster.Params) => void;
// 根据参数生成VO
generatorVO: (params: CodeFaster.Params) => void;
// 根据参数生成Service层
generatorService: (params: CodeFaster.Params) => void;
// 根据参数生成ServiceImpl层
generatorServiceImpl: (params: CodeFaster.Params) => void;
// 根据参数生成Controller层
generatorController: (params: CodeFaster.Params) => void;
// 根据参数生成Mapper层
generatorMapper: (params: CodeFaster.Params) => void;
// 根据参数生成单元测试
generatorUnitTest: (params: CodeFaster.Params) => void;
// 根据POJO路径返回模型类JSON
getModelByPojoPath: (filePath: string) => CodeFaster.SqlTable;

如何发布自己的模版

自定义区域

1、package.json
项目的基础信息以及版本信息
2、playground
存放项目初始化文件
3、src/template
项目的 CURD 模版区域
4、.cfignore
项目的初始化文件拷贝需要忽略的地址

package.json 参数

name

模版名称,以 codefaster-开始,以-template 结束

keywords 第一个关键词将作为模版标记的项目类型,例如:

1、Java【后台】
2、Admin【管理系统】
3、Web【含PC、H5、小程序】
4、App【Android、ios】
5、扩展更多语法

description

模版的描述信息

files

指定发布的模版文件

version

当前版本

license

模版 license