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

low-base

v0.0.20

Published

A umi plugin

Downloads

4

Readme

@lowcode/base

A umi plugin

Install

pnpm i @lowcode/base

Usage

Configure in .umirc.ts,

export default {
  plugins: [
    ['@lowcode/base'],
  ],
}

Options

TODO

LICENSE

MIT

npm 发布,发布后配置。预览工程中需要引入公共包。不能在项目中通过组件方式引入???只能通过微前端方式使用。微前端性能存在问题。???

需要想办法把 项目中的包自动 转成全局变量。==> 怎么转,插件??? 不能实现的话就没办法在项目中直接使用,只能用微前端引入。性能是个问题。

还是umd 吧,不需要重新构建基座???基座就算重新发布,有什么影响吗? 不方便。。。

支持schema.json 同时支持schema.js/ts/tsx 通过代码自定义部分内容。。。

source 进行编译成es5。保存source和compiled属性

{
  "compiled": "function (exports, module) { /*set actions code here*/ }",
  "source": "function (exports, module) { /*set actions code here*/ }",
  "type": "js"
}

是否需要生成编辑器包和渲染包两个文件???会多什么??? schema配置?关键是逻辑放在设计器中还是组件库中,放在设计器中,根据配置进行拼装最终设计器组件,否则在编译阶段即可完成最终组件生成。

// 提供专门的包进行解析转换成 设计器 的组件。@lowcode/parse

// 直接生成编辑器的包吧。。。 不然得麻烦??? 再考虑

组件。 组件.meta = {};

index.ts 仅仅作为father build的默认入口,如果不需要这个入口,可以直接不需要这个文件,暂时保留