Skip to content

Commit caeeb79

Browse files
committed
updated some variables
1 parent e570238 commit caeeb79

2 files changed

Lines changed: 89 additions & 93 deletions

File tree

package.json

Lines changed: 88 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -1,93 +1,89 @@
11
{
2-
"name": "commit-extension",
3-
"publisher": "vscode",
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-
"onCommand:commit-extension.viewProjects",
23-
"onCommand:commit-extension.addSubscriptions",
24-
"onCommand:commit-extension.setDefaultProject",
25-
"onCommand:commit-extension.shareProject",
26-
"onCommand:commit-extension.shareProjectUpdate"
27-
],
28-
"main": "./dist/extension.js",
29-
"contributes": {
30-
"commands": [{
31-
"command": "commit-extension.viewProjects",
32-
"title": "Commit: View Projects"
33-
},
34-
{
35-
"command": "commit-extension.addSubscriptions",
36-
"title": "Commit: Subscribe to ..."
37-
},
38-
{
39-
"command": "commit-extension.setDefaultProject",
40-
"title": "Commit: Set default project for workspace"
41-
},
42-
{
43-
"command": "commit-extension.shareProject",
44-
"title": "Commit: Share a Project"
45-
},
46-
{
47-
"command": "commit-extension.shareProjectUpdate",
48-
"title": "Commit: Share Project Updates"
49-
}
50-
]
51-
},
52-
"scripts": {
53-
"vscode:prepublish": "npm run package",
54-
"compile": "webpack",
55-
"watch": "webpack --watch",
56-
"package": "webpack --mode production --devtool hidden-source-map",
57-
"compile-tests": "tsc -p . --outDir out",
58-
"watch-tests": "tsc -p . -w --outDir out",
59-
"pretest": "npm run compile-tests && npm run compile && npm run lint",
60-
"lint": "eslint src --ext ts",
61-
"test": "node ./out/test/runTest.js"
62-
},
63-
"devDependencies": {
64-
"@types/glob": "^8.0.0",
65-
"@types/mocha": "^10.0.0",
66-
"@types/node": "16.x",
67-
"@types/uuid": "^8.3.4",
68-
"@types/vscode": "^1.73.0",
69-
"@types/ws": "^8.5.3",
70-
"@typescript-eslint/eslint-plugin": "^5.42.0",
71-
"@typescript-eslint/parser": "^5.42.0",
72-
"@vscode/test-electron": "^2.2.0",
73-
"eslint": "^8.26.0",
74-
"glob": "^8.0.3",
75-
"html-loader": "^4.2.0",
76-
"mocha": "^10.1.0",
77-
"ts-loader": "^9.4.1",
78-
"typescript": "^4.8.4",
79-
"webpack": "^5.74.0",
80-
"webpack-cli": "^4.10.0"
81-
},
82-
"dependencies": {
83-
"@apollo/client": "^3.7.1",
84-
"axios": "^1.1.3",
85-
"cross-fetch": "^3.1.5",
86-
"graphql": "^16.6.0",
87-
"graphql-ws": "^5.11.2",
88-
"jwt-decode": "^3.1.2",
89-
"node-fetch": "^3.2.10",
90-
"uuid": "^9.0.0",
91-
"ws": "^8.11.0"
92-
}
93-
}
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+
}
89+
}

src/common/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ export const COMMIT_API_BASE_URL = process.env.COMMIT_API_BASE_URL;
44
export const COMMIT_APP_BASE_URL = process.env.COMMIT_APP_BASE_URL;
55
export const COMMIT_AUTH0_DOMAIN = process.env.COMMIT_AUTH0_DOMAIN;
66
export const COMMIT_CLIENT_ID = process.env.COMMIT_CLIENT_ID;
7-
export const COMMIT_PROJECT_UDPATE_NOTIFICATION_INTERVAL = 1; // 1 minute
7+
export const COMMIT_PROJECT_UDPATE_NOTIFICATION_INTERVAL = 1000 * 60 * 60 * 24; // 1 day

0 commit comments

Comments
 (0)