Socket
Book a DemoInstallSign in
Socket

subway-assets

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

subway-assets

直通车静态资源库,存储一些不随着直通车业务变更的静态资源类库。主要是社区的。

latest
npmnpm
Version
1.1.59
Version published
Maintainers
1
Created
Source

直通车静态资源库

通过单独的repo存储一些不随着直通车业务变更的静态资源类库。提高缓存命中率以及业务上的打包速度。

操作流程

  npm run babel-polyfill //打包babel-polyfill
  npm run components // 打包Brix Components
  npm run gallery // 打包Magix3 Components
  npm run mevent // 打包mini-event
  npm run vd // 打包virtual-dom
  npm run html2hscript // 打包html2hyperscript
  npm run etpl // 打包etpl
  npm run mock // 打包mock
  npm run moment // 打包moment
  npm run clipboard // 打包clipboard
  npm run magix // 打包magix
  npm run daily // 发布daily
  npm run publish // 以semver模式进行发布
  • 每添加一个库,都要在gulp里加一下。上线前修改abc.json

1.0.4

1、magix@3.8.10增加locationChange触发是stateKeys参数的传递

0.1.1

  • 添加平台相关性样式的支持,在 less 里面写 @mx-style-platform 可以指代 mx-style/projName,projName 目前为 xiaopin 和 subway,可以根据项目名称扩展
  • 注意需要修改原来的 mx-gallery 的 base 在原来的版本号后面添加项目名(subway 或者 xiaopin)

0.1.0

  • 追加本地测试脚本 npm run test
  • 重构并整理所有 gulpfile 任务
  • 升级依赖包 babel 到7。

0.0.9

1、同步scrollpannel组件的订正

0.0.8

1、更新Brix Components Region 区域名称 赣南 -> 赣西南

0.0.7

1、迁移直通车Brix Components类库

0.0.4 ~ 0.0.9

1、增加类库magix。最新兼容层版本3.8.10。

2、修正mountVframe复用vframe对象后,需要及时销毁新增的vframe.view属性。

3、修正使用Bable Es6 Class 进行继承的类时,包装的render方法和renderShort依然是父类的方法bug。

4、修正使用Babel Es6 Class 进行继承ES5的类时,events的事件没有被正确继承造成的问题,3.7.0版本正确,3.8.10改错了。

5、修正updater当更新数据时,组件没有变化也会触发刷新的问题。

6、兼容老事件处理时,event process 与 stopPropagation冲突,后置event process的处理。

0.0.3

1、增加类库magix。包含兼容层代码。

0.0.2

1、使用更加完善的命令打包各个类库

2、增加类库mini-event

3、增加类库virtual-dom

4、增加类库html2hyperscript

5、增加类库etpl

6、增加类库Mock@0.1.11

7、增加类库moment@2.13.0

8、增加类库clipboard@1.7.1

0.0.1

1、增加babel-polyfill.min.js 6.26.0版本

FAQs

Package last updated on 06 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts