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

@farris/ide-code-view

v0.0.20

Published

由于引入了`@phosphor`包,且该包是RequireJS打包格式,所以直接rollup打包时会报错找不到类

Downloads

28

Readme

ide-code-view(代码视图组件)

关于编译

由于引入了@phosphor包,且该包是RequireJS打包格式,所以直接rollup打包时会报错找不到类

需要在node_modules\@farris\farris-rollup\src\build\index.js中的namedExports中新增如下语句:

'node_modules/@phosphor/widgets/lib/index.js': ['Widget', 'SplitPanel', 'PanelLayout', 'SplitLayout', 'LayoutItem'],
'node_modules/@phosphor/coreutils/lib/index.js': ['MimeData'],
'node_modules/@phosphor/algorithm/lib/index.js': ['IIterator', 'toArray', 'map', 'ArrayExt']

(新版的@farris/farris-rollup中已经带有相关语句)

版本变更

  • v0.0.1
  • v0.0.2
    • 修复了打包时警告循环依赖的问题
    • 修复了自定义导航面板配置运行时报错(Object prototype may only be an Object or null: undefined)的问题
  • v0.0.3
    • 修复tab页签拖拽时样式失效的问题
    • 按照设计稿还原tab页签的样式
    • 隐藏monaco提示栏
    • 修复关闭一个页签则触发所有页签销毁事件的问题
    • 修复导航树未对字符串进行转义处理的问题
    • 新增destroy接口,用于销毁事件总线,防止内存泄漏
  • v0.0.4
    • 修复了由事件总线引起的内存泄漏的问题
    • 修复了一些已知的易用性问题
  • v0.0.5
    • 修复了由事件总线引起的内存泄漏的问题
  • v0.0.6
    • 解决了一些性能问题和一些易用性问题
  • v0.0.7
    • 解决了一些易用性问题
    • 新增saved属性,作为保存后事件,提示父组件进行刷新等操作
    • 将预置的配置分离了出去,@farris/ide-code-view-configer
    • 新增标签页空状态设计
  • v0.0.8
    • 解决了跳转到当前页签后,不自动切换关联文件的问题
    • 导航面板工具栏提供svg图标机制,使得用户可以使用自己的svg图标资源
    • 所有图标均已内联,不再需要引用新版ide字体资源
  • v0.0.9
    • 导航树默认不启用虚拟加载,以临时规避当前树组件虚拟加载的一些bug
  • v0.0.10
    • 修改新建构件元数据提示样式及文本
  • v0.0.11
    • 修改表单设计器保存按钮相关事件
  • v0.0.12
    • 修改键盘监听事件监听值为空值的情况
  • v0.0.13
    • 修复代码编辑时未保存情况下直接跳转设计器,经弹窗保存以后构件未刷新信息的问题
  • v0.0.14
    • 支持定制新增方法的名称
  • v0.0.15
    • 增加事件:不保存代码视图直接跳转到设计器
  • v0.0.16
    • 关闭代码文件时,向外触发不保存事件
  • v0.0.17
    • 支持国际化