Skip to content

Commit

Permalink
Integration with Open VSX Registry
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
  • Loading branch information
akosyakov committed Mar 19, 2020
1 parent 5346d42 commit 73bd544
Show file tree
Hide file tree
Showing 32 changed files with 2,462 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ cache:
- packages/typehierarchy/node_modules
- packages/userstorage/node_modules
- packages/variable-resolver/node_modules
- packages/vsx-registry/node_modules
- packages/workspace/node_modules
# end_cache_directories
before_cache:
Expand Down
3 changes: 3 additions & 0 deletions configs/root-compilation.tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@
},
{
"path": "../examples/electron/compile.tsconfig.json"
},
{
"path": "../packages/vsx-registry/compile.tsconfig.json"
}
]
}
1 change: 1 addition & 0 deletions examples/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"@theia/typehierarchy": "^0.16.0",
"@theia/userstorage": "^0.16.0",
"@theia/variable-resolver": "^0.16.0",
"@theia/vsx-registry": "^0.16.0",
"@theia/workspace": "^0.16.0"
},
"scripts": {
Expand Down
3 changes: 3 additions & 0 deletions examples/electron/compile.tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@
},
{
"path": "../../packages/workspace/compile.tsconfig.json"
},
{
"path": "../../packages/vsx-registry/compile.tsconfig.json"
}
]
}
1 change: 1 addition & 0 deletions examples/electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"@theia/typehierarchy": "^0.16.0",
"@theia/userstorage": "^0.16.0",
"@theia/variable-resolver": "^0.16.0",
"@theia/vsx-registry": "^0.16.0",
"@theia/workspace": "^0.16.0"
},
"scripts": {
Expand Down
10 changes: 10 additions & 0 deletions packages/vsx-registry/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/** @type {import('eslint').Linter.Config} */
module.exports = {
extends: [
'../../configs/build.eslintrc.json'
],
parserOptions: {
tsconfigRootDir: __dirname,
project: 'compile.tsconfig.json'
}
};
36 changes: 36 additions & 0 deletions packages/vsx-registry/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<div align='center'>

<br />

<img src='https://raw.githubusercontent.com/eclipse-theia/theia/master/logo/theia.svg?sanitize=true' alt='theia-ext-logo' width='100px' />

<h2>THEIA - Open VSX Registry Extension</h2>

<hr />

</div>

## Description

The `@theia/vsx-registry` extension provides integration with the Open VSX Registry.

### Configuration

The extension connects to the plubic Open VSX Registry hosted on `http://open-vsx.org/`.
One can host own instance of a [registry](https://github.com/eclipse/openvsx#eclipse-open-vsx)
and configure `VSX_REGISTRY_URL` environment variable to use it.

## Additional Information

- [API documentation for `@theia/vsx-registry`](https://eclipse-theia.github.io/theia/docs/next/modules/vsx-registry.html)
- [Theia - GitHub](https://github.com/eclipse-theia/theia)
- [Theia - Website](https://theia-ide.org/)

## License

- [Eclipse Public License 2.0](http://www.eclipse.org/legal/epl-2.0/)
- [一 (Secondary) GNU General Public License, version 2 with the GNU Classpath Exception](https://projects.eclipse.org/license/secondary-gpl-2.0-cp)

## Trademark
"Theia" is a trademark of the Eclipse Foundation
https://www.eclipse.org/theia
19 changes: 19 additions & 0 deletions packages/vsx-registry/compile.tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"extends": "../../configs/base.tsconfig",
"compilerOptions": {
"composite": true,
"rootDir": "src",
"outDir": "lib"
},
"include": [
"src"
],
"references": [
{
"path": "../core/compile.tsconfig.json"
},
{
"path": "../plugin-ext-vscode/compile.tsconfig.json"
}
]
}
57 changes: 57 additions & 0 deletions packages/vsx-registry/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"name": "@theia/vsx-registry",
"version": "0.16.0",
"description": "Theia - VSX Registry",
"dependencies": {
"@theia/core": "^0.16.0",
"@theia/plugin-ext-vscode": "^0.16.0",
"@types/bent": "^7.0.1",
"@types/sanitize-html": "^1.13.31",
"@types/showdown": "^1.7.1",
"bent": "^7.1.0",
"fs-extra": "^4.0.2",
"p-debounce": "^2.1.0",
"requestretry": "^3.1.0",
"sanitize-html": "^1.14.1",
"showdown": "^1.9.1",
"uuid": "^3.2.1"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"theia-extension"
],
"theiaExtensions": [
{
"frontend": "lib/browser/vsx-registry-frontend-module",
"backend": "lib/node/vsx-registry-backend-module"
}
],
"license": "EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0",
"repository": {
"type": "git",
"url": "https://github.com/eclipse-theia/theia.git"
},
"bugs": {
"url": "https://github.com/eclipse-theia/theia/issues"
},
"homepage": "https://github.com/eclipse-theia/theia",
"files": [
"lib",
"src"
],
"scripts": {
"lint": "theiaext lint",
"build": "theiaext build",
"watch": "theiaext watch",
"clean": "theiaext clean",
"test": "theiaext test"
},
"devDependencies": {
"@theia/ext-scripts": "^0.16.0"
},
"nyc": {
"extends": "../../configs/nyc.json"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions packages/vsx-registry/src/browser/style/extensions.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 73bd544

Please sign in to comment.