@mavogel/cdk-vscode-server 0.0.16 → 0.0.18
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/.jsii +62 -30
- package/.prettierrc +0 -0
- package/API.md +39 -7
- package/CONTRIBUTING.md +3 -1
- package/assets/installer/installer.lambda/index.js +28 -9
- package/integ-tests/integ.al2023.ts +4 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/installer/installer.d.ts +1 -1
- package/lib/installer/installer.js +220 -230
- package/lib/installer/installer.lambda.d.ts +2 -2
- package/lib/installer/installer.lambda.js +16 -16
- package/lib/mappings.d.ts +1 -1
- package/lib/mappings.js +25 -7
- package/lib/prefixlist-retriever/prefixlist-retriever.d.ts +2 -2
- package/lib/prefixlist-retriever/prefixlist-retriever.js +17 -16
- package/lib/secret-retriever/secret-retriever.d.ts +2 -2
- package/lib/secret-retriever/secret-retriever.js +30 -24
- package/lib/secret-retriever/secret-retriever.lambda.d.ts +1 -1
- package/lib/secret-retriever/secret-retriever.lambda.js +6 -6
- package/lib/suppress-nags.d.ts +1 -1
- package/lib/suppress-nags.js +3 -3
- package/lib/vscode-server.d.ts +38 -3
- package/lib/vscode-server.js +190 -150
- package/mavogelcdkvscodeserver/LinuxArchitectureType.go +2 -0
- package/mavogelcdkvscodeserver/LinuxFlavorType.go +3 -0
- package/mavogelcdkvscodeserver/VSCodeServer.go +3 -0
- package/mavogelcdkvscodeserver/VSCodeServerProps.go +1 -0
- package/mavogelcdkvscodeserver/jsii/jsii.go +2 -2
- package/mavogelcdkvscodeserver/version +1 -1
- package/package.json +6 -2
|
@@ -5,8 +5,11 @@ package mavogelcdkvscodeserver
|
|
|
5
5
|
type LinuxFlavorType string
|
|
6
6
|
|
|
7
7
|
const (
|
|
8
|
+
// Ubuntu 22.
|
|
8
9
|
LinuxFlavorType_UBUNTU_22 LinuxFlavorType = "UBUNTU_22"
|
|
10
|
+
// Ubuntu 24.
|
|
9
11
|
LinuxFlavorType_UBUNTU_24 LinuxFlavorType = "UBUNTU_24"
|
|
12
|
+
// Amazon Linux 2023.
|
|
10
13
|
LinuxFlavorType_AMAZON_LINUX_2023 LinuxFlavorType = "AMAZON_LINUX_2023"
|
|
11
14
|
)
|
|
12
15
|
|
|
@@ -8,11 +8,14 @@ import (
|
|
|
8
8
|
"github.com/MV-Consulting/cdk-vscode-server/mavogelcdkvscodeserver/internal"
|
|
9
9
|
)
|
|
10
10
|
|
|
11
|
+
// VSCodeServer - spin it up in under 10 minutes.
|
|
11
12
|
type VSCodeServer interface {
|
|
12
13
|
constructs.Construct
|
|
14
|
+
// The name of the domain the server is reachable.
|
|
13
15
|
DomainName() *string
|
|
14
16
|
// The tree node.
|
|
15
17
|
Node() constructs.Node
|
|
18
|
+
// The password to login to the server.
|
|
16
19
|
Password() *string
|
|
17
20
|
// Returns a string representation of this construct.
|
|
18
21
|
ToString() *string
|
|
@@ -14,7 +14,7 @@ import (
|
|
|
14
14
|
cdknag "github.com/cdklabs/cdk-nag-go/cdknag/v2/jsii"
|
|
15
15
|
)
|
|
16
16
|
|
|
17
|
-
//go:embed mavogel-cdk-vscode-server-0.0.
|
|
17
|
+
//go:embed mavogel-cdk-vscode-server-0.0.17.tgz
|
|
18
18
|
var tarball []byte
|
|
19
19
|
|
|
20
20
|
// Initialize loads the necessary packages in the @jsii/kernel to support the enclosing module.
|
|
@@ -26,5 +26,5 @@ func Initialize() {
|
|
|
26
26
|
constructs.Initialize()
|
|
27
27
|
|
|
28
28
|
// Load this library into the kernel
|
|
29
|
-
_jsii_.Load("@mavogel/cdk-vscode-server", "0.0.
|
|
29
|
+
_jsii_.Load("@mavogel/cdk-vscode-server", "0.0.17", tarball)
|
|
30
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.17
|
package/package.json
CHANGED
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"watch": "npx projen watch",
|
|
35
35
|
"projen": "npx projen",
|
|
36
36
|
"prepare": "husky",
|
|
37
|
+
"awslint": "awslint",
|
|
37
38
|
"integ-test": "integ-runner --directory ./integ-tests --parallel-regions eu-west-1 --parallel-regions eu-west-2 --update-on-failed"
|
|
38
39
|
},
|
|
39
40
|
"author": {
|
|
@@ -48,7 +49,6 @@
|
|
|
48
49
|
"@aws-sdk/client-ssm": "^3.735.0",
|
|
49
50
|
"@commitlint/cli": "^19.6.1",
|
|
50
51
|
"@commitlint/config-conventional": "^19.6.0",
|
|
51
|
-
"@stylistic/eslint-plugin": "^2",
|
|
52
52
|
"@types/aws-lambda": "^8.10.147",
|
|
53
53
|
"@types/jest": "^29.5.14",
|
|
54
54
|
"@types/jsdom": "^21.1.7",
|
|
@@ -56,12 +56,15 @@
|
|
|
56
56
|
"@typescript-eslint/eslint-plugin": "^8",
|
|
57
57
|
"@typescript-eslint/parser": "^8",
|
|
58
58
|
"aws-cdk-lib": "2.177.0",
|
|
59
|
+
"awslint": "^2.72.1",
|
|
59
60
|
"commit-and-tag-version": "^12",
|
|
60
61
|
"constructs": "10.0.5",
|
|
61
62
|
"esbuild": "^0.24.2",
|
|
62
63
|
"eslint": "^9",
|
|
64
|
+
"eslint-config-prettier": "^10.0.1",
|
|
63
65
|
"eslint-import-resolver-typescript": "^3.7.0",
|
|
64
66
|
"eslint-plugin-import": "^2.31.0",
|
|
67
|
+
"eslint-plugin-prettier": "^5.2.3",
|
|
65
68
|
"husky": "^9.1.7",
|
|
66
69
|
"jest": "^29.7.0",
|
|
67
70
|
"jest-junit": "^16",
|
|
@@ -70,6 +73,7 @@
|
|
|
70
73
|
"jsii-docgen": "^10.5.0",
|
|
71
74
|
"jsii-pacmak": "^1.106.0",
|
|
72
75
|
"jsii-rosetta": "~5.5.0",
|
|
76
|
+
"prettier": "^3.4.2",
|
|
73
77
|
"projen": "0.91.6",
|
|
74
78
|
"ts-jest": "^29.2.5",
|
|
75
79
|
"ts-node": "^10.9.2",
|
|
@@ -98,7 +102,7 @@
|
|
|
98
102
|
"publishConfig": {
|
|
99
103
|
"access": "public"
|
|
100
104
|
},
|
|
101
|
-
"version": "0.0.
|
|
105
|
+
"version": "0.0.18",
|
|
102
106
|
"jest": {
|
|
103
107
|
"coverageProvider": "v8",
|
|
104
108
|
"testMatch": [
|