-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade deps and dont show alert when no input given
- Loading branch information
Showing
8 changed files
with
4,445 additions
and
1,127 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,73 @@ | ||
{ | ||
"name": "jwt", | ||
"displayName": "jwt decode", | ||
"description": "Decode JWT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/florian42/jwt" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/florian42/jwt/issues" | ||
}, | ||
"version": "0.0.1", | ||
"publisher": "florian", | ||
"keywords": [ | ||
"jwt" | ||
], | ||
"engines": { | ||
"vscode": "^1.53.0" | ||
}, | ||
"categories": [ | ||
"Other" | ||
], | ||
"activationEvents": [ | ||
"onCommand:jwt.decode" | ||
], | ||
"main": "./dist/extension.js", | ||
"contributes": { | ||
"commands": [ | ||
{ | ||
"command": "jwt.decode", | ||
"title": "JWT Decode" | ||
} | ||
] | ||
}, | ||
"scripts": { | ||
"vscode:prepublish": "webpack --mode production", | ||
"webpack": "webpack --mode development", | ||
"webpack-dev": "webpack --mode development --watch", | ||
"compile": "tsc -p ./", | ||
"watch": "tsc -watch -p ./", | ||
"pretest": "npm run compile && npm run lint", | ||
"lint": "eslint src --ext ts", | ||
"test": "node ./out/test/runTest.js" | ||
}, | ||
"devDependencies": { | ||
"@types/glob": "^7.1.3", | ||
"@types/mocha": "^8.0.4", | ||
"@types/node": "^12.11.7", | ||
"@types/sinon": "^9.0.10", | ||
"@types/vscode": "^1.53.0", | ||
"@typescript-eslint/eslint-plugin": "^4.14.1", | ||
"@typescript-eslint/parser": "^4.14.1", | ||
"eslint": "^7.19.0", | ||
"glob": "^7.1.6", | ||
"mocha": "^8.2.1", | ||
"ts-loader": "^8.0.17", | ||
"typescript": "^4.1.3", | ||
"vscode-test": "^1.5.0", | ||
"webpack": "^5.23.0", | ||
"webpack-cli": "^4.5.0" | ||
}, | ||
"dependencies": { | ||
"jose": "^3.6.2", | ||
"sinon": "^9.2.4" | ||
}, | ||
"license": "Apache 2.0" | ||
} | ||
"name": "jwt", | ||
"displayName": "JWT Decode", | ||
"description": "Decode JWT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/florian42/jwt" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/florian42/jwt/issues" | ||
}, | ||
"version": "0.0.2", | ||
"publisher": "florian", | ||
"keywords": [ | ||
"jwt" | ||
], | ||
"engines": { | ||
"vscode": "^1.68.0" | ||
}, | ||
"categories": [ | ||
"Other" | ||
], | ||
"activationEvents": [ | ||
"onCommand:jwt.decode" | ||
], | ||
"main": "./dist/extension.js", | ||
"contributes": { | ||
"commands": [ | ||
{ | ||
"command": "jwt.decode", | ||
"title": "JWT Decode" | ||
} | ||
] | ||
}, | ||
"scripts": { | ||
"vscode:prepublish": "webpack --mode production", | ||
"webpack": "webpack --mode development", | ||
"webpack-dev": "webpack --mode development --watch", | ||
"compile": "tsc -p ./", | ||
"watch": "tsc -watch -p ./", | ||
"pretest": "npm run compile && npm run lint", | ||
"lint": "eslint src --ext ts", | ||
"test": "node ./dist/test/runTest.js" | ||
}, | ||
"devDependencies": { | ||
"@types/glob": "^7.2.0", | ||
"@types/mocha": "^9.1.1", | ||
"@types/node": "^18.0.0", | ||
"@types/sinon": "^10.0.11", | ||
"@types/vscode": "^1.68.0", | ||
"@typescript-eslint/eslint-plugin": "^5.28.0", | ||
"@typescript-eslint/parser": "^5.28.0", | ||
"eslint": "^8.18.0", | ||
"glob": "^8.0.3", | ||
"mocha": "^10.0.0", | ||
"ts-loader": "^9.3.0", | ||
"typescript": "^4.7.4", | ||
"@vscode/test-electron": "^2.1.4", | ||
"webpack": "^5.73.0", | ||
"webpack-cli": "^4.10.0" | ||
}, | ||
"dependencies": { | ||
"jose": "^4.8.1", | ||
"sinon": "^14.0.0" | ||
}, | ||
"license": "Apache 2.0", | ||
"__metadata": { | ||
"id": "3a8e2455-6a2e-4006-a99b-a14a4d2fcec3", | ||
"publisherDisplayName": "Florian", | ||
"publisherId": "bd443fac-0c42-40d0-a8f3-747c28ec3be7", | ||
"isPreReleaseVersion": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,24 @@ | ||
import * as path from "path"; | ||
import * as path from 'path'; | ||
|
||
import { downloadAndUnzipVSCode, runTests } from "vscode-test"; | ||
import { runTests } from '@vscode/test-electron'; | ||
|
||
async function main() { | ||
try { | ||
// The folder containing the Extension Manifest package.json | ||
// Passed to `--extensionDevelopmentPath` | ||
const extensionDevelopmentPath = path.resolve(__dirname, "../../"); | ||
const extensionDevelopmentPath = path.resolve(__dirname, '../../'); | ||
|
||
// The path to test runner | ||
// The path to the extension test runner script | ||
// Passed to --extensionTestsPath | ||
const extensionTestsPath = path.resolve(__dirname, "./suite/index"); | ||
const extensionTestsPath = path.resolve(__dirname, './suite/index'); | ||
|
||
const vscodeExecutablePath = await downloadAndUnzipVSCode("1.53.1"); // Download VS Code, unzip it and run the integration test | ||
await runTests({ | ||
extensionDevelopmentPath, | ||
vscodeExecutablePath, | ||
extensionTestsPath, | ||
}); | ||
// Download VS Code, unzip it and run the integration test | ||
await runTests({ extensionDevelopmentPath, extensionTestsPath }); | ||
} catch (err) { | ||
console.error("Failed to run tests"); | ||
console.error(err); | ||
console.error('Failed to run tests'); | ||
process.exit(1); | ||
} | ||
} | ||
|
||
main(); | ||
main(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters