elm-pages 2.1.10 → 2.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -86,6 +86,19 @@ async function main() {
86
86
  server.listen();
87
87
  });
88
88
 
89
+ program
90
+ .command("codegen")
91
+ .option(
92
+ "--base <basePath>",
93
+ "generate the elm-pages modules under a base path",
94
+ "/"
95
+ )
96
+ .description("generate the elm-pages modules")
97
+ .action(async (options) => {
98
+ options.base = normalizeUrl(options.base);
99
+ await codegen.generate(options.base);
100
+ });
101
+
89
102
  program.parse(process.argv);
90
103
  }
91
104
 
@@ -7,7 +7,7 @@
7
7
  "elm-version": "0.19.1",
8
8
  "dependencies": {
9
9
  "direct": {
10
- "dillonkearns/elm-pages": "8.0.2",
10
+ "dillonkearns/elm-pages": "9.0.0",
11
11
  "elm/browser": "1.0.2",
12
12
  "elm/core": "1.0.5",
13
13
  "elm/html": "1.0.0",
@@ -15,26 +15,34 @@
15
15
  "elm/url": "1.0.0"
16
16
  },
17
17
  "indirect": {
18
- "MartinSStewart/elm-serialize": "1.2.5",
18
+ "MartinSStewart/elm-serialize": "1.2.6",
19
19
  "avh4/elm-color": "1.0.0",
20
- "bburdette/toop": "1.0.1",
20
+ "bburdette/toop": "1.2.0",
21
21
  "danfishgold/base64-bytes": "1.1.0",
22
22
  "danyx23/elm-mimetype": "4.0.1",
23
23
  "dillonkearns/elm-bcp47-language-tag": "1.0.1",
24
24
  "elm/bytes": "1.0.8",
25
25
  "elm/file": "1.0.5",
26
26
  "elm/http": "2.0.0",
27
+ "elm/parser": "1.1.0",
28
+ "elm/project-metadata-utils": "1.0.2",
27
29
  "elm/random": "1.0.0",
28
30
  "elm/regex": "1.0.0",
29
31
  "elm/time": "1.0.0",
30
32
  "elm/virtual-dom": "1.0.2",
31
33
  "elm-community/dict-extra": "2.4.0",
32
- "elm-community/list-extra": "8.3.1",
34
+ "elm-community/list-extra": "8.5.1",
35
+ "elm-explorations/test": "1.2.2",
33
36
  "fredcy/elm-parseint": "2.0.1",
34
- "mgold/elm-nonempty-list": "4.1.0",
37
+ "jfmengels/elm-review": "2.6.1",
38
+ "mgold/elm-nonempty-list": "4.2.0",
35
39
  "miniBill/elm-codec": "2.0.0",
40
+ "miniBill/elm-unicode": "1.0.2",
36
41
  "noahzgordon/elm-color-extra": "1.0.2",
37
42
  "robinheghan/murmur3": "1.0.0",
43
+ "rtfeldman/elm-hex": "1.0.0",
44
+ "stil4m/elm-syntax": "7.2.8",
45
+ "stil4m/structured-writer": "1.0.3",
38
46
  "tripokey/elm-fuzzy": "5.2.1",
39
47
  "vito/elm-ansi": "10.0.1",
40
48
  "zwilias/json-decode-exploration": "6.0.0"
@@ -6,8 +6,8 @@
6
6
  "build": "elm-pages build"
7
7
  },
8
8
  "devDependencies": {
9
- "elm-optimize-level-2": "^0.1.5",
10
- "elm-pages": "2.1.9",
9
+ "elm-optimize-level-2": "0.2.3",
10
+ "elm-pages": "2.1.10",
11
11
  "elm-review": "^2.5.5",
12
12
  "elm-tooling": "^1.4.0"
13
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elm-pages",
3
- "version": "2.1.10",
3
+ "version": "2.1.12",
4
4
  "homepage": "https://elm-pages.com",
5
5
  "moduleResolution": "node",
6
6
  "description": "Type-safe static sites, written in pure elm with your own custom elm-markup syntax.",