fixdevcontainer 1.0.4 → 1.1.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.
Files changed (2) hide show
  1. package/fixdevcontainer.js +24 -15
  2. package/package.json +1 -1
@@ -6,33 +6,41 @@ const path = require("node:path");
6
6
 
7
7
  const predefinedOrder = [
8
8
  // Basic information
9
- "$schema",
10
9
  "name",
10
+ "$schema",
11
+
11
12
  // Container image and configuration
12
- "image",
13
- "dockerComposeFile",
14
- "service",
15
- "runServices",
16
13
  "build",
14
+ "dockerFile",
15
+ "context",
16
+ "image",
17
+
17
18
  // Operational settings
18
19
  "shutdownAction",
19
- "overrideCommand",
20
- "updateRemoteUserUID",
21
- "init",
22
20
  "privileged",
21
+ "capAdd",
22
+ "securityOpt",
23
+ "init",
24
+
23
25
  // User and environment settings
24
- "containerUser",
25
26
  "containerEnv",
26
- "remoteUser",
27
+ "containerUser",
27
28
  "remoteEnv",
29
+ "remoteUser",
30
+ "userEnvProbe",
31
+ "updateRemoteUserUID",
32
+
28
33
  // Port and network settings
34
+ "appPort",
29
35
  "forwardPorts",
30
36
  "portsAttributes",
31
37
  "otherPortsAttributes",
38
+
32
39
  // Features and secrets
33
40
  "features",
34
41
  "overrideFeatureInstallOrder",
35
42
  "secrets",
43
+
36
44
  // Command execution and wait settings
37
45
  "initializeCommand",
38
46
  "onCreateCommand",
@@ -41,20 +49,21 @@ const predefinedOrder = [
41
49
  "postStartCommand",
42
50
  "postAttachCommand",
43
51
  "waitFor",
52
+
44
53
  // Workspace and mount settings
45
54
  "workspaceFolder",
46
- "appPort",
47
- "runArgs",
48
55
  "workspaceMount",
56
+
49
57
  // Mount details settings
50
- "type",
51
- "source",
52
- "target",
58
+ "mounts",
59
+
53
60
  // User environment probe
54
61
  "userEnvProbe",
62
+
55
63
  // Host requirements and customizations
56
64
  "hostRequirements",
57
65
  "customizations",
66
+
58
67
  // Other properties
59
68
  "additionalProperties",
60
69
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fixdevcontainer",
3
- "version": "1.0.4",
3
+ "version": "1.1.0",
4
4
  "description": "Humanely sort top-level keys in devcontainer.json",
5
5
  "main": "fixdevcontainer.js",
6
6
  "bin": {