Skip to content

Commit

Permalink
add initial cli, release reliverse 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
blefnk committed Mar 3, 2024
1 parent 9a3058b commit d1c2cf8
Show file tree
Hide file tree
Showing 671 changed files with 112,842 additions and 4,483 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ yarn-error.log*

# turbo
.turbo

# go
debug.log
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@
# @see https://pnpm.io/npmrc#prefer-workspace-packages
save-workspace-protocol=false
prefer-workspace-packages=true

# May help with some pnpm issues
# link-workspace-packages=deep
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"expo.vscode-expo-tools",
"yoavbls.pretty-ts-errors"
"yoavbls.pretty-ts-errors",
"lokalise.i18n-ally"
]
}
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
Expand Down
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
# Reliverse: An Open-Source Superapp
# Reliverse: An Open-Source Superapp CLI

## Reliverse CLI v0.3.0

Ship your web apps faster! Try the Reliverse CLI to bootstrap [Relivator](https://github.com/blefnk/relivator) v1.2.5 in seconds! Run it with:

```sh
# Install Go lang — https://go.dev/dl
# Open Reliverse in terminal and run:
go run .
```

## Coming Soon ✨

_Build a Site, Build an App, Build a Game, Build Everything._

Expand Down
28 changes: 14 additions & 14 deletions apps/native/expo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"build": "pnpm with-env next build",
"clean": "git clean -xdf .next .turbo node_modules",
"dev": "pnpm with-env next dev --port 3002",
"dev": "pnpm with-env next dev --port 3001",
"lint": "dotenv -v SKIP_ENV_VALIDATION=1 next lint",
"format": "prettier --check \"**/*.{js,cjs,mjs,ts,tsx,md,json}\"",
"latest": "pnpm latest:canary",
Expand All @@ -19,26 +19,26 @@
"@acme/api": "^0.0.0",
"@acme/auth": "^0.0.0",
"@acme/db": "^0.0.0",
"@t3-oss/env-nextjs": "^0.7.1",
"next": "13.5.7-canary.16",
"react": "18.3.0-canary-d803f519e-20231020",
"react-dom": "18.3.0-canary-d803f519e-20231020",
"superjson": "2.1.0",
"@t3-oss/env-nextjs": "^0.9.2",
"next": "14.1.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"superjson": "2.2.1",
"zod": "^3.22.4"
},
"devDependencies": {
"@acme/eslint-config": "^0.0.0",
"@acme/prettier-config": "^0.0.0",
"@acme/tailwind-config": "^0.0.0",
"@acme/tsconfig": "^0.0.0",
"@types/node": "^20.8.7",
"@types/react": "^18.2.31",
"@types/react-dom": "^18.2.14",
"@types/node": "^20.11.24",
"@types/react": "^18.2.61",
"@types/react-dom": "^18.2.19",
"dotenv-cli": "^7.3.0",
"eslint": "^8.52.0",
"prettier": "^3.0.3",
"tailwindcss": "^3.3.3",
"typescript": "^5.2.2"
"eslint": "^8.57.0",
"prettier": "^3.2.5",
"tailwindcss": "^3.4.1",
"typescript": "^5.3.3"
},
"eslintConfig": {
"root": true,
Expand All @@ -49,4 +49,4 @@
]
},
"prettier": "@acme/prettier-config"
}
}
1 change: 1 addition & 0 deletions apps/native/expo/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "@acme/tsconfig/base.json",
"compilerOptions": {
"moduleResolution": "bundler",
"baseUrl": ".",
"paths": {
"~/*": ["./src/*"]
Expand Down
28 changes: 14 additions & 14 deletions apps/native/tauri/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"build": "pnpm with-env next build",
"clean": "git clean -xdf .next .turbo node_modules",
"dev": "pnpm with-env next dev --port 3003",
"dev": "pnpm with-env next dev --port 3002",
"lint": "dotenv -v SKIP_ENV_VALIDATION=1 next lint",
"format": "prettier --check \"**/*.{js,cjs,mjs,ts,tsx,md,json}\"",
"latest": "pnpm latest:canary",
Expand All @@ -19,26 +19,26 @@
"@acme/api": "^0.0.0",
"@acme/auth": "^0.0.0",
"@acme/db": "^0.0.0",
"@t3-oss/env-nextjs": "^0.7.1",
"next": "13.5.7-canary.16",
"react": "18.3.0-canary-d803f519e-20231020",
"react-dom": "18.3.0-canary-d803f519e-20231020",
"superjson": "2.1.0",
"@t3-oss/env-nextjs": "^0.9.2",
"next": "14.1.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"superjson": "2.2.1",
"zod": "^3.22.4"
},
"devDependencies": {
"@acme/eslint-config": "^0.0.0",
"@acme/prettier-config": "^0.0.0",
"@acme/tailwind-config": "^0.0.0",
"@acme/tsconfig": "^0.0.0",
"@types/node": "^20.8.7",
"@types/react": "^18.2.31",
"@types/react-dom": "^18.2.14",
"@types/node": "^20.11.24",
"@types/react": "^18.2.61",
"@types/react-dom": "^18.2.19",
"dotenv-cli": "^7.3.0",
"eslint": "^8.52.0",
"prettier": "^3.0.3",
"tailwindcss": "^3.3.3",
"typescript": "^5.2.2"
"eslint": "^8.57.0",
"prettier": "^3.2.5",
"tailwindcss": "^3.4.1",
"typescript": "^5.3.3"
},
"eslintConfig": {
"root": true,
Expand All @@ -49,4 +49,4 @@
]
},
"prettier": "@acme/prettier-config"
}
}
1 change: 1 addition & 0 deletions apps/native/tauri/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "@acme/tsconfig/base.json",
"compilerOptions": {
"moduleResolution": "bundler",
"baseUrl": ".",
"paths": {
"~/*": ["./src/*"]
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"build": "pnpm with-env next build",
"clean": "git clean -xdf .next .turbo node_modules",
"dev": "pnpm with-env next dev --port 3001",
"dev": "pnpm with-env next dev --port 3003",
"format": "prettier --check \"**/*.{js,cjs,mjs,ts,tsx,md,json}\"",
"latest": "pnpm latest:canary && pnpm tanstack:trpc",
"latest:stable": "pnpm add react@latest react-dom@latest next@latest",
Expand All @@ -20,48 +20,48 @@
"@acme/api": "^0.0.0",
"@acme/auth": "^0.0.0",
"@acme/db": "^0.0.0",
"@auth/drizzle-adapter": "^0.3.4",
"@fortawesome/free-solid-svg-icons": "^6.4.2",
"@auth/drizzle-adapter": "^0.8.0",
"@fortawesome/free-solid-svg-icons": "^6.5.1",
"@fortawesome/react-fontawesome": "^0.2.0",
"@t3-oss/env-nextjs": "^0.7.1",
"@tanstack/react-query": "^5.0.5",
"@tanstack/react-query-devtools": "^5.0.5",
"@tanstack/react-query-next-experimental": "^5.0.5",
"@trpc/client": "10.7.1-alpha-next-2023-10-20-20-37-31.88",
"@trpc/next": "10.7.1-alpha-next-2023-10-20-20-37-31.88",
"@trpc/react-query": "10.7.1-alpha-next-2023-10-20-20-37-31.88",
"@trpc/server": "10.7.1-alpha-next-2023-10-20-20-37-31.88",
"@t3-oss/env-nextjs": "^0.9.2",
"@tanstack/react-query": "^5.24.6",
"@tanstack/react-query-devtools": "^5.24.6",
"@tanstack/react-query-next-experimental": "^5.24.6",
"@trpc/client": "11.0.0-next-beta.305",
"@trpc/next": "11.0.0-next-beta.305",
"@trpc/react-query": "11.0.0-next-beta.305",
"@trpc/server": "11.0.0-next-beta.305",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"drizzle-orm": "^0.28.6",
"framer-motion": "^10.16.4",
"gsap": "^3.12.2",
"lucide-react": "^0.288.0",
"next": "13.5.7-canary.16",
"next-auth": "4.24.3",
"clsx": "^2.1.0",
"drizzle-orm": "^0.29.4",
"framer-motion": "^11.0.8",
"gsap": "^3.12.5",
"lucide-react": "^0.344.0",
"next": "14.1.2-canary.2",
"next-auth": "4.24.6",
"next-themes": "^0.2.1",
"postmark": "^3.1.1",
"react": "18.3.0-canary-d803f519e-20231020",
"react-dom": "18.3.0-canary-d803f519e-20231020",
"react-icons": "^4.11.0",
"superjson": "2.1.0",
"tailwind-merge": "^1.14.0",
"postmark": "^4.0.2",
"react": "18.3.0-canary-2f8f77602-20240229",
"react-dom": "18.3.0-canary-2f8f77602-20240229",
"react-icons": "^5.0.1",
"superjson": "2.2.1",
"tailwind-merge": "^2.2.1",
"zod": "^3.22.4"
},
"devDependencies": {
"@acme/eslint-config": "^0.0.0",
"@acme/prettier-config": "^0.0.0",
"@acme/tailwind-config": "^0.0.0",
"@acme/tsconfig": "^0.0.0",
"@types/node": "^20.8.7",
"@types/react": "^18.2.31",
"@types/react-dom": "^18.2.14",
"@types/node": "^20.11.24",
"@types/react": "^18.2.61",
"@types/react-dom": "^18.2.19",
"dotenv-cli": "^7.3.0",
"eslint": "^8.52.0",
"prettier": "^3.0.3",
"tailwindcss": "^3.3.3",
"ts-deepmerge": "^6.2.0",
"typescript": "^5.2.2"
"eslint": "^8.57.0",
"prettier": "^3.2.5",
"tailwindcss": "^3.4.1",
"ts-deepmerge": "^7.0.0",
"typescript": "^5.3.3"
},
"eslintConfig": {
"root": true,
Expand All @@ -72,4 +72,4 @@
]
},
"prettier": "@acme/prettier-config"
}
}
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
// @ts-expect-error - No types for postcss
module.exports = require("@acme/tailwind-config/postcss");
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import type { Metadata } from "next";
import merge from "ts-deepmerge";

