-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
110 lines (110 loc) · 3.11 KB
/
Copy pathpackage.json
File metadata and controls
110 lines (110 loc) · 3.11 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
{
"name": "vscode-git-submodule-cloner",
"private": "true",
"version": "0.0.9",
"license": "MIT",
"repository": "https://github.com/qbane/vscode-git-submodule-cloner",
"displayName": "Submodule Cloner",
"publisher": "qbane",
"description": "The long missing submodule cloner powered by isomorphic-git",
"categories": [
"Other"
],
"icon": "assets/icon.png",
"keywords": [
"git",
"submodules",
"isomorphic-git"
],
"main": "dist/desktop/extension.js",
"browser": "dist/web/extension.js",
"types": "src/types.d.ts",
"engines": {
"vscode": "^1.90.0",
"node": ">=22 <25"
},
"files": [
"LICENSE",
"CHANGELOG.md",
"dist/",
"assets/icon.png"
],
"dependencies": {
"buffer": "^6.0.3",
"isomorphic-git": "^1.37.4",
"patch-package": "^8.0.1",
"pathe": "^2.0.3"
},
"devDependencies": {
"@types/node": "^22.19.15",
"@types/vscode": "~1.90.0",
"esbuild": "^0.27.3",
"typescript": "^5.9.3"
},
"scripts": {
"postinstall": "patch-package",
"vscode:prepublish": "npm run build",
"tsc": "tsc --noEmit",
"esbuild": "node bin/esbuild.mjs",
"build": "npm run tsc && npm run esbuild",
"watch": "node bin/esbuild.mjs --watch",
"test": "true # (WIP)"
},
"activationEvents": [
"onFileSystem:vscode-vfs"
],
"contributes": {
"commands": [
{
"category": "Git Submodule Cloner",
"title": "Initialize submodules only (WIP)",
"command": "git-submodule-cloner.init-submodules",
"enablement": "false"
},
{
"category": "Git Submodule Cloner",
"title": "Initialize and checkout submodules",
"command": "git-submodule-cloner.checkout-submodules",
"enablement": "workbenchState != empty"
},
{
"category": "Git Submodule Cloner",
"title": "Add submodule store to workspace",
"command": "git-submodule-cloner.add-submodules-to-workspace",
"enablement": "workbenchState != empty"
},
{
"category": "Git Submodule Cloner",
"title": "Show status of submodules...",
"command": "git-submodule-cloner.pick-submodules",
"enablement": "workbenchState != empty"
}
],
"menus": {
"explorer/context": [
{
"command": "git-submodule-cloner.checkout-submodules",
"when": "explorerResourceIsRoot",
"group": "7a_gitops"
},
{
"command": "git-submodule-cloner.pick-submodules",
"when": "explorerResourceIsRoot",
"group": "7a_gitops"
}
]
},
"configuration": {
"title": "Submodule cloner",
"type": "object",
"properties": {
"git-submodule-cloner.corsProxyUrl": {
"markdownDescription": "CORS proxy URL for connecting to GitHub. Only used in browser environments (e.g. VS Code for the Web, github.dev). [More information](https://github.com/isomorphic-git/isomorphic-git/blob/main/README.md#cors-support).",
"type": "string",
"scope": "resource",
"default": "https://cors.isomorphic-git.org"
}
}
}
}
}