2.1.6 • Published 1 month ago

@bale-tools/mutate-version v2.1.6

Weekly downloads
-
License
MIT
Repository
-
Last release
1 month ago

统一版本

包括 vuereact 等版本, 以及其配置文件, 可以配合 @bale-tools/mutate-service 一起使用。

使用

  • api
interface MutateOptions {
  language: String // 语言, 'react' | 'vue'
  useTypescript: Boolean // 是否使用 typescript
  babelImportPluginName: '' // antd-mobile | vant
  babelImportPluginOpts: [] // 其他第三方插件数组
}

examples:

const mutateVersion = new MutateVersion({ language: 'vue', useTypescript: false, babelImportPluginName: 'vant' })
mutateVersion.copy() // 拷贝文件
mutateVersion.validatePackage() // 检查版本并重写 package.json
mutateVersion.clean() // 清除
2.1.6

1 month ago

2.1.5

4 months ago

2.1.2

10 months ago

2.1.4

8 months ago

2.1.3

9 months ago

2.1.1

11 months ago

2.0.9

11 months ago

2.1.0

11 months ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.7

1 year ago

2.0.6

1 year ago

2.0.8

1 year ago

1.0.7

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago