-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathonecfg.json
85 lines (85 loc) · 3.22 KB
/
onecfg.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"extends": [
"https://raw.githubusercontent.com/clebert/onecfg-lib/main/lib/onecfg-editorconfig.json",
"https://raw.githubusercontent.com/clebert/onecfg-lib/main/lib/onecfg-eslint.json",
"https://raw.githubusercontent.com/clebert/onecfg-lib/main/lib/onecfg-git.json",
"https://raw.githubusercontent.com/clebert/onecfg-lib/main/lib/onecfg-ignore-dist.json",
"https://raw.githubusercontent.com/clebert/onecfg-lib/main/lib/onecfg-jest.json",
"https://raw.githubusercontent.com/clebert/onecfg-lib/main/lib/onecfg-node.json",
"https://raw.githubusercontent.com/clebert/onecfg-lib/main/lib/onecfg-node-github.json",
"https://raw.githubusercontent.com/clebert/onecfg-lib/main/lib/onecfg-prettier.json",
"https://raw.githubusercontent.com/clebert/onecfg-lib/main/lib/onecfg-swc.json",
"https://raw.githubusercontent.com/clebert/onecfg-lib/main/lib/onecfg-typescript.json",
"https://raw.githubusercontent.com/clebert/onecfg-lib/main/lib/onecfg-typescript-eslint.json",
"https://raw.githubusercontent.com/clebert/onecfg-lib/main/lib/onecfg-vscode.json"
],
"patches": {
".github/workflows/ci.yml": [
{
"value": {
"jobs": {
"CI": {
"steps": [
{
"run": "npx playwright install --with-deps"
},
{
"run": "npm run build:dev && npm run test:e2e:localhost",
"env": {
"CLIENT_ID": "${{ secrets.DEV_CLIENT_ID }}",
"CLIENT_SECRET": "${{ secrets.DEV_CLIENT_SECRET }}",
"GITHUB_LOGIN": "${{ secrets.ITEST_LOGIN }}",
"GITHUB_PASSWORD": "${{ secrets.ITEST_PASSWORD }}",
"GITHUB_SECRET": "${{ secrets.ITEST_SECRET }}"
}
},
{
"run": "npm run deploy -- --require-approval never",
"if": "${{ github.ref == 'refs/heads/main' }}",
"env": {
"CLIENT_ID": "${{ secrets.PROD_CLIENT_ID }}",
"CLIENT_SECRET": "${{ secrets.PROD_CLIENT_SECRET }}",
"AWS_REGION": "eu-central-1",
"AWS_ACCESS_KEY_ID": "${{ secrets.AWS_ACCESS_KEY_ID }}",
"AWS_SECRET_ACCESS_KEY": "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
}
},
{
"run": "npm run test:e2e",
"if": "${{ github.ref == 'refs/heads/main' }}",
"env": {
"GITHUB_LOGIN": "${{ secrets.ITEST_LOGIN }}",
"GITHUB_PASSWORD": "${{ secrets.ITEST_PASSWORD }}",
"GITHUB_SECRET": "${{ secrets.ITEST_SECRET }}"
}
}
]
}
}
}
}
],
".eslintignore": [
{
"value": ["/src/queries/types.d.ts"]
}
],
".gitignore": [
{
"value": ["/.envrc", "/playwright", "/test-results"]
}
],
".prettierignore": [
{
"value": ["/playwright"]
}
],
".prettierrc.json": [
{
"value": {
"plugins": ["prettier-plugin-tailwindcss"]
}
}
]
}
}