Skip to content
Merged
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
15 changes: 0 additions & 15 deletions .eslintrc.cjs

This file was deleted.

1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @wojtekolek
13 changes: 13 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## Summary

<!-- Brief description of what this PR does -->

## Changes

-

## Test plan

- [ ] Tests pass (`pnpm test`)
- [ ] Lint passes (`pnpm lint`)
- [ ] Build succeeds (`pnpm build`)
63 changes: 63 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: CI

on:
pull_request:
branches: [master]
push:
branches: [master]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: pnpm

- run: pnpm install --frozen-lockfile

- run: pnpm lint

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

- uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: pnpm

- run: pnpm install --frozen-lockfile

- run: pnpm build

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

- uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: pnpm

- run: pnpm install --frozen-lockfile

- run: pnpm test
20 changes: 7 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: Release

on:
push:
branches:
- master
branches: [master]

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

Expand All @@ -12,21 +11,16 @@ jobs:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup Node.js 16.x
uses: actions/setup-node@v2
with:
node-version: 16.x
- uses: pnpm/action-setup@v4

- name: Setup pnpm
uses: pnpm/action-setup@v2.0.1
- uses: actions/setup-node@v4
with:
version: 8.2.0
node-version-file: package.json
cache: pnpm

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

- name: Create Release Pull Request or Publish to npm
id: changesets
Expand Down
8 changes: 3 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@

# dependencies
node_modules
.pnp
.pnp.js
dist

# testing
coverage

# next.js
.next/
out/
# astro
.astro
build

# misc
Expand Down
8 changes: 0 additions & 8 deletions .prettierrc.cjs

This file was deleted.

30 changes: 30 additions & 0 deletions .zed/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"format_on_save": "on",
"code_actions_on_format": {
"source.fixAll.biome": true,
"source.organizeImports.biome": true,
},
"languages": {
"JavaScript": { "formatter": { "language_server": { "name": "biome" } } },
"TypeScript": { "formatter": { "language_server": { "name": "biome" } } },
"TSX": { "formatter": { "language_server": { "name": "biome" } } },
"JSON": { "formatter": { "language_server": { "name": "biome" } } },
"JSONC": { "formatter": { "language_server": { "name": "biome" } } },
"Astro": { "formatter": { "language_server": { "name": "biome" } } },
"CSS": {
"formatter": { "language_server": { "name": "biome" } },
"language_servers": [
"tailwindcss-intellisense-css",
"!vscode-css-language-server",
"..."
]
},
},
"lsp": {
"tailwindcss-language-server": {
"settings": {
"classFunctions": ["cva", "cn"],
}
}
}
}
Loading
Loading