Initialise repo
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/** @type {import("eslint").Linter.Config} */
|
||||
module.exports = {
|
||||
root: true,
|
||||
extends: ["@repo/eslint-config/next.js"],
|
||||
extends: ["@unsend/eslint-config/next.js"],
|
||||
parser: "@typescript-eslint/parser",
|
||||
parserOptions: {
|
||||
project: true,
|
||||
|
@@ -1,8 +1,8 @@
|
||||
import Image from "next/image";
|
||||
import { Card } from "@repo/ui/card";
|
||||
import { Code } from "@repo/ui/code";
|
||||
import { Card } from "@unsend/ui/card";
|
||||
import { Code } from "@unsend/ui/code";
|
||||
import styles from "./page.module.css";
|
||||
import { Button } from "@repo/ui/button";
|
||||
import { Button } from "@unsend/ui/button";
|
||||
|
||||
function Gradient({
|
||||
conic,
|
||||
|
@@ -1,4 +1,4 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
module.exports = {
|
||||
transpilePackages: ["@repo/ui"],
|
||||
transpilePackages: ["@unsend/ui"],
|
||||
};
|
||||
|
@@ -9,15 +9,15 @@
|
||||
"lint": "eslint . --max-warnings 0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@repo/ui": "workspace:*",
|
||||
"@unsend/ui": "workspace:*",
|
||||
"next": "^14.1.1",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@next/eslint-plugin-next": "^14.1.1",
|
||||
"@repo/eslint-config": "workspace:*",
|
||||
"@repo/typescript-config": "workspace:*",
|
||||
"@unsend/eslint-config": "workspace:*",
|
||||
"@unsend/typescript-config": "workspace:*",
|
||||
"@types/eslint": "^8.56.5",
|
||||
"@types/node": "^20.11.24",
|
||||
"@types/react": "^18.2.61",
|
||||
@@ -25,4 +25,4 @@
|
||||
"eslint": "^8.57.0",
|
||||
"typescript": "^5.3.3"
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"extends": "@repo/typescript-config/nextjs.json",
|
||||
"extends": "@unsend/typescript-config/nextjs.json",
|
||||
"compilerOptions": {
|
||||
"plugins": [
|
||||
{
|
||||
|
Reference in New Issue
Block a user