Commit Graph

311 Commits

Author SHA1 Message Date
Dillon Kearns
9ed2e2c7e4 Use Lamdera for running tests in CI. 2022-03-25 10:35:57 -07:00
Dillon Kearns
aaca1b0a12 Try a new cypress start command for ci. 2022-03-09 14:00:24 -08:00
Dillon Kearns
9640986e2c Try new cypress command to fix build error. 2022-03-09 13:47:39 -08:00
Dillon Kearns
0b6d801f74 Update build script. 2022-03-09 13:36:14 -08:00
Dillon Kearns
b7a2d44436 Remove lamdera reset command. 2022-03-09 13:33:36 -08:00
Dillon Kearns
060f8aebd2 Fix lamdera reset from getting stuck in build 2022-03-09 13:32:05 -08:00
Dillon Kearns
5fb232dc20 Try lamdera reset in test command. 2022-03-09 13:30:22 -08:00
Dillon Kearns
8fe4e73cf4 Update build script. 2022-03-09 13:23:28 -08:00
Dillon Kearns
ec81b29424 Update test command. 2022-03-09 13:20:54 -08:00
Dillon Kearns
41fd2bf645 Update dependencies. 2022-03-09 10:57:47 -08:00
Dillon Kearns
ef89edf54b Update esbuild. 2022-03-09 10:55:16 -08:00
Dillon Kearns
e35b8b6516 Update cypress. 2022-03-09 10:54:36 -08:00
Dillon Kearns
38c31745d6 Update commander. 2022-03-09 10:53:58 -08:00
Dillon Kearns
b3d0d8667a Update vite. 2022-03-09 10:53:32 -08:00
Dillon Kearns
aa98e1b914 Update test projects. 2022-03-09 10:33:33 -08:00
Dillon Kearns
b1af39c851 Remove unused NPM package. 2022-03-04 10:47:31 -08:00
Dillon Kearns
8489f44a3d Use esbuild to transpile port-data-source file, and watch for changes. 2022-03-02 10:14:55 -08:00
Dillon Kearns
46edf07679 Run all cypress tests from cypress run script. 2022-02-26 09:47:17 -08:00
Dillon Kearns
e861713455 Update cypress version. 2022-02-25 08:58:00 -08:00
Dillon Kearns
1ae88f181a Use node-fetch instead of undici for Node 14 compatability. 2022-02-22 11:37:09 -08:00
Dillon Kearns
e2e98405ec Update dependencies. 2022-02-21 14:23:17 -08:00
Dillon Kearns
8ee5b2a649 Add missing. (+2 squashed commits)
Squashed commits:
[ea4646e3] Fix two errors.
[31faf674] Add initial Vite SSR setup.
2022-02-21 09:30:31 -08:00
Dillon Kearns
a03b0295bc Update elm-review. 2022-01-27 16:00:11 -08:00
Dillon Kearns
30ab850c90 Add prototype for withSession helper. 2022-01-20 18:00:38 -08:00
Dillon Kearns
b2c1a31c68 Handle multipart forms in dev server and adapter script. 2021-12-29 13:02:45 -08:00
Dillon Kearns
10bbeb491d Use more declarative interface for Server Requests. 2021-12-26 21:56:33 -08:00
Dillon Kearns
06ace7822e Update elm-verify-examples package. 2021-12-18 11:22:55 -08:00
Dillon Kearns
dca81657ee Try in-memory fs. 2021-12-15 12:22:25 -08:00
Dillon Kearns
5b1b1722af Update dependency. 2021-12-10 10:45:04 -08:00
Dillon Kearns
f7248851e6 2.1.11 2021-12-01 15:38:18 -08:00
Dillon Kearns
49873951cf 2.1.10 2021-12-01 14:25:53 -08:00
Shea Kelly
ce6fb34b1b adding https support using devcert 2021-11-06 12:13:26 +11:00
Johannes Maas
b5c208b8c1 Fix CI by running on Node 14 2021-10-20 21:07:26 +02:00
Johannes Maas
a7f48e48a1 Test only base-path example on Windows 2021-10-16 23:14:46 +02:00
Johannes Maas
ca27162a50 Test only the escaping example on Windows 2021-10-16 23:11:18 +02:00
Johannes Maas
8586b540a1 Try relative paths in test script 2021-10-16 23:05:38 +02:00
Dillon Kearns
26caa69929 Run snapshot tests from top-level npm test command. 2021-10-16 09:10:20 -07:00
Dillon Kearns
46853ca617 2.1.9 2021-08-27 11:40:03 -07:00
Dillon Kearns
87b60e4856 Run elm-review when errors point to generated code. 2021-08-27 10:27:37 -07:00
Dillon Kearns
cedfa7db4a Update deps. 2021-08-25 17:54:05 -07:00
Dillon Kearns
ea7f7fe601 2.1.8 2021-08-25 11:10:05 -07:00
Dillon Kearns
47ee45542e Update cypress version. 2021-08-25 10:27:50 -07:00
Dillon Kearns
560c67f365 Use elmi-to-json --version to make sure it is installed before running elm-test. 2021-08-25 10:02:24 -07:00
Dillon Kearns
5e48333d8c Install elmi-to-json as dev dependency to try to fix error in GitHub Actions. 2021-08-25 09:51:29 -07:00
Daniel Marin
785c7a51dd
Use jsesc instead of JSON.stringify to avoid issues
As explained here: https://mathiasbynens.be/notes/etago

