Skip to content

Commit 20710bc

Browse files
committed
Added more stuff
1 parent 0e46019 commit 20710bc

File tree

7 files changed

+165
-2
lines changed

7 files changed

+165
-2
lines changed

.changeset/config.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/config@3.0.5/schema.json",
3+
"changelog": "@changesets/cli/changelog",
4+
"commit": false,
5+
"fixed": [],
6+
"linked": [],
7+
"access": "restricted",
8+
"baseBranch": "main",
9+
"updateInternalDependencies": "patch",
10+
"ignore": []
11+
}

.github/workflows/build-publish.yml

Whitespace-only changes.

.github/workflows/code-quality.yml

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
name: Code Quality
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
setup:
10+
name: Setup
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: 'lts/*'
20+
21+
- name: Install pnpm
22+
uses: pnpm/action-setup@v3
23+
with:
24+
version: 'latest'
25+
run_install: false
26+
27+
- name: Get pnpm store directory
28+
shell: bash
29+
run: |
30+
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
31+
32+
- name: Setup pnpm cache
33+
uses: actions/cache@v4
34+
with:
35+
path: ${{ env.STORE_PATH }}
36+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
37+
restore-keys: |
38+
${{ runner.os }}-pnpm-store-
39+
40+
- name: Install dependencies
41+
run: pnpm install --frozen-lockfile
42+
43+
lint:
44+
name: Lint
45+
needs: setup
46+
runs-on: ubuntu-latest
47+
steps:
48+
- name: Checkout code
49+
uses: actions/checkout@v4
50+
51+
- name: Setup Node.js
52+
uses: actions/setup-node@v4
53+
with:
54+
node-version: 'lts/*'
55+
56+
- name: Install pnpm
57+
uses: pnpm/action-setup@v3
58+
with:
59+
version: 'latest'
60+
run_install: false
61+
62+
- name: Install dependencies
63+
run: pnpm install --frozen-lockfile
64+
65+
- name: Run Biome checks
66+
run: pnpm biome ci
67+
68+
test:
69+
name: Test
70+
needs: setup
71+
runs-on: ubuntu-latest
72+
steps:
73+
- name: Checkout code
74+
uses: actions/checkout@v4
75+
76+
- name: Setup Node.js
77+
uses: actions/setup-node@v4
78+
with:
79+
node-version: 'lts/*'
80+
81+
- name: Install pnpm
82+
uses: pnpm/action-setup@v3
83+
with:
84+
version: 'latest'
85+
run_install: false
86+
87+
- name: Install dependencies
88+
run: pnpm install --frozen-lockfile
89+
90+
- name: Run tests
91+
run: pnpm test
92+
93+
build:
94+
name: Build
95+
needs: setup
96+
runs-on: ubuntu-latest
97+
steps:
98+
- name: Checkout code
99+
uses: actions/checkout@v4
100+
101+
- name: Setup Node.js
102+
uses: actions/setup-node@v4
103+
with:
104+
node-version: 'lts/*'
105+
106+
- name: Install pnpm
107+
uses: pnpm/action-setup@v3
108+
with:
109+
version: 'latest'
110+
run_install: false
111+
112+
- name: Install dependencies
113+
run: pnpm install --frozen-lockfile
114+
115+
- name: Build project
116+
run: pnpm build

README.md

Whitespace-only changes.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313
"devDependencies": {
1414
"@biomejs/biome": "^1.9.4",
1515
"@changesets/cli": "^2.27.11"
16-
}
16+
},
17+
"packageManager": "pnpm@9.0.0"
1718
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# @skeletonlabs/floating-ui-svelte
2+
3+
## 0.3.2
4+
5+
### Patch Changes
6+
7+
- 2765dbf: Patch: Svelte version bump
8+
9+
## 0.3.1
10+
11+
### Patch Changes
12+
13+
- 1064c7f: Patch: Svelte version bump
14+
15+
## 0.3.0
16+
17+
### Minor Changes
18+
19+
- 8f4c7ef: feature: Added the useFocus hook
20+
21+
## 0.2.0
22+
23+
### Minor Changes
24+
25+
- 94b84f5: Added `useId` hook
26+
- eba3989: Added the `useClick` hook
27+
28+
## 0.1.0
29+
30+
### Minor Changes
31+
32+
- 3ae279e: Added `useRole` hook
33+
- 8159907: Added the `useHover` hook
34+
- 5cd74c9: feature: added the FloatingArrow component
35+
- 08a58ab: Added the `useInteractions` hook

pnpm-lock.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)