mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 08:13:56 +10:00
Merge branch 'main' into eslint-lint-staged
This commit is contained in:
@ -2,4 +2,5 @@ module.exports = {
|
|||||||
'**/*.{ts,tsx,cts,mts}': ['eslint --fix'],
|
'**/*.{ts,tsx,cts,mts}': ['eslint --fix'],
|
||||||
'**/*.{js,jsx,cjs,mjs}': ['prettier --write'],
|
'**/*.{js,jsx,cjs,mjs}': ['prettier --write'],
|
||||||
'**/*.{yml,mdx}': ['prettier --write'],
|
'**/*.{yml,mdx}': ['prettier --write'],
|
||||||
|
'**/*/package.json': ['npm run precommit'],
|
||||||
};
|
};
|
||||||
|
|||||||
@ -22,7 +22,8 @@
|
|||||||
"prisma:seed": "npm run with:env -- npm run prisma:seed -w @documenso/prisma",
|
"prisma:seed": "npm run with:env -- npm run prisma:seed -w @documenso/prisma",
|
||||||
"prisma:studio": "npm run with:env -- npx prisma studio --schema packages/prisma/schema.prisma",
|
"prisma:studio": "npm run with:env -- npx prisma studio --schema packages/prisma/schema.prisma",
|
||||||
"with:env": "dotenv -e .env -e .env.local --",
|
"with:env": "dotenv -e .env -e .env.local --",
|
||||||
"reset:hard": "npm run clean && npm i && npm run prisma:generate"
|
"reset:hard": "npm run clean && npm i && npm run prisma:generate",
|
||||||
|
"precommit": "npm install && git add package.json package-lock.json"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"npm": ">=8.6.0",
|
"npm": ">=8.6.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user