From 20710bc674115cd4e40d783519900d0c935f6156 Mon Sep 17 00:00:00 2001 From: Hugos68 Date: Tue, 31 Dec 2024 12:47:09 +0100 Subject: [PATCH] Added more stuff --- .changeset/config.json | 11 +++ .github/workflows/build-publish.yml | 0 .github/workflows/code-quality.yml | 116 +++++++++++++++++++++++ README.md | 0 package.json | 3 +- packages/floating-ui-svelte/CHANGELOG.md | 35 +++++++ pnpm-lock.yaml | 2 +- 7 files changed, 165 insertions(+), 2 deletions(-) create mode 100644 .changeset/config.json create mode 100644 .github/workflows/build-publish.yml create mode 100644 .github/workflows/code-quality.yml create mode 100644 README.md create mode 100644 packages/floating-ui-svelte/CHANGELOG.md diff --git a/.changeset/config.json b/.changeset/config.json new file mode 100644 index 00000000..42efc1c8 --- /dev/null +++ b/.changeset/config.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://unpkg.com/@changesets/config@3.0.5/schema.json", + "changelog": "@changesets/cli/changelog", + "commit": false, + "fixed": [], + "linked": [], + "access": "restricted", + "baseBranch": "main", + "updateInternalDependencies": "patch", + "ignore": [] +} diff --git a/.github/workflows/build-publish.yml b/.github/workflows/build-publish.yml new file mode 100644 index 00000000..e69de29b diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml new file mode 100644 index 00000000..438f9af3 --- /dev/null +++ b/.github/workflows/code-quality.yml @@ -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 \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 00000000..e69de29b diff --git a/package.json b/package.json index abfca455..706d0959 100644 --- a/package.json +++ b/package.json @@ -13,5 +13,6 @@ "devDependencies": { "@biomejs/biome": "^1.9.4", "@changesets/cli": "^2.27.11" - } + }, + "packageManager": "pnpm@9.0.0" } diff --git a/packages/floating-ui-svelte/CHANGELOG.md b/packages/floating-ui-svelte/CHANGELOG.md new file mode 100644 index 00000000..b9b5995b --- /dev/null +++ b/packages/floating-ui-svelte/CHANGELOG.md @@ -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 \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index eba0884e..393346cf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,7 +15,7 @@ importers: specifier: ^2.27.11 version: 2.27.11 - packages/documentation: + packages/docs: dependencies: '@tailwindcss/forms': specifier: ^0.5.9