mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-02 05:58:12 +08:00
Add dev container configuration
This commit is contained in:
@@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
"image": "mcr.microsoft.com/devcontainers/universal:2",
|
||||||
|
"features": {
|
||||||
|
"ghcr.io/devcontainers/features/rust:1": {
|
||||||
|
"profile": "default"
|
||||||
|
},
|
||||||
|
"ghcr.io/devcontainers/features/node:1": {}
|
||||||
|
},
|
||||||
|
"onCreateCommand": "cargo install cargo-watch cargo-about",
|
||||||
|
"postCreateCommand": "cd frontend && npm install",
|
||||||
|
"customizations": {
|
||||||
|
"vscode": {
|
||||||
|
// NOTE: Keep this in sync with `.vscode/extensions.json`
|
||||||
|
"extensions": [
|
||||||
|
// Rust
|
||||||
|
"rust-lang.rust-analyzer",
|
||||||
|
"tamasfe.even-better-toml",
|
||||||
|
"serayuzgur.crates",
|
||||||
|
// Web
|
||||||
|
"dbaeumer.vscode-eslint",
|
||||||
|
"svelte.svelte-vscode",
|
||||||
|
"vitaliymaz.vscode-svg-previewer",
|
||||||
|
// Code quality
|
||||||
|
"wayou.vscode-todo-highlight",
|
||||||
|
"streetsidesoftware.code-spell-checker",
|
||||||
|
// Helpful
|
||||||
|
"mhutchie.git-graph",
|
||||||
|
"waderyan.gitblame",
|
||||||
|
"qezhu.gitlink",
|
||||||
|
"wmaurer.change-case"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
[submodule "node-graph/dyn-any"]
|
|
||||||
path = node-graph/dyn-any
|
|
||||||
url = https://github.com/truedoctor/dyn-any
|
|
||||||
Vendored
+3
-1
@@ -1,7 +1,10 @@
|
|||||||
{
|
{
|
||||||
|
// NOTE: Keep this in sync with `.devcontainer/devcontainer.json`
|
||||||
"recommendations": [
|
"recommendations": [
|
||||||
// Rust
|
// Rust
|
||||||
"rust-lang.rust-analyzer",
|
"rust-lang.rust-analyzer",
|
||||||
|
"tamasfe.even-better-toml",
|
||||||
|
"serayuzgur.crates",
|
||||||
// Web
|
// Web
|
||||||
"dbaeumer.vscode-eslint",
|
"dbaeumer.vscode-eslint",
|
||||||
"svelte.svelte-vscode",
|
"svelte.svelte-vscode",
|
||||||
@@ -14,6 +17,5 @@
|
|||||||
"waderyan.gitblame",
|
"waderyan.gitblame",
|
||||||
"qezhu.gitlink",
|
"qezhu.gitlink",
|
||||||
"wmaurer.change-case",
|
"wmaurer.change-case",
|
||||||
"shalimski.swapdiff"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+1
-1
@@ -35,7 +35,7 @@
|
|||||||
"ts-node": "^10.9.1",
|
"ts-node": "^10.9.1",
|
||||||
"typescript": "^5.0.4",
|
"typescript": "^5.0.4",
|
||||||
"vite": "^4.4.5",
|
"vite": "^4.4.5",
|
||||||
"vite-multiple-assets": "^1.2.6"
|
"vite-multiple-assets": "1.2.6"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"wasm-pack": "0.12.1"
|
"wasm-pack": "0.12.1"
|
||||||
|
|||||||
Generated
+6
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "Graphite",
|
||||||
|
"lockfileVersion": 2,
|
||||||
|
"requires": true,
|
||||||
|
"packages": {}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user