-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
145 lines (145 loc) · 4.36 KB
/
Copy pathpackage.json
File metadata and controls
145 lines (145 loc) · 4.36 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
{
"name": "rech-git-sparse-scm",
"displayName": "SCM Sparse Checkout Extension",
"description": "Rech Git Sparse enhances your version control experience in Visual Studio Code Source Control by integrating sparse checkout capabilities.",
"version": "0.0.11",
"publisher": "rechinformatica",
"engines": {
"vscode": "^1.89.0"
},
"icon": "icons/icon-rech-git-sparse.png",
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished",
"onEditSession:file",
"onFileSystem:git",
"onFileSystem:git-show"
],
"repository": {
"type": "git",
"url": "https://github.com/RechInformatica/rech-git-sparse-scm.git"
},
"main": "./out/extension.js",
"extensionDependencies": [
"vscode.git"
],
"contributes": {
"menus": {
"explorer/context": [
{
"command": "rech-git-sparse-scm.removeSparseCheckout",
"group": "git-sparse"
},
{
"command": "rech-git-sparse-scm.removeAllSparseCheckout",
"group": "git-sparse"
}
],
"scm/resourceFolder/context": [
{
"command": "rech-git-sparse-scm.sparseCheckout",
"when": "scmProvider == git-sparse",
"group": "inline"
}
],
"scm/resourceGroup/context": [
{
"command": "rech-git-sparse-scm.searchInResourceGroup",
"when": "ctrl+f && scmProvider == git-sparse",
"group": "inline"
}
],
"scm/resourceState/context": [
{
"command": "rech-git-sparse-scm.sparseCheckout",
"when": "scmProvider == git-sparse && scmResourceState == remote",
"group": "inline"
},
{
"command": "rech-git-sparse-scm.removeSparseCheckout",
"when": "scmProvider == git-sparse && scmResourceState == local",
"group": "inline"
}
]
},
"commands": [
{
"command": "rech-git-sparse-scm.sparseCheckout",
"title": "Rech Git Sparse: Sparse Checkout",
"icon": "$(arrow-down)",
"when": "isInMirrorRepository"
},
{
"command": "rech-git-sparse-scm.removeSparseCheckout",
"title": "Rech Git Sparse: Remove Sparse Checkout",
"icon": "$(remove)"
},
{
"command": "rech-git-sparse-scm.removeAllSparseCheckout",
"title": "Rech Git Sparse: Remove All Files from Sparse Checkout",
"icon": "$(remove)"
},
{
"command": "rech-git-sparse-scm.remotePreview",
"title": "Rech Git Sparse: Open Remote Preview"
},
{
"command": "rech-git-sparse-scm.searchInResourceGroup",
"title": "Rech Git Sparse: Search in Resource Group"
}
],
"keybindings": [
{
"command": "rech-git-sparse-scm.sparseCheckout",
"key": "alt+f5",
"when": "isInMirrorRepository"
}
],
"configuration": {
"type": "object",
"title": "Rech Sparse Checkout Configuration",
"properties": {
"rech-git-sparse-scm.mirrorRepository": {
"title": "Local mirror repository list",
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Local mirror repository list to work sparse-checkout from local file to remote"
},
"rech-git-sparse-scm.quickPickWhitelist": {
"title": "QuickPick Whitelist",
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "List of file names that will not be automatically selected in the QuickPick."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"package": "vsce package --out F:/DIV/VSCode/extension/market/rech-git-sparse-scm/rech-git-sparse-scm.vsix",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"test": "npm run compile && mocha -r ts-node/register ./src/test/**/*.test.ts",
"tslint": "tslint --project tsconfig.json --config tslint.json"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "^22.1.0",
"@types/vscode": "^1.89.0",
"@typescript-eslint/eslint-plugin": "^7.7.1",
"@typescript-eslint/parser": "^7.7.1",
"@vscode/test-cli": "^0.0.9",
"@vscode/test-electron": "^2.3.9",
"eslint": "^8.57.0",
"typescript": "^5.4.5",
"vsce": "^1.97.0"
}
}