mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-12 23:51:51 +02:00
Use prettier at root of repo
This commit is contained in:
parent
c00e575a61
commit
9c90c9b946
13 changed files with 14 additions and 27 deletions
|
@ -9,8 +9,7 @@
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"type-check": "tsc --pretty --noEmit",
|
"type-check": "tsc --pretty --noEmit",
|
||||||
"i18n:scan": "i18next-scanner --config i18next-scanner.config.js",
|
"i18n:scan": "i18next-scanner --config i18next-scanner.config.js"
|
||||||
"format": "prettier --write ./src"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@rallly/billing": "*",
|
"@rallly/billing": "*",
|
||||||
|
|
|
@ -4,11 +4,11 @@
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["src/*"],
|
"@/*": ["src/*"],
|
||||||
"~/*": ["public/*"],
|
"~/*": ["public/*"]
|
||||||
},
|
},
|
||||||
"checkJs": false,
|
"checkJs": false,
|
||||||
"strictNullChecks": true,
|
"strictNullChecks": true
|
||||||
},
|
},
|
||||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
||||||
"exclude": ["node_modules"],
|
"exclude": ["node_modules"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"type-check": "tsc --pretty --noEmit",
|
"type-check": "tsc --pretty --noEmit",
|
||||||
"i18n:scan": "i18next-scanner --config i18next-scanner.config.js",
|
"i18n:scan": "i18next-scanner --config i18next-scanner.config.js",
|
||||||
"format": "prettier --write ./src",
|
|
||||||
"test:integration": "NODE_ENV=test playwright test",
|
"test:integration": "NODE_ENV=test playwright test",
|
||||||
"test:unit": "vitest run",
|
"test:unit": "vitest run",
|
||||||
"test": "yarn test:unit && yarn test:e2e",
|
"test": "yarn test:unit && yarn test:e2e",
|
||||||
|
|
|
@ -3,22 +3,17 @@
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["src/*"],
|
"@/*": ["src/*"]
|
||||||
},
|
},
|
||||||
"strictNullChecks": true,
|
"strictNullChecks": true,
|
||||||
"types": ["vitest/globals"],
|
"types": ["vitest/globals"]
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"**/*.ts",
|
"**/*.ts",
|
||||||
"**/*.tsx",
|
"**/*.tsx",
|
||||||
"**/*.js",
|
"**/*.js",
|
||||||
".next/types/**/*.ts",
|
".next/types/**/*.ts",
|
||||||
"vitest.config.mts",
|
"vitest.config.mts"
|
||||||
],
|
|
||||||
"exclude": [
|
|
||||||
"node_modules",
|
|
||||||
".next/**/*",
|
|
||||||
"playwright-report",
|
|
||||||
"test-results",
|
|
||||||
],
|
],
|
||||||
|
"exclude": ["node_modules", ".next/**/*", "playwright-report", "test-results"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
"lint": "turbo lint",
|
"lint": "turbo lint",
|
||||||
"i18n:scan": "turbo i18n:scan",
|
"i18n:scan": "turbo i18n:scan",
|
||||||
"type-check": "turbo type-check",
|
"type-check": "turbo type-check",
|
||||||
"format": "turbo format",
|
"format": "prettier --write .",
|
||||||
"release": "./scripts/create-release.sh",
|
"release": "./scripts/create-release.sh",
|
||||||
"sherif": "npx sherif@latest",
|
"sherif": "npx sherif@latest",
|
||||||
"sherif:fix": "npx sherif@latest --fix"
|
"sherif:fix": "npx sherif@latest --fix"
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"normalize-subscription-metadata": "dotenv -e ../../.env -- tsx ./src/scripts/normalize-metadata.ts",
|
"normalize-subscription-metadata": "dotenv -e ../../.env -- tsx ./src/scripts/normalize-metadata.ts",
|
||||||
"type-check": "tsc --pretty --noEmit",
|
"type-check": "tsc --pretty --noEmit",
|
||||||
"format": "prettier --write .",
|
|
||||||
"lint": "eslint ./src"
|
"lint": "eslint ./src"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -8,8 +8,7 @@
|
||||||
"db:deploy": "prisma migrate deploy",
|
"db:deploy": "prisma migrate deploy",
|
||||||
"db:migrate": "prisma migrate dev",
|
"db:migrate": "prisma migrate dev",
|
||||||
"db:seed": "tsx prisma/seed.ts",
|
"db:seed": "tsx prisma/seed.ts",
|
||||||
"type-check": "tsc --pretty --noEmit",
|
"type-check": "tsc --pretty --noEmit"
|
||||||
"format": "prettier --write ."
|
|
||||||
},
|
},
|
||||||
"exports": "./index.ts",
|
"exports": "./index.ts",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
"dev": "email dev --port 3333 --dir ./src/previews",
|
"dev": "email dev --port 3333 --dir ./src/previews",
|
||||||
"lint": "eslint ./src",
|
"lint": "eslint ./src",
|
||||||
"type-check": "tsc --pretty --noEmit",
|
"type-check": "tsc --pretty --noEmit",
|
||||||
"format": "prettier --write .",
|
|
||||||
"i18n:scan": "i18next-scanner --config i18next-scanner.config.js"
|
"i18n:scan": "i18next-scanner --config i18next-scanner.config.js"
|
||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"extends": "@rallly/tsconfig/next.json",
|
"extends": "@rallly/tsconfig/next.json",
|
||||||
"include": ["**/*.ts", "**/*.tsx"],
|
"include": ["**/*.ts", "**/*.tsx"],
|
||||||
"exclude": ["node_modules"],
|
"exclude": ["node_modules"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"extends": "@rallly/tsconfig/base.json",
|
"extends": "@rallly/tsconfig/base.json",
|
||||||
"include": ["**/*.ts"],
|
"include": ["**/*.ts"],
|
||||||
"exclude": ["node_modules"],
|
"exclude": ["node_modules"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,7 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint ./src",
|
"lint": "eslint ./src",
|
||||||
"type-check": "tsc --noEmit",
|
"type-check": "tsc --noEmit"
|
||||||
"format": "prettier --write ."
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"posthog-js": "^1.178.0",
|
"posthog-js": "^1.178.0",
|
||||||
|
|
|
@ -7,8 +7,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"ui:add": "npx shadcn-ui@latest add",
|
"ui:add": "npx shadcn-ui@latest add",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"type-check": "tsc --noEmit",
|
"type-check": "tsc --noEmit"
|
||||||
"format": "prettier --write ."
|
|
||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
".": "./src/lib/utils.ts",
|
".": "./src/lib/utils.ts",
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test:unit": "vitest run",
|
"test:unit": "vitest run",
|
||||||
"format": "prettier --write .",
|
|
||||||
"lint": "eslint ./src",
|
"lint": "eslint ./src",
|
||||||
"type-check": "tsc --noEmit"
|
"type-check": "tsc --noEmit"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue