Skip to content

Commit

Permalink
Upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpocock committed Sep 13, 2024
1 parent f0726bf commit 3eb9c3f
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 17 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/section-repos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
branches:
- "main"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
run:
runs-on: ubuntu-latest
Expand Down
8 changes: 1 addition & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@
node_modules
.vscode/*.code-snippets
tsconfig.temp.json
*.prompt.*
dist
*.tsbuildinfo
.twoslash-lint
out
tsconfig.temp.json
10 changes: 1 addition & 9 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@
"typescript.enablePromptUseWorkspaceTsdk": true,
"github.copilot.enable": {
"*": false,
"plaintext": false,
"markdown": true,
"scminput": false
},
"markdownlint.config": {
"default": false,
"MD001": true,
"MD022": true,
"MD038": true
}
"explorer.sortOrder": "mixed",
}
1 change: 1 addition & 0 deletions out
Submodule out added at 1d75ed
8 changes: 7 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@
"excludePackagePatterns": [
"typescript",
"vitest",
"@total-typescript/exercise-cli"
"jsdom",
"prettier",
"vite-tsconfig-paths",
"react",
"@types/react",
"@total-typescript/exercise-cli",
"zod"
],
"enabled": false
}
Expand Down
11 changes: 11 additions & 0 deletions vite.config.mts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { defineConfig } from "vitest/config";
import tsconfigPaths from "vite-tsconfig-paths";

export default defineConfig({
test: {
include: ["src/**/*{problem,solution,explainer}*.{ts,tsx}"],
passWithNoTests: true,
environment: "jsdom",
},
plugins: [tsconfigPaths()],
});

0 comments on commit 3eb9c3f

Please sign in to comment.