File tree 14 files changed +819
-5
lines changed
vscode-builtin-extensions
14 files changed +819
-5
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1
1
# vscode-builtin-extensions
2
2
3
- This extension contributes built-in VS Code extensions to Theia.
3
+ This extension contributes built-in VS Code extensions to Eclipse Theia applications .
4
4
5
5
[ ![ Open in Gitpod] ( https://gitpod.io/button/open-in-gitpod.svg )] ( https://gitpod.io/#https://github.com/theia-ide/vscode-builtin-extensions )
6
6
@@ -12,8 +12,8 @@ Install [nvm](https://github.com/creationix/nvm#install-script).
12
12
13
13
Install npm and node.
14
14
15
- nvm install 10
16
- nvm use 10
15
+ nvm install 12
16
+ nvm use 12
17
17
18
18
Install yarn.
19
19
@@ -32,7 +32,7 @@ Install vscode prerequisite dependencies.
32
32
Pick a specific vscode version (optional)
33
33
34
34
cd <repo root>/vscode
35
- git checkout 1.40 .0
35
+ git checkout 1.45 .0
36
36
37
37
## Build
38
38
@@ -118,3 +118,13 @@ The `ovsx` client is used to publish to an open-vsx registry. By default https:/
118
118
After packaging the extensions as ` .vsix ` (see above), you may examine/test them under folder ` dist ` . Remove any that you do not wish to be published (e.g. those not working well). When ready proceed with publishing:
119
119
120
120
yarn publish:vsix
121
+
122
+ ## License
123
+
124
+ - [ Eclipse Public License 2.0] ( LICENSE )
125
+ - [ 一 (Secondary) GNU General Public License, version 2 with the GNU Classpath Exception] ( LICENSE )
126
+
127
+ ## Trademark
128
+
129
+ "Theia" is a trademark of the Eclipse Foundation
130
+ https://www.eclipse.org/theia
Original file line number Diff line number Diff line change 1
1
{
2
2
"private" : true ,
3
+ "license" : " EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0" ,
3
4
"scripts" : {
4
5
"prepare" : " yarn build:extensions && yarn bundle:extensions && yarn build" ,
5
6
"build" : " lerna run prepare" ,
Original file line number Diff line number Diff line change
1
+ /********************************************************************************
2
+ * Copyright (C) 2019 TypeFox and others.
3
+ *
4
+ * This program and the accompanying materials are made available under the
5
+ * terms of the Eclipse Public License v. 2.0 which is available at
6
+ * http://www.eclipse.org/legal/epl-2.0.
7
+ *
8
+ * This Source Code may also be made available under the following Secondary
9
+ * Licenses when the conditions for such availability set forth in the Eclipse
10
+ * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ * with the GNU Classpath Exception which is available at
12
+ * https://www.gnu.org/software/classpath/license.html.
13
+ *
14
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ ********************************************************************************/
16
+
1
17
// @ts -check
2
18
const { src, vscode, run } = require ( './paths.js' )
3
19
module . exports = run ( 'node' , [ src ( 'vscode-bundle.js' ) ] , vscode ( ) ) ;
Original file line number Diff line number Diff line change
1
+ /********************************************************************************
2
+ * Copyright (C) 2020 Ericsson and others.
3
+ *
4
+ * This program and the accompanying materials are made available under the
5
+ * terms of the Eclipse Public License v. 2.0 which is available at
6
+ * http://www.eclipse.org/legal/epl-2.0.
7
+ *
8
+ * This Source Code may also be made available under the following Secondary
9
+ * Licenses when the conditions for such availability set forth in the Eclipse
10
+ * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ * with the GNU Classpath Exception which is available at
12
+ * https://www.gnu.org/software/classpath/license.html.
13
+ *
14
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ ********************************************************************************/
16
+
1
17
/**
2
18
* Checks-out the vscode git submodule to the latest "solid" release commit/tag.
3
19
* e.g. 1.45.0, 1.46.4
Original file line number Diff line number Diff line change
1
+ /********************************************************************************
2
+ * Copyright (C) 2019 TypeFox and others.
3
+ *
4
+ * This program and the accompanying materials are made available under the
5
+ * terms of the Eclipse Public License v. 2.0 which is available at
6
+ * http://www.eclipse.org/legal/epl-2.0.
7
+ *
8
+ * This Source Code may also be made available under the following Secondary
9
+ * Licenses when the conditions for such availability set forth in the Eclipse
10
+ * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ * with the GNU Classpath Exception which is available at
12
+ * https://www.gnu.org/software/classpath/license.html.
13
+ *
14
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ ********************************************************************************/
16
+
1
17
// @ts -check
2
18
const { src, vscode, run } = require ( './paths.js' )
3
19
if ( process . cwd ( ) !== vscode ( ) ) {
Original file line number Diff line number Diff line change 1
- /**
1
+ /********************************************************************************
2
+ * Copyright (C) 2019 Ericsson and others.
3
+ *
4
+ * This program and the accompanying materials are made available under the
5
+ * terms of the Eclipse Public License v. 2.0 which is available at
6
+ * http://www.eclipse.org/legal/epl-2.0.
7
+ *
8
+ * This Source Code may also be made available under the following Secondary
9
+ * Licenses when the conditions for such availability set forth in the Eclipse
10
+ * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ * with the GNU Classpath Exception which is available at
12
+ * https://www.gnu.org/software/classpath/license.html.
13
+ *
14
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ ********************************************************************************/
16
+
17
+ /*
2
18
* Package individual built-in VS Code extensions in .vsix packages.
3
19
* It's assumed that the vscode git submodule has already been updated
4
20
* and the wanted commit/tag checkled-out, before the start of packaging.
Original file line number Diff line number Diff line change
1
+ /********************************************************************************
2
+ * Copyright (C) 2019 TypeFox and others.
3
+ *
4
+ * This program and the accompanying materials are made available under the
5
+ * terms of the Eclipse Public License v. 2.0 which is available at
6
+ * http://www.eclipse.org/legal/epl-2.0.
7
+ *
8
+ * This Source Code may also be made available under the following Secondary
9
+ * Licenses when the conditions for such availability set forth in the Eclipse
10
+ * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ * with the GNU Classpath Exception which is available at
12
+ * https://www.gnu.org/software/classpath/license.html.
13
+ *
14
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ ********************************************************************************/
16
+
1
17
// @ts -check
2
18
const path = require ( 'path' ) ;
3
19
const cp = require ( 'child_process' ) ;
Original file line number Diff line number Diff line change
1
+ /********************************************************************************
2
+ * Copyright (C) 2020 Ericsson and others.
3
+ *
4
+ * This program and the accompanying materials are made available under the
5
+ * terms of the Eclipse Public License v. 2.0 which is available at
6
+ * http://www.eclipse.org/legal/epl-2.0.
7
+ *
8
+ * This Source Code may also be made available under the following Secondary
9
+ * Licenses when the conditions for such availability set forth in the Eclipse
10
+ * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ * with the GNU Classpath Exception which is available at
12
+ * https://www.gnu.org/software/classpath/license.html.
13
+ *
14
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ ********************************************************************************/
16
+
1
17
/**
2
18
* Publish individual built-in VS Code extensions to an
3
19
* Open VSX registry (default: open-vsx.org) . It is
Original file line number Diff line number Diff line change
1
+ /********************************************************************************
2
+ * Copyright (C) 2019 TypeFox and others.
3
+ *
4
+ * This program and the accompanying materials are made available under the
5
+ * terms of the Eclipse Public License v. 2.0 which is available at
6
+ * http://www.eclipse.org/legal/epl-2.0.
7
+ *
8
+ * This Source Code may also be made available under the following Secondary
9
+ * Licenses when the conditions for such availability set forth in the Eclipse
10
+ * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ * with the GNU Classpath Exception which is available at
12
+ * https://www.gnu.org/software/classpath/license.html.
13
+ *
14
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ ********************************************************************************/
16
+
1
17
/**
2
18
* Republish built-in VS Code extensions to npmjs under `@theia/vscode-builtin-` prefix.
3
19
*/
Original file line number Diff line number Diff line change
1
+ /********************************************************************************
2
+ * Copyright (C) 2020 Ericsson and others.
3
+ *
4
+ * This program and the accompanying materials are made available under the
5
+ * terms of the Eclipse Public License v. 2.0 which is available at
6
+ * http://www.eclipse.org/legal/epl-2.0.
7
+ *
8
+ * This Source Code may also be made available under the following Secondary
9
+ * Licenses when the conditions for such availability set forth in the Eclipse
10
+ * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ * with the GNU Classpath Exception which is available at
12
+ * https://www.gnu.org/software/classpath/license.html.
13
+ *
14
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ ********************************************************************************/
16
+
1
17
/**
2
18
* version-related utility functions
3
19
*/
Original file line number Diff line number Diff line change
1
+ /********************************************************************************
2
+ * Copyright (C) 2019 TypeFox and others.
3
+ *
4
+ * This program and the accompanying materials are made available under the
5
+ * terms of the Eclipse Public License v. 2.0 which is available at
6
+ * http://www.eclipse.org/legal/epl-2.0.
7
+ *
8
+ * This Source Code may also be made available under the following Secondary
9
+ * Licenses when the conditions for such availability set forth in the Eclipse
10
+ * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ * with the GNU Classpath Exception which is available at
12
+ * https://www.gnu.org/software/classpath/license.html.
13
+ *
14
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ ********************************************************************************/
16
+
1
17
// @ts -check
2
18
const fs = require ( 'fs' ) ;
3
19
const rimraf = require ( '../vscode/node_modules/rimraf' ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vscode-builtin-extensions" ,
3
+ "license" : " EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0" ,
3
4
"keywords" : [
4
5
" theia-extension"
5
6
],
Original file line number Diff line number Diff line change
1
+ /********************************************************************************
2
+ * Copyright (C) 2019 TypeFox and others.
3
+ *
4
+ * This program and the accompanying materials are made available under the
5
+ * terms of the Eclipse Public License v. 2.0 which is available at
6
+ * http://www.eclipse.org/legal/epl-2.0.
7
+ *
8
+ * This Source Code may also be made available under the following Secondary
9
+ * Licenses when the conditions for such availability set forth in the Eclipse
10
+ * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ * with the GNU Classpath Exception which is available at
12
+ * https://www.gnu.org/software/classpath/license.html.
13
+ *
14
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ ********************************************************************************/
16
+
1
17
import * as path from 'path' ;
2
18
import { ContainerModule } from 'inversify' ;
3
19
You can’t perform that action at this time.
0 commit comments