@donniean/configs
v6.23.5
Published
an opinionated configs generator
Downloads
660
Maintainers
Readme
@donniean/configs
a configs generator
Prerequisites
- node >=20.0.0
Install
npm install -g @donniean/configs
Usage
cd PROJECT_DIRECTORY
create configs.config.cjs
configs init
create configs
configs create
Uninstall
Uninstall package
npm uninstall -g @donniean/configs
Delete files
rm configs.config.mjs
npm pkg delete devDependencies.@donniean/configs
# AutoCorrect
npm pkg delete \
scripts.lint:autocorrect \
scripts.lint:autocorrect:fix \
devDependencies.autocorrect-node
rm \
.autocorrectrc \
.autocorrectignore
# Commitizen
npm pkg delete \
scripts.commit \
devDependencies.commitizen \
devDependencies.cz-conventional-changelog
rm .cz.json
# commitlint
npm pkg delete \
devDependencies.@commitlint/cli \
devDependencies.@commitlint/config-conventional
rm commitlint.config.mjs
# CSpell
npm pkg delete \
scripts.lint:cspell \
devDependencies.cspell
rm cspell.config.cjs
rm -rf dictionaries/
# EditorConfig
rm .editorconfig
# ESLint
npm pkg delete \
scripts.lint:eslint \
scripts.lint:eslint:fix \
devDependencies.@types/eslint \
devDependencies.eslint \
devDependencies.eslint-config-airbnb \
devDependencies.eslint-config-airbnb-base \
devDependencies.eslint-plugin-eslint-comments \
devDependencies.eslint-plugin-import \
devDependencies.eslint-plugin-promise \
devDependencies.eslint-plugin-simple-import-sort \
devDependencies.eslint-plugin-sonarjs \
devDependencies.eslint-plugin-unicorn \
devDependencies.@next/eslint-plugin-next \
devDependencies.eslint-plugin-n \
devDependencies.eslint-config-prettier \
devDependencies.eslint-plugin-jsx-a11y \
devDependencies.eslint-plugin-react \
devDependencies.eslint-plugin-react-hooks \
devDependencies.@typescript-eslint/eslint-plugin \
devDependencies.@typescript-eslint/parser \
devDependencies.eslint-config-airbnb-typescript \
devDependencies.eslint-import-resolver-typescript \
devDependencies.eslint-plugin-vitest
rm \
.eslintrc.cjs \
.eslintignore
# gitattributes
rm .gitattributes
# gitignore
rm .gitignore
# HTMLHint
npm pkg delete \
scripts.lint:htmlhint \
devDependencies.htmlhint
rm .htmlhintrc
# husky
npm pkg delete \
scripts.prepare \
devDependencies.husky
rm -rf .husky/
# lint-staged
npm pkg delete \
scripts.pre-commit \
devDependencies.lint-staged
rm lint-staged.config.mjs
# markdownlint
npm pkg delete \
scripts.lint:markdownlint \
scripts.lint:markdownlint:fix \
devDependencies.markdownlint-cli
rm \
.markdownlint.json \
.markdownlintignore
# Prettier
npm pkg delete \
scripts.lint:prettier \
scripts.lint:prettier:fix \
devDependencies.prettier \
devDependencies.prettier-plugin-tailwindcss
rm \
prettier.config.mjs \
.prettierignore
# Sort Package.json
npm pkg delete \
scripts.lint:sort-package-json \
scripts.lint:sort-package-json:fix \
devDependencies.sort-package-json
# Stylelint
npm pkg delete \
scripts.lint:stylelint \
scripts.lint:stylelint:fix \
devDependencies.stylelint \
devDependencies.stylelint-config-recess-order \
devDependencies.stylelint-config-standard \
devDependencies.stylelint-config-css-modules \
devDependencies.stylelint-config-standard-scss \
devDependencies.postcss-styled-syntax
rm \
stylelint.config.mjs \
.stylelintignore
# tsc
npm pkg delete \
scripts.lint:tsc \
devDependencies.typescript
# Vitest
npm pkg delete \
scripts.test \
scripts.test:coverage \
scripts.test:watch \
devDependencies.@vitest/coverage-v8 \
devDependencies.vitest
rm package-lock.json
rm -rf **/node_modules/