From 2b8b04c88d9479438e73526a844a9fd9b6efa964 Mon Sep 17 00:00:00 2001 From: dzil123 <5725958+dzil123@users.noreply.github.com> Date: Thu, 23 Jul 2026 09:10:44 +0000 Subject: [PATCH] Developer onboarding fixes - devcontainer, vscode, cargo-about --- .devcontainer/devcontainer.json | 10 +++++++--- .gitignore | 1 + .vscode/extensions.json | 1 + about.toml | 2 -- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 5f1c0dc14f..a36ad63042 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -2,11 +2,13 @@ "image": "mcr.microsoft.com/devcontainers/base:debian", "features": { "ghcr.io/devcontainers/features/rust:1": { - "profile": "default" + "profile": "default", + "targets": "wasm32-unknown-unknown" }, "ghcr.io/devcontainers/features/node:1": {} }, - "onCreateCommand": "cargo install cargo-about && cargo install -f wasm-bindgen-cli@0.2.121", + // NOTE: Keep this in sync with WASM_BINDGEN_CLI_VERSION and CARGO_ABOUT_VERSION in `.github/workflows/build.yml` + "onCreateCommand": "curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash && cargo binstall --no-confirm --force cargo-about@0.9.0 wasm-bindgen-cli@0.2.121", "customizations": { "vscode": { // NOTE: Keep this in sync with `.vscode/extensions.json` @@ -16,14 +18,16 @@ "tamasfe.even-better-toml", // Web "dbaeumer.vscode-eslint", + "esbenp.prettier-vscode", "svelte.svelte-vscode", "vitaliymaz.vscode-svg-previewer", // Code quality "wayou.vscode-todo-highlight", "streetsidesoftware.code-spell-checker", - // Helpful + // Git "mhutchie.git-graph", "qezhu.gitlink", + // Helpful "wmaurer.change-case" ] } diff --git a/.gitignore b/.gitignore index bb602ac1f9..f12081085d 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ flamegraph.svg .direnv .DS_Store .nvim.lua +devcontainer-lock.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json index dd8c135ef9..ed72fd603c 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -6,6 +6,7 @@ "tamasfe.even-better-toml", // Web "dbaeumer.vscode-eslint", + "esbenp.prettier-vscode", "svelte.svelte-vscode", "vitaliymaz.vscode-svg-previewer", // Code quality diff --git a/about.toml b/about.toml index 8b93e0f4f4..6610bc1bf1 100644 --- a/about.toml +++ b/about.toml @@ -22,8 +22,6 @@ accepted = [ workarounds = ["ring"] ignore-build-dependencies = true ignore-dev-dependencies = true -# Clearly Defined's API would occasionally (every few months) return errors for at least a full day (maybe some weird rate limiting?), but we can just disable to perform local checking (see #1653) -no-clearly-defined = true # https://raw.githubusercontent.com/briansmith/webpki/main/LICENSE # is the ISC license but test code within the repo is BSD-3-Clause, but is not compiled into the crate when we use it