Commit Graph

277 Commits

Author SHA1 Message Date
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
Dillon Kearns
f79612fedf Update dependencies. 2021-04-05 14:44:56 -07:00
Dillon Kearns
c9c63b8a3b Remove webpack dependencies! 🎉 2021-04-05 14:44:43 -07:00
Dillon Kearns
2bb99ad2dc Update elm-review dependencies. 2021-04-02 13:56:44 -07:00
Dillon Kearns
1e5d6b8a0e Add file path and glob handlers. 2021-03-31 19:55:28 -07:00
Dillon Kearns
b0d7f9c8ac Add elm-tooling setup. 2021-03-23 16:17:27 -07:00
dependabot[bot]
3df58b3214
Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-16 18:50:45 +00:00
Dillon Kearns
7fbd574c5c 1.5.5 2021-02-16 10:49:12 -08:00
Y0hy0h
788b603f82 Update cross-spawn dependency 2021-02-16 12:13:52 +01:00
Dillon Kearns
d702764be2 Run terser inline instead of through npx in elm-pages-beta build command. 2021-01-09 10:55:11 -08:00
Dillon Kearns
a41b5f5f03 Add review config. 2020-12-07 08:31:06 -08:00
Dillon Kearns
f679179212 Install elm-review. 2020-12-07 08:29:15 -08:00
Dillon Kearns
f2670b7b37 1.5.4 2020-11-02 11:26:33 -08:00
Dillon Kearns
760e971140 1.5.3 2020-10-29 10:30:19 -07:00
Dillon Kearns
decca619f2 1.5.2 2020-10-28 07:47:01 -07:00
Dillon Kearns
806e39e30f 1.5.1 2020-10-27 15:50:28 -07:00
Dillon Kearns
59354bc02f 1.5.0 2020-10-26 11:53:33 -07:00
Dillon Kearns
aa2c80165c Move jest tests to another directory. 2020-10-26 11:48:13 -07:00
Dillon Kearns
75cca61597 Add a generator for the template modules beta. 2020-10-25 09:15:17 -07:00
Dillon Kearns
3442cf02a8 Merge branch 'master' into template-modules
# Conflicts:
#	.gitignore
#	examples/docs/src/Main.elm
2020-10-24 13:02:17 -07:00
Dillon Kearns
291378bd85 Generate docs site using beta build. 2020-10-21 10:23:07 -07:00
Dillon Kearns
e0f03dd1a3 Add elm-pages beta to NPM bin. 2020-10-19 22:25:00 -07:00
Dillon Kearns
2bf1aeef42 Install terser and elm-optimize-level-2. 2020-10-19 22:23:40 -07:00
Dillon Kearns
7beaf5ddaf Set up proof of concept for webpack-free build. 2020-10-10 18:07:36 -07:00
Dillon Kearns
1fa02c015b 1.4.3 2020-08-17 19:47:17 -07:00
Dillon Kearns
62b9d4176a 1.4.2 2020-07-14 12:10:19 -07:00
Dillon Kearns
ebd348d3f6
Merge pull request #110 from Y0hy0h/image-dimensions
Provide image dimensions
2020-06-16 20:54:51 -07:00
Dillon Kearns
bd5043160c 1.4.1 2020-06-16 08:33:37 -07:00
Johannes Maas
ef9108924b Merge remote-tracking branch 'upstream/master' into image-dimensions 2020-05-17 19:54:21 +02:00
Dillon Kearns
202aec4573 Run jest tests in npm test. 2020-05-17 09:41:00 -07:00
Dillon Kearns
4d0bb2c356 Add jest boilerplate. 2020-05-17 09:40:32 -07:00
Johannes Maas
0c91aa180d Add dependency on sharp 2020-05-17 14:16:17 +02:00
Dillon Kearns
6ea45366d3 1.4.0 2020-05-11 18:19:48 -07:00
Dillon Kearns
29719cc428 Merge branch 'master' into pr/90 2020-05-11 12:05:38 -07:00
Dillon Kearns
2641097917 Remove direct chokidar dependency. 2020-05-10 18:04:42 -07:00