@forge/manifest 12.1.2-next.1 → 12.2.0-next.2
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/CHANGELOG.md +6 -0
- package/out/schema/manifest-schema.json +81 -0
- package/out/schema/manifest.d.ts +42 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -30258,6 +30258,87 @@
|
|
|
30258
30258
|
"pattern": "^[a-zA-Z_][a-zA-Z0-9_]*=.+$"
|
|
30259
30259
|
},
|
|
30260
30260
|
"description": "The custom environment variables available to the running processes in the container"
|
|
30261
|
+
},
|
|
30262
|
+
"working_dir": {
|
|
30263
|
+
"type": "string",
|
|
30264
|
+
"description": "The working directory for commands to run in. This will override the default WORKDIR specified in the Dockerfile"
|
|
30265
|
+
},
|
|
30266
|
+
"command": {
|
|
30267
|
+
"oneOf": [
|
|
30268
|
+
{
|
|
30269
|
+
"type": "string",
|
|
30270
|
+
"description": "The command to run in the container as a single string"
|
|
30271
|
+
},
|
|
30272
|
+
{
|
|
30273
|
+
"type": "array",
|
|
30274
|
+
"items": {
|
|
30275
|
+
"type": "string"
|
|
30276
|
+
},
|
|
30277
|
+
"description": "The command to run in the container as an array of strings"
|
|
30278
|
+
}
|
|
30279
|
+
],
|
|
30280
|
+
"description": "The command to run in the container. This will override the default CMD specified in the Dockerfile"
|
|
30281
|
+
},
|
|
30282
|
+
"develop": {
|
|
30283
|
+
"type": "object",
|
|
30284
|
+
"additionalProperties": false,
|
|
30285
|
+
"properties": {
|
|
30286
|
+
"watch": {
|
|
30287
|
+
"type": "array",
|
|
30288
|
+
"items": {
|
|
30289
|
+
"type": "object",
|
|
30290
|
+
"required": [
|
|
30291
|
+
"path",
|
|
30292
|
+
"action"
|
|
30293
|
+
],
|
|
30294
|
+
"additionalProperties": false,
|
|
30295
|
+
"properties": {
|
|
30296
|
+
"path": {
|
|
30297
|
+
"type": "string",
|
|
30298
|
+
"description": "The path to source code (relative to the project directory) to monitor for changes"
|
|
30299
|
+
},
|
|
30300
|
+
"target": {
|
|
30301
|
+
"type": "string",
|
|
30302
|
+
"description": "The destination path inside the container where source file changes should be synced to. This attribute is only required when the action is set to sync."
|
|
30303
|
+
},
|
|
30304
|
+
"action": {
|
|
30305
|
+
"type": "string",
|
|
30306
|
+
"enum": [
|
|
30307
|
+
"sync",
|
|
30308
|
+
"rebuild",
|
|
30309
|
+
"restart",
|
|
30310
|
+
"sync+restart"
|
|
30311
|
+
],
|
|
30312
|
+
"description": "The possible actions to take when changes are detected. Refer to official docker documentation for more details on each action"
|
|
30313
|
+
},
|
|
30314
|
+
"ignore": {
|
|
30315
|
+
"type": "array",
|
|
30316
|
+
"items": {
|
|
30317
|
+
"type": "string"
|
|
30318
|
+
},
|
|
30319
|
+
"description": "A list of paths or patterns to ignore when watching for changes"
|
|
30320
|
+
},
|
|
30321
|
+
"include": {
|
|
30322
|
+
"type": "array",
|
|
30323
|
+
"items": {
|
|
30324
|
+
"type": "string"
|
|
30325
|
+
},
|
|
30326
|
+
"description": "A list of paths or patterns to specifically include when watching for changes"
|
|
30327
|
+
}
|
|
30328
|
+
}
|
|
30329
|
+
},
|
|
30330
|
+
"description": "A list of rules that control automatic service updates based on local file changes"
|
|
30331
|
+
}
|
|
30332
|
+
},
|
|
30333
|
+
"description": "A section of config which groups development-specific features together"
|
|
30334
|
+
},
|
|
30335
|
+
"volumes": {
|
|
30336
|
+
"type": "array",
|
|
30337
|
+
"items": {
|
|
30338
|
+
"type": "string",
|
|
30339
|
+
"pattern": "^[^:]+:[^:]+(:ro|:rw)?$"
|
|
30340
|
+
},
|
|
30341
|
+
"description": "Volumes define mount points that are accessible by service containers. The format is 'source:container_path[:mode]' where mode is optional and can be 'ro' (read-only) or by default 'rw' (read-write)"
|
|
30261
30342
|
}
|
|
30262
30343
|
}
|
|
30263
30344
|
}
|
package/out/schema/manifest.d.ts
CHANGED
|
@@ -74158,6 +74158,48 @@ export interface ContainerTunnelConfig {
|
|
|
74158
74158
|
* The custom environment variables available to the running processes in the container
|
|
74159
74159
|
*/
|
|
74160
74160
|
environment?: string[];
|
|
74161
|
+
/**
|
|
74162
|
+
* The working directory for commands to run in. This will override the default WORKDIR specified in the Dockerfile
|
|
74163
|
+
*/
|
|
74164
|
+
working_dir?: string;
|
|
74165
|
+
/**
|
|
74166
|
+
* The command to run in the container. This will override the default CMD specified in the Dockerfile
|
|
74167
|
+
*/
|
|
74168
|
+
command?: string | string[];
|
|
74169
|
+
/**
|
|
74170
|
+
* A section of config which groups development-specific features together
|
|
74171
|
+
*/
|
|
74172
|
+
develop?: {
|
|
74173
|
+
/**
|
|
74174
|
+
* A list of rules that control automatic service updates based on local file changes
|
|
74175
|
+
*/
|
|
74176
|
+
watch?: {
|
|
74177
|
+
/**
|
|
74178
|
+
* The path to source code (relative to the project directory) to monitor for changes
|
|
74179
|
+
*/
|
|
74180
|
+
path: string;
|
|
74181
|
+
/**
|
|
74182
|
+
* The destination path inside the container where source file changes should be synced to. This attribute is only required when the action is set to sync.
|
|
74183
|
+
*/
|
|
74184
|
+
target?: string;
|
|
74185
|
+
/**
|
|
74186
|
+
* The possible actions to take when changes are detected. Refer to official docker documentation for more details on each action
|
|
74187
|
+
*/
|
|
74188
|
+
action: 'sync' | 'rebuild' | 'restart' | 'sync+restart';
|
|
74189
|
+
/**
|
|
74190
|
+
* A list of paths or patterns to ignore when watching for changes
|
|
74191
|
+
*/
|
|
74192
|
+
ignore?: string[];
|
|
74193
|
+
/**
|
|
74194
|
+
* A list of paths or patterns to specifically include when watching for changes
|
|
74195
|
+
*/
|
|
74196
|
+
include?: string[];
|
|
74197
|
+
}[];
|
|
74198
|
+
};
|
|
74199
|
+
/**
|
|
74200
|
+
* Volumes define mount points that are accessible by service containers. The format is 'source:container_path[:mode]' where mode is optional and can be 'ro' (read-only) or by default 'rw' (read-write)
|
|
74201
|
+
*/
|
|
74202
|
+
volumes?: string[];
|
|
74161
74203
|
};
|
|
74162
74204
|
}
|
|
74163
74205
|
export interface Scaling {
|