diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 77026d75e..048a2c375 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -15,9 +15,7 @@ "eamodio.gitlens", "EditorConfig.EditorConfig", "esbenp.prettier-vscode", - "deepscan.vscode-deepscan", "SonarSource.sonarlint-vscode", - "unifiedjs.vscode-mdx", "VASubasRaj.flashpost", // Thunder Client is paywalled in WSL/Codespaces/SSH > 2.30.0 "ZihanLi.at-helper" ] diff --git a/.gitpod.yml b/.gitpod.yml index 0ee2c93f2..e88bef50a 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -31,8 +31,6 @@ vscode: - eamodio.gitlens - EditorConfig.EditorConfig - esbenp.prettier-vscode - - deepscan.vscode-deepscan - sonarsource.sonarlint-vscode - # - VASubasRaj.flashpost not available on Open VSX, Thunder Client is paywalled in WSL/Codespaces/SSH > 2.30.0 - - unifiedjs.vscode-mdx + # - VASubasRaj.flashpost and KeyRunner.keyrunner are not available on Open VSX, Thunder Client is paywalled in WSL/Codespaces/SSH > 2.30.0 # - ZihanLi.at-helper not available on Open VSX diff --git a/.idx/dev.nix b/.idx/dev.nix new file mode 100644 index 000000000..a8e6be870 --- /dev/null +++ b/.idx/dev.nix @@ -0,0 +1,63 @@ +# To learn more about how to use Nix to configure your environment +# see: https://firebase.google.com/docs/studio/customize-workspace +{ pkgs, ... }: { + # Which nixpkgs channel to use. + channel = "unstable"; # or "unstable" + + # Use https://search.nixos.org/packages to find packages + packages = [ + # pkgs.go + # pkgs.python311 + # pkgs.python311Packages.pip + pkgs.nodejs_22 + pkgs.pnpm_9 + # pkgs.nodePackages.nodemon + pkgs.cacert + pkgs.valkey + ]; + + # Sets environment variables in the workspace + env = {}; + idx = { + # Search for the extensions you want on https://open-vsx.org/ and use "publisher.id" + extensions = [ + "cweijan.vscode-database-client2" + "dbaeumer.vscode-eslint" + "eamodio.gitlens" + "EditorConfig.EditorConfig" + "esbenp.prettier-vscode" + "sonarsource.sonarlint-vscode" + ]; + + # Enable previews + previews = { + enable = true; + previews = { + # web = { + # # Example: run "npm run dev" with PORT set to IDX's defined port for previews, + # # and show it in IDX's web preview panel + # command = ["npm" "run" "dev"]; + # manager = "web"; + # env = { + # # Environment variables to set for your server + # PORT = "$PORT"; + # }; + # }; + }; + }; + + # Workspace lifecycle hooks + workspace = { + # Runs when a workspace is first created + onCreate = { + # Example: install JS dependencies from NPM + pnpm-install = "pnpm i && pnpm rb"; + }; + # Runs when the workspace is (re)started + onStart = { + # Example: start a background task to watch and re-build backend code + # watch-backend = "npm run watch-backend"; + }; + }; + }; +}