mirror of
https://github.com/Xevion/undefined.behavio.rs.git
synced 2025-12-06 01:16:46 -06:00
Add prettier, tailwindcss, prettier-plugin-astro
This commit is contained in:
5
.prettierrc.mjs
Normal file
5
.prettierrc.mjs
Normal file
@@ -0,0 +1,5 @@
|
||||
// .prettierrc.mjs
|
||||
/** @type {import("prettier").Config} */
|
||||
export default {
|
||||
plugins: ['prettier-plugin-astro'],
|
||||
};
|
||||
@@ -1,4 +1,8 @@
|
||||
import { defineConfig } from 'astro/config';
|
||||
import { defineConfig } from "astro/config";
|
||||
|
||||
import tailwind from "@astrojs/tailwind";
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({});
|
||||
export default defineConfig({
|
||||
integrations: [tailwind()],
|
||||
});
|
||||
|
||||
@@ -11,7 +11,10 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/check": "^0.3.1",
|
||||
"@astrojs/tailwind": "^5.0.2",
|
||||
"astro": "^3.6.0",
|
||||
"prettier": "^3.1.0",
|
||||
"prettier-plugin-astro": "^0.12.2",
|
||||
"sass": "^1.69.5",
|
||||
"tailwindcss": "^3.3.5",
|
||||
"typescript": "^5.3.2"
|
||||
|
||||
99
pnpm-lock.yaml
generated
99
pnpm-lock.yaml
generated
@@ -7,10 +7,19 @@ settings:
|
||||
dependencies:
|
||||
'@astrojs/check':
|
||||
specifier: ^0.3.1
|
||||
version: 0.3.1(typescript@5.3.2)
|
||||
version: 0.3.1(prettier-plugin-astro@0.12.2)(prettier@3.1.0)(typescript@5.3.2)
|
||||
'@astrojs/tailwind':
|
||||
specifier: ^5.0.2
|
||||
version: 5.0.2(astro@3.6.0)(tailwindcss@3.3.5)
|
||||
astro:
|
||||
specifier: ^3.6.0
|
||||
version: 3.6.0(sass@1.69.5)(typescript@5.3.2)
|
||||
prettier:
|
||||
specifier: ^3.1.0
|
||||
version: 3.1.0
|
||||
prettier-plugin-astro:
|
||||
specifier: ^0.12.2
|
||||
version: 0.12.2
|
||||
sass:
|
||||
specifier: ^1.69.5
|
||||
version: 1.69.5
|
||||
@@ -36,13 +45,13 @@ packages:
|
||||
'@jridgewell/trace-mapping': 0.3.20
|
||||
dev: false
|
||||
|
||||
/@astrojs/check@0.3.1(typescript@5.3.2):
|
||||
/@astrojs/check@0.3.1(prettier-plugin-astro@0.12.2)(prettier@3.1.0)(typescript@5.3.2):
|
||||
resolution: {integrity: sha512-3LjEUvh7Z4v9NPokaqKMXQ0DwnSXfmtcyAuWVTjNt9yzjv54SxykobV5CTOB3TIko+Rqg59ejamJBxaJN6fvkw==}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
typescript: ^5.0.0
|
||||
dependencies:
|
||||
'@astrojs/language-server': 2.5.2(typescript@5.3.2)
|
||||
'@astrojs/language-server': 2.5.2(prettier-plugin-astro@0.12.2)(prettier@3.1.0)(typescript@5.3.2)
|
||||
chokidar: 3.5.3
|
||||
fast-glob: 3.3.2
|
||||
kleur: 4.1.5
|
||||
@@ -53,6 +62,10 @@ packages:
|
||||
- prettier-plugin-astro
|
||||
dev: false
|
||||
|
||||
/@astrojs/compiler@1.8.2:
|
||||
resolution: {integrity: sha512-o/ObKgtMzl8SlpIdzaxFnt7SATKPxu4oIP/1NL+HDJRzxfJcAkOTAb/ZKMRyULbz4q+1t2/DAebs2Z1QairkZw==}
|
||||
dev: false
|
||||
|
||||
/@astrojs/compiler@2.3.2:
|
||||
resolution: {integrity: sha512-jkY7bCVxl27KeZsSxIZ+pqACe+g8VQUdTiSJRj/sXYdIaZlW3ZMq4qF2M17P/oDt3LBq0zLNwQr4Cb7fSpRGxQ==}
|
||||
dev: false
|
||||
@@ -61,7 +74,7 @@ packages:
|
||||
resolution: {integrity: sha512-06DD2ZnItMwUnH81LBLco3tWjcZ1lGU9rLCCBaeUCGYe9cI0wKyY2W3kDyoW1I6GmcWgt1fu+D1CTvz+FIKf8A==}
|
||||
dev: false
|
||||
|
||||
/@astrojs/language-server@2.5.2(typescript@5.3.2):
|
||||
/@astrojs/language-server@2.5.2(prettier-plugin-astro@0.12.2)(prettier@3.1.0)(typescript@5.3.2):
|
||||
resolution: {integrity: sha512-O5SMzoQ65wSxA1KygreI9UJYmHpgt15bSYBxceHwqX7OCDM4Ek8mr6mZn45LGDtwM3dp1uup7kp8exfRPwIFbA==}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
@@ -83,10 +96,12 @@ packages:
|
||||
'@volar/typescript': 1.10.10
|
||||
fast-glob: 3.3.2
|
||||
muggle-string: 0.3.1
|
||||
prettier: 3.1.0
|
||||
prettier-plugin-astro: 0.12.2
|
||||
volar-service-css: 0.0.16(@volar/language-service@1.10.10)
|
||||
volar-service-emmet: 0.0.16(@volar/language-service@1.10.10)
|
||||
volar-service-html: 0.0.16(@volar/language-service@1.10.10)
|
||||
volar-service-prettier: 0.0.16(@volar/language-service@1.10.10)
|
||||
volar-service-prettier: 0.0.16(@volar/language-service@1.10.10)(prettier@3.1.0)
|
||||
volar-service-typescript: 0.0.16(@volar/language-service@1.10.10)(@volar/typescript@1.10.10)
|
||||
volar-service-typescript-twoslash-queries: 0.0.16(@volar/language-service@1.10.10)
|
||||
vscode-html-languageservice: 5.1.1
|
||||
@@ -126,6 +141,21 @@ packages:
|
||||
prismjs: 1.29.0
|
||||
dev: false
|
||||
|
||||
/@astrojs/tailwind@5.0.2(astro@3.6.0)(tailwindcss@3.3.5):
|
||||
resolution: {integrity: sha512-oXqeqmBlkQmsltrsU9nEWeXOtrZIAHW8dcmX7BCdrjzPnU6dPwWzAwhddNQ9ihKiWwsLnlbwQZIo2CDigcZlIA==}
|
||||
peerDependencies:
|
||||
astro: ^3.2.4
|
||||
tailwindcss: ^3.0.24
|
||||
dependencies:
|
||||
astro: 3.6.0(sass@1.69.5)(typescript@5.3.2)
|
||||
autoprefixer: 10.4.16(postcss@8.4.31)
|
||||
postcss: 8.4.31
|
||||
postcss-load-config: 4.0.2(postcss@8.4.31)
|
||||
tailwindcss: 3.3.5
|
||||
transitivePeerDependencies:
|
||||
- ts-node
|
||||
dev: false
|
||||
|
||||
/@astrojs/telemetry@3.0.4:
|
||||
resolution: {integrity: sha512-A+0c7k/Xy293xx6odsYZuXiaHO0PL+bnDoXOc47sGDF5ffIKdKQGRPFl2NMlCF4L0NqN4Ynbgnaip+pPF0s7pQ==}
|
||||
engines: {node: '>=18.14.1'}
|
||||
@@ -1138,6 +1168,22 @@ packages:
|
||||
- typescript
|
||||
dev: false
|
||||
|
||||
/autoprefixer@10.4.16(postcss@8.4.31):
|
||||
resolution: {integrity: sha512-7vd3UC6xKp0HLfua5IjZlcXvGAGy7cBAXTg2lyQ/8WpNhd6SiZ8Be+xm3FyBSYJx5GKcpRCzBh7RH4/0dnY+uQ==}
|
||||
engines: {node: ^10 || ^12 || >=14}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
postcss: ^8.1.0
|
||||
dependencies:
|
||||
browserslist: 4.22.1
|
||||
caniuse-lite: 1.0.30001564
|
||||
fraction.js: 4.3.7
|
||||
normalize-range: 0.1.2
|
||||
picocolors: 1.0.0
|
||||
postcss: 8.4.31
|
||||
postcss-value-parser: 4.2.0
|
||||
dev: false
|
||||
|
||||
/b4a@1.6.4:
|
||||
resolution: {integrity: sha512-fpWrvyVHEKyeEvbKZTVOeZF3VSKKWtJxFIxX/jaVPf+cLbGUSitjb49pHLqPV2BUNNZ0LcoeEGfE/YCpyDYHIw==}
|
||||
requiresBuild: true
|
||||
@@ -1739,6 +1785,10 @@ packages:
|
||||
pkg-dir: 4.2.0
|
||||
dev: false
|
||||
|
||||
/fraction.js@4.3.7:
|
||||
resolution: {integrity: sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==}
|
||||
dev: false
|
||||
|
||||
/fs-constants@1.0.0:
|
||||
resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==}
|
||||
requiresBuild: true
|
||||
@@ -2852,6 +2902,11 @@ packages:
|
||||
engines: {node: '>=0.10.0'}
|
||||
dev: false
|
||||
|
||||
/normalize-range@0.1.2:
|
||||
resolution: {integrity: sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==}
|
||||
engines: {node: '>=0.10.0'}
|
||||
dev: false
|
||||
|
||||
/npm-run-path@5.1.0:
|
||||
resolution: {integrity: sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==}
|
||||
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
|
||||
@@ -3140,6 +3195,21 @@ packages:
|
||||
which-pm: 2.0.0
|
||||
dev: false
|
||||
|
||||
/prettier-plugin-astro@0.12.2:
|
||||
resolution: {integrity: sha512-1OXSEht27zrnX7rCa0bEpLdspeumFW4hnj4+JzPuG5bRlSOAhD0rbXBNZfRD9q0Qbr00EcCcnjd6k6M8q+GfTA==}
|
||||
engines: {node: ^14.15.0 || >=16.0.0}
|
||||
dependencies:
|
||||
'@astrojs/compiler': 1.8.2
|
||||
prettier: 3.1.0
|
||||
sass-formatter: 0.7.8
|
||||
dev: false
|
||||
|
||||
/prettier@3.1.0:
|
||||
resolution: {integrity: sha512-TQLvXjq5IAibjh8EpBIkNKxO749UEWABoiIZehEPiY4GNpVdhaFKqSTu+QrlU6D2dPAfubRmtJTi4K4YkQ5eXw==}
|
||||
engines: {node: '>=14'}
|
||||
hasBin: true
|
||||
dev: false
|
||||
|
||||
/prismjs@1.29.0:
|
||||
resolution: {integrity: sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==}
|
||||
engines: {node: '>=6'}
|
||||
@@ -3373,6 +3443,10 @@ packages:
|
||||
queue-microtask: 1.2.3
|
||||
dev: false
|
||||
|
||||
/s.color@0.0.15:
|
||||
resolution: {integrity: sha512-AUNrbEUHeKY8XsYr/DYpl+qk5+aM+DChopnWOPEzn8YKzOhv4l2zH6LzZms3tOZP3wwdOyc0RmTciyi46HLIuA==}
|
||||
dev: false
|
||||
|
||||
/sade@1.8.1:
|
||||
resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==}
|
||||
engines: {node: '>=6'}
|
||||
@@ -3388,6 +3462,12 @@ packages:
|
||||
resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==}
|
||||
dev: false
|
||||
|
||||
/sass-formatter@0.7.8:
|
||||
resolution: {integrity: sha512-7fI2a8THglflhhYis7k06eUf92VQuJoXzEs2KRP0r1bluFxKFvLx0Ns7c478oYGM0fPfrr846ZRWVi2MAgHt9Q==}
|
||||
dependencies:
|
||||
suf-log: 2.5.3
|
||||
dev: false
|
||||
|
||||
/sass@1.69.5:
|
||||
resolution: {integrity: sha512-qg2+UCJibLr2LCVOt3OlPhr/dqVHWOa9XtZf2OjbLs/T4VPSJ00udtgJxH3neXZm+QqX8B+3cU7RaLqp1iVfcQ==}
|
||||
engines: {node: '>=14.0.0'}
|
||||
@@ -3625,6 +3705,12 @@ packages:
|
||||
ts-interface-checker: 0.1.13
|
||||
dev: false
|
||||
|
||||
/suf-log@2.5.3:
|
||||
resolution: {integrity: sha512-KvC8OPjzdNOe+xQ4XWJV2whQA0aM1kGVczMQ8+dStAO6KfEB140JEVQ9dE76ONZ0/Ylf67ni4tILPJB41U0eow==}
|
||||
dependencies:
|
||||
s.color: 0.0.15
|
||||
dev: false
|
||||
|
||||
/supports-color@5.5.0:
|
||||
resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==}
|
||||
engines: {node: '>=4'}
|
||||
@@ -4047,7 +4133,7 @@ packages:
|
||||
vscode-uri: 3.0.8
|
||||
dev: false
|
||||
|
||||
/volar-service-prettier@0.0.16(@volar/language-service@1.10.10):
|
||||
/volar-service-prettier@0.0.16(@volar/language-service@1.10.10)(prettier@3.1.0):
|
||||
resolution: {integrity: sha512-Kj2ZdwJGEvfYbsHW8Sjrew/7EB4PgRoas4f8yAJzUUVxIC/kvhUwLDxQc8+N2IibomN76asJGWe+i6VZZvgIkw==}
|
||||
peerDependencies:
|
||||
'@volar/language-service': ~1.10.0
|
||||
@@ -4059,6 +4145,7 @@ packages:
|
||||
optional: true
|
||||
dependencies:
|
||||
'@volar/language-service': 1.10.10
|
||||
prettier: 3.1.0
|
||||
dev: false
|
||||
|
||||
/volar-service-typescript-twoslash-queries@0.0.16(@volar/language-service@1.10.10):
|
||||
|
||||
8
tailwind.config.mjs
Normal file
8
tailwind.config.mjs
Normal file
@@ -0,0 +1,8 @@
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
export default {
|
||||
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
|
||||
theme: {
|
||||
extend: {},
|
||||
},
|
||||
plugins: [],
|
||||
};
|
||||
Reference in New Issue
Block a user