Skip to content

Commit 7020804

Browse files
committed
Upgrades
1 parent d101c22 commit 7020804

File tree

5 files changed

+41
-5
lines changed

5 files changed

+41
-5
lines changed

.github/workflows/section-repos.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Create Section Repos
2+
on:
3+
push:
4+
branches:
5+
- "main"
6+
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
11+
jobs:
12+
run:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: 20.x
19+
- run: git config --global user.email "[email protected]"
20+
- run: git config --global user.name "Total TypeScript Bot"
21+
- run: npx @total-typescript/exercise-cli@latest create-section-repos
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}
24+
GH_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
node_modules
2-
.vscode
2+
tsconfig.temp.json

.vscode/settings.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"typescript.tsdk": "node_modules/typescript/lib",
3+
"typescript.enablePromptUseWorkspaceTsdk": true,
4+
"github.copilot.enable": {
5+
"*": false,
6+
},
7+
"explorer.sortOrder": "mixed",
8+
}

renovate.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@
77
"excludePackagePatterns": [
88
"typescript",
99
"vitest",
10-
"@total-typescript/exercise-cli"
10+
"jsdom",
11+
"prettier",
12+
"vite-tsconfig-paths",
13+
"react",
14+
"@types/react",
15+
"@total-typescript/exercise-cli",
16+
"zod"
1117
],
1218
"enabled": false
1319
}

vite.config.mts

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
import { defineConfig } from "vitest/config";
22
import tsconfigPaths from "vite-tsconfig-paths";
3-
import path from "path";
43

54
export default defineConfig({
65
test: {
7-
include: ["src/**/*{problem,solution,explainer}*.ts"],
8-
setupFiles: [path.resolve(__dirname, "scripts/setup.ts")],
6+
include: ["src/**/*{problem,solution,explainer}*.{ts,tsx}"],
97
passWithNoTests: true,
108
environment: "jsdom",
119
},

0 commit comments

Comments
 (0)