Skip to content

Commit

Permalink
refactor: ui
Browse files Browse the repository at this point in the history
  • Loading branch information
balajmarius committed Oct 21, 2024
1 parent 2ab40c3 commit 7469045
Show file tree
Hide file tree
Showing 44 changed files with 5,060 additions and 679 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI
on:
push:
branches:
- main
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
sparse-checkout: src

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

- name: Run Biome
run: biome ci .
39 changes: 35 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,36 @@
*.log
.next
.vscode
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
node_modules
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run format
20 changes: 0 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,3 @@
# svg2jsx 🍃

> Transform SVG into valid JSX
<img src="https://olddesignshop.com/wp-content/uploads/2014/03/OldDesignShop_CleaningLadyDusting.jpg" width="300px" height="auto" />

## Develop

```bash
yarn development
```

## Build

```bash
yarn build
```

## Start

```bash
yarn start
```
34 changes: 34 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.3/schema.json",
"vcs": {
"enabled": false,
"clientKind": "git",
"useIgnoreFile": false
},
"files": {
"ignoreUnknown": false,
"ignore": []
},
"formatter": {
"enabled": true,
"lineWidth": 120,
"indentStyle": "space"
},
"organizeImports": {
"enabled": false
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"useImportType": "off"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "double"
}
}
}
6 changes: 6 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
};

export default nextConfig;
Loading

0 comments on commit 7469045

Please sign in to comment.