Skip to content

Commit 28a5c92

Browse files
feat: add spin-art
1 parent 9164280 commit 28a5c92

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+12929
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,29 @@ jobs:
4747
cd apps/dice-verse
4848
npm run build
4949
50-
- name: Copy main index.html
50+
- name: Copy dice-verse build to dist
5151
run: |
52-
mkdir -p dist
53-
cp index.html dist/index.html
52+
cp -r apps/dice-verse/dist dist/dice-verse
53+
54+
- name: Install dependencies
55+
run: |
56+
cd apps/spin-art
57+
npm ci
58+
59+
- name: Build spin-art
60+
run: |
61+
cd apps/spin-art
62+
npm run build
5463
55-
- name: Copy dice-verse build to dist
64+
- name: Copy build to dist
5665
run: |
5766
cp -r apps/dice-verse/dist dist/dice-verse
67+
cp -r apps/spin-art/dist dist/spin-art
68+
69+
- name: Copy main index.html
70+
run: |
71+
mkdir -p dist
72+
cp index.html dist/index.html
5873
5974
- name: Setup Pages
6075
uses: actions/configure-pages@v4

apps/spin-art/.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

apps/spin-art/README.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# Welcome to your Lovable project
2+
3+
## Project info
4+
5+
**URL**: https://lovable.dev/projects/26b42de6-1f48-45e2-8e48-835a41123deb
6+
7+
## How can I edit this code?
8+
9+
There are several ways of editing your application.
10+
11+
**Use Lovable**
12+
13+
Simply visit the [Lovable Project](https://lovable.dev/projects/26b42de6-1f48-45e2-8e48-835a41123deb) and start prompting.
14+
15+
Changes made via Lovable will be committed automatically to this repo.
16+
17+
**Use your preferred IDE**
18+
19+
If you want to work locally using your own IDE, you can clone this repo and push changes. Pushed changes will also be reflected in Lovable.
20+
21+
The only requirement is having Node.js & npm installed - [install with nvm](https://github.com/nvm-sh/nvm#installing-and-updating)
22+
23+
Follow these steps:
24+
25+
```sh
26+
# Step 1: Clone the repository using the project's Git URL.
27+
git clone <YOUR_GIT_URL>
28+
29+
# Step 2: Navigate to the project directory.
30+
cd <YOUR_PROJECT_NAME>
31+
32+
# Step 3: Install the necessary dependencies.
33+
npm i
34+
35+
# Step 4: Start the development server with auto-reloading and an instant preview.
36+
npm run dev
37+
```
38+
39+
**Edit a file directly in GitHub**
40+
41+
- Navigate to the desired file(s).
42+
- Click the "Edit" button (pencil icon) at the top right of the file view.
43+
- Make your changes and commit the changes.
44+
45+
**Use GitHub Codespaces**
46+
47+
- Navigate to the main page of your repository.
48+
- Click on the "Code" button (green button) near the top right.
49+
- Select the "Codespaces" tab.
50+
- Click on "New codespace" to launch a new Codespace environment.
51+
- Edit files directly within the Codespace and commit and push your changes once you're done.
52+
53+
## What technologies are used for this project?
54+
55+
This project is built with:
56+
57+
- Vite
58+
- TypeScript
59+
- React
60+
- shadcn-ui
61+
- Tailwind CSS
62+
63+
## How can I deploy this project?
64+
65+
Simply open [Lovable](https://lovable.dev/projects/26b42de6-1f48-45e2-8e48-835a41123deb) and click on Share -> Publish.
66+
67+
## Can I connect a custom domain to my Lovable project?
68+
69+
Yes, you can!
70+
71+
To connect a domain, navigate to Project > Settings > Domains and click Connect Domain.
72+
73+
Read more here: [Setting up a custom domain](https://docs.lovable.dev/tips-tricks/custom-domain#step-by-step-guide)

apps/spin-art/bun.lockb

193 KB
Binary file not shown.

apps/spin-art/components.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"$schema": "https://ui.shadcn.com/schema.json",
3+
"style": "default",
4+
"rsc": false,
5+
"tsx": true,
6+
"tailwind": {
7+
"config": "tailwind.config.ts",
8+
"css": "src/index.css",
9+
"baseColor": "slate",
10+
"cssVariables": true,
11+
"prefix": ""
12+
},
13+
"aliases": {
14+
"components": "@/components",
15+
"utils": "@/lib/utils",
16+
"ui": "@/components/ui",
17+
"lib": "@/lib",
18+
"hooks": "@/hooks"
19+
}
20+
}

apps/spin-art/eslint.config.js

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import js from "@eslint/js";
2+
import globals from "globals";
3+
import reactHooks from "eslint-plugin-react-hooks";
4+
import reactRefresh from "eslint-plugin-react-refresh";
5+
import tseslint from "typescript-eslint";
6+
7+
export default tseslint.config(
8+
{ ignores: ["dist"] },
9+
{
10+
extends: [js.configs.recommended, ...tseslint.configs.recommended],
11+
files: ["**/*.{ts,tsx}"],
12+
languageOptions: {
13+
ecmaVersion: 2020,
14+
globals: globals.browser,
15+
},
16+
plugins: {
17+
"react-hooks": reactHooks,
18+
"react-refresh": reactRefresh,
19+
},
20+
rules: {
21+
...reactHooks.configs.recommended.rules,
22+
"react-refresh/only-export-components": [
23+
"warn",
24+
{ allowConstantExport: true },
25+
],
26+
"@typescript-eslint/no-unused-vars": "off",
27+
},
28+
}
29+
);

apps/spin-art/index.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>spin-draw-art</title>
7+
<meta name="description" content="Lovable Generated Project" />
8+
<meta name="author" content="Lovable" />
9+
10+
<meta property="og:title" content="spin-draw-art" />
11+
<meta property="og:description" content="Lovable Generated Project" />
12+
<meta property="og:type" content="website" />
13+
<meta property="og:image" content="https://lovable.dev/opengraph-image-p98pqg.png" />
14+
15+
<meta name="twitter:card" content="summary_large_image" />
16+
<meta name="twitter:site" content="@lovable_dev" />
17+
<meta name="twitter:image" content="https://lovable.dev/opengraph-image-p98pqg.png" />
18+
</head>
19+
20+
<body>
21+
<div id="root"></div>
22+
<script type="module" src="/src/main.tsx"></script>
23+
</body>
24+
</html>

0 commit comments

Comments
 (0)