feat(devcontainer): Add js-client to devcontainer (#736)

Add js-client to devcontainer
This commit is contained in:
InversionSpaces 2023-06-09 10:44:54 +02:00 committed by GitHub
parent 7410765606
commit 62b16426de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,52 +1,54 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the // For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/debian // README at: https://github.com/devcontainers/templates/tree/main/src/debian
{ {
"name": "Compiler Codespace", "name": "Compiler Codespace",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/base:bullseye", "image": "mcr.microsoft.com/devcontainers/base:bullseye",
// Features to add to the dev container. More info: https://containers.dev/features. // Features to add to the dev container. More info: https://containers.dev/features.
"features": { "features": {
"ghcr.io/devcontainers-contrib/features/sbt-sdkman:2": {}, "ghcr.io/devcontainers-contrib/features/sbt-sdkman:2": {},
"ghcr.io/devcontainers-contrib/features/scala-sdkman:2": {}, "ghcr.io/devcontainers-contrib/features/scala-sdkman:2": {},
"ghcr.io/devcontainers/features/node:1": { "ghcr.io/devcontainers/features/node:1": {
"version": "16" "version": "16"
} }
}, },
// TODO: Consider writing setup script
// TODO: Consider writing setup script "postCreateCommand": "bash -i -c \"npm -g install @fluencelabs/cli@latest\"",
"postCreateCommand": "bash -i -c \"npm -g install @fluencelabs/cli@latest\"", // Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'forwardPorts' to make a list of ports inside the container available locally. // Configure tool-specific properties.
// "forwardPorts": [], "customizations": {
"codespaces": {
// Configure tool-specific properties. "repositories": {
"customizations": { "fluencelabs/docs": {
"codespaces": { "permissions": "write-all"
"repositories": { },
"fluencelabs/docs": { "fluencelabs/aqua-vscode": {
"permissions": "write-all" "permissions": "write-all"
}, },
"fluencelabs/aqua-vscode": { "fluencelabs/examples": {
"permissions": "write-all" "permissions": "write-all"
}, },
"fluencelabs/examples": { "fluencelabs/aqua-tests": {
"permissions": "write-all" "permissions": "write-all"
}, },
"fluencelabs/aqua-playground": { "fluencelabs/js-client": {
"permissions": "write-all" "permissions": "write-all"
} },
} "fluencelabs/js-client-examples": {
}, "permissions": "write-all"
"vscode": { }
"extensions": [ }
"FluenceLabs.aqua", },
"scala-lang.scala", "vscode": {
"scalameta.metals", "extensions": [
"yzhang.markdown-all-in-one" "FluenceLabs.aqua",
] "scala-lang.scala",
} "scalameta.metals",
} "yzhang.markdown-all-in-one"
]
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. }
// "remoteUser": "root" }
} // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}