3.3.0 • Published 19 days ago

@ttou/define-config v3.3.0

Weekly downloads
-
License
MulanPSL2
Repository
-
Last release
19 days ago

Define Config

配置文件定义辅助工具

包名版本配置格式
eslint>= 8.0.0cjs
prettier>= 3.0.0cjs、esm
postcss>= 8.0.0cjs
commitlint>= 17.0.0cjs
cz-customizable>= 7.0.0cjs
babel>= 7.0.0cjs
stylelint>= 14.0.0cjs
lint-staged>= 13.0.0cjs、esm
simple-git-hooks>= 13.0.0cjs

说明

  • 从 3.1.0 开始移除了 Jest,推荐使用 Vitest
  • 从 3.1.0 开始移除了 Rollup,推荐使用 Vite 或 tsup 等新型打包工具
  • lint-stagedsimple-git-hooks 这种简单格式的配置推荐直接写在 package.json

示例

CJS

const { defineEslintConfig } = require('@ttou/define-config')

module.exports = defineEslintConfig({
  // 具体配置
})

ESM

import { definePrettierConfig } from '@ttou/define-config'

export default definePrettierConfig({
  // 具体配置
})
3.3.0

19 days ago

3.2.0

7 months ago

3.1.0

9 months ago

3.0.0

10 months ago

2.1.2

1 year ago

2.1.3

1 year ago

2.1.1

1 year ago

2.1.0

1 year ago

2.0.3

2 years ago

2.0.4

2 years ago

2.0.6

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago