-
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.
- Loading branch information
Corentin Mors
committed
May 23, 2024
1 parent
dadd04f
commit d05ac6b
Showing
24 changed files
with
1,434 additions
and
357 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
push: | ||
branches: | ||
- main | ||
release: | ||
types: | ||
- created | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Install Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18.x | ||
- run: yarn | ||
- run: xvfb-run -a yarn test | ||
if: runner.os == 'Linux' | ||
- run: yarn test | ||
if: runner.os != 'Linux' | ||
- name: Publish | ||
if: success() && startsWith(github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest' | ||
run: yarn deploy | ||
env: | ||
VSCE_PAT: ${{ secrets.VSCE_PAT }} |
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 |
---|---|---|
|
@@ -3,4 +3,4 @@ dist | |
node_modules | ||
.vscode-test/ | ||
*.vsix | ||
**/.DS_Store | ||
**/.DS_Store |
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,8 +1,5 @@ | ||
{ | ||
// See http://go.microsoft.com/fwlink/?LinkId=827846 | ||
// for the documentation about the extensions.json format | ||
"recommendations": [ | ||
"dbaeumer.vscode-eslint", | ||
"ms-vscode.extension-test-runner" | ||
] | ||
// See http://go.microsoft.com/fwlink/?LinkId=827846 | ||
// for the documentation about the extensions.json format | ||
"recommendations": ["dbaeumer.vscode-eslint", "ms-vscode.extension-test-runner"] | ||
} |
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,20 +1,20 @@ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"type": "npm", | ||
"script": "watch", | ||
"problemMatcher": "$tsc-watch", | ||
"isBackground": true, | ||
"presentation": { | ||
"reveal": "never" | ||
}, | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
} | ||
} | ||
] | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"type": "npm", | ||
"script": "watch", | ||
"problemMatcher": "$tsc-watch", | ||
"isBackground": true, | ||
"presentation": { | ||
"reveal": "never" | ||
}, | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
} | ||
} | ||
] | ||
} |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,72 +1,93 @@ | ||
{ | ||
"name": "dashlane-vscode", | ||
"displayName": "dashlane-vscode", | ||
"description": "Use Dashlane CLI from VS Code", | ||
"version": "0.0.1", | ||
"publisher": "Dashlane", | ||
"repository": { | ||
"url": "https://github.com/Dashlane/dashlane-vscode" | ||
}, | ||
"engines": { | ||
"vscode": "^1.86.0" | ||
}, | ||
"categories": [ | ||
"Other" | ||
], | ||
"activationEvents": [], | ||
"main": "./out/extension.js", | ||
"contributes": { | ||
"commands": [ | ||
{ | ||
"command": "dashlane-vscode.sync", | ||
"title": "Dashlane: Sync" | ||
}, | ||
{ | ||
"command": "dashlane-vscode.logout", | ||
"title": "Dashlane: Logout" | ||
}, | ||
{ | ||
"command": "dashlane-vscode.getPassword", | ||
"title": "Dashlane: Get Password" | ||
}, | ||
{ | ||
"command": "dashlane-vscode.getNote", | ||
"title": "Dashlane: Get Note" | ||
} | ||
"name": "dashlane-vscode", | ||
"displayName": "dashlane-vscode", | ||
"description": "Use Dashlane CLI from VS Code", | ||
"version": "1.0.0", | ||
"publisher": "Dashlane", | ||
"license": "Apache-2.0", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/Dashlane/dashlane-vscode" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/Dashlane/dashlane-vscode/issues" | ||
}, | ||
"homepage": "https://dashlane.github.io/dashlane-cli", | ||
"engines": { | ||
"vscode": "^1.86.0" | ||
}, | ||
"categories": [ | ||
"Snippets", | ||
"Other" | ||
], | ||
"configuration": { | ||
"title": "Dashlane", | ||
"properties": { | ||
"dashlane-vscode.shell": { | ||
"type": "string", | ||
"default": null, | ||
"description": "The shell path or a login-shell to override Dashlane CLI process default shell (see Node child_process.spawn()) for more detail)" | ||
}, | ||
"dashlane-vscode.cli": { | ||
"type": "string", | ||
"default": "dcli", | ||
"description": "The path to the Dashlane-CLI binary (resolvable from $PATH)" | ||
"keywords": [ | ||
"dashlane", | ||
"password", | ||
"cli", | ||
"vscode" | ||
], | ||
"icon": "images/icon.png", | ||
"galleryBanner": { | ||
"color": "#0b6476", | ||
"theme": "dark" | ||
}, | ||
"activationEvents": [], | ||
"main": "./out/extension.js", | ||
"contributes": { | ||
"commands": [ | ||
{ | ||
"command": "dashlane-vscode.sync", | ||
"title": "Dashlane: Sync" | ||
}, | ||
{ | ||
"command": "dashlane-vscode.logout", | ||
"title": "Dashlane: Logout" | ||
}, | ||
{ | ||
"command": "dashlane-vscode.getPassword", | ||
"title": "Dashlane: Get Password" | ||
}, | ||
{ | ||
"command": "dashlane-vscode.getNote", | ||
"title": "Dashlane: Get Note" | ||
} | ||
], | ||
"configuration": { | ||
"title": "Dashlane", | ||
"properties": { | ||
"dashlane-vscode.shell": { | ||
"type": "string", | ||
"default": null, | ||
"description": "The shell path or a login-shell to override Dashlane CLI process default shell (see Node child_process.spawn()) for more detail)" | ||
}, | ||
"dashlane-vscode.cli": { | ||
"type": "string", | ||
"default": "dcli", | ||
"description": "The path to the Dashlane-CLI binary (resolvable from $PATH)" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"scripts": { | ||
"vscode:prepublish": "yarn run compile", | ||
"compile": "tsc -p ./", | ||
"package": "vsce package --yarn", | ||
"pretest": "yarn run compile && yarn run lint", | ||
"publish": "vsce publish --yarn", | ||
"lint": "eslint src --ext ts", | ||
"test": "vscode-test", | ||
"watch": "tsc -watch -p ./" | ||
}, | ||
"devDependencies": { | ||
"@types/mocha": "^10.0.6", | ||
"@types/node": "18.x", | ||
"@types/vscode": "^1.86.0", | ||
"@typescript-eslint/eslint-plugin": "^7.0.2", | ||
"@typescript-eslint/parser": "^7.0.2", | ||
"@vscode/test-cli": "^0.0.6", | ||
"@vscode/test-electron": "^2.3.9", | ||
"@vscode/vsce": "^2.26.1", | ||
"eslint": "^8.56.0", | ||
"typescript": "^5.3.3" | ||
} | ||
}, | ||
"scripts": { | ||
"vscode:prepublish": "yarn run compile", | ||
"compile": "tsc -p ./", | ||
"watch": "tsc -watch -p ./", | ||
"pretest": "yarn run compile && yarn run lint", | ||
"lint": "eslint src --ext ts", | ||
"test": "vscode-test" | ||
}, | ||
"devDependencies": { | ||
"@types/vscode": "^1.86.0", | ||
"@types/mocha": "^10.0.6", | ||
"@types/node": "18.x", | ||
"@typescript-eslint/eslint-plugin": "^7.0.2", | ||
"@typescript-eslint/parser": "^7.0.2", | ||
"eslint": "^8.56.0", | ||
"typescript": "^5.3.3", | ||
"@vscode/test-cli": "^0.0.6", | ||
"@vscode/test-electron": "^2.3.9" | ||
} | ||
} |
Oops, something went wrong.