Skip to content

Commit

Permalink
feat: added radix ui.
Browse files Browse the repository at this point in the history
  • Loading branch information
eser committed Aug 31, 2023
1 parent 6306776 commit 5bc35eb
Show file tree
Hide file tree
Showing 312 changed files with 46,013 additions and 485 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ insert_final_newline = true
# editorconfig-tools is unable to ignore longs strings or urls
max_line_length = off

[*.md]
[{*.md,*.mdx}]
trim_trailing_whitespace = false
14 changes: 3 additions & 11 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text eol=lf

*.png binary
*.jpg binary
*.ico binary
*.jpg binary
*.eot binary
*.ttf binary
*.woff binary
*.woff2 binary
# Set the default behavior as unix line endings for all text files,
# in case people don't have core.autocrlf set.
* text=auto eol=lf
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# These are supported funding model platforms

github: [eser]
46 changes: 46 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

### Describe the bug

A clear and concise description of what the bug is.

### To Reproduce

Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

### Expected behavior

A clear and concise description of what you expected to happen.

### Screenshots

If applicable, add screenshots to help explain your problem.

### Desktop (please complete the following information):

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

### Smartphone (please complete the following information):

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

### Additional context

Add any other context about the problem here.
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

### Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I'm always
frustrated when [...]

### Describe the solution you'd like

A clear and concise description of what you want to happen.

### Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've
considered.

### Additional context

Add any other context or screenshots about the feature request here.
2 changes: 2 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- [x] My submissions follows the **Submission Rules**
- [x] I have read and accepted the **Terms and Conditions**
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every week
interval: "weekly"
4 changes: 3 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ jobs:
contents: read

steps:
- name: Clone repository
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 2

- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
- 1.35.3

steps:
- name: Clone repository
uses: actions/checkout@v3.5.3
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 2

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
19 changes: 14 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,30 @@ Thumbs.db
# Editor metadata
.vscode/*
!.vscode/extensions.json
!.vscode/launch.json
!.vscode/settings.json
.idea/
.idea/*

# local API keys and secrets
.env.local
.env.*.local

# tool outputs
*.tsbuildinfo

# sensitive files
*.pem
*.swp

# coverage files
etc/coverage/*.json
etc/coverage/cov_profile.lcov
/etc/coverage/*.json
/etc/coverage/cov_profile.lcov

# package managers
node_modules/*
package-lock.json

# temporary files
tmp/
.pup.*/
/tmp/*
!/tmp/.gitkeep
.pup.*/*
74 changes: 53 additions & 21 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ repos:
rev: v4.4.0
hooks:
- id: check-added-large-files
args: ["--maxkb=1024"]
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-json
Expand All @@ -19,24 +20,55 @@ repos:
- id: mixed-line-ending
- repo: local
hooks:
# - id: local-precommit
# name: local pre-commit tasks
# description: Runs local pre-commit tasks.
# entry: bash -c 'deno run --unstable --allow-all pre-commit.ts; git add -u' --
# always_run: true
# pass_filenames: false
# language: system
- id: lint-check
name: lint check
description: Lint JavaScript/TypeScript source code.
entry: yarn lint
types_or: [javascript, jsx, ts, tsx, json, markdown]
pass_filenames: false
language: system
- id: test
name: test
description: Run tests using the test runner.
entry: yarn test
types_or: [javascript, jsx, ts, tsx, json]
pass_filenames: false
language: system
# - id: local-precommit
# name: local pre-commit tasks
# description: Runs local pre-commit tasks.
# entry: bash -c 'deno run --unstable --allow-all ./pre-commit.ts; git add -u' --
# always_run: true
# pass_filenames: false
# language: system
- id: kebab-case-files-only
name: kebab-case files only
entry: filenames must be kebab-case only
language: fail
files: '[^a-z0-9.\-\/\[\]\@]'
exclude: |
(?x)^(
.github/ISSUE_TEMPLATE/bug_report.md|
.github/ISSUE_TEMPLATE/feature_request.md|
.github/PULL_REQUEST_TEMPLATE.md|
.github/FUNDING.yml|
CODE_OF_CONDUCT.md|
LICENSE|
README.md|
SECURITY.md|
Dockerfile
)$
- id: deno-fmt
name: verify formatting
description: Auto-format JavaScript, TypeScript, Markdown, and JSON files.
entry: deno fmt --check
types_or: [javascript, jsx, ts, tsx, json, markdown]
pass_filenames: false
language: system
- id: deno-lint
name: lint
description: Lint JavaScript/TypeScript source code.
entry: deno lint
types_or: [javascript, jsx, ts, tsx, json, markdown]
pass_filenames: false
language: system
# - id: deno-check
# name: checks if modules are broken
# description: Checks if modules are broken.
# entry: deno task check
# types_or: [javascript, jsx, ts, tsx, json, markdown]
# pass_filenames: false
# language: system
# - id: deno-test
# name: run tests
# description: Run tests using Deno's built-in test runner.
# entry: deno task test:run
# types_or: [javascript, jsx, ts, tsx, json]
# pass_filenames: false
# language: system
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
deno 1.36.2
v8 11.7.439.1
deno 1.36.3
v8 11.6.189.12
typescript 5.1.6
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"recommendations": [
"denoland.vscode-deno",
"ryanluker.vscode-coverage-gutters"
"ryanluker.vscode-coverage-gutters",
"ronilaukkarinen.vscode-stylefmt"
]
}
23 changes: 23 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Deno Launch: API",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "deno",
"runtimeArgs": ["task", "api:dev"],
"outputCapture": "std"
},
{
"name": "Deno Launch: Web",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "deno",
"runtimeArgs": ["task", "web:dev"],
"outputCapture": "std"
}
]
}
18 changes: 18 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@
"coverage-gutters.showLineCoverage": true,
"coverage-gutters.showRulerCoverage": true,
"deno.enable": true,
"deno.codeLens.test": true,
"deno.lint": true,
"deno.suggest.autoImports": true,
"deno.suggest.completeFunctionCalls": true,
"deno.suggest.imports.autoDiscover": true,
"deno.suggest.names": true,
"deno.suggest.paths": true,
"editor.defaultFormatter": "denoland.vscode-deno",
"yaml.schemas": {
"https://json.schemastore.org/github-workflow.json": "./.github/workflows/*.yml"
Expand All @@ -26,5 +32,17 @@
},
"[postcss]": {
"editor.defaultFormatter": "ronilaukkarinen.vscode-stylefmt"
},
"[javascriptreact]": {
"editor.defaultFormatter": "denoland.vscode-deno"
},
"[javascript]": {
"editor.defaultFormatter": "denoland.vscode-deno"
},
"[typescriptreact]": {
"editor.defaultFormatter": "denoland.vscode-deno"
},
"[typescript]": {
"editor.defaultFormatter": "denoland.vscode-deno"
}
}
Loading

0 comments on commit 5bc35eb

Please sign in to comment.