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 66e23fa commit 0707056
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 5 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/section-repos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Create Section Repos
on:
push:
branches:
- "main"

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

jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "Total TypeScript Bot"
- run: npx @total-typescript/exercise-cli@latest create-section-repos
env:
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
node_modules
.vscode
tsconfig.temp.json
8 changes: 8 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"github.copilot.enable": {
"*": false,
},
"explorer.sortOrder": "mixed",
}
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
4 changes: 1 addition & 3 deletions vite.config.mts
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import { defineConfig } from "vitest/config";
import tsconfigPaths from "vite-tsconfig-paths";
import path from "path";

export default defineConfig({
test: {
include: ["src/**/*{problem,solution,explainer}*.ts"],
setupFiles: [path.resolve(__dirname, "scripts/setup.ts")],
include: ["src/**/*{problem,solution,explainer}*.{ts,tsx}"],
passWithNoTests: true,
environment: "jsdom",
},
Expand Down

0 comments on commit 0707056

Please sign in to comment.