Commit Graph

435 Commits

Author SHA1 Message Date
Søren L. Hansen
59ddaa82b8 Ensure prod builds don't use inline source maps
The bundle grew by a factor of 4, so let's only do that while
we're developing.
2022-11-26 15:21:59 -08:00
Søren L. Hansen
29c20dca06 Improve JS workflow
Now we can launch Chrome from vscode and also set breakpoints and have
them be respected.

Work still to be done:

The "Launch Chrome" task should compile the typescript stuff.

It takes too long to rebuild the typescript stuff. It is bothersome
during development. If we can work around that with webpack, that's
great. If generating the gotty bundle is what makes it all time
consuming, we should skip the bundle generation for development and
change the index.html to point to a not-bundled version.

Partially fixes #3
2022-11-26 14:56:17 -08:00
Søren L. Hansen
48c794023a Merge remote-tracking branch 'origin/master' 2022-11-26 13:39:23 -08:00
Soren L. Hansen
a7160c58c8
Update README.md 2022-11-25 14:02:39 -08:00
Soren L. Hansen
c7263e39bc
Update README.md 2022-11-25 14:01:34 -08:00
dependabot[bot]
31530f8a43 Bump loader-utils from 2.0.3 to 2.0.4 in /js
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.3...v2.0.4)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-25 12:58:38 -08:00
Soren L. Hansen
df86da4964 Accidentally deleted the checkout step 2022-11-11 22:52:39 +00:00
Soren L. Hansen
9bab150922
Merge pull request #55 from sorenisanerd/dependabot/npm_and_yarn/js/loader-utils-2.0.3
Bump loader-utils from 2.0.2 to 2.0.3 in /js
2022-11-11 23:42:14 +01:00
Soren L. Hansen
a1cadb5846 Merge branch 'pr/callumgare/36' 2022-11-11 22:39:48 +00:00
dependabot[bot]
e51731714f
Bump loader-utils from 2.0.2 to 2.0.3 in /js
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.3/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.2...v2.0.3)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-09 05:12:24 +00:00
Soren L. Hansen
16c534e1a9
Merge pull request #51 from lukaszlach/process-http-headers
Pass HTTP headers with the --pass-headers option
2022-11-01 10:18:32 -07:00
Soren L. Hansen
87c10e562e
Add Twitch badge (#53) 2022-10-20 18:38:41 -07:00
Søren L. Hansen
f426ca26f2 Add Twitch badge 2022-10-20 18:35:51 -07:00
llach
d92d17c15d task: change exmaple to use Cookie 2022-09-15 16:46:39 +00:00
llach
e8f5de568d task: pass headers 2022-09-15 16:15:54 +00:00
llach
936288058d Merge branch 'master' of https://github.com/sorenisanerd/gotty into process-http-headers 2022-09-15 15:26:18 +00:00
Søren L. Hansen
26c419f564 Add quick linux/amd64 only test build 2022-09-01 18:12:32 -07:00
Søren L. Hansen
1b7cb8c9cb Add a check for up-to-date bundle 2022-09-01 14:11:38 -07:00
Søren L. Hansen
b283514f9e Update NEWS. Whoops. 2022-09-01 00:19:34 -07:00
Søren L. Hansen
7ffe343767 Avoid leading space in commit msgs 2022-09-01 00:13:12 -07:00
Søren L. Hansen
1bbfd5e152 Add make target to add contributors 2022-08-31 23:31:31 -07:00
Søren L. Hansen
b3c5d03af2 Update @xgdgsc as a contributor 2022-08-31 22:53:30 -07:00
Søren L. Hansen
34f516b2a3 Update @sorenisanerd as a contributor 2022-08-31 22:53:29 -07:00
Søren L. Hansen
3c45888a60 Update @prusnak as a contributor 2022-08-31 22:53:28 -07:00
Søren L. Hansen
9877e9c78c Update @flechaig as a contributor 2022-08-31 22:53:24 -07:00
Søren L. Hansen
7b994ecb8b Add @Yann-Qiu as a contributor 2022-08-31 22:51:24 -07:00
Søren L. Hansen
09f7e952a8 Update @xgdgsc as a contributor 2022-08-31 22:51:23 -07:00
Søren L. Hansen
d594befc45 Add @v20z as a contributor 2022-08-31 22:51:23 -07:00
Søren L. Hansen
89a04d154e Update @sorenisanerd as a contributor 2022-08-31 22:51:22 -07:00
Søren L. Hansen
95e1bbdfce Add @shuaiyy as a contributor 2022-08-31 22:51:22 -07:00
Søren L. Hansen
5a052e7c36 Add @qigj as a contributor 2022-08-31 22:51:21 -07:00
Søren L. Hansen
8d7f5fc498 Update @prusnak as a contributor 2022-08-31 22:51:20 -07:00
Søren L. Hansen
ca691bc144 Add @Nexuist as a contributor 2022-08-31 22:51:20 -07:00
Søren L. Hansen
369e2f7d92 Add @masterkain as a contributor 2022-08-31 22:51:19 -07:00
Søren L. Hansen
3bd9836cad Add @LucaMarconato as a contributor 2022-08-31 22:51:18 -07:00
Søren L. Hansen
8014af3818 Add @linyinli as a contributor 2022-08-31 22:51:18 -07:00
Søren L. Hansen
accff3a5d0 Add @kaisawind as a contributor 2022-08-31 22:51:17 -07:00
Søren L. Hansen
f52fbd77b8 Add @jpillora as a contributor 2022-08-31 22:51:17 -07:00
Søren L. Hansen
1a6bccdf00 Add @ghthor as a contributor 2022-08-31 22:51:16 -07:00
Søren L. Hansen
270ae4543b Add @George-NG as a contributor 2022-08-31 22:51:15 -07:00
Søren L. Hansen
e03ea9c60f Update @flechaig as a contributor 2022-08-31 22:51:15 -07:00
Søren L. Hansen
fcfa1612c8 Add @DannyBen as a contributor 2022-08-31 22:51:14 -07:00
Søren L. Hansen
74c1318f53 Add @CoconutMacaroon as a contributor 2022-08-31 22:51:13 -07:00
Søren L. Hansen
276767a32e Add @ahmetb as a contributor 2022-08-31 22:51:12 -07:00
Søren L. Hansen
6b2ae89167 Add @dmartin as a contributor 2022-08-31 22:41:03 -07:00
Søren L. Hansen
d8fe9758e4 Create a release when a new tag is pushed 2022-08-31 22:12:54 -07:00
Soren L. Hansen
316d5ff442 Run tests on pull requests
Pull requests will automatically trigger a build and test run. The
produced binaries are stored as artifacts in the Github workflow.
2022-08-31 17:41:51 -07:00
Søren L. Hansen
7d431a7bd6 Ensure --quiet flag is honored
The code to disable logging ran before command line flags are parsed.
Moved them around.

Fixes #45
2022-08-30 17:02:18 -07:00
Søren L. Hansen
94e587399d Refresh dependencies, drop node-sass
`npm audit` revealed some vulnerabilities:

```

scss-tokenizer  <=0.4.2
Severity: high
Regular expression denial of service in scss-tokenizer - https://github.com/advisories/GHSA-7mwh-4pqv-wmr8
fix available via `npm audit fix --force`
Will install node-sass@4.5.3, which is a breaking change
node_modules/scss-tokenizer
  sass-graph  >=2.2.0
  Depends on vulnerable versions of scss-tokenizer
  node_modules/sass-graph
    node-sass  >=4.6.0
    Depends on vulnerable versions of sass-graph
    node_modules/node-sass

3 high severity vulnerabilities

```

We don't need node-sass, and sass-loader is just as happy using
another sass implementation. The preferred one is dart-sass which
is simply called sass in npm.

In the process, I also did an `npm update` just for good measure.
2022-08-27 02:11:30 -07:00
Søren L. Hansen
d0e3ffbb17 Add missing import "strings" 2022-08-27 00:42:49 -07:00