addons/vscode/package.jsonblame
View source
b69ab311{
b69ab312 "name": "grove-scm",
d8281c03 "displayName": "Grove SCM",
b69ab314 "description": "Grove: Source Control powered by Sapling",
b69ab315 "version": "0.1.0",
d8281c06 "publisher": "LetterpressLabs",
b69ab317 "license": "MIT",
b69ab318 "engines": {
b69ab319 "vscode": "^1.63.0"
b69ab3110 },
b69ab3111 "categories": [
b69ab3112 "SCM Providers"
b69ab3113 ],
b69ab3114 "activationEvents": [
b69ab3115 "onStartupFinished",
b69ab3116 "onCommand:sapling.open-isl",
b69ab3117 "onWebviewPanel:sapling.isl",
b69ab3118 "onView:sapling.isl"
b69ab3119 ],
b69ab3120 "extensionKind": [
b69ab3121 "workspace"
b69ab3122 ],
b69ab3123 "galleryBanner": {
b69ab3124 "color": "#2e8555",
b69ab3125 "theme": "dark"
b69ab3126 },
b69ab3127 "main": "./dist/extension.js",
b69ab3128 "icon": "resources/extensionIcon.png",
b69ab3129 "homepage": "https://grove.host/",
b69ab3130 "bugs": {
b69ab3131 "url": "https://grove.host/"
b69ab3132 },
b69ab3133 "repository": {
b69ab3134 "type": "git",
b69ab3135 "url": "https://grove.host/"
b69ab3136 },
b69ab3137 "contributes": {
1d6bd0738 "configurationDefaults": {
1d6bd0739 "files.exclude": {
1d6bd0740 "**/.sl": true
1d6bd0741 }
1d6bd0742 },
b69ab3143 "configuration": {
c3ed59a44 "title": "Grove",
b69ab3145 "properties": {
b69ab3146 "sapling.commandPath": {
b69ab3147 "type": "string",
b69ab3148 "default": "",
b69ab3149 "description": "%settings.commandPath.description%"
b69ab3150 },
b69ab3151 "sapling.showInlineBlame": {
b69ab3152 "type": "boolean",
b69ab3153 "description": "%settings.showInlineBlame.description%",
b69ab3154 "default": true
b69ab3155 },
b69ab3156 "sapling.showDiffComments": {
b69ab3157 "type": "boolean",
b69ab3158 "description": "%settings.showDiffComments.description%",
b69ab3159 "default": true
b69ab3160 },
b69ab3161 "sapling.inlineCommentDiffViewMode": {
b69ab3162 "type": "string",
b69ab3163 "enum": [
b69ab3164 "Unified",
b69ab3165 "Split"
b69ab3166 ],
b69ab3167 "description": "%settings.diffViewMode.description%",
b69ab3168 "default": "Unified"
b69ab3169 },
b69ab3170 "sapling.markConflictingFilesResolvedOnSave": {
b69ab3171 "type": "boolean",
b69ab3172 "description": "%settings.markConflictingFilesResolvedOnSave.description%",
b69ab3173 "default": true
b69ab3174 },
b69ab3175 "sapling.comparisonPanelMode": {
b69ab3176 "type": "string",
b69ab3177 "enum": [
b69ab3178 "Auto",
b69ab3179 "Always Separate Panel"
b69ab3180 ],
b69ab3181 "enumDescriptions": [
b69ab3182 "%settings.comparisonPanelMode.enumDescriptions.auto%",
b69ab3183 "%settings.comparisonPanelMode.enumDescriptions.always-separate-panel%"
b69ab3184 ],
b69ab3185 "description": "%settings.comparisonPanelMode.description%",
b69ab3186 "default": "Auto"
b69ab3187 },
b69ab3188 "sapling.isl.openBeside": {
b69ab3189 "type": "boolean",
b69ab3190 "default": false,
b69ab3191 "description": "%settings.isl.openBeside.description%"
b69ab3192 },
b69ab3193 "sapling.isl.showInSidebar": {
b69ab3194 "type": "boolean",
b69ab3195 "default": false,
b69ab3196 "description": "%settings.isl.showInSidebar.description%"
b69ab3197 }
b69ab3198 }
b69ab3199 },
c3ed59a100 "icons": {
c3ed59a101 "grove-icon": {
c3ed59a102 "description": "Grove icon",
c3ed59a103 "default": {
c3ed59a104 "fontPath": "resources/grove-icons.woff",
c3ed59a105 "fontCharacter": "\\F101"
b69ab31106 }
c3ed59a107 }
b69ab31108 },
b69ab31109 "views": {
b69ab31110 "scm": [
b69ab31111 {
b69ab31112 "type": "webview",
b69ab31113 "id": "sapling.comments",
b69ab31114 "name": "Code Review Comments",
b69ab31115 "when": "isl.inlineCommentSidePanelEnabled"
b69ab31116 }
b69ab31117 ]
b69ab31118 },
b69ab31119 "commands": [
b69ab31120 {
b69ab31121 "command": "sapling.revert-file",
b69ab31122 "title": "%sapling.revert-file-command%",
b69ab31123 "category": "%sapling.command-category%",
b69ab31124 "icon": "$(discard)"
b69ab31125 },
b69ab31126 {
b69ab31127 "command": "sapling.open-isl",
b69ab31128 "title": "%sapling.open-isl-command%",
b69ab31129 "category": "%sapling.command-category%",
b69ab31130 "icon": "resources/Sapling_favicon-light-green-transparent.svg"
b69ab31131 },
c3ed59a132 {
c3ed59a133 "command": "sapling.open-isl-tab",
c3ed59a134 "title": "Open Interactive Smartlog in Tab",
c3ed59a135 "category": "%sapling.command-category%",
c3ed59a136 "icon": "$(link-external)"
c3ed59a137 },
b69ab31138 {
b69ab31139 "command": "sapling.open-file-diff-uncommitted",
b69ab31140 "title": "%sapling.open-diff-uncommitted-command%",
b69ab31141 "category": "%sapling.command-category%",
b69ab31142 "icon": "$(git-pull-request-go-to-changes)"
b69ab31143 },
b69ab31144 {
b69ab31145 "command": "sapling.open-file-diff-head",
b69ab31146 "title": "%sapling.open-diff-head-command%",
b69ab31147 "category": "%sapling.command-category%"
b69ab31148 },
b69ab31149 {
b69ab31150 "command": "sapling.open-file-diff-stack",
b69ab31151 "title": "%sapling.open-diff-stack-command%",
b69ab31152 "category": "%sapling.command-category%"
b69ab31153 },
b69ab31154 {
b69ab31155 "command": "sapling.open-comparison-view-uncommitted",
b69ab31156 "title": "%sapling.open-comparison-view-uncommitted-command%",
b69ab31157 "category": "%sapling.command-category%"
b69ab31158 },
b69ab31159 {
b69ab31160 "command": "sapling.open-comparison-view-head",
b69ab31161 "title": "%sapling.open-comparison-view-head-command%",
b69ab31162 "category": "%sapling.command-category%"
b69ab31163 },
b69ab31164 {
b69ab31165 "command": "sapling.open-comparison-view-stack",
b69ab31166 "title": "%sapling.open-comparison-view-stack-command%",
b69ab31167 "category": "%sapling.command-category%"
b69ab31168 },
b69ab31169 {
b69ab31170 "command": "sapling.open-comparison-view",
b69ab31171 "title": "%sapling.open-comparison-view-command%",
b69ab31172 "when": false
b69ab31173 },
b69ab31174 {
b69ab31175 "command": "sapling.isl.focus",
b69ab31176 "title": "Focus Sapling ISL Sidebar"
b69ab31177 },
b69ab31178 {
b69ab31179 "command": "sapling.open-remote-file-link",
b69ab31180 "title": "Open in Code Review",
b69ab31181 "enablement": "sapling:hasRemoteLinkRepo"
b69ab31182 },
b69ab31183 {
b69ab31184 "command": "sapling.copy-remote-file-link",
b69ab31185 "title": "Copy Code Review Link",
b69ab31186 "enablement": "sapling:hasRemoteLinkRepo"
b69ab31187 },
b69ab31188 {
b69ab31189 "command": "sapling.open-comments",
b69ab31190 "title": "%sapling.open-comments-command%",
b69ab31191 "enablement": "isl.inlineCommentSidePanelEnabled"
b69ab31192 },
b69ab31193 {
b69ab31194 "command": "sapling.toggle-inline-comments",
b69ab31195 "title": "%sapling.toggle-inline-comments-command%",
b69ab31196 "enablement": "isl.inlineCommentSidePanelEnabled"
b69ab31197 },
b69ab31198 {
b69ab31199 "command": "sapling.debug.interpret-file-as-comments",
b69ab31200 "title": "Debug: Load file as inline comments JSON",
b69ab31201 "enablement": "sapling.isDev"
1d6bd07202 },
1d6bd07203 {
1d6bd07204 "command": "grove.init",
1d6bd07205 "title": "Initialize Grove Repository",
1d6bd07206 "category": "Grove"
b69ab31207 }
b69ab31208 ],
b69ab31209 "keybindings": [
b69ab31210 {
b69ab31211 "command": "sapling.open-comparison-view-uncommitted",
b69ab31212 "key": "ctrl-'",
b69ab31213 "mac": "cmd-'",
b69ab31214 "when": "activeWebviewPanelId != 'sapling.isl'"
b69ab31215 },
b69ab31216 {
b69ab31217 "command": "sapling.open-comparison-view-head",
b69ab31218 "key": "ctrl-shift-'",
b69ab31219 "mac": "cmd-shift-'",
b69ab31220 "when": "activeWebviewPanelId != 'sapling.isl'"
b69ab31221 },
b69ab31222 {
b69ab31223 "command": "sapling.open-comments",
b69ab31224 "key": "alt-shift-g",
b69ab31225 "mac": "alt-shift-g",
b69ab31226 "when": "isl.inlineCommentSidePanelEnabled && activeWebviewPanelId != 'sapling.comments'"
b69ab31227 },
b69ab31228 {
b69ab31229 "command": "sapling.toggle-inline-comments",
b69ab31230 "key": "alt-shift-t",
b69ab31231 "mac": "alt-shift-t",
b69ab31232 "when": "isl.inlineCommentSidePanelEnabled"
b69ab31233 }
b69ab31234 ],
b69ab31235 "menus": {
b69ab31236 "editor/context": [
b69ab31237 {
b69ab31238 "command": "sapling.open-remote-file-link",
b69ab31239 "when": "sapling:hasRemoteLinkRepo"
b69ab31240 },
b69ab31241 {
b69ab31242 "command": "sapling.copy-remote-file-link",
b69ab31243 "when": "sapling:hasRemoteLinkRepo"
b69ab31244 }
b69ab31245 ],
b69ab31246 "explorer/context": [
b69ab31247 {
b69ab31248 "command": "sapling.open-remote-file-link",
b69ab31249 "when": "sapling:hasRemoteLinkRepo && isFileSystemResource && resourceScheme =~ /^(?!output$|vscode-(?!remote|vfs$)).*$/"
b69ab31250 },
b69ab31251 {
b69ab31252 "command": "sapling.copy-remote-file-link",
b69ab31253 "when": "sapling:hasRemoteLinkRepo && isFileSystemResource && resourceScheme =~ /^(?!output$|vscode-(?!remote|vfs$)).*$/"
b69ab31254 }
b69ab31255 ],
b69ab31256 "commandPalette": [
b69ab31257 {
b69ab31258 "command": "sapling.isl.focus",
b69ab31259 "when": "config.sapling.isl.showInSidebar"
b69ab31260 }
b69ab31261 ],
b69ab31262 "scm/resourceState/context": [
b69ab31263 {
b69ab31264 "command": "sapling.open-file-diff-uncommitted",
b69ab31265 "group": "inline",
b69ab31266 "when": "scmProvider == sapling && scmResourceGroup == changes"
b69ab31267 },
b69ab31268 {
b69ab31269 "command": "sapling.revert-file",
b69ab31270 "group": "inline",
b69ab31271 "when": "scmProvider == sapling && scmResourceGroup == changes"
b69ab31272 }
b69ab31273 ],
b69ab31274 "scm/title": [
b69ab31275 {
b69ab31276 "command": "sapling.open-isl",
b69ab31277 "group": "navigation",
b69ab31278 "when": "scmProvider == sapling"
b69ab31279 }
b69ab31280 ]
1d6bd07281 },
1d6bd07282 "viewsWelcome": [
1d6bd07283 {
1d6bd07284 "view": "workbench.explorer.emptyView",
1d6bd07285 "contents": "You can initialize a Grove repository in the current folder.\n[Initialize Grove Repository](command:grove.init)"
1d6bd07286 },
1d6bd07287 {
1d6bd07288 "view": "scm",
1d6bd07289 "contents": "No Grove repository found.\n[Initialize Grove Repository](command:grove.init)\n[Open Folder](command:vscode.openFolder)",
1d6bd07290 "when": "!scmProvider"
1d6bd07291 }
1d6bd07292 ]
b69ab31293 },
b69ab31294 "scripts": {
b69ab31295 "eslint": "eslint extension webview --ext .ts --ext .tsx",
b69ab31296 "test": "jest",
b69ab31297 "watch-extension": "rollup --config rollup.extension.config.mjs --watch",
b69ab31298 "watch-webview": "vite",
b69ab31299 "build-extension": "rollup --config rollup.extension.config.mjs --environment NODE_ENV:production",
b69ab31300 "build-webview": "vite build",
b69ab31301 "vscode:prepublish": "node ./buildForPublish.js"
b69ab31302 },
b69ab31303 "optionalDependencies": {
b69ab31304 "vsce": "^2.15.0"
b69ab31305 },
b69ab31306 "devDependencies": {
b69ab31307 "@rollup/plugin-alias": "^5.1.1",
b69ab31308 "@rollup/plugin-commonjs": "^25.0.8",
b69ab31309 "@rollup/plugin-json": "^6.1.0",
b69ab31310 "@rollup/plugin-node-resolve": "^15.3.1",
b69ab31311 "@rollup/plugin-replace": "^5.0.5",
b69ab31312 "@rollup/plugin-terser": "^0.4.4",
b69ab31313 "@stylexjs/stylex": "^0.9.3",
b69ab31314 "@types/jest": "29.5.12",
b69ab31315 "@types/node": "^16.11.7",
b69ab31316 "@types/react-dom": "^18.3.0",
b69ab31317 "@types/vscode": "^1.34.0",
b69ab31318 "@vitejs/plugin-react": "^4.3.4",
b69ab31319 "cross-env": "7.0.3",
b69ab31320 "isl": "0.1.0",
b69ab31321 "jest": "29.7.0",
b69ab31322 "jotai": "^2.6.2",
b69ab31323 "mini-css-extract-plugin": "^2.6.1",
b69ab31324 "react": "^18.3.1",
b69ab31325 "react-dom": "^18.3.1",
b69ab31326 "rollup": "^4.57.1",
b69ab31327 "rollup-plugin-esbuild": "^6.2.1",
b69ab31328 "ts-jest": "29",
b69ab31329 "tsx": "^4.16.2",
b69ab31330 "typescript": "5.5.4",
b69ab31331 "vite": "5.4.12",
b69ab31332 "vite-plugin-stylex": "^0.10.1",
b69ab31333 "vite-tsconfig-paths": "^4.3.2",
b69ab31334 "vscode-uri": "^3.0.6"
b69ab31335 }
b69ab31336}