Skip to content

Commit

Permalink
Merge pull request #11 from pheralb/next
Browse files Browse the repository at this point in the history
🚀 v1.0.0
  • Loading branch information
pheralb authored Jan 29, 2025
2 parents d10da4d + 4c6e06e commit 46434a6
Show file tree
Hide file tree
Showing 168 changed files with 9,392 additions and 8,156 deletions.
36 changes: 30 additions & 6 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 📦 Check
name: ⚙️ Check

on:
push:
Expand All @@ -13,7 +13,8 @@ on:
concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
test:
vitest:
name: 🧪 Vitest
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
Expand All @@ -24,11 +25,10 @@ jobs:
with:
node-version: 20

- uses: pnpm/action-setup@v2.0.1
- uses: pnpm/action-setup@v4
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: false

- name: Install dependencies
Expand All @@ -37,7 +37,32 @@ jobs:
- name: Vitest - Library
run: pnpm test

lint:
name: 🔎 Eslint
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- uses: pnpm/action-setup@v4
name: Install pnpm
id: pnpm-install
with:
run_install: false

- name: Install dependencies
run: pnpm install

- name: Eslint
run: pnpm lint

build:
name: 🛫 Build Website & Library
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
Expand All @@ -48,11 +73,10 @@ jobs:
with:
node-version: 20

- uses: pnpm/action-setup@v2.0.1
- uses: pnpm/action-setup@v4
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: false

- name: Install dependencies
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: 📦 Release
name: 🚀 Release

on:
workflow_dispatch:
release:
types: [published]
push:
branches:
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
name: Release
name: 🧑‍🚀 Publish
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
Expand All @@ -23,11 +23,10 @@ jobs:
with:
node-version: 20

- uses: pnpm/action-setup@v2.0.1
- uses: pnpm/action-setup@v4
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: false

- name: Get pnpm store directory
Expand All @@ -36,7 +35,7 @@ jobs:
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
Expand Down
34 changes: 27 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# Astro
.astro

# Dependencies
node_modules
.pnp
.pnp.js
/.pnp
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions

# Local env files
.env
Expand Down Expand Up @@ -34,6 +34,22 @@ dist
# Remix
/.cache

# Next.js
/.next/
/out/

# Content Collections
.content-collections

# Astro
.astro

# env files (can opt-in for committing if needed)
.env*

# vercel
.vercel

# Debug
npm-debug.log*
yarn-debug.log*
Expand All @@ -42,3 +58,7 @@ yarn-error.log*
# Misc
.DS_Store
*.pem

# typescript
*.tsbuildinfo
next-env.d.ts
7 changes: 6 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"recommendations": ["astro-build.astro-vscode"],
"recommendations": [
"astro-build.astro-vscode",
"unifiedjs.vscode-mdx",
"bradlc.vscode-tailwindcss",
"esbenp.prettier-vscode"
],
"unwantedRecommendations": []
}
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"prettier.documentSelectors": ["**/*.astro"],
"[astro]": {
"editor.defaultFormatter": "astro-build.astro-vscode"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"eslint.workingDirectories": [
Expand Down
34 changes: 0 additions & 34 deletions docs/astro.config.ts

This file was deleted.

44 changes: 0 additions & 44 deletions docs/package.json

This file was deleted.

Binary file removed docs/public/fonts/GeistMonoVF.woff2
Binary file not shown.
Binary file removed docs/public/fonts/GeistVF.woff2
Binary file not shown.
Binary file removed docs/public/images/og_image_2_white.jpg
Binary file not shown.
Binary file removed docs/public/images/og_image_white.jpg
Binary file not shown.
4 changes: 0 additions & 4 deletions docs/src/components/examples/examples.types.ts

This file was deleted.

Loading

0 comments on commit 46434a6

Please sign in to comment.