build - Update dependencies (#850)
* build - Update dependencies - Update nodejs to 20.x - Update lsp4j tp 0.23.1 - Update @vscode/test-electron
This commit is contained in:
Родитель
60dad37509
Коммит
d6e3701462
|
@ -50,9 +50,9 @@ extends:
|
|||
jdkArchitectureOption: x64
|
||||
jdkSourceOption: PreInstalled
|
||||
- task: NodeTool@0
|
||||
displayName: Use Node 18.x
|
||||
displayName: Use Node 20.x
|
||||
inputs:
|
||||
versionSpec: 18.x
|
||||
versionSpec: 20.x
|
||||
- task: Npm@1
|
||||
displayName: npm install
|
||||
inputs:
|
||||
|
|
|
@ -47,9 +47,9 @@ extends:
|
|||
clean: true
|
||||
fetchTags: true
|
||||
- task: NodeTool@0
|
||||
displayName: Use Node 18.x
|
||||
displayName: Use Node 20.x
|
||||
inputs:
|
||||
versionSpec: 18.x
|
||||
versionSpec: 20.x
|
||||
- task: JavaToolInstaller@0
|
||||
displayName: Use Java 17
|
||||
inputs:
|
||||
|
|
|
@ -42,9 +42,9 @@ extends:
|
|||
clean: true
|
||||
fetchTags: true
|
||||
- task: NodeTool@0
|
||||
displayName: Use Node 18.x
|
||||
displayName: Use Node 20.x
|
||||
inputs:
|
||||
versionSpec: 18.x
|
||||
versionSpec: 20.x
|
||||
- task: JavaToolInstaller@0
|
||||
displayName: Use Java 17
|
||||
inputs:
|
||||
|
|
|
@ -29,7 +29,7 @@ jobs:
|
|||
- name: Setup Node.js environment
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
|
||||
- name: Install Node.js modules
|
||||
run: npm install
|
||||
|
|
|
@ -29,7 +29,7 @@ jobs:
|
|||
- name: Setup Node.js environment
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
|
||||
- name: Install Node.js modules
|
||||
run: npm install
|
||||
|
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
- name: Setup Node.js environment
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
|
||||
- name: Install Node.js modules
|
||||
run: npm install
|
||||
|
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
- name: Setup Node.js environment
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
|
||||
- name: Install Node.js modules
|
||||
run: npm install
|
||||
|
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
- name: Setup Node.js environment
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
|
||||
- name: Install Node.js modules
|
||||
run: npm install
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
<repository location="https://download.eclipse.org/jdtls/snapshots/repository/latest/"/>
|
||||
</location>
|
||||
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
|
||||
<repository location="https://download.eclipse.org/lsp4j/updates/releases/0.22.0/"/>
|
||||
<unit id="org.eclipse.lsp4j.sdk.feature.group" version="0.0.0"/>
|
||||
<repository location="https://download.eclipse.org/lsp4j/updates/releases/0.23.1/"/>
|
||||
<unit id="org.eclipse.lsp4j" version="0.0.0"/>
|
||||
</location>
|
||||
<location includeDependencyDepth="none" includeDependencyScopes="compile" includeSource="true" missingManifest="generate" type="Maven">
|
||||
<dependencies>
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -1067,10 +1067,10 @@
|
|||
"@types/lodash": "^4.14.191",
|
||||
"@types/minimatch": "^3.0.3",
|
||||
"@types/mocha": "^9.1.1",
|
||||
"@types/node": "^16.18.11",
|
||||
"@types/node": "20.x",
|
||||
"@types/semver": "^7.3.13",
|
||||
"@types/vscode": "1.83.1",
|
||||
"@vscode/test-electron": "^2.3.8",
|
||||
"@vscode/test-electron": "^2.4.1",
|
||||
"copy-webpack-plugin": "^11.0.0",
|
||||
"glob": "^7.2.3",
|
||||
"mocha": "^9.2.2",
|
||||
|
|
|
@ -16,10 +16,14 @@ async function main(): Promise<void> {
|
|||
|
||||
// Resolve redhat.java dependency
|
||||
const [cli, ...args] = resolveCliArgsFromVSCodeExecutablePath(vscodeExecutablePath);
|
||||
cp.spawnSync(cli, [...args, '--install-extension', 'redhat.java'], {
|
||||
const options: cp.SpawnSyncOptionsWithStringEncoding = {
|
||||
encoding: 'utf-8',
|
||||
stdio: 'inherit'
|
||||
});
|
||||
stdio: 'inherit',
|
||||
};
|
||||
if (process.platform === 'win32') {
|
||||
options.shell = true;
|
||||
}
|
||||
cp.spawnSync(cli, [...args, '--install-extension', 'redhat.java'], options);
|
||||
|
||||
// The folder containing the Extension Manifest package.json
|
||||
// Passed to `--extensionDevelopmentPath`
|
||||
|
|
Загрузка…
Ссылка в новой задаче