Skip to content

Commit

Permalink
merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
jer3m01 committed Jan 31, 2024
2 parents b191dfa + 0de5151 commit 9cad774
Show file tree
Hide file tree
Showing 549 changed files with 61,914 additions and 51,070 deletions.
18 changes: 9 additions & 9 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": ["@kobalte/docs"]
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": ["@kobalte/docs"]
}
5 changes: 4 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
root = true

[*]
indent_style = space
indent_style = tab
indent_size = 2
end_of_line = LF
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.yml]
indent_style = space
13 changes: 0 additions & 13 deletions .eslintignore

This file was deleted.

56 changes: 0 additions & 56 deletions .eslintrc.json

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/format-files-prettier.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Format Files Prettier

on:
pull_request:
branches:
- main
paths:
- "**.md"
- "**.mdx"
- "**.yml"
- "**.yaml"
- "**.toml"
- "**.html"
- "**.css"
push:
branches:
- main

jobs:
prettier:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run Prettier
uses: creyD/[email protected]
with:
dry: true
prettier_options: . --check
prettier_version: 4.0.0-alpha.8
31 changes: 31 additions & 0 deletions .github/workflows/format-files.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Format & Lint Files

on:
pull_request:
branches:
- main
paths:
- "**.js"
- "**.jsx"
- "**.ts"
- "**.tsx"
- "**.cjs"
- "**.json"
push:
branches:
- main

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

- name: Setup Biome
uses: biomejs/setup-biome@v2
with:
version: 1.5.2

- name: Run Biome
run: biome ci .
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
name: Build and Test

on:
push:
pull_request:
branches: [main]
branches:
- main
push:
branches:
- main

jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tasks:
- init: pnpm install && pnpm run build
vscode:
extensions: ["esbenp.prettier-vscode", "dbaeumer.vscode-eslint"]
extensions: ["esbenp.prettier-vscode", "biomejs.biome"]
7 changes: 7 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
*.js
*.ts
*.jsx
*.tsx
*.json
*.cjs
pnpm-lock.json
4 changes: 2 additions & 2 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"arrowParens": "avoid",
"printWidth": 100
"arrowParens": "avoid",
"printWidth": 100
}
9 changes: 9 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,12 @@ Kobalte follows the [conventional commits](https://www.conventionalcommits.org/e
We use [jest](https://jestjs.io/) for unit tests and [@solidjs/testing-library](https://github.com/solidjs/@solidjs/testing-library) for rendering and writing assertions. Please make sure you include tests with your pull requests. Our CI will run the tests on PRs, you can see on each PR whether you have passed all our checks.

- To run tests locally - `pnpm test`.

### Pull Request

Before opening a pull request be sure to test and run the following checks:

- Format - `pnpm format`
- Check lint - `pnpm check`

To apply automatic lints run `pnpm lint`
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ For full documentation, visit [kobalte.dev](https://kobalte.dev/).

## Roadmap

View roadmap, give feedback and vote for new features at https://kobalte.canny.io/.
View roadmap, give feedback and vote for new features at https://github.com/orgs/kobaltedev/projects/4.

## Acknowledgment

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"dependencies": {
"@docsearch/css": "3.5.2",
"@docsearch/js": "3.5.2",
"@kobalte/core": "0.11.2",
"@kobalte/core": "0.12.1",
"@solidjs/meta": "0.29.3",
"@solidjs/router": "0.10.6",
"@tanstack/solid-virtual": "3.0.0-beta.6",
Expand Down
8 changes: 4 additions & 4 deletions apps/docs/postcss.config.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};
18 changes: 9 additions & 9 deletions apps/docs/public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "",
"short_name": "",
"icons": [
{ "src": "/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" },
{ "src": "/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png" }
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
"name": "",
"short_name": "",
"icons": [
{ "src": "/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" },
{ "src": "/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png" }
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
30 changes: 17 additions & 13 deletions apps/docs/src/VERSIONS.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
export const CORE_VERSIONS = [
"0.11.x",
"0.10.x",
"0.9.x",
"0.8.x",
"0.7.x",
"0.6.x",
"0.5.x",
"0.4.x",
"0.3.x",
"0.2.x",
"0.1.x",
"0.12.x",
"0.11.x",
"0.10.x",
"0.9.x",
"0.8.x",
"0.7.x",
"0.6.x",
"0.5.x",
"0.4.x",
"0.3.x",
"0.2.x",
"0.1.x",
];

export const LATEST_CORE_CHANGELOG_URL = `/docs/changelog/${CORE_VERSIONS[0].replaceAll(".", "-")}`;
export const LATEST_CORE_CHANGELOG_URL = `/docs/changelog/${CORE_VERSIONS[0].replaceAll(
".",
"-",
)}`;

export const LATEST_CORE_VERSION_NAME = "v0.11.2";
export const LATEST_CORE_VERSION_NAME = "v0.12.1";
Loading

0 comments on commit 9cad774

Please sign in to comment.