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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@formily-design/formily-antd

v1.0.10

Published

```bash npm install --save @formily/designable-antd ```

Readme

@formily/designable-antd

Install

npm install --save @formily/designable-antd

使用步骤

复制文件

复制 packages 目录下 core、react、react-settings-form、shared 包里的 esm 目录文件

渲染和设计器都需要

复制 formily 目录下 antd、setters、transformer 包里的 esm 目录文件

设计器页面需要

文件放置目录可参考以下结构 /src/packages/designablepackages 下的所有包文件 /src/packages/formilyformily 下的所有包文件

修改 vite.config 、 tsconfig 和 eslint.config 配置文件

vite.config 修改 alias 配置

{
    resolve: {
      alias: {
        '@': '/src',
        '@formily-design/react': '/src/packages/designable/react',
        '@formily-design/react-settings-form': '/src/packages/designable/react-settings-form',
        '@formily-design/core': '/src/packages/designable/core',
        '@formily-design/shared': '/src/packages/designable/shared',
        '@formily-design/formily-setters': '/src/packages/formily/setters',
        '@formily-design/formily-transformer': '/src/packages/formily/transformer',
        '@formily-design/formily-antd': '/src/packages/formily/antd',
      },
    },
}

tsconfig 修改 paths 配置

{
  "paths": {
    "@/*": ["src/*"],
    "@formily-design/react": ["src/packages/designable/react"],
    "@formily-design/react-settings-form": [
      "src/packages/designable/react-settings-form"
    ],
    "@formily-design/core": ["src/packages/designable/core"],
    "@formily-design/shared": ["src/packages/designable/shared"],
    "@formily-design/formily-transformer": ["src/packages/formily/transformer"],
    "@formily-design/formily-antd": ["src/packages/formily/antd"]
  }
}

eslint.config 忽略 packages 目录下文件的校验


export default tseslint.config(
  { ignores: ['dist', '.claude/', '**/packages/**'] },
  { settings: {}, extends: [] }
  ......
)

安装依赖

复制代码到其他项目后,还需要安装以下内部依赖包

{
  "dependencies": {
    "@babel/parser": "^7.29.0",
    "@formily/antd-v5": "^1.2.4",
    "@formily/core": "^2.3.7",
    "@formily/json-schema": "^2.3.7",
    "@formily/path": "^2.3.7",
    "@formily/react": "^2.3.7",
    "@formily/reactive": "^2.3.7",
    "@formily/reactive-react": "^2.3.7",
    "@formily/shared": "^2.3.7",
    "@juggle/resize-observer": "^3.4.0",
    "@monaco-editor/loader": "^1.7.0",
    "@monaco-editor/react": "^4.7.0",
    "dateformat": "^5.0.3",
    "jsonp": "^0.2.1",
    "react-color": "^2.19.3",
    "requestidlecallback": "^0.3.0",
    "tlbs-map-react": "^1.1.1"
  },
  "devDependencies": {
    "@types/jsonp": "^0.2.3"
  }
}

版本可以尝试最新版本,以上版本是可正常使用的版本