// import merge from "ts-deepmerge";

import type { LocaleLayoutParams } from "~/types";
import { DEFAULT_METADATA } from "./default";

// import { DEFAULT_METADATA } from "./default";

/**
* todo: improve this type
Expand All @@ -14,7 +16,7 @@ export type GenerateMetadata = (
/**
* Extended metadata types
*/
type SeoProps = Metadata & {
/* type SeoProps = Metadata & {
url?: string | URL;
image?: {
url: string | URL;
Expand All @@ -24,7 +26,7 @@ type SeoProps = Metadata & {
width?: string | number;
height?: string | number;
};
};
}; */

/**
* Helper method to deep merge the SEO params from a given page
Expand All @@ -33,7 +35,7 @@ type SeoProps = Metadata & {
* This method also will use title and description in the OpenGraph and
* Twitter metadata, if not set
*/
export function seo({ url, image, ...metadata }: SeoProps = {}): Metadata {
/* export function seo({ url, image, ...metadata }: SeoProps = {}): Metadata {
const title = metadata.title ?? DEFAULT_METADATA.title;
const description = metadata.description ?? DEFAULT_METADATA.description;
Expand Down Expand Up @@ -63,4 +65,4 @@ export function seo({ url, image, ...metadata }: SeoProps = {}): Metadata {
}
return merge(DEFAULT_METADATA, metadata);
}
} */
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "@acme/tsconfig/base.json",
"compilerOptions": {
"moduleResolution": "bundler",
"baseUrl": ".",
"paths": {
"~/*": ["./src/*"]
Expand Down
Loading

0 comments on commit d1c2cf8

Please sign in to comment.