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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@finoer/fino-cli

v0.0.7

Published

The micro front framework tools

Downloads

14

Readme

finoer

The micro front framework tools

如何进行开发

安装依赖

npm install

开发已经存在模版

  • 在根目录下的tsconfing.json中的reference字段中确定需要监控的依赖包

    // tsconfing.json
    {
      "references": [
          { "path": "./packages/finoer-core" }
       ]
    }
  • 运行启动命令

    # 开发base模版
    npm run template:base
    # 其他模版项目, 在package.json中添加命令
    npm run template:other

开发package包

  • 直接npm run dev <package名称>

    # 启动
    npm run dev finoer-core
  • 打包 npm run build <package名称>

    # 打包
    npm run build finoer-core
  • 生成文档npm run docs <package名称>

    # 打包
    npm run docs finoer-core

添加新的依赖包

  1. 克隆/创建新的子模块

    # 进入packages
    cd packages
    # 添加子模块
    git submodule add https://github.com/finoer/package-startup.git
    # 返回根目录
    cd ..
  2. 根目录下tsconfig添加reference项目

    {
        "compilerOptions": {
            // ...
        },
        "references": [
            {
                "path": "./packages/startup"
            }
        ]
    }
  3. 运行启动命令

    npm run template:<project>
  4. 常见问题

    1. 没有监听到子模块的改变

      • 检查根项目下tsconfig下面reference是否已经包含了子模块

      • 检查子模块package.json入口是否正确

        {
        	"main": "dist/index.js",
        	"types": "dist/index.d.ts"
        }
      • 检查子模块的tsconfig文件如下属性是否正确

         {
         		"compilerOptions": {
              "composite": true,
              "outDir": "./dist/", // 指定输出目录
              "baseUrl": "./src",
            }
         }

项目简介

....

项目目录

core
├─templates // 微前端项目模版
|     ├─fino-child-vue // vue子项目模版
|     ├─fino-child // 子项目模版
|     ├─fino // 基座模版
├─src
|  └index.ts
├─scripts
|    ├─build.js
|    ├─dev.js
|    ├─docs.js
|    └utils.js
├─packages  // 项目依赖npm包
|    ├─finoer-core // 微前端框架主npm包
|    ├─finoer-component-vue // 子项目npm包

安装依赖

给package下面的npm包安装依赖

# npm run dev <包名>
npm run init finore-core 
# 或者
npm run init finoer-component-vue

启动命令

运行packages下面的npm包

# npm run dev <包名>
npm run dev finore-core 
# 或者
npm run dev finoer-component-vue

编译命令

# npm run build <包名>
npm run build finore-core 
# 或者
npm run build finoer-component-vue

生成文档

给package下的npm包生成文档

# npm run doc <包名>
npm run doc finore-core 
# 或者
npm run doc finoer-component-vue

How to Run

git clone
git submodule update --init --recursive