One can run into issues when trying to embed JSON containing
HTML with <script> elements inside a <script> tag.

Switching to a utility with support for this fixes the issue:
https://github.com/mathiasbynens/jsesc#isscriptcontext
2021-08-20 17:55:51 +01:00
Dillon Kearns
8fd7bb8bfe 2.1.7 2021-08-17 18:34:44 -07:00
Dillon Kearns
3fd31c3098 Add elm-optimize-level-2 as a devDependency. 2021-08-17 18:30:27 -07:00
Dillon Kearns
7a9b401160 Remove unused dependency (users need to install it separately so it's not doing any good as a dependency). 2021-08-17 12:02:24 -07:00
Dillon Kearns
baac8711f9 Check for elm and elm-optimize-level-2 on the PATH before running build. 2021-08-17 11:53:06 -07:00
Dillon Kearns
9d30e7412b 2.1.6 2021-08-15 11:59:50 -07:00
Dillon Kearns
88886958bf 2.1.5 2021-08-15 11:57:06 -07:00
Dillon Kearns
614fe42095 2.1.4 2021-08-02 17:49:58 -07:00
Dillon Kearns
3cad97e0bb 2.1.3 2021-08-02 17:40:10 -07:00
Dillon Kearns
cd4ea9e437 2.1.2 2021-08-01 16:11:28 -07:00
Dillon Kearns
f71cf2fbff 2.1.1 2021-08-01 14:26:48 -07:00
Dillon Kearns
f350df6312 2.1.0 2021-08-01 14:22:42 -07:00
Dillon Kearns
e2c689da3f 2.0.1 2021-07-31 20:37:32 -07:00
Dillon Kearns
49cff61592 2.0.0 2021-07-31 20:31:36 -07:00
Dillon Kearns
0c10828abd Include necessary package files for build command in npm package. 2021-07-31 20:31:15 -07:00
Dillon Kearns
c2f87fa226 Change npm start command for cypress tests. 2021-07-29 12:35:55 -07:00
Dillon Kearns
ecee7a7c88 Update cypress. 2021-07-26 08:48:55 -07:00
Dillon Kearns
12f475a88c Update dependencies. 2021-07-20 15:14:00 -07:00
Dillon Kearns
9084fc2d35 Update commander dependency. 2021-07-10 19:19:27 -07:00
Dillon Kearns
44c965eda7 Remove unused dependency. 2021-07-10 19:17:46 -07:00
Dillon Kearns
948e3ebbc7 Update dependencies. 2021-07-07 09:02:40 -07:00
Dillon Kearns
b38815170f Remove xhr2 dependency. 2021-07-07 08:56:58 -07:00
Dillon Kearns
ac3c3369e5 Use undici to perform HTTP requests with file-system cache. 2021-07-06 06:26:14 -07:00
Dillon Kearns
a94ee06c35 Run build with worker threads. 2021-07-02 15:15:41 -07:00
Dillon Kearns
0cc2ea519b Update elm-review CLI. 2021-06-17 11:56:02 -07:00
Dillon Kearns
45f0a1694d Update cypress CI setup. 2021-06-04 19:22:05 -07:00
Dillon Kearns
af3c56ab21 Run npm install in start command for dev server on GH actions. 2021-06-04 19:09:55 -07:00
Dillon Kearns
5e5a0e1dde Try cypress github action. 2021-06-04 18:19:34 -07:00
Dillon Kearns
2e4cc7d0da Add cypress to npm test script. 2021-06-04 18:11:00 -07:00
Dillon Kearns
1d42eeb6e1 Add cypress setup for dev server. 2021-06-04 18:06:39 -07:00
Dillon Kearns
dcc5ad6458 Add elm-pages docs server to show local generated docs. 2021-05-28 11:37:03 -07:00
Dillon Kearns
8a982aa884 Add new Path API. 2021-05-23 10:03:21 -07:00
Dillon Kearns
3c848995da Include template/ folder in npm package. 2021-05-19 07:54:10 -07:00
Dillon Kearns
3a8db2f7cb Update dependencies. 2021-05-15 19:49:42 -07:00
Dillon Kearns
87dc17eb66 Add basic init script. 2021-05-15 16:08:13 -07:00
Dillon Kearns
250d3ece73 Update dependencies. 2021-05-08 08:22:31 -07:00
Dillon Kearns
b0ac40cb2e Remove obsolete jest test suite. 2021-05-08 08:18:32 -07:00
Dillon Kearns
f4e9786fed Add netlify.toml dev server setup. 2021-05-06 13:26:39 -07:00
Dillon Kearns
25d0b44b6c Add type definitions for serve-static. 2021-05-04 09:46:49 -07:00
Dillon Kearns
da4482f0f2 Run npm install in test script to make sure it has elm-pages setup. 2021-04-28 13:30:44 -07:00
Dillon Kearns
648aa3d2b6 Run build script before running router tests. 2021-04-28 13:27:53 -07:00
Dillon Kearns
cbbd1a5e9d Run routing test suites in test script. 2021-04-28 13:25:09 -07:00
Dillon Kearns
eeea9aff05 Sort routes. 2021-04-28 12:57:16 -07:00
Dillon Kearns
ce33445271 Add chokidar dependency. 2021-04-20 20:52:15 -07:00
Dillon Kearns
1d973ab495 Add CLI for elm-pages build. 2021-04-17 15:04:24 -07:00
Dillon Kearns
8d47b85908 Rename cli.js to build.js. 2021-04-17 14:40:02 -07:00
Dillon Kearns
311f6f04a6 Update package.json. 2021-04-16 09:45:01 -07:00
Dillon Kearns
6950b631c4 Update GH Actions script. 2021-04-16 09:38:56 -07:00
Dillon Kearns
138e909ba3 Add ts types for cross-spawn. 2021-04-10 17:07:42 -07:00
Dillon Kearns
a6514b844f Serve assets with npm package that does streaming and mime type handling. Serve up some files from the file system for simlicity. 2021-04-09 12:00:24 -07:00
Dillon Kearns
bd1170083f Display request timing in dev server logs, and prevent some errors being logged by avoiding trying to read files for navigation requests. 2021-04-09 10:56:13 -07:00
Dillon Kearns
c12d562834 No more express! 🎉 2021-04-07 13:15:33 -07:00
Dillon Kearns
e044276256 Install elm-hot. 2021-04-06 08:26:44 -07:00
Dillon Kearns
c4cba9fcf0 Use node version 15. 2021-04-05 15:23:21 -07:00
Dillon Kearns
6a7495a1a4 Remove files from NPM bundle that have now been removed. 2021-04-05 15:17:16 -07:00
Dillon Kearns
ca9765b62a Remove more webpack-related files. 2021-04-05 15:09:34 -07:00