Skip to content

Commit

Permalink
🌱 feat(app): initial deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
blefnk committed Aug 12, 2023
0 parents commit 4099c7c
Show file tree
Hide file tree
Showing 150 changed files with 15,994 additions and 0 deletions.
Empty file added .env.example
Empty file.
32 changes: 32 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/node_modules
/.pnp
.pnp.js

/coverage

/.next/
/out/

/build

.DS_Store
*.pem

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

pnpm-lock.yaml
package-lock.json
yarn.lock

.env*.local

.vercel

*.tsbuildinfo

**/*.js
**/*.cjs
**/*.mjs
91 changes: 91 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
// @ts-expect-error
/** @type {import("eslint").Linter.Config} */
module.exports = {
settings: {
"import/resolver": {
typescript: { project: ["./tsconfig.json"] },
},
tailwindcss: {
callees: ["cn"],
config: "tailwind.config.ts",
},
},
env: {
node: true,
es2022: true,
browser: true,
},
overrides: [
{
// =================================================================
// TypeScript EsLint (Configuration File)
// =================================================================
files: ["*.ts", "*.tsx", "*.mts", "*.cts"],
parser: "@typescript-eslint/parser",
parserOptions: {
project: ["./tsconfig.json"],
ecmaVersion: "latest",
sourceType: "module",
},
extends: ["next/core-web-vitals"],
},
{
// =================================================================
// JavaScript EsLint (Configuration File)
// =================================================================
files: ["*.js", "*.jsx", "*.mjs", "*.cjs"],
extends: ["next/core-web-vitals"],
},
],
};

//! {
//! "$schema": "https://json.schemastore.org/eslintrc",
//! "extends": [
//! "eslint:recommended",
//! "plugin:@typescript-eslint/recommended",
//! "prettier",
//! "next/core-web-vitals",
//! "plugin:jsx-a11y/recommended"
//! ],
//! "parser": "@typescript-eslint/parser",
//! "plugins": [
//! "@typescript-eslint",
//! "import-helpers",
//! "unused-imports",
//! "jsx-a11y"
//! ],
//! "rules": {
//! "quotes": ["warn", "double"],
//! "semi": ["warn", "always"],
//! "arrow-parens": ["warn", "always"],
//! "@typescript-eslint/no-unused-vars": "off",
//! "unused-imports/no-unused-imports-ts": "warn",
//! "unused-imports/no-unused-vars": "warn",
//! "@typescript-eslint/array-type": "error",
//! "prefer-const": "error",
//! "no-console": [
//! "warn",
//! {
//! "allow": ["warn", "error"]
//! }
//! ],
//! "import-helpers/order-imports": [
//! "warn",
//! {
//! "newlinesBetween": "always",
//! "groups": [
//! "/^react/",
//! "module",
//! "/^~/",
//! ["parent", "sibling", "index"]
//! ],
//! "alphabetize": {
//! "order": "asc",
//! "ignoreCase": true
//! }
//! }
//! ],
//! "@next/next/no-html-link-for-pages": "off"
//! }
//! }
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
73 changes: 73 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# dependencies
/node_modules
.pnp.js
/.pnp

# testing
/coverage

# database
/prisma/db.sqlite
/prisma/db.sqlite-journal

# next.js
/out/
/.next/
next-env.d.ts

# production
/build

# misc
.DS_Store
*.pem

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

# local env files
.env.temporary
.env*.local
.env

# vercel
.vercel
.turbo

# typescript
*.tsbuildinfo

# postbuild
robots.txt
sitemap.xml
sitemap-*.xml

# supabase
.branches
.temp

# PWA files
**/public/sw.js
**/public/workbox-*.js
**/public/worker-*.js
**/public/sw.js.map
**/public/workbox-*.js.map
**/public/worker-*.js.map

# other
.firebase
*.tw.*

# another
.contentlayer
/pb_data
/playwright-report/
/playwright/.cache/
/test-results/
pb_migrations
pocketbase.exe
pocketbase/pb_data
/drizzle.config.json
4 changes: 4 additions & 0 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"*.{js,ts,tsx}": ["cspell", "eslint --fix", "prettier -w"],
"*.{md,json}": ["prettier -w"]
}
28 changes: 28 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/node_modules
/.pnp
.pnp.js

/coverage

/.next/
/out/

/build

.DS_Store
*.pem

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

pnpm-lock.yaml
package-lock.json
yarn.lock

.env*.local

.vercel

*.tsbuildinfo
4 changes: 4 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"plugins": ["prettier-plugin-tailwindcss"],
"tailwindFunctions": ["tv"]
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"typescript.tsdk": "node_modules/typescript/lib"
}
21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# MIT License

Copyright (c) 2023 Bleverse

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Bleverse Relivator: Website Builder

The ultimate starter for your Next.js projects. Everything has been set up for you. You're not on this journey alone. Move faster than ever. Simply grab it and dive in.

![GitHub repo size](https://img.shields.io/github/repo-size/blefnk/relivator?style=for-the-badge)
![GitHub language count](https://img.shields.io/github/languages/count/blefnk/relivator?style=for-the-badge)
![GitHub forks](https://img.shields.io/github/forks/blefnk/relivator?style=for-the-badge)

## 🤌 Features

Please visit [the corresponding page](/repo/roadmap.md) to see the full list of features.

## Configure Your App

The app.ts file contains essential configuration used to modify the contents and settings of the website.

- Manage the content displayed on the website.
- Customize various settings, such as disabling theme toggle.
- Manage general site-wide information.

## 📫 Contributing to Bleverse Relivator

To contribute to Bleverse Relivator, follow these steps:

1. Fork this repository.
2. Create a branch: `git checkout -b <branch_name>`.
3. Make your changes and commit them: `git commit -m '<commit_message>'`
4. Push to original branch: `git push origin <project_name> / <local>`
5. Create the pull request.

Or, see the GitHub docs on [how to create a pull request](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request).

## 🤝 Collaborators

We thank everyone for their contributions to this repository. Please visit [the corresponding page](/repo/contributing/contributors.md) to see the full list of contributors.
1 change: 1 addition & 0 deletions commitlint.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = { extends: ["@commitlint/config-conventional"] };
16 changes: 16 additions & 0 deletions components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "default",
"rsc": true,
"tsx": true,
"tailwind": {
"config": "tailwind.config.ts",
"css": "src/styles/globals.css",
"baseColor": "slate",
"cssVariables": true
},
"aliases": {
"components": "~/islands",
"utils": "~/utils"
}
}
28 changes: 28 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"import": ["@cspell/dict-uk-ua/cspell-ext.json"],
"version": "0.2",
"language": "en,uk",
"ignorePaths": ["dist", "out", "build", ".next"],
"words": [
"bleverse",
"caesar",
"cmdk",
"commitlint",
"community",
"esnext",
"gykh",
"hookform",
"Kornienko",
"lightningcss",
"lucide",
"monaco",
"morsee",
"Nazar",
"nextjs",
"qrcode",
"shadcn",
"tailwindcss",
"tanstack",
"whatsapp"
]
}
22 changes: 22 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
await import("./src/utils/server/env.mjs");

/** @type {import('next').NextConfig} */
const config = {
reactStrictMode: true,
swcMinify: true,
eslint: {
ignoreDuringBuilds: true,
},
typescript: {
ignoreBuildErrors: true,
},
experimental: {
// typedRoutes: process.env.NODE_ENV === "development",
},
webpack: (config) => {
config.resolve.fallback = { fs: false };
return config;
},
};

export default config;
Loading

0 comments on commit 4099c7c

Please sign in to comment.