Skip to content

Commit

Permalink
declutter vitest temp files (#949)
Browse files Browse the repository at this point in the history
  • Loading branch information
turbocrime authored Apr 18, 2024
1 parent f23028a commit 74149ec
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ node_modules

# testing
coverage
vite.config.ts.timestamp-*-*.mjs

# build output
.next/
Expand Down Expand Up @@ -53,4 +54,4 @@ lerna-debug.log*
*.pem

# large binary files
*_pk.bin
*_pk.bin
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ pnpm-lock.yaml
packages/wasm/crate
packages/wasm/wasm
*_pk.bin
vitest.config.ts.timestamp-*-*.mjs
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"test": "turbo run test",
"test:rust": "turbo run test:rust",
"clean": "turbo clean",
"clean:vitest-mjs": "find . -type f -name 'vite.config.ts.timestamp-*-*.mjs' -ls -delete",
"format": "prettier --write .",
"format-check": "prettier --check .",
"format-check:rust": "turbo run format-check:rust",
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-config-custom/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ module.exports = {
},
overrides: [
{
files: ['*.ts', '*.tsx', '*.js'],
files: ['*.ts', '*.tsx'],
parser: '@typescript-eslint/parser',
},
],
env: {
webextensions: true,
},
ignorePatterns: ['dist/*'],
ignorePatterns: ['dist/*', 'vitest.config.ts.timestmap-*-*.mjs'],
settings: {
'import/resolver': {
typescript: true,
Expand Down
4 changes: 4 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,14 @@
"format-check:rust": {
"dependsOn": ["compile"]
},
"//#clean:vitest-mjs": {
"cache": false
},
"//#playwright-install": {
"cache": false
},
"clean": {
"dependsOn": ["//#clean:vitest-mjs"],
"cache": false
}
}
Expand Down

0 comments on commit 74149ec

Please sign in to comment.