bw-hspc-contest-env/extension/bwcontest/package.json

144 lines
3.6 KiB
JSON
Raw Normal View History

2023-05-04 22:09:35 -04:00
{
2023-05-04 22:32:46 -04:00
"name": "bwcontest",
"displayName": "BWContest",
"description": "The student extension for BW's HSPC",
"version": "0.0.1",
"engines": {
2024-03-12 12:55:41 -04:00
"vscode": "^1.87.0"
2023-05-04 22:32:46 -04:00
},
"categories": [
"Other"
],
2024-03-05 19:31:11 -05:00
"activationEvents": [
"onStartupFinished"
],
2023-08-26 15:48:29 -04:00
"main": "./out/main.js",
2023-05-04 22:32:46 -04:00
"contributes": {
2023-05-06 11:33:10 -04:00
"configuration": {
"title": "BWContest",
"properties": {
"BWContest.repoBaseUrl": {
"type": "string",
"default": "",
"description": "Base URL for where to clone repos from"
},
2023-08-26 10:33:31 -04:00
"BWContest.webUrl": {
"type": "string",
"default": "",
"description": "URL for the contest website"
},
2023-05-06 11:33:10 -04:00
"BWContest.repoClonePath": {
"type": "string",
"default": "",
"description": "The path where the repos are cloned to"
2023-05-07 16:30:42 -04:00
},
"BWContest.javaPath": {
"type": "string",
"default": "",
"description": "Path of java bin folder"
VSCode Extension: Sidebar UI showing team's submissions, automatically updating and showing alerts as submissions are judged (#14) * Add an Output Panel channel named "BWContest Log" * Allow client logout when no contest And make login/logout error messages clearer * Show contest name & team name in Code extension side panel * submission icons for sidebar panel * Start VSCode extension "onStartupFinished" instead of waiting for Sidebar to be opened * VSCode: Sidebar UI for up-to-date problem/submissions status - VSCode: poll API every 30 seconds to get contest metadata and all submission metadata for the logged in team - The Sidebar now shows all problems in the contest, along with their submissions and overall status, which automatically updates as submissions are submitted & judged - Web: "contestState" API to get all info for an activeTeam via their token - Update submit API to return the submission id, allowing the VSCode UI to immediately render it as Pending without waiting for a polling cycle - * Add "Compilation Failed" message to submissions that fail to build * Contest Import - Option to create repos & immediately activate the imported contest Useful for testing with old contests (including the submissions) * Test/Submit panel, use fixed-width font in input/output areas * Fix build error for 'pluralize' * Clear all state & halt polling loops on logout, restart them on login * Improve the debug fastPolling option - Toggleable via package.json config - Setting the option changes the initial state as well as ability to toggle states * Web project 'npm run format'
2024-03-05 17:50:16 -05:00
},
"BWContest.debugFastPolling": {
"type": "boolean",
"default": false,
"description": "Enables fast polling, with a command to toggle frequency"
2023-05-06 11:33:10 -04:00
}
}
},
2023-05-06 00:01:27 -04:00
"viewsContainers": {
"activitybar": [
{
"id": "bwcontest-sidebar-view",
"title": "BWContest",
"icon": "media/icon.png"
}
]
},
"views": {
"bwcontest-sidebar-view": [
{
"type": "webview",
"id": "bwcontest-sidebar",
"name": "BWContest",
"icon": "media/icon.png",
"contextualTitle": "BWContest"
}
]
},
VSCode Extension: Sidebar UI showing team's submissions, automatically updating and showing alerts as submissions are judged (#14) * Add an Output Panel channel named "BWContest Log" * Allow client logout when no contest And make login/logout error messages clearer * Show contest name & team name in Code extension side panel * submission icons for sidebar panel * Start VSCode extension "onStartupFinished" instead of waiting for Sidebar to be opened * VSCode: Sidebar UI for up-to-date problem/submissions status - VSCode: poll API every 30 seconds to get contest metadata and all submission metadata for the logged in team - The Sidebar now shows all problems in the contest, along with their submissions and overall status, which automatically updates as submissions are submitted & judged - Web: "contestState" API to get all info for an activeTeam via their token - Update submit API to return the submission id, allowing the VSCode UI to immediately render it as Pending without waiting for a polling cycle - * Add "Compilation Failed" message to submissions that fail to build * Contest Import - Option to create repos & immediately activate the imported contest Useful for testing with old contests (including the submissions) * Test/Submit panel, use fixed-width font in input/output areas * Fix build error for 'pluralize' * Clear all state & halt polling loops on logout, restart them on login * Improve the debug fastPolling option - Toggleable via package.json config - Setting the option changes the initial state as well as ability to toggle states * Web project 'npm run format'
2024-03-05 17:50:16 -05:00
"commands": [
{
"command": "bwcontest.toggleFastPolling",
"title": "BWContest Developer: Toggle Fast Polling"
},
{
"command": "bwcontest.refreshState",
"title": "Refresh"
},
{
"command": "bwcontest.showTestSubmitPage",
"title": "BWContest: Show Test/Submit Page"
VSCode Extension: Sidebar UI showing team's submissions, automatically updating and showing alerts as submissions are judged (#14) * Add an Output Panel channel named "BWContest Log" * Allow client logout when no contest And make login/logout error messages clearer * Show contest name & team name in Code extension side panel * submission icons for sidebar panel * Start VSCode extension "onStartupFinished" instead of waiting for Sidebar to be opened * VSCode: Sidebar UI for up-to-date problem/submissions status - VSCode: poll API every 30 seconds to get contest metadata and all submission metadata for the logged in team - The Sidebar now shows all problems in the contest, along with their submissions and overall status, which automatically updates as submissions are submitted & judged - Web: "contestState" API to get all info for an activeTeam via their token - Update submit API to return the submission id, allowing the VSCode UI to immediately render it as Pending without waiting for a polling cycle - * Add "Compilation Failed" message to submissions that fail to build * Contest Import - Option to create repos & immediately activate the imported contest Useful for testing with old contests (including the submissions) * Test/Submit panel, use fixed-width font in input/output areas * Fix build error for 'pluralize' * Clear all state & halt polling loops on logout, restart them on login * Improve the debug fastPolling option - Toggleable via package.json config - Setting the option changes the initial state as well as ability to toggle states * Web project 'npm run format'
2024-03-05 17:50:16 -05:00
}
],
"menus": {
"view/title": [
{
"command": "bwcontest.refreshState",
"group": "navigation",
"when": "view == bwcontest-sidebar"
}
]
}
2023-05-04 22:32:46 -04:00
},
"scripts": {
"vscode:prepublish": "npm run compile",
2024-03-11 20:23:57 -04:00
"check": "tsc -noEmit",
2023-08-26 15:48:29 -04:00
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"compile": "rollup -c && npm run esbuild-base -- --minify",
2023-10-15 18:35:49 -04:00
"format": "prettier --plugin prettier-plugin-svelte --write .",
2023-10-16 13:51:50 -04:00
"watch": "concurrently \"rollup -c -w\" \"npm run esbuild-base -- --sourcemap --watch\"",
"lint": "prettier --plugin prettier-plugin-svelte --check . && eslint ."
2023-05-04 22:32:46 -04:00
},
"devDependencies": {
2023-10-15 18:35:49 -04:00
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
2024-01-15 15:39:36 -05:00
"@rollup/plugin-typescript": "^11.1.6",
2023-08-26 15:09:14 -04:00
"@tsconfig/svelte": "^5.0.2",
2024-01-15 15:39:36 -05:00
"@types/fs-extra": "^11.0.4",
2023-05-04 22:32:46 -04:00
"@types/glob": "^8.1.0",
2024-01-15 15:39:36 -05:00
"@types/mocha": "^10.0.6",
2023-08-26 15:48:29 -04:00
"@types/node": "20.x",
2024-03-12 12:55:41 -04:00
"@types/vscode": "^1.87.0",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@vscode/test-electron": "^2.3.9",
2023-11-05 21:09:47 -05:00
"concurrently": "^8.2.2",
2024-03-12 12:55:41 -04:00
"esbuild": "^0.20.1",
"eslint": "^8.57.0",
2024-01-15 15:39:36 -05:00
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.35.1",
2023-10-02 13:38:53 -04:00
"glob": "^10.3.10",
2024-03-12 12:55:41 -04:00
"mocha": "^10.3.0",
"postcss": "^8.4.35",
"prettier": "^3.2.5",
"prettier-plugin-svelte": "^3.2.2",
2024-01-15 15:39:36 -05:00
"rollup-plugin-css-only": "^4.5.2",
2023-05-06 00:01:27 -04:00
"rollup-plugin-postcss": "^4.0.2",
2024-03-12 12:55:41 -04:00
"rollup-plugin-svelte": "^7.2.0",
"svelte": "^4.2.12",
"svelte-check": "^3.6.7",
2024-01-15 15:39:36 -05:00
"svelte-preprocess": "^5.1.3",
2024-03-12 12:55:41 -04:00
"typescript": "^5.4.2"
2023-05-06 00:01:27 -04:00
},
"dependencies": {
2024-03-12 12:55:41 -04:00
"@vscode/vsce": "^2.24.0",
"axios": "^1.6.7",
2024-03-12 12:11:59 -04:00
"bwcontest-shared": "file:../../shared",
2024-01-15 15:39:36 -05:00
"fs-extra": "^11.2.0",
2024-03-12 12:55:41 -04:00
"isomorphic-git": "^1.25.6",
2023-10-15 18:35:49 -04:00
"tree-kill": "^1.2.2",
2023-10-16 13:51:50 -04:00
"url-join": "^5.0.0",
"zod": "^3.22.4"
2023-05-04 22:32:46 -04:00
}
2023-05-04 22:09:35 -04:00
}