@amagaki/amagaki 1.11.0 → 2.0.1

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.
Files changed (49) hide show
  1. package/README.md +70 -0
  2. package/dist/src/builder.d.ts +15 -17
  3. package/dist/src/builder.js +128 -33
  4. package/dist/src/builder.js.map +1 -1
  5. package/dist/src/cli.d.ts +1 -1
  6. package/dist/src/cli.js +17 -3
  7. package/dist/src/cli.js.map +1 -1
  8. package/dist/src/collection.js +4 -6
  9. package/dist/src/collection.js.map +1 -1
  10. package/dist/src/commands/build.js +3 -26
  11. package/dist/src/commands/build.js.map +1 -1
  12. package/dist/src/commands/export.d.ts +8 -0
  13. package/dist/src/commands/export.js +22 -0
  14. package/dist/src/commands/export.js.map +1 -0
  15. package/dist/src/commands/global.d.ts +2 -0
  16. package/dist/src/commands/global.js +14 -0
  17. package/dist/src/commands/global.js.map +1 -1
  18. package/dist/src/commands/serve.js +4 -27
  19. package/dist/src/commands/serve.js.map +1 -1
  20. package/dist/src/document.js +18 -21
  21. package/dist/src/document.js.map +1 -1
  22. package/dist/src/environment.js +6 -6
  23. package/dist/src/environment.js.map +1 -1
  24. package/dist/src/gitData.d.ts +15 -0
  25. package/dist/src/gitData.js +68 -0
  26. package/dist/src/gitData.js.map +1 -0
  27. package/dist/src/locale.js +1 -2
  28. package/dist/src/locale.js.map +1 -1
  29. package/dist/src/plugins/nunjucks.js +6 -3
  30. package/dist/src/plugins/nunjucks.js.map +1 -1
  31. package/dist/src/pod.js +7 -9
  32. package/dist/src/pod.js.map +1 -1
  33. package/dist/src/profile.js +1 -2
  34. package/dist/src/profile.js.map +1 -1
  35. package/dist/src/router.d.ts +3 -3
  36. package/dist/src/router.js +1 -1
  37. package/dist/src/router.js.map +1 -1
  38. package/dist/src/server.d.ts +3 -1
  39. package/dist/src/server.js +36 -16
  40. package/dist/src/server.js.map +1 -1
  41. package/dist/src/staticFile.js +1 -1
  42. package/dist/src/staticFile.js.map +1 -1
  43. package/dist/src/url.js +5 -9
  44. package/dist/src/url.js.map +1 -1
  45. package/dist/src/utils.js +3 -6
  46. package/dist/src/utils.js.map +1 -1
  47. package/dist/tsconfig.tsbuildinfo +1 -0
  48. package/package.json +14 -14
  49. package/CHANGELOG.md +0 -275
