mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-28 17:56:37 +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",
|
||||
"lint": "eslint .",
|
||||
"type-check": "tsc --pretty --noEmit",
|
||||
"i18n:scan": "i18next-scanner --config i18next-scanner.config.js",
|
||||
"format": "prettier --write ./src"
|
||||
"i18n:scan": "i18next-scanner --config i18next-scanner.config.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@rallly/billing": "*",
|
||||
|
|
|
@ -4,11 +4,11 @@
|
|||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["src/*"],
|
||||
"~/*": ["public/*"],
|
||||
"~/*": ["public/*"]
|
||||
},
|
||||
"checkJs": false,
|
||||
"strictNullChecks": true,
|
||||
"strictNullChecks": true
|
||||
},
|
||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
||||
"exclude": ["node_modules"],
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
"lint": "eslint .",
|
||||
"type-check": "tsc --pretty --noEmit",
|
||||
"i18n:scan": "i18next-scanner --config i18next-scanner.config.js",
|
||||
"format": "prettier --write ./src",
|
||||
"test:integration": "NODE_ENV=test playwright test",
|
||||
"test:unit": "vitest run",
|
||||
"test": "yarn test:unit && yarn test:e2e",
|
||||
|
|
|
@ -3,22 +3,17 @@
|
|||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["src/*"],
|
||||
"@/*": ["src/*"]
|
||||
},
|
||||
"strictNullChecks": true,
|
||||
"types": ["vitest/globals"],
|
||||
"types": ["vitest/globals"]
|
||||
},
|
||||
"include": [
|
||||
"**/*.ts",
|
||||
"**/*.tsx",
|
||||
"**/*.js",
|
||||
".next/types/**/*.ts",
|
||||
"vitest.config.mts",
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
".next/**/*",
|
||||
"playwright-report",
|
||||
"test-results",
|
||||
"vitest.config.mts"
|
||||
],
|
||||
"exclude": ["node_modules", ".next/**/*", "playwright-report", "test-results"]
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
"lint": "turbo lint",
|
||||
"i18n:scan": "turbo i18n:scan",
|
||||
"type-check": "turbo type-check",
|
||||
"format": "turbo format",
|
||||
"format": "prettier --write .",
|
||||
"release": "./scripts/create-release.sh",
|
||||
"sherif": "npx sherif@latest",
|
||||
"sherif:fix": "npx sherif@latest --fix"
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
"scripts": {
|
||||
"normalize-subscription-metadata": "dotenv -e ../../.env -- tsx ./src/scripts/normalize-metadata.ts",
|
||||
"type-check": "tsc --pretty --noEmit",
|
||||
"format": "prettier --write .",
|
||||
"lint": "eslint ./src"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -8,8 +8,7 @@
|
|||
"db:deploy": "prisma migrate deploy",
|
||||
"db:migrate": "prisma migrate dev",
|
||||
"db:seed": "tsx prisma/seed.ts",
|
||||
"type-check": "tsc --pretty --noEmit",
|
||||
"format": "prettier --write ."
|
||||
"type-check": "tsc --pretty --noEmit"
|
||||
},
|
||||
"exports": "./index.ts",
|
||||
"devDependencies": {
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
"dev": "email dev --port 3333 --dir ./src/previews",
|
||||
"lint": "eslint ./src",
|
||||
"type-check": "tsc --pretty --noEmit",
|
||||
"format": "prettier --write .",
|
||||
"i18n:scan": "i18next-scanner --config i18next-scanner.config.js"
|
||||
},
|
||||
"exports": {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"extends": "@rallly/tsconfig/next.json",
|
||||
"include": ["**/*.ts", "**/*.tsx"],
|
||||
"exclude": ["node_modules"],
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"extends": "@rallly/tsconfig/base.json",
|
||||
"include": ["**/*.ts"],
|
||||
"exclude": ["node_modules"],
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
|
|
|
@ -9,8 +9,7 @@
|
|||
},
|
||||
"scripts": {
|
||||
"lint": "eslint ./src",
|
||||
"type-check": "tsc --noEmit",
|
||||
"format": "prettier --write ."
|
||||
"type-check": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"posthog-js": "^1.178.0",
|
||||
|
|
|
@ -7,8 +7,7 @@
|
|||
"scripts": {
|
||||
"ui:add": "npx shadcn-ui@latest add",
|
||||
"lint": "eslint .",
|
||||
"type-check": "tsc --noEmit",
|
||||
"format": "prettier --write ."
|
||||
"type-check": "tsc --noEmit"
|
||||
},
|
||||
"exports": {
|
||||
".": "./src/lib/utils.ts",
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
"private": true,
|
||||
"scripts": {
|
||||
"test:unit": "vitest run",
|
||||
"format": "prettier --write .",
|
||||
"lint": "eslint ./src",
|
||||
"type-check": "tsc --noEmit"
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue