Skip to content

Commit

Permalink
Added more stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugos68 committed Dec 31, 2024
1 parent 0e46019 commit 20710bc
Show file tree
Hide file tree
Showing 7 changed files with 165 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
Empty file.
116 changes: 116 additions & 0 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
name: Code Quality

on:
pull_request:
branches:
- main

jobs:
setup:
name: Setup
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'

- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 'latest'
run_install: false

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- name: Setup pnpm cache
uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --frozen-lockfile

lint:
name: Lint
needs: setup
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'

- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 'latest'
run_install: false

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Run Biome checks
run: pnpm biome ci

test:
name: Test
needs: setup
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'

- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 'latest'
run_install: false

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Run tests
run: pnpm test

build:
name: Build
needs: setup
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'

- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 'latest'
run_install: false

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build project
run: pnpm build
Empty file added README.md
Empty file.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@changesets/cli": "^2.27.11"
}
},
"packageManager": "[email protected]"
}
35 changes: 35 additions & 0 deletions packages/floating-ui-svelte/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# @skeletonlabs/floating-ui-svelte

## 0.3.2

### Patch Changes

- 2765dbf: Patch: Svelte version bump

## 0.3.1

### Patch Changes

- 1064c7f: Patch: Svelte version bump

## 0.3.0

### Minor Changes

- 8f4c7ef: feature: Added the useFocus hook

## 0.2.0

### Minor Changes

- 94b84f5: Added `useId` hook
- eba3989: Added the `useClick` hook

## 0.1.0

### Minor Changes

- 3ae279e: Added `useRole` hook
- 8159907: Added the `useHover` hook
- 5cd74c9: feature: added the FloatingArrow component
- 08a58ab: Added the `useInteractions` hook
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 20710bc

Please sign in to comment.