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 d95c01f commit e90edff
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 10 deletions.
1 change: 0 additions & 1 deletion .github/workflows/renovate-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
push:
branches:
- "renovate/**"
- "ci-check/**"

jobs:
build:
Expand Down
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 }}
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
node_modules
.vscode
*.temp.json
tsconfig.temp.json
dist
*.tsbuildinfo
*.prompt.*
.vscode/*.code-snippets
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
3 changes: 0 additions & 3 deletions scripts/setup.ts

This file was deleted.

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 e90edff

Please sign in to comment.