File tree Expand file tree Collapse file tree 6 files changed +38
-4
lines changed Expand file tree Collapse file tree 6 files changed +38
-4
lines changed Original file line number Diff line number Diff line change
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 }}
Original file line number Diff line number Diff line change 1
1
node_modules
2
- .vscode
3
2
tsconfig.temp.json
Original file line number Diff line number Diff line change
1
+ {
2
+ "typescript.tsdk" : " node_modules/typescript/lib" ,
3
+ "typescript.enablePromptUseWorkspaceTsdk" : true ,
4
+ "github.copilot.enable" : {
5
+ "*" : false ,
6
+ },
7
+ "explorer.sortOrder" : " mixed" ,
8
+ }
Original file line number Diff line number Diff line change 8
8
"devDependencies" : {
9
9
"@total-typescript/exercise-cli" : " ^0.11.0" ,
10
10
"@types/node" : " ^20.10.3" ,
11
- "cross-fetch" : " ^3.1.5" ,
12
11
"jsdom" : " ^21.1.1" ,
13
12
"prettier" : " ^2.8.7" ,
14
13
"typescript" : " ^5.3.0" ,
44
43
"e-010" : " tt-cli run 010" ,
45
44
"s-010" : " tt-cli run 010 --solution"
46
45
}
47
- }
46
+ }
Original file line number Diff line number Diff line change 7
7
"excludePackagePatterns" : [
8
8
" typescript" ,
9
9
" vitest" ,
10
+ " jsdom" ,
11
+ " prettier" ,
12
+ " vite-tsconfig-paths" ,
13
+ " react" ,
14
+ " @types/react" ,
10
15
" @total-typescript/exercise-cli"
11
16
],
12
17
"enabled" : false
Original file line number Diff line number Diff line change 1
1
import { defineConfig } from "vitest/config" ;
2
2
import tsconfigPaths from "vite-tsconfig-paths" ;
3
- import path from "path" ;
4
3
5
4
export default defineConfig ( {
6
5
test : {
You can’t perform that action at this time.
0 commit comments