minimize distro deltas
This commit is contained in:
parent
c20b7a9658
commit
39ec656916
|
@ -538,7 +538,7 @@ gulp.task('vscode-translations-import', function () {
|
||||||
// Sourcemaps
|
// Sourcemaps
|
||||||
|
|
||||||
gulp.task('upload-vscode-sourcemaps', () => {
|
gulp.task('upload-vscode-sourcemaps', () => {
|
||||||
const vs = gulp.src('out-vscode-min/**/*.map', { base: 'out-vscode-min' })
|
const vs = gulp.src('out-vscode-min/**/*.map', { base: 'out-vscode-min' }) // client source-maps only
|
||||||
.pipe(es.mapSync(f => {
|
.pipe(es.mapSync(f => {
|
||||||
f.path = `${f.base}/core/${f.relative}`;
|
f.path = `${f.base}/core/${f.relative}`;
|
||||||
return f;
|
return f;
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"definitions": {
|
"definitions": {
|
||||||
"devContainerCommon": {
|
"devContainerCommon": {
|
||||||
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -18,11 +19,14 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"type": "object",
|
"$ref": "vscode://schemas/settings/machine",
|
||||||
"description": "Machine specific settings that should be copied into the container."
|
"description": "Machine specific settings that should be copied into the container."
|
||||||
},
|
},
|
||||||
"postCreateCommand": {
|
"postCreateCommand": {
|
||||||
"type": ["string", "array"],
|
"type": [
|
||||||
|
"string",
|
||||||
|
"array"
|
||||||
|
],
|
||||||
"description": "A command to run after creating the container. If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
|
"description": "A command to run after creating the container. If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
@ -35,12 +39,20 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nonComposeBase": {
|
"nonComposeBase": {
|
||||||
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"appPort": {
|
"appPort": {
|
||||||
"type": ["integer", "string", "array"],
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"string",
|
||||||
|
"array"
|
||||||
|
],
|
||||||
"description": "Application ports that are exposed by the container. This can be a single port or an array of ports. Each port can be a number or a string. A number is mapped to the same port on the host. A string is passed to Docker unchanged and can be used to map ports differently, e.g. \"8000:8010\".",
|
"description": "Application ports that are exposed by the container. This can be a single port or an array of ports. Each port can be a number or a string. A number is mapped to the same port on the host. A string is passed to Docker unchanged and can be used to map ports differently, e.g. \"8000:8010\".",
|
||||||
"items": {
|
"items": {
|
||||||
"type": ["integer", "string"]
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"string"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"runArgs": {
|
"runArgs": {
|
||||||
|
@ -52,7 +64,10 @@
|
||||||
},
|
},
|
||||||
"shutdownAction": {
|
"shutdownAction": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": ["none", "stopContainer"],
|
"enum": [
|
||||||
|
"none",
|
||||||
|
"stopContainer"
|
||||||
|
],
|
||||||
"description": "Action to take when VS Code is shutting down. The default is to stop the container."
|
"description": "Action to take when VS Code is shutting down. The default is to stop the container."
|
||||||
},
|
},
|
||||||
"overrideCommand": {
|
"overrideCommand": {
|
||||||
|
@ -70,6 +85,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dockerFileContainer": {
|
"dockerFileContainer": {
|
||||||
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"dockerFile": {
|
"dockerFile": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -80,21 +96,30 @@
|
||||||
"description": "The location of the context folder for building the Docker image. The path is relative to the folder containing the `devcontainer.json` file."
|
"description": "The location of the context folder for building the Docker image. The path is relative to the folder containing the `devcontainer.json` file."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["dockerFile"]
|
"required": [
|
||||||
|
"dockerFile"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"imageContainer": {
|
"imageContainer": {
|
||||||
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"image": {
|
"image": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The docker image that will be used to create the container."
|
"description": "The docker image that will be used to create the container."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["image"]
|
"required": [
|
||||||
|
"image"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"composeContainer": {
|
"composeContainer": {
|
||||||
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"dockerComposeFile": {
|
"dockerComposeFile": {
|
||||||
"type": ["string", "array"],
|
"type": [
|
||||||
|
"string",
|
||||||
|
"array"
|
||||||
|
],
|
||||||
"description": "The name of the docker-compose file(s) used to start the services.",
|
"description": "The name of the docker-compose file(s) used to start the services.",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
@ -110,11 +135,18 @@
|
||||||
},
|
},
|
||||||
"shutdownAction": {
|
"shutdownAction": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": ["none", "stopCompose"],
|
"enum": [
|
||||||
|
"none",
|
||||||
|
"stopCompose"
|
||||||
|
],
|
||||||
"description": "Action to take when VS Code is shutting down. The default is to stop the containers."
|
"description": "Action to take when VS Code is shutting down. The default is to stop the containers."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["dockerComposeFile", "service", "workspaceFolder"]
|
"required": [
|
||||||
|
"dockerComposeFile",
|
||||||
|
"service",
|
||||||
|
"workspaceFolder"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"allOf": [
|
"allOf": [
|
||||||
|
|
|
@ -105,8 +105,8 @@ export function activate(context: vscode.ExtensionContext) {
|
||||||
}
|
}
|
||||||
extHostProcess.stdout.on('data', (data: Buffer) => processOutput(data.toString()));
|
extHostProcess.stdout.on('data', (data: Buffer) => processOutput(data.toString()));
|
||||||
extHostProcess.stderr.on('data', (data: Buffer) => processOutput(data.toString()));
|
extHostProcess.stderr.on('data', (data: Buffer) => processOutput(data.toString()));
|
||||||
extHostProcess.on('error', (error: Error) => processError(`remoteExtensionHostAgent failed with error:\n${error.message}`));
|
extHostProcess.on('error', (error: Error) => processError(`server failed with error:\n${error.message}`));
|
||||||
extHostProcess.on('close', (code: number) => processError(`remoteExtensionHostAgent closed unexpectedly.\nError code: ${code}`));
|
extHostProcess.on('close', (code: number) => processError(`server closed unexpectedly.\nError code: ${code}`));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -547,14 +547,14 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"target": "**/vs/agent/**",
|
"target": "**/vs/server/**",
|
||||||
"restrictions": [
|
"restrictions": [
|
||||||
"vs/nls",
|
"vs/nls",
|
||||||
"**/vs/base/**/{common,node}/**",
|
"**/vs/base/**/{common,node}/**",
|
||||||
"**/vs/base/parts/**/{common,node}/**",
|
"**/vs/base/parts/**/{common,node}/**",
|
||||||
"**/vs/platform/**/{common,node}/**",
|
"**/vs/platform/**/{common,node}/**",
|
||||||
"**/vs/workbench/**/{common,node}/**",
|
"**/vs/workbench/**/{common,node}/**",
|
||||||
"**/vs/agent/**",
|
"**/vs/server/**",
|
||||||
"**/vs/code/**/{common,node}/**",
|
"**/vs/code/**/{common,node}/**",
|
||||||
"*" // node modules
|
"*" // node modules
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue