chore: make it harder to accidentally nuke files
This commit is contained in:
parent
01eb454e83
commit
1b39473f48
8 changed files with 8 additions and 8 deletions
|
@ -38,7 +38,7 @@
|
|||
- blog - http://localhost:3000
|
||||
- main - http://localhost:5173
|
||||
- `pnpm lint` - Lint all apps and packages
|
||||
- `pnpm clean` - Remove all auto-generated content such as `node_modules` and `dist`.
|
||||
- `pnpm i_am_sure_i_want_to_nuke_gitignored_files` - Remove all auto-generated content such as `node_modules` and `dist`.
|
||||
|
||||
## Testing
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"postbuild": "next-sitemap",
|
||||
"lint": "next lint",
|
||||
"test:e2e": "playwright test",
|
||||
"clean": "rm -rf .next .turbo build node_modules test-results"
|
||||
"i_am_sure_i_want_to_nuke_gitignored_files": "rm -rf .next .turbo build node_modules test-results"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@developomp-site/content": "workspace:*",
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"build": "vite build",
|
||||
"test:unit": "TZ=UTC jest",
|
||||
"test:e2e": "playwright test",
|
||||
"clean": "rm -rf .turbo .svelte-kit test-results build node_modules vite.config.ts.timestamp-*",
|
||||
"i_am_sure_i_want_to_nuke_gitignored_files": "rm -rf .turbo .svelte-kit test-results build node_modules vite.config.ts.timestamp-*",
|
||||
"lint": "eslint ."
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"test:unit": "turbo run test:unit --parallel --continue",
|
||||
"test:e2e": "turbo run test:e2e --parallel --continue",
|
||||
"lint": "turbo run lint",
|
||||
"clean": "turbo run clean && rm -rf node_modules .turbo"
|
||||
"i_am_sure_i_want_to_nuke_gitignored_files": "turbo run i_am_sure_i_want_to_nuke_gitignored_files && rm -rf node_modules .turbo .devenv .direnv .devenv.flake.nix"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@developomp-site/eslint-config": "workspace:*",
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"scripts": {
|
||||
"build": "rm -rf dist build && tsup && node build/index.js",
|
||||
"lint": "eslint .",
|
||||
"clean": "rm -rf .turbo build dist node_modules"
|
||||
"i_am_sure_i_want_to_nuke_gitignored_files": "rm -rf .turbo build dist node_modules"
|
||||
},
|
||||
"dependencies": {
|
||||
"@developomp-site/eslint-config": "workspace:*",
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"main": ".eslintrc.cjs",
|
||||
"scripts": {
|
||||
"lint": "eslint .eslintrc.cjs",
|
||||
"clean": "rm -rf .turbo node_modules"
|
||||
"i_am_sure_i_want_to_nuke_gitignored_files": "rm -rf .turbo node_modules"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@developomp-site/prettier-config": "workspace:*",
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
],
|
||||
"scripts": {
|
||||
"lint": "eslint .",
|
||||
"clean": "rm -rf .turbo node_modules"
|
||||
"i_am_sure_i_want_to_nuke_gitignored_files": "rm -rf .turbo node_modules"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@developomp-site/eslint-config": "workspace:*",
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
"lint": {
|
||||
"cache": false
|
||||
},
|
||||
"clean": {
|
||||
"i_am_sure_i_want_to_nuke_gitignored_files": {
|
||||
"cache": false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue