-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
194 lines (194 loc) · 6.92 KB
/
package.json
File metadata and controls
194 lines (194 loc) · 6.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
{
"name": "git-worktrees",
"publisher": "GitWorktrees",
"displayName": "Git Worktrees",
"description": "A Wrapper for Git Worktree Operations that provides an interactive API so developers have a better experience",
"version": "2.14.0",
"icon": "images/logo.png",
"repository": {
"type": "git",
"url": "https://github.com/alexiszamanidis/vscode-git-worktrees"
},
"engines": {
"vscode": "^1.65.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:git-worktrees.worktree.list",
"onCommand:git-worktrees.worktree.remove",
"onCommand:git-worktrees.worktree.add",
"git-worktrees.worktree.toggleLogs"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"category": "Git Worktree",
"command": "git-worktrees.worktree.list",
"title": "List"
},
{
"category": "Git Worktree",
"command": "git-worktrees.worktree.remove",
"title": "Remove"
},
{
"category": "Git Worktree",
"command": "git-worktrees.worktree.add",
"title": "Add"
},
{
"category": "Git Worktree",
"command": "git-worktrees.worktree.toggleLogs",
"title": "Toggle Logger Output"
}
],
"configuration": [
{
"id": "stalled-branches",
"title": "Stalled branches",
"properties": {
"vsCodeGitWorktrees.remove.stalledBranches": {
"type": "boolean",
"default": false,
"description": "Removes local(stalled) branches that do not exist on remote"
}
}
},
{
"id": "open-new-vscode-window",
"title": "Open new Vscode window",
"properties": {
"vsCodeGitWorktrees.move.openNewVscodeWindow": {
"type": "boolean",
"default": true,
"description": "Open new vscode window when you switch or create a worktree"
}
}
},
{
"id": "worktrees-directory-path",
"title": "Worktrees directory path",
"properties": {
"vsCodeGitWorktrees.worktrees.dir.path": {
"type": "string",
"default": null,
"description": "Define a directory for all worktrees between your projects"
}
}
},
{
"id": "auto-push",
"title": "Auto push",
"properties": {
"vsCodeGitWorktrees.add.autoPush": {
"type": "boolean",
"default": true,
"description": "Auto push worktree branch after its creation"
}
}
},
{
"id": "auto-pull",
"title": "Auto pull",
"properties": {
"vsCodeGitWorktrees.add.autoPull": {
"type": "boolean",
"default": true,
"description": "Auto pull worktree branch after its creation"
}
}
},
{
"id": "copy-include-patterns",
"title": "Worktree Copy Include Patterns",
"properties": {
"vsCodeGitWorktrees.worktreeCopyIncludePatterns": {
"type": "array",
"default": [],
"description": "Patterns specifying which files and folders to copy from the source repository to the new worktree"
}
}
},
{
"id": "copy-exclude-patterns",
"title": "Worktree Copy Exclude Patterns",
"properties": {
"vsCodeGitWorktrees.worktreeCopyExcludePatterns": {
"type": "array",
"default": [],
"description": "Patterns specifying files and folders to exclude from copying when creating a new worktree"
}
}
},
{
"id": "enable-worktree-coloring",
"title": "Enable Worktree Coloring",
"properties": {
"vsCodeGitWorktrees.worktree.coloring": {
"type": "boolean",
"default": false,
"description": "Enable worktree coloring when creating or switching worktree"
}
}
},
{
"id": "worktree-search-path",
"title": "Worktree Search Path",
"properties": {
"vsCodeGitWorktrees.worktreeSearchPath": {
"type": "string",
"default": "",
"description": "Optional subdirectory (relative or absolute) where Git repositories can be found if the root workspace is not a Git repository"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"format": "yarn prettier --write .",
"typescript": "yarn tsc --noEmit",
"publish": "vsce publish",
"jest-test": "jest --watchAll",
"lint:fix": "eslint src --ext ts --fix"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.7",
"@types/glob": "^7.2.0",
"@types/jest": "^28.1.0",
"@types/mocha": "^9.1.0",
"@types/node": "14.x",
"@types/vscode": "^1.65.0",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"@vscode/test-electron": "^2.1.2",
"eslint": "^8.9.0",
"glob": "^7.2.0",
"husky": "4",
"jest": "^28.1.0",
"lint-staged": "^12.1.7",
"mocha": "^9.2.1",
"prettier": "^2.5.1",
"semantic-release": "^21.0.1",
"ts-jest": "^28.0.4",
"typescript": "^4.5.5"
},
"resolutions": {
"@typescript-eslint/typescript-estree": "^5.59.2"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint-staged"
}
}
}