codetour/package.json

687 строки
19 KiB
JSON
Исходник Обычный вид История

2020-03-07 21:37:16 +03:00
{
"name": "codetour",
2020-03-14 18:12:48 +03:00
"displayName": "CodeTour",
2020-03-08 17:06:53 +03:00
"description": "VS Code extension that allows you to record and playback guided tours of codebases, directly within the editor",
2020-03-07 21:37:16 +03:00
"publisher": "vsls-contrib",
2022-02-24 21:00:32 +03:00
"version": "0.0.59",
2021-02-04 00:40:32 +03:00
"author": {
"name": "Microsoft Corporation"
},
2020-03-07 21:37:16 +03:00
"repository": {
"type": "git",
2021-02-04 00:40:32 +03:00
"url": "https://github.com/microsoft/codetour"
2020-03-07 21:37:16 +03:00
},
"bugs": {
2021-02-04 00:40:32 +03:00
"url": "https://github.com/microsoft/codetour/issues"
2020-03-07 21:37:16 +03:00
},
2021-02-04 00:40:32 +03:00
"homepage": "https://github.com/microsoft/codetour#readme",
"license": "MIT",
2020-03-07 21:37:16 +03:00
"icon": "images/icon.png",
"engines": {
2022-02-24 21:00:32 +03:00
"vscode": "^1.60.0"
2020-03-07 21:37:16 +03:00
},
"categories": [
"Other"
],
"keywords": [
"Collaboration",
"Sharing"
],
2020-03-09 19:30:05 +03:00
"extensionKind": [
2020-05-03 21:45:21 +03:00
"workspace"
2020-03-09 19:30:05 +03:00
],
2020-03-07 21:37:16 +03:00
"activationEvents": [
2022-02-24 21:00:32 +03:00
"onStartupFinished",
"onNotebookEditor:codetour"
2020-03-07 21:37:16 +03:00
],
"main": "./dist/extension-node.js",
"browser": "./dist/extension-web.js",
2020-03-07 21:37:16 +03:00
"contributes": {
2020-04-01 07:43:28 +03:00
"configuration": {
"type": "object",
"title": "CodeTour",
"properties": {
2021-02-10 07:19:14 +03:00
"codetour.promptForWorkspaceTours": {
"type": "boolean",
"default": true,
"description": "Specifies whether or not to display a notification when opening a workspace with tours for the first time."
},
2021-03-20 05:44:59 +03:00
"codetour.recordMode": {
"type": "string",
"enum": [
"lineNumber",
"pattern"
],
"default": "lineNumber",
"description": "Specifies how the tour recorder will behave when capturing a new step."
},
2020-04-01 07:43:28 +03:00
"codetour.showMarkers": {
"type": "boolean",
"default": true,
"description": "Specifies whether or not to show tour markers in the editor gutter."
2021-05-27 19:44:39 +03:00
},
2021-05-29 00:08:54 +03:00
"codetour.customTourDirectory": {
2021-05-27 19:44:39 +03:00
"type": "string",
"default": null,
"description": "Specifies a custom location to use when discovering tours."
2020-04-01 07:43:28 +03:00
}
}
},
2020-03-07 21:37:16 +03:00
"commands": [
2020-05-04 08:08:52 +03:00
{
"command": "codetour.addContentStep",
"title": "Add Tour Step",
"category": "CodeTour"
},
{
"command": "codetour.addDirectoryStep",
"title": "Add CodeTour Step"
},
2020-07-01 04:08:06 +03:00
{
"command": "codetour.addSelectionStep",
"title": "Add CodeTour Step"
},
2020-03-08 05:20:04 +03:00
{
"command": "codetour.addTourStep",
2022-06-06 13:00:04 +03:00
"title": "Add Step to Tour"
2020-03-08 05:20:04 +03:00
},
{
2020-03-13 19:11:51 +03:00
"command": "codetour.changeTourDescription",
"title": "Change Description"
},
2020-03-15 01:36:25 +03:00
{
"command": "codetour.changeTourRef",
"title": "Change Git Ref"
},
2020-07-01 04:08:06 +03:00
{
"command": "codetour.changeTourStepLine",
"title": "Change Line"
},
2020-05-18 04:26:29 +03:00
{
"command": "codetour.changeTourStepTitle",
"title": "Change Title"
},
{
"command": "codetour.changeTourStepIcon",
"title": "Change Icon"
},
2020-03-13 19:11:51 +03:00
{
"command": "codetour.changeTourTitle",
"title": "Change Title"
},
2020-12-12 08:07:05 +03:00
{
"command": "codetour.resetProgress",
"title": "Reset Progress",
"category": "CodeTour"
},
{
"command": "codetour.resetTourProgress",
"title": "Reset Progress"
},
2020-03-08 05:20:04 +03:00
{
"command": "codetour.deleteTourStep",
"title": "Delete Step"
},
2020-03-14 22:31:16 +03:00
{
2020-03-31 08:02:11 +03:00
"command": "codetour.deleteTour",
"title": "Delete Tour"
2020-03-14 22:31:16 +03:00
},
2020-03-19 20:52:49 +03:00
{
"command": "codetour.editTourAtStep",
"title": "Edit Step"
},
2020-03-31 08:02:11 +03:00
{
"command": "codetour.editTour",
"title": "Edit Tour",
"category": "CodeTour",
"icon": "$(edit)"
},
2020-03-07 21:37:16 +03:00
{
"command": "codetour.endTour",
2020-03-08 05:20:04 +03:00
"title": "End Tour",
2020-03-16 06:47:19 +03:00
"category": "CodeTour",
2021-04-27 06:11:29 +03:00
"icon": "$(primitive-square)"
2020-03-07 21:37:16 +03:00
},
{
"command": "codetour.exportTour",
"title": "Export Tour..."
},
2020-04-01 07:43:28 +03:00
{
"command": "codetour.hideMarkers",
"title": "Hide Tour Markers",
"category": "CodeTour",
"icon": "$(eye-closed)"
},
2020-05-18 10:04:47 +03:00
{
"command": "codetour.makeTourPrimary",
"title": "Make Primary"
},
2020-03-14 18:11:19 +03:00
{
"command": "codetour.moveTourStepForward",
"title": "Move Down",
"icon": "$(arrow-down)"
},
2020-03-31 08:02:11 +03:00
{
"command": "codetour.moveTourStepBack",
"title": "Move Up",
"icon": "$(arrow-up)"
},
2020-03-07 21:37:16 +03:00
{
"command": "codetour.nextTourStep",
"title": "Next",
"icon": "$(arrow-right)"
},
{
"command": "codetour.openTourFile",
"title": "Open Tour File...",
"icon": "$(folder-opened)",
"category": "CodeTour"
},
2020-04-11 04:16:18 +03:00
{
"command": "codetour.openTourUrl",
"title": "Open Tour URL...",
"category": "CodeTour"
},
2020-05-18 04:26:29 +03:00
{
"command": "codetour.previewTour",
"title": "Preview Tour",
"icon": "$(preview)"
},
{
"command": "codetour.previousTourStep",
"title": "Previous",
"icon": "$(arrow-left)"
},
2020-03-08 05:20:04 +03:00
{
"command": "codetour.recordTour",
"title": "Record Tour",
2020-03-14 18:12:48 +03:00
"category": "CodeTour",
2020-03-08 05:20:04 +03:00
"icon": "$(add)"
},
2020-03-07 21:37:16 +03:00
{
"command": "codetour.resumeTour",
2020-03-13 22:08:10 +03:00
"title": "Resume Tour",
2020-03-14 18:12:48 +03:00
"category": "CodeTour"
2020-03-07 21:37:16 +03:00
},
2020-03-08 05:20:04 +03:00
{
"command": "codetour.saveTourStep",
2020-05-18 04:26:29 +03:00
"title": "Save Step",
"enablement": "!commentIsEmpty"
2020-03-08 05:20:04 +03:00
},
2020-04-01 07:43:28 +03:00
{
"command": "codetour.showMarkers",
"title": "Show Tour Markers",
"category": "CodeTour",
"icon": "$(eye)"
},
2020-03-07 21:37:16 +03:00
{
"command": "codetour.startTour",
"title": "Start Tour",
2020-03-14 18:12:48 +03:00
"category": "CodeTour",
2021-04-27 06:11:29 +03:00
"icon": "$(play)"
2020-04-15 17:52:31 +03:00
},
2020-05-18 10:04:47 +03:00
{
"command": "codetour.unmakeTourPrimary",
"title": "Unmake Primary"
},
2020-04-15 17:52:31 +03:00
{
"command": "codetour.viewNotebook",
"title": "View Notebook",
"category": "CodeTour"
2020-03-07 21:37:16 +03:00
}
],
"menus": {
"commandPalette": [
2020-05-04 08:08:52 +03:00
{
"command": "codetour.addContentStep",
"when": "codetour:inTour && codetour:recording && codetour:canEditTour"
},
2020-03-13 21:22:17 +03:00
{
"command": "codetour.endTour",
"when": "codetour:inTour"
},
2020-03-30 02:52:08 +03:00
{
"command": "codetour.recordTour",
"when": "workspaceFolderCount != 0"
2020-03-30 02:52:08 +03:00
},
{
2020-12-12 08:07:05 +03:00
"command": "codetour.resetProgress",
"when": "codetour:hasProgress"
},
2020-04-01 07:43:28 +03:00
{
2020-12-12 08:07:05 +03:00
"command": "codetour.resumeTour",
"when": "codetour:inTour"
2020-04-01 07:43:28 +03:00
},
2020-03-07 21:37:16 +03:00
{
"command": "codetour.startTour",
"when": "codetour:hasTours"
},
2020-05-04 08:08:52 +03:00
{
"command": "codetour.addDirectoryStep",
"when": "false"
},
2020-07-01 04:08:06 +03:00
{
"command": "codetour.addSelectionStep",
"when": "false"
},
2020-03-08 05:20:04 +03:00
{
"command": "codetour.addTourStep",
"when": "false"
},
2020-03-15 01:36:25 +03:00
{
"command": "codetour.changeTourRef",
"when": "false"
},
2020-07-01 04:08:06 +03:00
{
"command": "codetour.changeTourStepLine",
"when": "false"
},
2020-05-18 04:26:29 +03:00
{
"command": "codetour.changeTourStepTitle",
"when": "false"
},
{
"command": "codetour.changeTourStepIcon",
"when": "false"
},
2020-03-13 19:11:51 +03:00
{
"command": "codetour.changeTourTitle",
"when": "false"
},
{
"command": "codetour.changeTourDescription",
"when": "false"
},
{
"command": "codetour.deleteTour",
"when": "false"
},
2020-03-08 05:20:04 +03:00
{
"command": "codetour.deleteTourStep",
"when": "false"
},
2021-03-10 00:02:52 +03:00
{
"command": "codetour.editTour",
"when": "false"
},
2020-03-19 20:52:49 +03:00
{
"command": "codetour.editTourAtStep",
"when": "false"
},
2020-03-08 05:20:04 +03:00
{
2020-05-18 04:26:29 +03:00
"command": "codetour.exportTour",
2020-03-08 05:20:04 +03:00
"when": "false"
},
2020-12-12 08:07:05 +03:00
{
"command": "codetour.hideMarkers",
"when": "false"
},
2020-05-18 10:04:47 +03:00
{
"command": "codetour.makeTourPrimary",
"when": "false"
},
{
2020-05-18 04:26:29 +03:00
"command": "codetour.nextTourStep",
"when": "false"
},
2020-03-07 21:37:16 +03:00
{
2020-05-18 04:26:29 +03:00
"command": "codetour.previewTour",
2020-03-07 21:37:16 +03:00
"when": "false"
},
{
"command": "codetour.previousTourStep",
2020-03-07 21:37:16 +03:00
"when": "false"
2020-03-08 05:20:04 +03:00
},
2020-12-12 08:07:05 +03:00
{
"command": "codetour.resetTourProgress",
"when": "false"
},
2020-03-08 05:20:04 +03:00
{
"command": "codetour.saveTourStep",
"when": "false"
2020-04-15 17:52:31 +03:00
},
2020-12-12 08:07:05 +03:00
{
"command": "codetour.showMarkers",
"when": "false"
},
2020-05-18 10:04:47 +03:00
{
"command": "codetour.unmakeTourPrimary",
"when": "false"
},
2020-04-15 17:52:31 +03:00
{
"command": "codetour.viewNotebook",
"when": "false"
2020-03-07 21:37:16 +03:00
}
],
"comments/commentThread/title": [
{
"command": "codetour.previousTourStep",
"group": "inline@1",
"when": "commentController == codetour && commentThread =~ /hasPrevious/"
},
{
"command": "codetour.nextTourStep",
"group": "inline@2",
"when": "commentController == codetour && commentThread =~ /hasNext/"
},
2020-03-14 22:31:16 +03:00
{
2020-03-15 07:14:44 +03:00
"command": "codetour.endTour",
2020-03-07 21:37:16 +03:00
"group": "inline@3",
2020-03-15 07:14:44 +03:00
"when": "commentController == codetour"
2020-03-08 05:20:04 +03:00
},
{
2020-03-15 07:14:44 +03:00
"command": "codetour.editTour",
2020-03-08 05:20:04 +03:00
"group": "inline@4",
2021-03-10 00:02:52 +03:00
"when": "commentController == codetour && !codetour:isEditing && codetour:canEditTour"
2020-05-18 04:26:29 +03:00
},
{
"command": "codetour.previewTour",
"group": "inline@4",
2021-03-10 00:02:52 +03:00
"when": "commentController == codetour && codetour:isEditing && !commentThreadIsEmpty"
2020-03-07 21:37:16 +03:00
}
2020-03-08 05:20:04 +03:00
],
"comments/commentThread/context": [
{
"command": "codetour.addTourStep",
"group": "inline",
"when": "commentController == codetour && commentThreadIsEmpty"
}
],
"comments/comment/title": [
2020-03-14 22:31:16 +03:00
{
"command": "codetour.moveTourStepBack",
"group": "move@1",
2020-05-18 04:26:29 +03:00
"when": "commentController == codetour && codetour:canEditTour && commentThread =~ /hasPrevious/"
2020-03-14 22:31:16 +03:00
},
{
"command": "codetour.moveTourStepForward",
"group": "move@2",
2020-11-07 06:51:39 +03:00
"when": "commentController == codetour && codetour:canEditTour && commentThread =~ /hasNext/"
2020-07-01 04:08:06 +03:00
},
{
"command": "codetour.changeTourStepLine",
"group": "mutate@1",
"when": "commentController == codetour && codetour:canEditTour"
2020-03-08 05:20:04 +03:00
},
{
"command": "codetour.deleteTourStep",
2020-03-14 22:31:16 +03:00
"group": "mutate@2",
2020-05-18 04:26:29 +03:00
"when": "commentController == codetour && codetour:canEditTour"
2020-03-08 05:20:04 +03:00
}
],
"comments/comment/context": [
{
"command": "codetour.saveTourStep",
"group": "inline@2",
"when": "commentController == codetour && codetour:recording"
}
],
"view/title": [
2020-04-01 07:43:28 +03:00
{
"command": "codetour.hideMarkers",
"when": "view == codetour.tours && codetour:showingMarkers",
"group": "navigation@1"
},
{
"command": "codetour.showMarkers",
"when": "view == codetour.tours && !codetour:showingMarkers",
"group": "navigation@1"
},
{
"command": "codetour.openTourFile",
"when": "view == codetour.tours",
2020-04-01 07:43:28 +03:00
"group": "navigation@2"
},
2020-03-08 05:20:04 +03:00
{
"command": "codetour.recordTour",
"when": "view == codetour.tours",
2020-04-01 07:43:28 +03:00
"group": "navigation@3"
2020-03-08 05:20:04 +03:00
}
2020-03-08 17:06:53 +03:00
],
"view/item/context": [
2020-03-09 19:01:17 +03:00
{
"command": "codetour.endTour",
2020-05-18 10:04:47 +03:00
"when": "viewItem =~ /^codetour.tour(.recording)?.active/",
2020-03-15 07:14:44 +03:00
"group": "inline@1"
2020-03-09 19:01:17 +03:00
},
2020-03-08 17:06:53 +03:00
{
"command": "codetour.startTour",
2020-05-18 10:04:47 +03:00
"when": "viewItem =~ /^codetour.tour(.primary)?$/",
"group": "inline@1"
2020-03-13 22:08:10 +03:00
},
{
"command": "codetour.resumeTour",
2020-05-18 10:04:47 +03:00
"when": "viewItem =~ /^codetour.tour(.primary)?(.recording)?.active$/",
2020-03-15 07:14:44 +03:00
"group": "active@1"
2020-03-13 22:08:10 +03:00
},
{
"command": "codetour.endTour",
2020-05-18 10:04:47 +03:00
"when": "viewItem =~ /^codetour.tour(.primary)?(.recording)?.active$/",
2020-03-15 07:14:44 +03:00
"group": "active@2"
2020-03-13 22:08:10 +03:00
},
{
"command": "codetour.startTour",
2020-05-18 10:04:47 +03:00
"when": "viewItem =~ /^codetour.tour(.primary)?$/",
2020-03-13 19:11:51 +03:00
"group": "basic@1"
},
2021-05-12 22:18:04 +03:00
{
"command": "codetour.viewNotebook",
"when": "false",
"group": "basic@2"
},
2020-06-01 20:33:48 +03:00
{
"command": "codetour.addContentStep",
"when": "viewItem =~ /^codetour.tour(.primary)?.recording/",
"group": "basic@1"
},
2020-03-13 22:08:10 +03:00
{
2020-12-12 08:07:05 +03:00
"command": "codetour.resetTourProgress",
"when": "false",
2020-06-01 20:33:48 +03:00
"group": "basic@2"
2020-05-18 10:04:47 +03:00
},
{
"command": "codetour.changeTourTitle",
"when": "viewItem =~ /^codetour.tour(.primary)?(.recording)?(.active)?$/",
2020-03-13 22:08:10 +03:00
"group": "change@1"
},
2020-03-13 19:11:51 +03:00
{
"command": "codetour.changeTourDescription",
2020-05-18 10:04:47 +03:00
"when": "viewItem =~ /^codetour.tour(.primary)?(.recording)?(.active)?$/",
2020-03-13 22:08:10 +03:00
"group": "change@2"
2020-03-13 19:11:51 +03:00
},
2020-03-15 01:36:25 +03:00
{
"command": "codetour.changeTourRef",
2020-05-18 10:04:47 +03:00
"when": "viewItem =~ /^codetour.tour(.primary)?(.recording)?(.active)?$/ && gitOpenRepositoryCount != 0",
2020-03-15 01:36:25 +03:00
"group": "change@3"
},
2020-12-12 08:07:05 +03:00
{
"command": "codetour.makeTourPrimary",
"when": "viewItem =~ /^codetour.tour(.recording)?(.active)?$/",
"group": "edit@1"
},
{
"command": "codetour.unmakeTourPrimary",
"when": "viewItem =~ /^codetour.tour.primary(.recording)?(.active)?$/",
"group": "edit@2"
},
2020-03-14 22:31:16 +03:00
{
"command": "codetour.editTour",
2020-05-18 10:04:47 +03:00
"when": "viewItem =~ /^codetour.tour(.primary)?(.active)?$/",
2020-12-12 08:07:05 +03:00
"group": "edit@2"
2020-03-14 22:31:16 +03:00
},
2020-05-18 04:26:29 +03:00
{
"command": "codetour.previewTour",
2020-05-18 10:04:47 +03:00
"when": "viewItem =~ /^codetour.tour(.primary)?.recording/",
2020-12-12 08:07:05 +03:00
"group": "edit@2"
2020-05-18 04:26:29 +03:00
},
2020-03-13 19:11:51 +03:00
{
"command": "codetour.deleteTour",
2020-05-18 10:04:47 +03:00
"when": "viewItem =~ /^codetour.tour(.primary)?(.recording)?(.active)?$/",
2020-12-12 08:07:05 +03:00
"group": "edit@3"
2020-03-13 22:08:10 +03:00
},
{
"command": "codetour.exportTour",
2020-05-18 10:04:47 +03:00
"when": "viewItem =~ /^codetour.tour(.primary)?(.active)?$/",
"group": "export@1"
},
2020-03-14 18:11:19 +03:00
{
"command": "codetour.moveTourStepBack",
2020-05-18 04:26:29 +03:00
"when": "viewItem =~ /^codetour.tourStep.hasPrevious/",
2020-03-14 18:11:19 +03:00
"group": "inline@1"
},
{
"command": "codetour.moveTourStepForward",
2020-05-18 04:26:29 +03:00
"when": "viewItem =~ /codetour.tourStep.*(.hasNext)/",
2020-03-14 18:11:19 +03:00
"group": "inline@2"
},
{
"command": "codetour.moveTourStepBack",
2020-05-18 04:26:29 +03:00
"when": "viewItem =~ /^codetour.tourStep.hasPrevious/",
2020-03-14 18:11:19 +03:00
"group": "basic@1"
},
{
"command": "codetour.moveTourStepForward",
2020-05-18 04:26:29 +03:00
"when": "viewItem =~ /codetour.tourStep.*(.hasNext)/",
2020-03-14 18:11:19 +03:00
"group": "basic@2"
},
2020-05-18 04:26:29 +03:00
{
"command": "codetour.changeTourStepTitle",
"when": "viewItem =~ /^codetour.tourStep/",
"group": "change@1"
},
{
"command": "codetour.changeTourStepIcon",
"when": "viewItem =~ /^codetour.tourStep/",
"group": "change@2"
},
2021-03-10 00:02:52 +03:00
{
"command": "codetour.addContentStep",
"when": "viewItem =~ /^codetour.tourStep/ && codetour:recording",
"group": "change@2"
},
2020-03-19 20:52:49 +03:00
{
"command": "codetour.editTourAtStep",
"when": "viewItem =~ /^codetour.tourStep/ && !codetour:recording",
"group": "manage@1"
},
2020-03-13 22:08:10 +03:00
{
"command": "codetour.deleteTourStep",
2020-03-14 22:31:16 +03:00
"when": "viewItem =~ /^codetour.tourStep/",
2020-03-19 20:52:49 +03:00
"group": "manage@2"
2020-03-08 17:06:53 +03:00
}
2020-05-04 08:08:52 +03:00
],
"explorer/context": [
{
"command": "codetour.addDirectoryStep",
"when": "codetour:recording && explorerResourceIsFolder"
}
2020-07-01 04:08:06 +03:00
],
"editor/context": [
{
"command": "codetour.addSelectionStep",
"when": "codetour:recording && editorHasSelection",
"group": "codetour@1"
}
2020-03-07 21:37:16 +03:00
]
},
"views": {
"explorer": [
{
"id": "codetour.tours",
2020-03-30 02:52:08 +03:00
"name": "CodeTour",
2020-07-01 04:08:06 +03:00
"when": "workspaceFolderCount != 0 || codetour:inTour"
2020-03-07 21:37:16 +03:00
}
]
2020-03-07 21:59:01 +03:00
},
2020-05-29 19:38:04 +03:00
"viewsWelcome": [
{
"view": "codetour.tours",
"contents": "In order to create a guided walkthrough, you can begin recording a tour for the currently opened workspace ([Learn More](https://github.com/vsls-contrib/codetour#recording-tours)).\n\n[Record Tour](command:codetour.recordTour)\n\nYou can also open tours that were shared with you by others ([Learn More](https://github.com/vsls-contrib/codetour#opening-tours)).\n\n[Open Tour File](command:codetour.openTourFile)\n\n[Open Tour URL](command:codetour.openTourUrl)"
}
],
2020-03-07 21:59:01 +03:00
"jsonValidation": [
{
2020-04-15 17:52:31 +03:00
"fileMatch": "*.tour",
"url": "./schema.json"
2020-03-07 21:59:01 +03:00
}
2020-03-08 21:25:39 +03:00
],
"keybindings": [
{
"command": "codetour.previousTourStep",
"when": "codetour:inTour && !textInputFocus && !terminalFocus",
"key": "ctrl+left",
"mac": "cmd+left"
},
{
"command": "codetour.nextTourStep",
"when": "codetour:inTour && !textInputFocus && !terminalFocus",
"key": "ctrl+right",
"mac": "cmd+right"
2021-03-20 05:44:59 +03:00
},
{
"command": "codetour.endTour",
"when": "codetour:inTour && !textInputFocus && !terminalFocus",
"key": "ctrl+down ctrl+down",
"mac": "cmd+down cmd+down"
},
{
"command": "codetour.startTour",
2021-03-27 03:09:44 +03:00
"when": "!textInputFocus && !terminalFocus",
2021-03-20 05:44:59 +03:00
"key": "ctrl+up ctrl+up",
"mac": "cmd+up cmd+up"
2020-03-08 21:25:39 +03:00
}
2020-04-15 17:52:31 +03:00
],
"languages": [
{
"id": "json",
"extensions": [
".tour"
]
}
],
"notebookProvider": [
{
"viewType": "codetour",
2021-05-12 22:18:04 +03:00
"displayName": "CodeTour",
"selector": [
{
2021-05-12 22:18:04 +03:00
"filenamePattern": "*.tour-notebook"
}
]
}
2020-03-07 21:59:01 +03:00
]
2020-03-07 21:37:16 +03:00
},
"dependencies": {
2021-03-28 00:23:46 +03:00
"@types/jexl": "^2.2.0",
Upgrade packages to latest versions This upgrades nearly all packages to their latest versions. Due to the upgrades, some errors and breaking changes came up. These were fixed as follows: - Use `Partial<CodeTour>` (and appropriate conditionals) to allow deletion of the usually required `CodeTour.id` property before serialization. - Do not pass `atBegin` parameter to `debounce` anymore. The default is `false` anyway and `throttle-debounce` has made it an optional trailing parameter. Additional package notes are below. # @types/axios The `@types/axios` package is now unnecessary, as `axios` provides its own type definitions. # @types/vscode For now keep `@types/vscode` on the old version, aligned with the declared VS Code engine. # @vscode/vsce The `vsce` package is deprecated in favor of the `@vscode/vsce` package. Upgrading also helpfully resolves a security vulnerability (due to an older `markdown-it` package dependency). # tslint The `tslint` package is deprecated in favor of `eslint`. # webpack When using Node 17+, the webpack commands fail with the error `ERR_OSSL_EVP_UNSUPPORTED`. The solution given by [miken32 on StackOverflow][1] does not work with VS Code since [Electron allows only a subset of NODE_OPTIONS][2]. We should instead upgrade to the latest webpack which works properly with OpenSSL 3. [1]: https://stackoverflow.com/questions/70582072/npm-run-fails-with-err-ossl-evp-unsupported/70582385#70582385 [2]: https://github.com/electron/electron/blob/main/docs/api/environment-variables.md#node_options
2023-03-16 05:34:57 +03:00
"axios": "^0.21.4",
2021-03-28 00:23:46 +03:00
"jexl": "^2.3.0",
2020-08-08 01:34:16 +03:00
"mobx": "^5.14.2",
Upgrade packages to latest versions This upgrades nearly all packages to their latest versions. Due to the upgrades, some errors and breaking changes came up. These were fixed as follows: - Use `Partial<CodeTour>` (and appropriate conditionals) to allow deletion of the usually required `CodeTour.id` property before serialization. - Do not pass `atBegin` parameter to `debounce` anymore. The default is `false` anyway and `throttle-debounce` has made it an optional trailing parameter. Additional package notes are below. # @types/axios The `@types/axios` package is now unnecessary, as `axios` provides its own type definitions. # @types/vscode For now keep `@types/vscode` on the old version, aligned with the declared VS Code engine. # @vscode/vsce The `vsce` package is deprecated in favor of the `@vscode/vsce` package. Upgrading also helpfully resolves a security vulnerability (due to an older `markdown-it` package dependency). # tslint The `tslint` package is deprecated in favor of `eslint`. # webpack When using Node 17+, the webpack commands fail with the error `ERR_OSSL_EVP_UNSUPPORTED`. The solution given by [miken32 on StackOverflow][1] does not work with VS Code since [Electron allows only a subset of NODE_OPTIONS][2]. We should instead upgrade to the latest webpack which works properly with OpenSSL 3. [1]: https://stackoverflow.com/questions/70582072/npm-run-fails-with-err-ossl-evp-unsupported/70582385#70582385 [2]: https://github.com/electron/electron/blob/main/docs/api/environment-variables.md#node_options
2023-03-16 05:34:57 +03:00
"os-browserify": "0.3.0",
"path-browserify": "1.0.1",
2021-03-27 03:09:44 +03:00
"throttle-debounce": "^3.0.1",
2020-08-08 01:34:16 +03:00
"vsls": "^1.0.2532"
2020-03-07 21:37:16 +03:00
},
"devDependencies": {
Upgrade packages to latest versions This upgrades nearly all packages to their latest versions. Due to the upgrades, some errors and breaking changes came up. These were fixed as follows: - Use `Partial<CodeTour>` (and appropriate conditionals) to allow deletion of the usually required `CodeTour.id` property before serialization. - Do not pass `atBegin` parameter to `debounce` anymore. The default is `false` anyway and `throttle-debounce` has made it an optional trailing parameter. Additional package notes are below. # @types/axios The `@types/axios` package is now unnecessary, as `axios` provides its own type definitions. # @types/vscode For now keep `@types/vscode` on the old version, aligned with the declared VS Code engine. # @vscode/vsce The `vsce` package is deprecated in favor of the `@vscode/vsce` package. Upgrading also helpfully resolves a security vulnerability (due to an older `markdown-it` package dependency). # tslint The `tslint` package is deprecated in favor of `eslint`. # webpack When using Node 17+, the webpack commands fail with the error `ERR_OSSL_EVP_UNSUPPORTED`. The solution given by [miken32 on StackOverflow][1] does not work with VS Code since [Electron allows only a subset of NODE_OPTIONS][2]. We should instead upgrade to the latest webpack which works properly with OpenSSL 3. [1]: https://stackoverflow.com/questions/70582072/npm-run-fails-with-err-ossl-evp-unsupported/70582385#70582385 [2]: https://github.com/electron/electron/blob/main/docs/api/environment-variables.md#node_options
2023-03-16 05:34:57 +03:00
"@types/node": "^18.14.0",
"@types/throttle-debounce": "^5.0.0",
"@types/vscode": "^1.60",
"@vscode/vsce": "^2.17.0",
"debug": "^4.3.4",
"eslint": "^8.34.0",
"ts-loader": "^9.4.2",
"typescript": "^4.9.5",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1",
"webpack-merge": "^5.8.0"
2020-03-07 21:37:16 +03:00
},
"scripts": {
"build": "webpack --mode production",
2020-05-22 20:12:21 +03:00
"vscode:prepublish": "npm run build",
Upgrade packages to latest versions This upgrades nearly all packages to their latest versions. Due to the upgrades, some errors and breaking changes came up. These were fixed as follows: - Use `Partial<CodeTour>` (and appropriate conditionals) to allow deletion of the usually required `CodeTour.id` property before serialization. - Do not pass `atBegin` parameter to `debounce` anymore. The default is `false` anyway and `throttle-debounce` has made it an optional trailing parameter. Additional package notes are below. # @types/axios The `@types/axios` package is now unnecessary, as `axios` provides its own type definitions. # @types/vscode For now keep `@types/vscode` on the old version, aligned with the declared VS Code engine. # @vscode/vsce The `vsce` package is deprecated in favor of the `@vscode/vsce` package. Upgrading also helpfully resolves a security vulnerability (due to an older `markdown-it` package dependency). # tslint The `tslint` package is deprecated in favor of `eslint`. # webpack When using Node 17+, the webpack commands fail with the error `ERR_OSSL_EVP_UNSUPPORTED`. The solution given by [miken32 on StackOverflow][1] does not work with VS Code since [Electron allows only a subset of NODE_OPTIONS][2]. We should instead upgrade to the latest webpack which works properly with OpenSSL 3. [1]: https://stackoverflow.com/questions/70582072/npm-run-fails-with-err-ossl-evp-unsupported/70582385#70582385 [2]: https://github.com/electron/electron/blob/main/docs/api/environment-variables.md#node_options
2023-03-16 05:34:57 +03:00
"watch": "webpack --mode development --watch",
2020-04-03 17:52:50 +03:00
"package": "vsce package"
2020-04-06 00:22:14 +03:00
},
"prettier": {
"arrowParens": "avoid",
"trailingComma": "none"
2020-04-19 23:48:56 +03:00
}
}