Skip to content

Commit e90edff

Browse files
committed
Upgrades
1 parent d95c01f commit e90edff

File tree

7 files changed

+45
-10
lines changed

7 files changed

+45
-10
lines changed

.github/workflows/renovate-checks.yml

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ on:
33
push:
44
branches:
55
- "renovate/**"
6-
- "ci-check/**"
76

87
jobs:
98
build:

.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 "total-typescript@bot.com"
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

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
node_modules
2-
.vscode
3-
*.temp.json
2+
tsconfig.temp.json
3+
dist
4+
*.tsbuildinfo
5+
*.prompt.*
6+
.vscode/*.code-snippets

.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
}

scripts/setup.ts

-3
This file was deleted.

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)