@initx-plugin/git
Advanced tools
Comparing version 0.0.13 to 0.0.14
@@ -25,3 +25,3 @@ import { InitxHandler, InitxCtx } from '@initx-plugin/core'; | ||
gpgKey: { | ||
matching: RegExp; | ||
matching: string; | ||
description: string; | ||
@@ -28,0 +28,0 @@ }; |
{ | ||
"name": "@initx-plugin/git", | ||
"type": "module", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"description": "initx plugin, git operations", | ||
"author": "imba97", | ||
"license": "MIT", | ||
"homepage": "https://github.com/imba97/initx#readme", | ||
"homepage": "https://github.com/initx-collective/initx-plugin-git#readme", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+ssh://git@github.com/imba97/initx" | ||
"url": "git@github.com:initx-collective/initx-plugin-git.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/imba97/initx/issues" | ||
"url": "https://github.com/initx-collective/initx-plugin-git/issues" | ||
}, | ||
"keywords": [ | ||
"initx" | ||
"initx-plugin", | ||
"git" | ||
], | ||
@@ -26,9 +27,28 @@ "main": "dist/index.mjs", | ||
"dependencies": { | ||
"@initx-plugin/utils": "0.0.13", | ||
"@initx-plugin/core": "0.0.13" | ||
"@initx-plugin/core": "latest", | ||
"@initx-plugin/utils": "latest" | ||
}, | ||
"devDependencies": { | ||
"@imba97/eslint-config": "^0.0.4", | ||
"@types/node": "^22.8.6", | ||
"bumpp": "^9.8.0", | ||
"eslint": "^9.13.0", | ||
"lint-staged": "^15.2.10", | ||
"simple-git-hooks": "^2.11.1", | ||
"typescript": "5.5.4", | ||
"unbuild": "^2.0.0", | ||
"vitest": "^2.1.4" | ||
}, | ||
"simple-git-hooks": { | ||
"pre-commit": "pnpm lint-staged" | ||
}, | ||
"lint-staged": { | ||
"*": "eslint --cache --flag unstable_ts_config --fix" | ||
}, | ||
"scripts": { | ||
"stub": "unbuild --stub", | ||
"build": "unbuild" | ||
"build": "unbuild", | ||
"lint": "eslint --cache --flag unstable_ts_config", | ||
"release": "bumpp" | ||
} | ||
} |
@@ -11,4 +11,53 @@ <h1 align="center">initx ⚙️</h1> | ||
## Usage | ||
```bash | ||
npm install @initx-plugin/git -g | ||
``` | ||
### Git Repository | ||
Create a new repository or modify the remote repository address in the current directory | ||
```bash | ||
npx initx git@github.com:user/repository.git | ||
``` | ||
### Git Branch | ||
Specify a branch name | ||
```bash | ||
npx initx git@github.com:user/repository.git main | ||
``` | ||
### Git User | ||
Set git username and email | ||
```bash | ||
npx initx user mail@example.com your_name | ||
``` | ||
### Git GPG | ||
```bash | ||
# npx initx gpg [true|false] | ||
npx initx gpg true | ||
``` | ||
Select `Enable or disable GPG signing for git commits`, Set git commit signature | ||
If true, includes setting the Git GPG Key | ||
### Git GPG Key | ||
```bash | ||
npx initx gpg | ||
``` | ||
Select `Set GPG key for git commits` | ||
## Documentation | ||
[initx](https://github.com/imba97/initx) | ||
[initx](https://github.com/initx-collective/initx) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
11175
235
63
9
+ Added@initx-plugin/core@0.0.29(transitive)
+ Added@initx-plugin/utils@0.0.29(transitive)
+ Added@inquirer/checkbox@4.1.2(transitive)
+ Added@inquirer/confirm@5.1.6(transitive)
+ Added@inquirer/core@10.1.7(transitive)
+ Added@inquirer/editor@4.2.7(transitive)
+ Added@inquirer/expand@4.0.9(transitive)
+ Added@inquirer/figures@1.0.10(transitive)
+ Added@inquirer/input@4.1.6(transitive)
+ Added@inquirer/number@3.0.9(transitive)
+ Added@inquirer/password@4.0.9(transitive)
+ Added@inquirer/prompts@7.3.2(transitive)
+ Added@inquirer/rawlist@4.0.9(transitive)
+ Added@inquirer/search@3.0.9(transitive)
+ Added@inquirer/select@4.0.9(transitive)
+ Added@inquirer/type@3.0.4(transitive)
+ Addedansi-escapes@4.3.2(transitive)
+ Addedansi-regex@5.0.16.1.0(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedchalk@5.4.1(transitive)
+ Addedchardet@0.7.0(transitive)
+ Addedcli-cursor@5.0.0(transitive)
+ Addedcli-spinners@2.9.2(transitive)
+ Addedcli-width@4.1.0(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addeddefu@6.1.4(transitive)
+ Addedemoji-regex@10.4.08.0.0(transitive)
+ Addedexternal-editor@3.1.0(transitive)
+ Addedfs-extra@11.3.0(transitive)
+ Addedget-east-asian-width@1.3.0(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addediconv-lite@0.4.24(transitive)
+ Addedinquirer@12.4.2(transitive)
+ Addedis-fullwidth-code-point@3.0.0(transitive)
+ Addedis-interactive@2.0.0(transitive)
+ Addedis-unicode-supported@1.3.0(transitive)
+ Addedjsonfile@6.1.0(transitive)
+ Addedlog-symbols@6.0.0(transitive)
+ Addedmatchinitx@0.0.2(transitive)
+ Addedmimic-function@5.0.1(transitive)
+ Addedmute-stream@2.0.0(transitive)
+ Addedonetime@7.0.0(transitive)
+ Addedora@8.2.0(transitive)
+ Addedos-tmpdir@1.0.2(transitive)
+ Addedrestore-cursor@5.1.0(transitive)
+ Addedrun-async@3.0.0(transitive)
+ Addedrxjs@7.8.2(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedstdin-discarder@0.2.2(transitive)
+ Addedstring-width@4.2.37.2.0(transitive)
+ Addedstrip-ansi@6.0.17.1.0(transitive)
+ Addedtinyexec@0.3.2(transitive)
+ Addedtmp@0.0.33(transitive)
+ Addedtslib@2.8.1(transitive)
+ Addedtype-fest@0.21.3(transitive)
+ Addeduniversalify@2.0.1(transitive)
+ Addedwrap-ansi@6.2.0(transitive)
+ Addedyoctocolors-cjs@2.1.2(transitive)
- Removed@initx-plugin/core@0.0.13(transitive)
- Removed@initx-plugin/utils@0.0.110.0.13(transitive)
- Removed@sec-ant/readable-stream@0.4.1(transitive)
- Removed@sindresorhus/merge-streams@4.0.0(transitive)
- Removedcross-spawn@7.0.6(transitive)
- Removedexeca@9.5.2(transitive)
- Removedfigures@6.1.0(transitive)
- Removedget-stream@9.0.1(transitive)
- Removedhuman-signals@8.0.0(transitive)
- Removedis-plain-obj@4.1.0(transitive)
- Removedis-stream@4.0.1(transitive)
- Removedisexe@2.0.0(transitive)
- Removednpm-run-path@6.0.0(transitive)
- Removedparse-ms@4.0.0(transitive)
- Removedpath-key@3.1.14.0.0(transitive)
- Removedpretty-ms@9.2.0(transitive)
- Removedshebang-command@2.0.0(transitive)
- Removedshebang-regex@3.0.0(transitive)
- Removedstrip-final-newline@4.0.0(transitive)
- Removedunicorn-magic@0.3.0(transitive)
- Removedwhich@2.0.2(transitive)
- Removedyoctocolors@2.1.1(transitive)
Updated@initx-plugin/core@latest
Updated@initx-plugin/utils@latest