Skip to content

Commit 07ed66f

Browse files
committed
removed subscription command
1 parent fa3a111 commit 07ed66f

2 files changed

Lines changed: 83 additions & 89 deletions

File tree

package.json

Lines changed: 83 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1,89 +1,85 @@
11
{
2-
"name": "commit-extension",
3-
"publisher": "Commit",
4-
"repository": {
5-
"type": "git",
6-
"url": "https://github.com/commitdev/vscode-extension"
7-
},
8-
"author": {
9-
"name": "Daman Dhillon"
10-
},
11-
"displayName": "Commit Extension",
12-
"description": "Allow developers to log work on Commit Projects as Latest Updates",
13-
"version": "0.0.4",
14-
"engines": {
15-
"vscode": "^1.73.0"
16-
},
17-
"categories": [
18-
"Other"
19-
],
20-
"activationEvents": [
21-
"onStartupFinished"
22-
],
23-
"main": "./dist/extension.js",
24-
"contributes": {
25-
"commands": [
26-
{
27-
"command": "commit-extension.viewProjects",
28-
"title": "Commit: View Projects"
29-
},
30-
{
31-
"command": "commit-extension.addSubscriptions",
32-
"title": "Commit: Subscribe to ..."
33-
},
34-
{
35-
"command": "commit-extension.setDefaultProject",
36-
"title": "Commit: Set default project for workspace"
37-
},
38-
{
39-
"command": "commit-extension.shareProject",
40-
"title": "Commit: Share a Project"
41-
},
42-
{
43-
"command": "commit-extension.shareProjectUpdate",
44-
"title": "Commit: Share Project Updates"
45-
}
46-
]
47-
},
48-
"scripts": {
49-
"vscode:prepublish": "npm run package",
50-
"compile": "webpack",
51-
"watch": "webpack --watch",
52-
"package": "webpack --mode production --devtool hidden-source-map",
53-
"compile-tests": "tsc -p . --outDir out",
54-
"watch-tests": "tsc -p . -w --outDir out",
55-
"pretest": "npm run compile-tests && npm run compile && npm run lint",
56-
"lint": "eslint src --ext ts",
57-
"test": "node ./out/test/runTest.js"
58-
},
59-
"devDependencies": {
60-
"@types/glob": "^8.0.0",
61-
"@types/mocha": "^10.0.0",
62-
"@types/node": "16.x",
63-
"@types/uuid": "^8.3.4",
64-
"@types/vscode": "^1.73.0",
65-
"@types/ws": "^8.5.3",
66-
"@typescript-eslint/eslint-plugin": "^5.42.0",
67-
"@typescript-eslint/parser": "^5.42.0",
68-
"@vscode/test-electron": "^2.2.0",
69-
"eslint": "^8.26.0",
70-
"glob": "^8.0.3",
71-
"html-loader": "^4.2.0",
72-
"mocha": "^10.1.0",
73-
"ts-loader": "^9.4.1",
74-
"typescript": "^4.8.4",
75-
"webpack": "^5.74.0",
76-
"webpack-cli": "^4.10.0"
77-
},
78-
"dependencies": {
79-
"@apollo/client": "^3.7.1",
80-
"axios": "^1.1.3",
81-
"cross-fetch": "^3.1.5",
82-
"graphql": "^16.6.0",
83-
"graphql-ws": "^5.11.2",
84-
"jwt-decode": "^3.1.2",
85-
"node-fetch": "^3.2.10",
86-
"uuid": "^9.0.0",
87-
"ws": "^8.11.0"
88-
}
2+
"name": "commit-extension",
3+
"publisher": "Commit",
4+
"repository": {
5+
"type": "git",
6+
"url": "https://github.com/commitdev/vscode-extension"
7+
},
8+
"author": {
9+
"name": "Daman Dhillon"
10+
},
11+
"displayName": "Commit Extension",
12+
"description": "Allow developers to log work on Commit Projects as Latest Updates",
13+
"version": "0.0.4",
14+
"engines": {
15+
"vscode": "^1.73.0"
16+
},
17+
"categories": [
18+
"Other"
19+
],
20+
"activationEvents": [
21+
"onStartupFinished"
22+
],
23+
"main": "./dist/extension.js",
24+
"contributes": {
25+
"commands": [
26+
{
27+
"command": "commit-extension.viewProjects",
28+
"title": "Commit: View Projects"
29+
},
30+
{
31+
"command": "commit-extension.setDefaultProject",
32+
"title": "Commit: Set default project for workspace"
33+
},
34+
{
35+
"command": "commit-extension.shareProject",
36+
"title": "Commit: Share a Project"
37+
},
38+
{
39+
"command": "commit-extension.shareProjectUpdate",
40+
"title": "Commit: Share Project Updates"
41+
}
42+
]
43+
},
44+
"scripts": {
45+
"vscode:prepublish": "npm run package",
46+
"compile": "webpack",
47+
"watch": "webpack --watch",
48+
"package": "webpack --mode production --devtool hidden-source-map",
49+
"compile-tests": "tsc -p . --outDir out",
50+
"watch-tests": "tsc -p . -w --outDir out",
51+
"pretest": "npm run compile-tests && npm run compile && npm run lint",
52+
"lint": "eslint src --ext ts",
53+
"test": "node ./out/test/runTest.js"
54+
},
55+
"devDependencies": {
56+
"@types/glob": "^8.0.0",
57+
"@types/mocha": "^10.0.0",
58+
"@types/node": "16.x",
59+
"@types/uuid": "^8.3.4",
60+
"@types/vscode": "^1.73.0",
61+
"@types/ws": "^8.5.3",
62+
"@typescript-eslint/eslint-plugin": "^5.42.0",
63+
"@typescript-eslint/parser": "^5.42.0",
64+
"@vscode/test-electron": "^2.2.0",
65+
"eslint": "^8.26.0",
66+
"glob": "^8.0.3",
67+
"html-loader": "^4.2.0",
68+
"mocha": "^10.1.0",
69+
"ts-loader": "^9.4.1",
70+
"typescript": "^4.8.4",
71+
"webpack": "^5.74.0",
72+
"webpack-cli": "^4.10.0"
73+
},
74+
"dependencies": {
75+
"@apollo/client": "^3.7.1",
76+
"axios": "^1.1.3",
77+
"cross-fetch": "^3.1.5",
78+
"graphql": "^16.6.0",
79+
"graphql-ws": "^5.11.2",
80+
"jwt-decode": "^3.1.2",
81+
"node-fetch": "^3.2.10",
82+
"uuid": "^9.0.0",
83+
"ws": "^8.11.0"
84+
}
8985
}

src/extension.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { Auth0AuthProvider } from "./authProviders/authProvider";
44
import setDefaultProject from "./commands/commit/setDefaultProject";
55
import shareProject from "./commands/commit/shareProject";
66
import shareProjectUpdate from "./commands/commit/shareProjectUpdate";
7-
import addSubscriptions from "./commands/commit/subscriptions";
87
import viewProjects from "./commands/commit/viewProjects";
98
import { CommitAPI } from "./commitAPI";
109
import { COMMIT_AUTH_TYPE } from "./common/constants";
@@ -36,7 +35,6 @@ export async function activate(this: any, context: vscode.ExtensionContext) {
3635
// Setup up Commit Commands
3736
const commands = [
3837
setDefaultProject,
39-
addSubscriptions,
4038
viewProjects,
4139
shareProject,
4240
shareProjectUpdate,

0 commit comments

Comments
 (0)