|
1 | 1 | { |
2 | | - "name": "uv + renv", |
| 2 | + "name": "Release - Universal - Quarto Codespaces", |
3 | 3 | "build": { |
4 | | - "dockerfile": "Dockerfile" |
| 4 | + "dockerfile": "Dockerfile", |
| 5 | + "context": ".", |
| 6 | + "args": { |
| 7 | + "IMAGE": "mcr.microsoft.com/devcontainers/universal:latest" |
| 8 | + } |
| 9 | + }, |
| 10 | + "remoteUser": "codespace", |
| 11 | + "features": { |
| 12 | + "ghcr.io/rocker-org/devcontainer-features/quarto-cli:1": { |
| 13 | + "version": "release", |
| 14 | + "installTinyTex": "true" |
| 15 | + }, |
| 16 | + "ghcr.io/astral-sh/devcontainer-features/uv:1": { |
| 17 | + "version": "latest" |
| 18 | + }, |
| 19 | + "ghcr.io/rocker-org/devcontainer-features/r-packages:1": { |
| 20 | + "packages": "rmarkdown,languageserver,prompt,lintr,nx10/[email protected]" |
| 21 | + } |
5 | 22 | }, |
6 | | - "postCreateCommand": "uv sync && R -q -e \"renv::restore()\"", |
| 23 | + "postCreateCommand": "uv pip install jupyter papermill", |
7 | 24 | "customizations": { |
8 | 25 | "vscode": { |
9 | 26 | "extensions": [ |
10 | 27 | "quarto.quarto", |
| 28 | + "mcanouil.quarto-wizard", |
11 | 29 | "REditorSupport.r", |
12 | 30 | "ms-python.python", |
13 | | - "charliermarsh.ruff", |
| 31 | + "ms-python.black-formatter", |
| 32 | + "ms-python.flake8", |
14 | 33 | "ms-python.vscode-pylance", |
| 34 | + "ms-python.pylint", |
| 35 | + "ms-python.isort", |
15 | 36 | "ms-toolsai.jupyter", |
16 | | - "Posit.air-vscode", |
17 | | - "dbaeumer.vscode-eslint", |
18 | | - "esbenp.prettier-vscode" |
19 | | - ] |
| 37 | + "Posit.air-vscode" |
| 38 | + ], |
| 39 | + "settings": { |
| 40 | + "r.rterm.option": ["--no-save", "--no-restore-data", "--quiet"], |
| 41 | + "r.useRenvLibPath": true, |
| 42 | + "[r]": { |
| 43 | + "editor.defaultFormatter": "Posit.air-vscode", |
| 44 | + "editor.formatOnSave": true |
| 45 | + } |
| 46 | + } |
20 | 47 | } |
21 | 48 | } |
22 | 49 | } |
0 commit comments