mirror of
https://github.com/acedanger/finance.git
synced 2025-12-05 22:50:12 -08:00
refactor: Update devcontainer and configuration files for improved formatting and linting, corrected access to ssh keys (ref: #14)
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"astro-build.astro-vscode",
|
||||
"biomejs.biome-vscode",
|
||||
"GitHub.copilot",
|
||||
"GitHub.copilot-chat",
|
||||
"ms-vscode.vscode-typescript-next",
|
||||
@@ -16,14 +15,23 @@
|
||||
],
|
||||
"settings": {
|
||||
"editor.formatOnSave": true,
|
||||
"editor.defaultFormatter": "biomejs.biome-vscode",
|
||||
"[typescript]": {
|
||||
"editor.formatOnSave": true,
|
||||
"editor.defaultFormatter": null,
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll": true
|
||||
}
|
||||
},
|
||||
"[javascript]": {
|
||||
"editor.formatOnSave": true,
|
||||
"editor.defaultFormatter": null,
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll": true
|
||||
}
|
||||
},
|
||||
"[astro]": {
|
||||
"editor.defaultFormatter": "astro-build.astro-vscode"
|
||||
},
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.organizeImports.biome": true,
|
||||
"quickfix.biome": true
|
||||
},
|
||||
"typescript.updateImportsOnFileMove.enabled": "always",
|
||||
"editor.bracketPairColorization.enabled": true,
|
||||
"files.exclude": {
|
||||
@@ -37,6 +45,7 @@
|
||||
}
|
||||
},
|
||||
"forwardPorts": [3000],
|
||||
"postCreateCommand": "npm install",
|
||||
"remoteUser": "node"
|
||||
"postCreateCommand": "npm install && npm run check",
|
||||
"remoteUser": "node",
|
||||
"mounts": ["type=bind,source=${localEnv:HOME}/.ssh,target=/home/node/.ssh,readonly"]
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// @ts-check
|
||||
import { defineConfig } from 'astro/config';
|
||||
|
||||
import node from '@astrojs/node'; // Import Node adapter
|
||||
import node from '@astrojs/node';
|
||||
|
||||
import react from '@astrojs/react';
|
||||
|
||||
@@ -9,7 +9,7 @@ import react from '@astrojs/react';
|
||||
export default defineConfig({
|
||||
output: 'server',
|
||||
adapter: node({
|
||||
mode: 'standalone'
|
||||
mode: 'standalone',
|
||||
}),
|
||||
integrations: [react()],
|
||||
vite: {
|
||||
|
||||
@@ -29,11 +29,6 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"ignore": [
|
||||
"dist",
|
||||
"node_modules",
|
||||
".astro",
|
||||
"coverage"
|
||||
]
|
||||
"ignore": ["dist", "node_modules", ".astro", "coverage"]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user