diff --git a/.vscode/settings.json b/.vscode/settings.json index 61fbee9..43a9bb1 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,13 +3,22 @@ "[nix]": { "editor.defaultFormatter": "kamadorueda.alejandra" }, + "[json]": { + "editor.defaultFormatter": "vscode.json-language-features" + }, "[jsonc]": { "editor.defaultFormatter": "vscode.json-language-features" }, + "[typescript]": { + "editor.defaultFormatter": "vscode.typescript-language-features" + }, + "[typescriptreact]": { + "editor.defaultFormatter": "vscode.typescript-language-features" + }, "[javascript]": { "editor.defaultFormatter": "vscode.typescript-language-features" }, "[astro]": { "editor.defaultFormatter": "astro-build.astro-vscode" } -} +} \ No newline at end of file diff --git a/astro.config.mjs b/astro.config.mjs index 0754a4a..20811b5 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -7,9 +7,14 @@ export default defineConfig({ // https://astro.build/config site: "https://srx.digital", server: { port: 3001 }, - integrations: [react(), tailwind()], - devToolbar: { enabled: false }, + integrations: [ + react(), + tailwind() + ], vite: { - plugins: [svgr()], + plugins: [ + svgr() + ], }, + devToolbar: { enabled: false }, }); diff --git a/tsconfig.json b/tsconfig.json index 13fc676..11d87e3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,34 +8,40 @@ "compilerOptions": { "baseUrl": ".", "paths": { - "@srx-components": [ + "@srx/assets": [ + "src/assets" + ], + "@srx/assets/*": [ + "src/assets/*" + ], + "@srx/components": [ "src/components" ], - "@srx-components/*": [ + "@srx/components/*": [ "src/components/*" ], - "@srx-layouts": [ + "@srx/layouts": [ "src/layouts" ], - "@srx-layouts/*": [ + "@srx/layouts/*": [ "src/layouts/*" ], - "@srx-pages": [ + "@srx/pages": [ "src/pages" ], - "@srx-pages/*": [ + "@srx/pages/*": [ "src/pages/*" ], - "@srx-scripts": [ + "@srx/scripts": [ "src/scripts" ], - "@srx-scripts/*": [ + "@srx/scripts/*": [ "src/scripts/*" ], - "@srx-styles": [ + "@srx/styles": [ "src/styles" ], - "@srx-styles/*": [ + "@srx/styles/*": [ "src/styles/*" ] },