Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 20 additions & 22 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,25 +1,23 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
.vscode/
!.vscode/extensions.json
.idea
# Output
.output
.vercel
.netlify
.wrangler
/.svelte-kit
/build

# OS
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
Thumbs.db

# Env
.env
.env.*
!.env.example
!.env.test

# Vite
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"files.associations": {
"*.css": "tailwindcss"
}
}
47 changes: 34 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,38 @@
![version](https://img.shields.io/github/package-json/v/averwhy/aversite?style=flat-square)
![react](https://img.shields.io/npm/v/react?color=61dbfb&label=react&style=flat-square)
![updated](https://img.shields.io/github/last-commit/averwhy/aversite?style=flat-square)
![commits](https://img.shields.io/github/commit-activity/w/averwhy/aversite?color=gree&style=flat-square)
![stars](https://img.shields.io/github/stars/averwhy/aversite?color=gold&style=flat-square)
# sv

# [aversite](https://averwhy.net)
Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli).

My website. Will contain things like an about me, programming portfolio, photography portfolio, etc.
## Creating a project

## Tools
Made with Vite and React using this temple from [not-first](https://github.com/not-first/vite-biome-tailwind-template)
If you're seeing this, you've probably already done this step. Congrats!

Also uses:
- [Biome](https://biomejs.dev/): A fast formatter and linter (replacing both ESLint and Prettier) written in rust.
- [TailwindCSS](https://tailwindcss.com/): CSS utility that provides classes to apply inline styles to components
- [PrimeReact](https://primereact.org): Complete UI Suite for React.js
```sh
# create a new project in the current directory
npx sv create

# create a new project in my-app
npx sv create my-app
```

## Developing

Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:

```sh
npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open
```

## Building

To create a production version of your app:

```sh
npm run build
```

You can preview the production build with `npm run preview`.

> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.
38 changes: 0 additions & 38 deletions biome.json

This file was deleted.

685 changes: 290 additions & 395 deletions bun.lock

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "https://shadcn-svelte.com/schema.json",
"tailwind": {
"css": "src/routes/layout.css",
"baseColor": "neutral"
},
"aliases": {
"components": "$lib/components",
"utils": "$lib/utils",
"ui": "$lib/components/ui",
"hooks": "$lib/hooks",
"lib": "$lib"
},
"typescript": true,
"registry": "https://shadcn-svelte.com/registry",
"style": "mira",
"iconLibrary": "lucide",
"menuColor": "default-translucent",
"menuAccent": "subtle"
}
13 changes: 0 additions & 13 deletions index.html

This file was deleted.

Loading