Skip to content

Commit

Permalink
[.vsix packaging] Generate a .vsix for all built-ins
Browse files Browse the repository at this point in the history
This commit does a bit of massaging so that "vsce" will
accept to package the built-ins we build onto a .vsix file.

To generate it:
$> cd <repo root>/vscode-builtin-extensions
$> yarn package

The resulting .vsix file will be saved in the repo root

Signed-off-by: Marc Dumais <[email protected]>
  • Loading branch information
marcdumais-work committed Dec 2, 2019
1 parent 124eea7 commit 99b9925
Show file tree
Hide file tree
Showing 4 changed files with 527 additions and 328 deletions.
3 changes: 2 additions & 1 deletion browser-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"name": "browser-app",
"version": "0.0.0",
"dependencies": {
"vscode-builtin-extensions": "0.0.0"
"vscode-builtin-extensions": "0.0.0",
"@theia/plugin-ext-vscode": "next"
},
"devDependencies": {
"@theia/cli": "next"
Expand Down
3 changes: 2 additions & 1 deletion electron-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"name": "electron-app",
"version": "0.0.0",
"dependencies": {
"vscode-builtin-extensions": "0.0.0"
"vscode-builtin-extensions": "0.0.0",
"@theia/plugin-ext-vscode": "next"
},
"devDependencies": {
"@theia/cli": "next",
Expand Down
19 changes: 14 additions & 5 deletions vscode-builtin-extensions/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"name": "vscode-builtin-extensions",
"publisher": "theia-ide",
"engines": {
"vscode": "^1.33.0"
},
"keywords": [
"theia-extension"
],
Expand All @@ -9,18 +13,23 @@
"src",
"extensions"
],
"dependencies": {
"@theia/plugin-ext-vscode": "next"
},
"dependencies": {},
"devDependencies": {
"rimraf": "latest",
"typescript": "latest"
"typescript": "latest",
"inversify": "^5.0.1",
"vsce": "1.70.0"
},
"repository": {
"type": "git",
"url": "https://github.com/theia-ide/vscode-builtin-extensions.git"
},
"scripts": {
"prepare": "yarn run clean && yarn run build",
"clean": "rimraf lib",
"build": "tsc",
"watch": "tsc -w"
"watch": "tsc -w",
"package": "vsce package -o ../"
},
"theiaExtensions": [
{
Expand Down
Loading

0 comments on commit 99b9925

Please sign in to comment.