Skip to content

Commit

Permalink
chore: config prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
iankressin committed Aug 20, 2024
1 parent bb7094d commit a5128a7
Show file tree
Hide file tree
Showing 19 changed files with 7,441 additions and 5,488 deletions.
14 changes: 14 additions & 0 deletions research/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"semi": false,
"tabWidth": 4,
"singleQuote": true,
"plugins": ["prettier-plugin-astro"],
"overrides": [
{
"files": "*.astro",
"options": {
"parser": "astro"
}
}
]
}
4 changes: 2 additions & 2 deletions research/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"recommendations": ["astro-build.astro-vscode"],
"unwantedRecommendations": []
"recommendations": ["astro-build.astro-vscode"],
"unwantedRecommendations": []
}
18 changes: 9 additions & 9 deletions research/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"version": "0.2.0",
"configurations": [
{
"command": "./node_modules/.bin/astro dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
}
]
"version": "0.2.0",
"configurations": [
{
"command": "./node_modules/.bin/astro dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
}
]
}
22 changes: 11 additions & 11 deletions research/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { defineConfig } from 'astro/config';
import tailwind from "@astrojs/tailwind";
import node from "@astrojs/node";
import { defineConfig } from 'astro/config'
import tailwind from '@astrojs/tailwind'
import node from '@astrojs/node'

import svelte from "@astrojs/svelte";
import svelte from '@astrojs/svelte'

// https://astro.build/config
export default defineConfig({
integrations: [tailwind(), svelte()],
output: "server",
darkMode: 'selector',
adapter: node({
mode: "standalone"
})
});
integrations: [tailwind(), svelte()],
output: 'server',
darkMode: 'selector',
adapter: node({
mode: 'standalone',
}),
})
48 changes: 25 additions & 23 deletions research/package.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
{
"name": "research",
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro check && astro build",
"preview": "astro preview",
"astro": "astro"
},
"dependencies": {
"@astrojs/check": "^0.9.2",
"@astrojs/node": "^8.3.3",
"@astrojs/svelte": "^5.7.0",
"@astrojs/tailwind": "^5.1.0",
"astro": "^4.14.2",
"svelte": "^4.2.18",
"tailwindcss": "^3.4.10",
"typescript": "^5.5.4"
},
"devDependencies": {
"sass": "^1.77.8"
}
"name": "research",
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro check && astro build",
"preview": "astro preview",
"astro": "astro"
},
"dependencies": {
"@astrojs/check": "^0.9.2",
"@astrojs/node": "^8.3.3",
"@astrojs/svelte": "^5.7.0",
"@astrojs/tailwind": "^5.1.0",
"astro": "^4.14.2",
"svelte": "^4.2.18",
"tailwindcss": "^3.4.10",
"typescript": "^5.5.4"
},
"devDependencies": {
"prettier": "^3.3.3",
"prettier-plugin-astro": "^0.14.1",
"sass": "^1.77.8"
}
}
Loading

0 comments on commit a5128a7

Please sign in to comment.