Skip to content

Commit

Permalink
checking workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
xkeshav committed Oct 7, 2024
1 parent 6367e43 commit 086b4ae
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 47 deletions.
16 changes: 8 additions & 8 deletions .github/actions/md-lint/.markdownlint.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@
"MD003": {
"style": "consistent"
},
"MD029": false,
"MD033": {
"allowed_elements": [
"summary",
"details",
"mark"
]
},
"MD007": {
"indent": 2
},
Expand All @@ -19,6 +11,14 @@
"code_block_line_length": 100,
"tables": false
},
"MD029": false,
"MD033": {
"allowed_elements": [
"summary",
"details",
"mark"
]
},
"no-hard-tabs": false,
"whitespace": false
}
2 changes: 0 additions & 2 deletions .vscode/dictionaries/team-member.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
Bhuptani
keshav
Malhar
mohta
26 changes: 0 additions & 26 deletions .vscode/javascriptreact.json

This file was deleted.

5 changes: 1 addition & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
"[typescriptreact]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[jsonc]": {
"[json][jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[css]": {
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ All notable changes to this repository will be documented in this file.
- package rename to gh-repo-care
- added Governance.md file also
- update bug_report.yml and pull_request_template.md file

## [2.2.0]

- github package workflow added
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,12 @@ and then run
npx gh-repo-care
```

type _y_ on to continue on asking
type _y_ to continue on asking

then it will ask few questions and ask for your consent and then generate necessary health files.

## Notes

> [!NOTE]
> if you have `.github` folder in your repo, then it will ask for a folder name, where it will generate the files, but later you have to move these files into `.github` folder, to make it useful.
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xkeshav/gh-repo-care",
"version": "2.2.0",
"version": "2.2.1",
"private": false,
"displayName": "github-repo-care",
"description": "This is a npm CLI tool which help your GitHub repository to make it community supportive by adding necessary health files such as security/support/contribution/funding and customized templates for pull request/issues and discussions which boost your project for better contribution.",
Expand Down Expand Up @@ -49,6 +49,7 @@
"scripts": {
"start": "node src/index.js",
"check": "prettier --check .",
"test": "echo \"Error: no test specified\" && exit 1",
"clean": "rimraf dist",
"prepublish": "npm run clean",
"version": "npm publish --access=public"
Expand Down
3 changes: 2 additions & 1 deletion repo-care.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"titleBar.activeForeground": "#e7e7e7",
"titleBar.inactiveBackground": "#21573299",
"titleBar.inactiveForeground": "#e7e7e799",
"sideBar.border": "#2f7c47"
"sideBar.border": "#2f7c47",
"tab.activeBorder": "#2f7c47"
},
"window.zoomLevel": 1.25,
"editor.suggestSelection": "first",
Expand Down
4 changes: 1 addition & 3 deletions src/helpers/replace.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ export const replaceDetailsInTemplateFiles = async (info, base_dir) => {
try {
await moveFilesToFolder(sourcePath, destinationPath);
const results = await replaceInFile(options);
//console.log("Replacement results:", results);
//console.log({ sourcePath, destinationPath });
console.log(`\n 🎊 health files generated successfully on ${userFolderName}`);
console.log(`\n 🎊 community health files generated successfully at ${userFolderName}`);
} catch (error) {
console.error("Error occurred:", error);
}
Expand Down
6 changes: 5 additions & 1 deletion src/other/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this repository will be documented in this file.

## [0.0.1]
## [2.0.0]

- Initial release.

## [2.2.0]

- Added workflow

0 comments on commit 086b4ae

Please sign in to comment.