package/CHANGELOG.md DELETED
@@ -1,275 +0,0 @@
1
- # Changelog
2
-
3
- ## [1.11.0](https://www.github.com/blinkk/amagaki/compare/amagaki-v1.10.2...amagaki-v1.11.0) (2022-02-19)
4
-
5
-
6
- ### Features
7
-
8
- * add compression to dev server ([89d19c3](https://www.github.com/blinkk/amagaki/commit/89d19c3b1c22cde7595f0c1206b80422a1833b24)), closes [#143](https://www.github.com/blinkk/amagaki/issues/143)
9
-
10
- ### [1.10.2](https://www.github.com/blinkk/amagaki/compare/amagaki-v1.10.1...amagaki-v1.10.2) (2022-02-19)
11
-
12
-
13
- ### Miscellaneous Chores
14
-
15
- * release 10.10.2 ([dc74277](https://www.github.com/blinkk/amagaki/commit/dc74277c70ae364abd7aebc0e0de5cb0807f2e83))
16
-
17
- ### [1.10.1](https://www.github.com/blinkk/amagaki/compare/v1.10.0...v1.10.1) (2022-02-10)
18
-
19
-
20
- ### Bug Fixes
21
-
22
- * support document-level defaultLocale ([f5cfdc1](https://www.github.com/blinkk/amagaki/commit/f5cfdc1487cae1db763a0636be422231e41b30a0))
23
-
24
- ## [1.10.0](https://www.github.com/blinkk/amagaki/compare/v1.9.1...v1.10.0) (2022-01-31)
25
-
26
-
27
- ### Features
28
-
29
- * automatically find open port when using dev server [#136](https://www.github.com/blinkk/amagaki/issues/136) ([7b368a2](https://www.github.com/blinkk/amagaki/commit/7b368a2c65ac689824439861b4b366d3662fa5ba))
30
-
31
-
32
- ### Bug Fixes
33
-
34
- * update deepWalk dependency ([d89fdee](https://www.github.com/blinkk/amagaki/commit/d89fdeea1f6757e664ab7033da3137c62c12b269))
35
-
36
- ### [1.9.1](https://www.github.com/blinkk/amagaki/compare/v1.9.0...v1.9.1) (2022-01-21)
37
-
38
-
39
- ### Bug Fixes
40
-
41
- * color output in console [#134](https://www.github.com/blinkk/amagaki/issues/134) ([346be78](https://www.github.com/blinkk/amagaki/commit/346be78238a8e6fd5cd287b9b943b909e104e08e))
42
-
43
- ## [1.9.0](https://www.github.com/blinkk/amagaki/compare/v1.9.0...v1.9.0) (2022-01-16)
44
-
45
-
46
- ### Miscellaneous Chores
47
-
48
- * release 1.9.0 ([329a8c9](https://www.github.com/blinkk/amagaki/commit/329a8c9ba3c23530c1acef698427980b824ce7e5))
49
-
50
- ## [1.9.0](https://www.github.com/blinkk/amagaki/compare/v1.8.0...v1.9.0) (2022-01-15)
51
-
52
-
53
- ### Features
54
-
55
- * add create-amagaki-site [#129](https://www.github.com/blinkk/amagaki/issues/129) ([fc06e1f](https://www.github.com/blinkk/amagaki/commit/fc06e1fa1d8e81e31d19a9639b495d9bf68f6cc6))
56
-
57
-
58
- ### Bug Fixes
59
-
60
- * support runtime reloading of src ([a06c40a](https://www.github.com/blinkk/amagaki/commit/a06c40a094267309633ad0b9fbc1efc823281830))
61
-
62
- ## [1.8.0](https://www.github.com/blinkk/amagaki/compare/v1.7.2...v1.8.0) (2021-12-08)
63
-
64
-
65
- ### Features
66
-
67
- * add date to builder ([cb6d4be](https://www.github.com/blinkk/amagaki/commit/cb6d4be0f115fc26aeac488ccc7b64207aca6638))
68
-
69
-
70
- ### Bug Fixes
71
-
72
- * keep build temp dir on same volume as output dir ([81cfd74](https://www.github.com/blinkk/amagaki/commit/81cfd745791ddfc7680d093a2864e745c5c0bf36))
73
-
74
- ### [1.7.2](https://www.github.com/blinkk/amagaki/compare/v1.7.1...v1.7.2) (2021-11-24)
75
-
76
-
77
- ### Bug Fixes
78
-
79
- * improve file watching and the dev server ([1c765e8](https://www.github.com/blinkk/amagaki/commit/1c765e801f266eff90c6d9d4be32587d3f751d79))
80
-
81
- ### [1.7.1](https://www.github.com/blinkk/amagaki/compare/v1.7.0...v1.7.1) (2021-11-24)
82
-
83
-
84
- ### Bug Fixes
85
-
86
- * refresh the router when static files change ([10f3ffb](https://www.github.com/blinkk/amagaki/commit/10f3ffbebda71c0c4e6a0efaf2ddbdd1290e1d8e))
87
-
88
- ## [1.7.0](https://www.github.com/blinkk/amagaki/compare/v1.6.2...v1.7.0) (2021-11-16)
89
-
90
-
91
- ### Features
92
-
93
- * add ability to use a function as the default view ([784a34e](https://www.github.com/blinkk/amagaki/commit/784a34eb6fde644980837736001e3392f0ad9b7d))
94
-
95
- ### [1.6.2](https://www.github.com/blinkk/amagaki/compare/v1.6.1...v1.6.2) (2021-11-05)
96
-
97
-
98
- ### Bug Fixes
99
-
100
- * document sorting and add deleteFileAsync ([774e445](https://www.github.com/blinkk/amagaki/commit/774e4450d83df82855d6b96a3636d07e108eaa52))
101
-
102
- ### [1.6.1](https://www.github.com/blinkk/amagaki/compare/v1.6.0...v1.6.1) (2021-11-01)
103
-
104
-
105
- ### Bug Fixes
106
-
107
- * invalidate cache when writing files ([cea678a](https://www.github.com/blinkk/amagaki/commit/cea678a68c80709044bed62525ec67d279cc7ed2))
108
-
109
- ## [1.6.0](https://www.github.com/blinkk/amagaki/compare/v1.5.1...v1.6.0) (2021-10-16)
110
-
111
-
112
- ### Features
113
-
114
- * enable use of the environment name in amagaki.ts ([0cf6b85](https://www.github.com/blinkk/amagaki/commit/0cf6b857b693b6e2b62586e6eb673697e111618a))
115
-
116
- ### [1.5.1](https://www.github.com/blinkk/amagaki/compare/v1.5.0...v1.5.1) (2021-10-16)
117
-
118
-
119
- ### Bug Fixes
120
-
121
- * bug involving autoreload while connection is open ([39e17cb](https://www.github.com/blinkk/amagaki/commit/39e17cb2daca522c0586a445cabf2f84815e7224))
122
-
123
- ## [1.5.0](https://www.github.com/blinkk/amagaki/compare/v1.4.0...v1.5.0) (2021-10-16)
124
-
125
-
126
- ### Features
127
-
128
- * add path format plugin [#98](https://www.github.com/blinkk/amagaki/issues/98) ([64f5393](https://www.github.com/blinkk/amagaki/commit/64f53934924c9a1ebe43da027eec05ddb0377609))
129
- * autoreload server when plugins change ([757be9e](https://www.github.com/blinkk/amagaki/commit/757be9e1c5ef56fc2dc422796c15eb17c0113d02))
130
-
131
- ## [1.4.0](https://www.github.com/blinkk/amagaki/compare/v1.3.2...v1.4.0) (2021-09-22)
132
-
133
-
134
- ### Features
135
-
136
- * improve error logging during full site build ([9432b51](https://www.github.com/blinkk/amagaki/commit/9432b5135dbc9ae06a677fd573ad86a0bb481e96))
137
- * improve nunjucks error output ([745622b](https://www.github.com/blinkk/amagaki/commit/745622b584a8f14e17d86dad3ddba6b37560901f))
138
-
139
- ### [1.3.2](https://www.github.com/blinkk/amagaki/compare/v1.3.1...v1.3.2) (2021-08-16)
140
-
141
-
142
- ### Bug Fixes
143
-
144
- * do not use references when dumping yaml ([a9955df](https://www.github.com/blinkk/amagaki/commit/a9955df98f1c2dba316a30581e2db7324a44ca66))
145
-
146
- ### [1.3.1](https://www.github.com/blinkk/amagaki/compare/v1.3.0...v1.3.1) (2021-08-03)
147
-
148
-
149
- ### Bug Fixes
150
-
151
- * issue with recording preferred strings ([838b229](https://www.github.com/blinkk/amagaki/commit/838b229838d1584323e6d9aa4b4829a11a67b6c6))
152
- * support relative urls when fake documents are passed ([c84790e](https://www.github.com/blinkk/amagaki/commit/c84790eadac6528eec0f710a183810f5f333a8e7))
153
-
154
- ## [1.3.0](https://www.github.com/blinkk/amagaki/compare/v1.2.0...v1.3.0) (2021-07-27)
155
-
156
-
157
- ### Features
158
-
159
- * add -l flag to build for collecting missing translations ([384e285](https://www.github.com/blinkk/amagaki/commit/384e28520c7b3eec313cacc80c2737847bbf92e8))
160
-
161
- ## [1.2.0](https://www.github.com/blinkk/amagaki/compare/v1.1.3...v1.2.0) (2021-07-12)
162
-
163
-
164
- ### Features
165
-
166
- * add DataType check for pod objects ([219144d](https://www.github.com/blinkk/amagaki/commit/219144d93968432a3cd11562b851fad8c7a687f8))
167
- * add support for incremental builds using patterns ([#109](https://www.github.com/blinkk/amagaki/issues/109)) ([d35be52](https://www.github.com/blinkk/amagaki/commit/d35be520f41277351e8c8e7952dc155657693c0f))
168
- * add support for per-template profiling [#25](https://www.github.com/blinkk/amagaki/issues/25) ([#107](https://www.github.com/blinkk/amagaki/issues/107)) ([8cb7ca1](https://www.github.com/blinkk/amagaki/commit/8cb7ca11ca9bf15be2471f07a9ff3734da3c4be1))
169
-
170
-
171
- ### Bug Fixes
172
-
173
- * allow localized-only pages without root paths [#111](https://www.github.com/blinkk/amagaki/issues/111) ([a7c7f11](https://www.github.com/blinkk/amagaki/commit/a7c7f1195149619fdc107ecdc0731311764d5aa4))
174
-
175
- ### [1.1.3](https://www.github.com/blinkk/amagaki/compare/v1.1.2...v1.1.3) (2021-06-28)
176
-
177
-
178
- ### Bug Fixes
179
-
180
- * fix and clean up missing string recording ([22430db](https://www.github.com/blinkk/amagaki/commit/22430dba5b54e0971cb129daed8786ba90d083cd))
181
- * rename route.path to route.podPath and add sample ([#105](https://www.github.com/blinkk/amagaki/issues/105)) ([945976a](https://www.github.com/blinkk/amagaki/commit/945976a5d409347ec46cb36e845fcd4b0970c4a3))
182
-
183
- ### [1.1.2](https://www.github.com/blinkk/amagaki/compare/v1.1.1...v1.1.2) (2021-06-24)
184
-
185
-
186
- ### Bug Fixes
187
-
188
- * fix serialization of simple pod.string types ([f4acadb](https://www.github.com/blinkk/amagaki/commit/f4acadbcf52e84f8e3adddfb8320b092785bdb4d))
189
-
190
- ### [1.1.1](https://www.github.com/blinkk/amagaki/compare/v1.1.0...v1.1.1) (2021-06-23)
191
-
192
-
193
- ### Bug Fixes
194
-
195
- * allow IfLocale and pod.string YAML types to roundtrip ([e9216f7](https://www.github.com/blinkk/amagaki/commit/e9216f7401d15b23c79337718520b2a14d7f4bac))
196
-
197
- ## [1.1.0](https://www.github.com/blinkk/amagaki/compare/v1.0.1...v1.1.0) (2021-06-22)
198
-
199
-
200
- ### Features
201
-
202
- * add build options to the route building ([#101](https://www.github.com/blinkk/amagaki/issues/101)) ([3796761](https://www.github.com/blinkk/amagaki/commit/37967616a0ea4bede673eb2357a2d6c0555b19dd))
203
-
204
-
205
- ### Bug Fixes
206
-
207
- * add contentType for StaticRoute ([a66d2f3](https://www.github.com/blinkk/amagaki/commit/a66d2f36802f57c2b93939c6ec4a6a416f3c877f))
208
- * Benchmark not using current amagaki build. ([d71b3bc](https://www.github.com/blinkk/amagaki/commit/d71b3bc14ec280727369892499ea1184488931cf))
209
- * Fixing cache for benchmark data file. ([4ec8430](https://www.github.com/blinkk/amagaki/commit/4ec8430b6513d9c6eec94e08e7b488c11965dd7f))
210
- * Improve the benchmark profiling output and reduce size of the history. ([a8708d7](https://www.github.com/blinkk/amagaki/commit/a8708d763c6f532462d4218997b167723b91b7ab))
211
- * Increasing size of history for benchmark results. ([508a71e](https://www.github.com/blinkk/amagaki/commit/508a71e59637ea072c89e8b96ee96fa34ad4204d))
212
- * Restore benchmarking performance regression testing for pushes. ([5f372bc](https://www.github.com/blinkk/amagaki/commit/5f372bc2b6c87075117f63e1e8077f0fa26d9b59))
213
- * Updating how the benchmark caches. ([d6f2175](https://www.github.com/blinkk/amagaki/commit/d6f217501727aecc6076673876ecff5007e98ac4))
214
-
215
- ### [1.0.1](https://www.github.com/blinkk/amagaki/compare/v1.0.0...v1.0.1) (2021-06-12)
216
-
217
-
218
- ### Bug Fixes
219
-
220
- * expose environment option as a global option ([953a6da](https://www.github.com/blinkk/amagaki/commit/953a6dacca95697018f21100f9eca8e06175733d))
221
-
222
- ## [1.0.0](https://www.github.com/blinkk/amagaki/compare/v0.6.2...v1.0.0) (2021-06-08)
223
-
224
-
225
- ### ⚠ BREAKING CHANGES
226
-
227
- * Async triggers for plugins (#90)
228
-
229
- ### Features
230
-
231
- * Async triggers for plugins ([#90](https://www.github.com/blinkk/amagaki/issues/90)) ([f2dcd73](https://www.github.com/blinkk/amagaki/commit/f2dcd73d25f70339830d5d7d9f106dbb0e187705))
232
-
233
- ### [0.6.2](https://www.github.com/blinkk/amagaki/compare/v0.6.1...v0.6.2) (2021-05-30)
234
-
235
-
236
- ### Bug Fixes
237
-
238
- * remove superfluous file ([cf760c2](https://www.github.com/blinkk/amagaki/commit/cf760c2d7fc0e5b562ab25b1da4eddac66e36365))
239
-
240
- ### [0.6.1](https://www.github.com/blinkk/amagaki/compare/v0.6.0...v0.6.1) (2021-05-30)
241
-
242
-
243
- ### Bug Fixes
244
-
245
- * fix package bin path ([80ac1f1](https://www.github.com/blinkk/amagaki/commit/80ac1f1e809505cd37578798b6b432bf5fc626ef))
246
-
247
- ## [0.6.0](https://www.github.com/blinkk/amagaki/compare/v0.5.0...v0.6.0) (2021-05-30)
248
-
249
-
250
- ### Features
251
-
252
- * add await filter, remove dead test filter ([b228fdc](https://www.github.com/blinkk/amagaki/commit/b228fdce88ae1da9cd37bfd56432b8ea4d6fa9a6))
253
- * add IfLocale yaml type ([fa433b6](https://www.github.com/blinkk/amagaki/commit/fa433b670f2a663acc93da5b6370e52e541fb6f6))
254
- * implement pod.meta yaml type ([2164877](https://www.github.com/blinkk/amagaki/commit/2164877e2a989f1984adaf288a399573fe1352bb))
255
-
256
-
257
- ### Bug Fixes
258
-
259
- * fix packaged version ([59f9e7f](https://www.github.com/blinkk/amagaki/commit/59f9e7f71c4eaadffab6af6eea589593f8ab10ef))
260
-
261
- ## [0.5.0](https://www.github.com/blinkk/amagaki/compare/v0.4.0...v0.5.0) (2021-05-28)
262
-
263
-
264
- ### Features
265
-
266
- * add contributor avatars to website homepage ([6f34053](https://www.github.com/blinkk/amagaki/commit/6f34053a9408f1fe5ede06a1d432e986a42ebe10))
267
- * allow configuration via amagaki.ts ([f685207](https://www.github.com/blinkk/amagaki/commit/f6852073f965aef32a04a44b666c74773a435ed9))
268
- * autoreload server when amagaki.{t|j}s changes ([c8d1a3d](https://www.github.com/blinkk/amagaki/commit/c8d1a3d1353c3e0cf1cfcd93fb8359fbc22ddb43))
269
-
270
-
271
- ### Bug Fixes
272
-
273
- * remove debug content in footer ([f0e7e06](https://www.github.com/blinkk/amagaki/commit/f0e7e066442eaab8b4c95e0701faaf2e50c08e48))
274
- * remove example using extraneous yaml library ([b1d991d](https://www.github.com/blinkk/amagaki/commit/b1d991d1e77779ecb4b550f41553d1e508a4331b))
275
- * use inbuilt yaml type for test ([38c6cdc](https://www.github.com/blinkk/amagaki/commit/38c6cdc59bb83b403c9ac522487e4cfaf45d7e49))