Rename to format

This commit is contained in:
Luke Vella 2024-11-09 15:05:14 +00:00
parent c34d9b605e
commit 19b7e1ec04
No known key found for this signature in database
GPG key ID: 469CAD687F0D784C
10 changed files with 12 additions and 9 deletions

View file

@ -10,7 +10,7 @@
"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",
"prettier": "prettier --write ./src" "format": "prettier --write ./src"
}, },
"dependencies": { "dependencies": {
"@rallly/billing": "*", "@rallly/billing": "*",

View file

@ -11,7 +11,7 @@
"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",
"prettier": "prettier --write ./src", "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",

View file

@ -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",
"prettier": "prettier --write .", "format": "turbo format",
"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"

View file

@ -11,7 +11,7 @@
"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",
"prettier": "prettier --write .", "format": "prettier --write .",
"lint": "eslint ./src" "lint": "eslint ./src"
}, },
"dependencies": { "dependencies": {

View file

@ -9,7 +9,7 @@
"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",
"prettier": "prettier --write ." "format": "prettier --write ."
}, },
"exports": "./index.ts", "exports": "./index.ts",
"devDependencies": { "devDependencies": {

View file

@ -6,7 +6,7 @@
"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",
"prettier": "prettier --write .", "format": "prettier --write .",
"i18n:scan": "i18next-scanner --config i18next-scanner.config.js" "i18n:scan": "i18next-scanner --config i18next-scanner.config.js"
}, },
"exports": { "exports": {

View file

@ -10,7 +10,7 @@
"scripts": { "scripts": {
"lint": "eslint ./src", "lint": "eslint ./src",
"type-check": "tsc --noEmit", "type-check": "tsc --noEmit",
"prettier": "prettier --write ." "format": "prettier --write ."
}, },
"dependencies": { "dependencies": {
"posthog-js": "^1.178.0", "posthog-js": "^1.178.0",

View file

@ -8,7 +8,7 @@
"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",
"prettier": "prettier --write ." "format": "prettier --write ."
}, },
"exports": { "exports": {
".": "./src/lib/utils.ts", ".": "./src/lib/utils.ts",

View file

@ -4,7 +4,7 @@
"private": true, "private": true,
"scripts": { "scripts": {
"test:unit": "vitest run", "test:unit": "vitest run",
"prettier": "prettier --write .", "format": "prettier --write .",
"lint": "eslint ./src", "lint": "eslint ./src",
"type-check": "tsc --noEmit" "type-check": "tsc --noEmit"
}, },

View file

@ -57,6 +57,9 @@
"i18n:scan": { "i18n:scan": {
"inputs": ["src/**", "i18next-scanner.config.js"], "inputs": ["src/**", "i18next-scanner.config.js"],
"outputs": ["public/locales/**"] "outputs": ["public/locales/**"]
},
"format": {
"cache": false
} }
}, },
"globalEnv": [ "globalEnv": [