@theia/cli 1.47.1 → 1.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/theia-patch.js +38 -0
- package/package.json +11 -9
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// *****************************************************************************
|
|
4
|
+
// Copyright (C) 2024 STMicroelectronics and others.
|
|
5
|
+
//
|
|
6
|
+
// This program and the accompanying materials are made available under the
|
|
7
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
8
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
9
|
+
//
|
|
10
|
+
// This Source Code may also be made available under the following Secondary
|
|
11
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
12
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
13
|
+
// with the GNU Classpath Exception which is available at
|
|
14
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
15
|
+
//
|
|
16
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
17
|
+
// *****************************************************************************
|
|
18
|
+
// @ts-check
|
|
19
|
+
const path = require('path');
|
|
20
|
+
const cp = require('child_process');
|
|
21
|
+
|
|
22
|
+
const patchPackage= require.resolve('patch-package');
|
|
23
|
+
console.log(`patch-package = ${patchPackage}`);
|
|
24
|
+
|
|
25
|
+
const patchesDir = path.join('.', 'node_modules', '@theia', 'cli', 'patches');
|
|
26
|
+
|
|
27
|
+
console.log(`patchesdir = ${patchesDir}`);
|
|
28
|
+
|
|
29
|
+
const env = Object.assign({}, process.env);
|
|
30
|
+
|
|
31
|
+
const scriptProcess = cp.exec(`node ${patchPackage} --patch-dir "${patchesDir}"`, {
|
|
32
|
+
cwd: process.cwd(),
|
|
33
|
+
env,
|
|
34
|
+
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
scriptProcess.stdout.pipe(process.stdout);
|
|
38
|
+
scriptProcess.stderr.pipe(process.stderr);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.48.0",
|
|
4
4
|
"description": "Theia CLI.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
"src"
|
|
21
21
|
],
|
|
22
22
|
"bin": {
|
|
23
|
-
"theia": "./bin/theia"
|
|
23
|
+
"theia": "./bin/theia",
|
|
24
|
+
"theia-patch": "./bin/theia-patch.js"
|
|
24
25
|
},
|
|
25
26
|
"scripts": {
|
|
26
27
|
"prepare": "tsc -b",
|
|
@@ -30,12 +31,12 @@
|
|
|
30
31
|
"clean": "theiaext clean"
|
|
31
32
|
},
|
|
32
33
|
"dependencies": {
|
|
33
|
-
"@theia/application-manager": "1.
|
|
34
|
-
"@theia/application-package": "1.
|
|
35
|
-
"@theia/ffmpeg": "1.
|
|
36
|
-
"@theia/localization-manager": "1.
|
|
37
|
-
"@theia/ovsx-client": "1.
|
|
38
|
-
"@theia/request": "1.
|
|
34
|
+
"@theia/application-manager": "1.48.0",
|
|
35
|
+
"@theia/application-package": "1.48.0",
|
|
36
|
+
"@theia/ffmpeg": "1.48.0",
|
|
37
|
+
"@theia/localization-manager": "1.48.0",
|
|
38
|
+
"@theia/ovsx-client": "1.48.0",
|
|
39
|
+
"@theia/request": "1.48.0",
|
|
39
40
|
"@types/chai": "^4.2.7",
|
|
40
41
|
"@types/mocha": "^10.0.0",
|
|
41
42
|
"@types/node-fetch": "^2.5.7",
|
|
@@ -48,6 +49,7 @@
|
|
|
48
49
|
"limiter": "^2.1.0",
|
|
49
50
|
"log-update": "^4.0.0",
|
|
50
51
|
"mocha": "^10.1.0",
|
|
52
|
+
"patch-package": "^8.0.0",
|
|
51
53
|
"puppeteer": "19.7.2",
|
|
52
54
|
"puppeteer-core": "19.7.2",
|
|
53
55
|
"puppeteer-to-istanbul": "1.4.0",
|
|
@@ -61,5 +63,5 @@
|
|
|
61
63
|
"@types/node-fetch": "^2.5.7",
|
|
62
64
|
"@types/proxy-from-env": "^1.0.1"
|
|
63
65
|
},
|
|
64
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "ffae6a0739f7924a7cacafeb5ceb1140d93fe010"
|
|
65
67
|
}
|