Skip to content

Commit

Permalink
chore: update links and doc
Browse files Browse the repository at this point in the history
Release-As: 0.2.3
  • Loading branch information
Mesteery committed Aug 6, 2021
1 parent 4c31a42 commit 84fae87
Show file tree
Hide file tree
Showing 3 changed files with 128 additions and 133 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,6 @@ jobs:
tag: ${{ needs.release-please.outputs.tag }}
repo_token: ${{ secrets.GITHUB_TOKEN }}

- name: Publish on Visual Studio Marketplace
id: vsm
run: |
yarn deploy-vsce --packagePath bin.vsix
echo ::set-output name=runned::true
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}

- name: Publish on Open VSX
if: steps.vsm.outputs.runned
run: yarn deploy-ovsx bin.vsix -p ${{ secrets.OVSX_PAT }}
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ An extension to easily create bins with https://bin.readthedocs.fr.

![Create a bin](https://raw.githubusercontent.com/readthedocs-fr/bin-client-vscode/main/images/create-a-bin.png)

## Installation

Victim of its success, this extension is unfortunately no longer published on the Visual Studio Marketplace (to avoid overloading the bin server). You can still install it via https://github.com/readthedocs-fr/bin-client-vscode/releases or https://open-vsx.org/extension/readthedocs/rtdbin.

## Contributing

After forking, do these commands:
Expand Down
249 changes: 124 additions & 125 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,127 +1,126 @@
{
"name": "rtdbin",
"displayName": "Read The Bin",
"publisher": "readthedocs",
"description": "An extension to easily create bins.",
"version": "0.2.2",
"icon": "media/icon.png",
"main": "build/extension.js",
"prettier": "@typescord/prettier-config",
"scripts": {
"vscode:prepublish": "yarn build",
"deploy-vsce": "vsce publish",
"deploy-ovsx": "ovsx publish",
"package": "vsce package --yarn -o bin.vsix",
"build": "tsc",
"watch": "tsc -w",
"lint": "eslint src --ext ts",
"lint-fix": "yarn lint --fix",
"format": "prettier . --write"
},
"author": "Read The Docs FR",
"engines": {
"vscode": "^1.52.0"
},
"license": "MIT",
"homepage": "https://github.com/readthedocs-fr/bin-client-discord#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/readthedocs-fr/bin-client-discord.git"
},
"bugs": {
"url": "https://github.com/readthedocs-fr/bin-client-discord/issues"
},
"activationEvents": [
"onCommand:rtdbin.createBin"
],
"contributes": {
"commands": [
{
"command": "rtdbin.createBin",
"title": "Create a bin",
"category": "Bin",
"enablement": "activeEditor || activePanel == 'workbench.panel.output' || explorerViewletVisible && !explorerResourceIsFolder"
}
],
"keybindings": [
{
"command": "rtdbin.createBin",
"key": "ctrl+; h",
"when": "activeEditor || activePanel == 'workbench.panel.output'"
}
],
"menus": {
"commandPalette": [
{
"command": "rtdbin.createBin",
"title": "Create a bin",
"category": "Bin",
"when": "activeEditor || activePanel == 'workbench.panel.output'"
}
],
"explorer/context": [
{
"command": "rtdbin.createBin",
"group": "5_cutcopypaste",
"when": "!explorerResourceIsFolder"
}
],
"editor/context": [
{
"command": "rtdbin.createBin",
"group": "9_cutcopypaste",
"when": "editorTextFocus"
}
]
},
"configuration": {
"title": "Read The Bin",
"properties": {
"rtdbin.defaultLifetime": {
"type": "string",
"default": "0",
"pattern": "^[\\ddhms]+$",
"markdownDescription": "The default lifetime of your futures bins (0 for never, else in this format: 1d1h1m1s)"
},
"rtdbin.defaultMaxUses": {
"type": "integer",
"default": "0",
"description": "The default max uses of your futures bins (0 for infinity)"
}
}
}
},
"categories": [
"Other"
],
"dependencies": {
"form-data": "^4.0.0",
"got": "^11.8.2"
},
"devDependencies": {
"@types/node": "^15.0.2",
"@types/vscode": "^1.52.0",
"@typescord/eslint-config": "^0.2.1",
"@typescord/prettier-config": "^0.1.2",
"@typescript-eslint/eslint-plugin": "^4.22.1",
"@typescript-eslint/parser": "^4.22.1",
"eslint": "^7.26.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-node": "^0.3.4",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-sonarjs": "^0.7.0",
"eslint-plugin-unicorn": "^32.0.1",
"ovsx": "0.1.0",
"prettier": "^2.3.0",
"rimraf": "^3.0.2",
"typescript": "~4.2.4",
"vsce": "^1.84.0"
},
"keywords": [
"bin",
"rtdbin",
"pastebin"
]
"name": "rtdbin",
"displayName": "Read The Bin",
"publisher": "readthedocs",
"description": "An extension to easily create bins.",
"version": "0.2.2",
"icon": "media/icon.png",
"main": "build/extension.js",
"prettier": "@typescord/prettier-config",
"scripts": {
"vscode:prepublish": "yarn build",
"deploy-ovsx": "ovsx publish",
"package": "vsce package --yarn -o bin.vsix",
"build": "tsc",
"watch": "tsc -w",
"lint": "eslint src --ext ts",
"lint-fix": "yarn lint --fix",
"format": "prettier . --write"
},
"author": "Read The Docs FR",
"engines": {
"vscode": "^1.52.0"
},
"license": "MIT",
"homepage": "https://github.com/readthedocs-fr/bin-client-vscode#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/readthedocs-fr/bin-client-vscode.git"
},
"bugs": {
"url": "https://github.com/readthedocs-fr/bin-client-discord/issues"
},
"activationEvents": [
"onCommand:rtdbin.createBin"
],
"contributes": {
"commands": [
{
"command": "rtdbin.createBin",
"title": "Create a bin",
"category": "Bin",
"enablement": "activeEditor || activePanel == 'workbench.panel.output' || explorerViewletVisible && !explorerResourceIsFolder"
}
],
"keybindings": [
{
"command": "rtdbin.createBin",
"key": "ctrl+; h",
"when": "activeEditor || activePanel == 'workbench.panel.output'"
}
],
"menus": {
"commandPalette": [
{
"command": "rtdbin.createBin",
"title": "Create a bin",
"category": "Bin",
"when": "activeEditor || activePanel == 'workbench.panel.output'"
}
],
"explorer/context": [
{
"command": "rtdbin.createBin",
"group": "5_cutcopypaste",
"when": "!explorerResourceIsFolder"
}
],
"editor/context": [
{
"command": "rtdbin.createBin",
"group": "9_cutcopypaste",
"when": "editorTextFocus"
}
]
},
"configuration": {
"title": "Read The Bin",
"properties": {
"rtdbin.defaultLifetime": {
"type": "string",
"default": "0",
"pattern": "^[\\ddhms]+$",
"markdownDescription": "The default lifetime of your futures bins (0 for never, else in this format: 1d1h1m1s)"
},
"rtdbin.defaultMaxUses": {
"type": "integer",
"default": "0",
"description": "The default max uses of your futures bins (0 for infinity)"
}
}
}
},
"categories": [
"Other"
],
"dependencies": {
"form-data": "^4.0.0",
"got": "^11.8.2"
},
"devDependencies": {
"@types/node": "^15.0.2",
"@types/vscode": "^1.52.0",
"@typescord/eslint-config": "^0.2.1",
"@typescord/prettier-config": "^0.1.2",
"@typescript-eslint/eslint-plugin": "^4.22.1",
"@typescript-eslint/parser": "^4.22.1",
"eslint": "^7.26.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-node": "^0.3.4",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-sonarjs": "^0.7.0",
"eslint-plugin-unicorn": "^32.0.1",
"ovsx": "0.1.0",
"prettier": "^2.3.0",
"rimraf": "^3.0.2",
"typescript": "~4.2.4",
"vsce": "^1.84.0"
},
"keywords": [
"bin",
"rtdbin",
"pastebin"
]
}

0 comments on commit 84fae87

Please sign in to comment.