@test-release/code-quality
TypeScript icon, indicating that this package has built-in type declarations

1.6.1 • Public • Published

@test-release/code-quality

A robust generator for installing your favorite code quality tools for your project.

Micro Generators Included

CLI

I highly recommend using npx so that you don't have to install anything globally, and you can always get the latest version from npm.

  • optional --path=target_folder
npx @test-release/code-quality

Programmatically

You have to generate JSON schema and use execute function from @test-release/core:

// src/index.ts
import {
  execute,
  AppType,
  askAppType,
  getProjectFolder,
} from '@test-release/core'
import { createSchema } from '@test-release/code-quality'

const generate = async () => {
  const projectFolder = getProjectFolder() ?? '.'
  const appType = await askAppType()

  const codeQualitySchema = createSchema({ appType })
  await execute(codeQualitySchema, projectFolder)
}

generate()

Now all you have to do is run:

ts-node src/index.ts

Readme

Keywords

none

Package Sidebar

Install

npm i @test-release/code-quality

Weekly Downloads

3

Version

1.6.1

License

MIT

Unpacked Size

11.5 kB

Total Files

7

Last publish

Collaborators

  • michal.jarnot