Skip to content

Commit

Permalink
refactor: updates
Browse files Browse the repository at this point in the history
  • Loading branch information
damienbutt committed Feb 13, 2024
1 parent ebaa6c4 commit 89c0a14
Show file tree
Hide file tree
Showing 16 changed files with 457 additions and 166 deletions.
23 changes: 23 additions & 0 deletions config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,12 @@
},
{
"$ref": "#/files/paths/contributing"
},
{
"$ref": "#/files/paths/pythonversion"
},
{
"$ref": "#/files/paths/pythonrequirements"
}
]
},
Expand Down Expand Up @@ -752,6 +758,18 @@
"vitestconfig": {
"from": "vitest.config.ts",
"to": "vitest.config.ts"
},
"pythonversion": {
"from": "python-version",
"to": ".python-version"
},
"pyprojecttoml": {
"from": "pyproject.toml",
"to": "pyproject.toml"
},
"pythonrequirements": {
"from": "requirements.txt",
"to": "requirements.txt"
}
}
},
Expand All @@ -770,6 +788,11 @@
"default": "pnpm",
"choices": ["pnpm", "yarn", "npm"]
}
},
"python": {
"engine": {
"fallback": "3.9.0"
}
}
}
}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"copy:templates": "ncp templates dist/generators/app/templates",
"copy:usage": "ncp src/USAGE dist/generators/app/USAGE",
"copy:files": "pnpm copy:deps && pnpm copy:templates && pnpm copy:usage",
"pretest": "pnpm build",
"test": "vitest --no-threads",
"pretty:fix": "prettier --write .",
"doctoc": "doctoc --title '## Contents 📖' README.md",
Expand All @@ -56,8 +57,8 @@
"@types/which": "^3.0.3",
"@types/yeoman-assert": "^3.1.4",
"@types/yosay": "^2.0.3",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"@yeoman/types": "^1.1.2",
"all-contributors-cli": "^6.26.1",
"commitizen": "^4.3.0",
Expand Down
Loading

0 comments on commit 89c0a14

Please sign in to comment.