Skip to content

Commit 0cdcdfc

Browse files
committed
Merge branch 'master' of github.com:target/goalert into ts-convert-misc-src-files
2 parents a211f50 + 7f41f20 commit 0cdcdfc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+6788
-23013
lines changed

.eslintignore

Lines changed: 0 additions & 6 deletions
This file was deleted.

.eslintrc.js

Lines changed: 0 additions & 86 deletions
This file was deleted.

.github/workflows/dep-autoapprove.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
- uses: actions/checkout@v4
1818
with:
1919
ref: ${{ github.head_ref }}
20-
- uses: actions/setup-node@v4
20+
- uses: actions/cache@v4
2121
with:
22-
node-version: '22'
23-
cache: 'yarn'
22+
key: key
23+
path: ~/.bun/install/cache
2424
- name: Run make generate
2525
run: make generate
2626
- uses: stefanzweifel/git-auto-commit-action@v5

.github/workflows/main.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,23 @@ jobs:
1212
steps:
1313
- uses: actions/setup-go@v5
1414
with:
15-
go-version: '1.23'
15+
go-version: '1.24'
1616
- uses: actions/checkout@v4
17-
- uses: actions/setup-node@v4
17+
- uses: actions/cache@v4
1818
with:
19-
node-version: '22'
20-
cache: 'yarn'
21-
- run: make yarn
22-
- run: 'echo "nodeLinker: node-modules" >>.yarnrc.yml'
23-
- run: yarn install
19+
key: key
20+
path: ~/.bun/install/cache
21+
- run: make node_modules
2422
- uses: reviewdog/action-eslint@v1
2523
with:
2624
reporter: github-pr-review
2725
level: warning
28-
fail_on_error: true
26+
fail_level: warning
2927
- uses: reviewdog/action-stylelint@v1
3028
with:
3129
github_token: ${{ secrets.github_token }}
3230
reporter: github-pr-review
3331
level: warning
34-
fail_on_error: true
32+
fail_level: warning
3533
- name: tsc
36-
run: yarn run check
34+
run: ./bin/tools/bun run check

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,4 @@ smoketest_db_dump
7979
/playwright/.cache/
8080

8181
/.gitrev
82+
__debug*

.storybook/main.ts

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,15 @@
11
import type { StorybookConfig } from '@storybook/react-vite'
22

3-
import { join, dirname } from 'path'
4-
5-
/**
6-
* This function is used to resolve the absolute path of a package.
7-
* It is needed in projects that use Yarn PnP or are set up within a monorepo.
8-
*/
9-
function getAbsolutePath(value: string): any {
10-
return dirname(require.resolve(join(value, 'package.json')))
11-
}
123
const config: StorybookConfig = {
134
staticDirs: ['./static'],
145
stories: ['../web/src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
156
addons: [
16-
getAbsolutePath('@storybook/addon-links'),
17-
getAbsolutePath('@storybook/addon-essentials'),
18-
getAbsolutePath('@storybook/addon-interactions'),
7+
'@storybook/addon-links',
8+
'@storybook/addon-essentials',
9+
'@storybook/addon-interactions',
1910
],
2011
framework: {
21-
name: getAbsolutePath('@storybook/react-vite'),
12+
name: '@storybook/react-vite',
2213
options: {},
2314
},
2415
docs: {

.storybook/static/mockServiceWorker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* - Please do NOT serve this file on production.
99
*/
1010

11-
const PACKAGE_VERSION = '2.7.0'
11+
const PACKAGE_VERSION = '2.7.3'
1212
const INTEGRITY_CHECKSUM = '00729d72e3b82faf54ca8b9621dbb96f'
1313
const IS_MOCKED_RESPONSE = Symbol('isMockedResponse')
1414
const activeClientIds = new Set()

.vscode/launch.json

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"presentation": {
6+
"order": 2
7+
},
8+
"name": "GoAlert Frontend",
9+
"type": "chrome",
10+
"request": "launch",
11+
"url": "http://localhost:3030",
12+
"webRoot": "${workspaceFolder}/web/src/app/"
13+
},
14+
{
15+
"name": "GoAlert Backend",
16+
"presentation": {
17+
"hidden": true
18+
},
19+
"type": "go",
20+
"request": "launch",
21+
"mode": "debug",
22+
"program": "${workspaceFolder}/cmd/goalert/",
23+
"args": [
24+
"-l=localhost:3030",
25+
"--ui-dir=web/src/build",
26+
"--db-url=postgres://goalert@localhost",
27+
"--listen-sysapi=localhost:1234",
28+
"--listen-prometheus=localhost:2112",
29+
"--smtp-listen=localhost:9025",
30+
"--email-integration-domain=localhost",
31+
"--listen-pprof=localhost:6060",
32+
"--pprof-mutex-profile-fraction=1",
33+
"--pprof-block-profile-rate=1000",
34+
"--enable-secure-headers"
35+
],
36+
"cwd": "${workspaceFolder}"
37+
},
38+
{
39+
"presentation": {
40+
"hidden": true
41+
},
42+
"name": "Dev Tools",
43+
"type": "go",
44+
"request": "launch",
45+
"program": "${workspaceFolder}/devtools/runproc",
46+
"args": ["-f", "Procfile.tools", "-l", "Procfile.local"],
47+
"cwd": "${workspaceFolder}"
48+
}
49+
],
50+
"compounds": [
51+
{
52+
"name": "GoAlert Backend (incl. dev tools)",
53+
"presentation": {
54+
"order": 1
55+
},
56+
"configurations": ["Dev Tools", "GoAlert Backend"]
57+
}
58+
]
59+
}

.yarn/releases/yarn-4.5.3.cjs

Lines changed: 0 additions & 934 deletions
This file was deleted.

.yarnrc.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)