@discoveryjs/cli
Advanced tools
Changelog
2.2.0 (09-08-2022)
^14.13.0 || >=16.0.0
@discoveryjs/discovery
version to ^1.0.0-beta.67
createServer()
to return an express app and don't listen by default (i.e. listen()
should be explicitly called on a receiver side)Changelog
2.1.1 (10-06-2022)
target
property from host project's tsconfig.json
Changelog
2.1.0 (02-05-2022)
/modelz
server route with a list of available modelstmpdir
doesn't existChangelog
2.0.0 (21-04-2022)
^12.20.0 || ^14.13.0 || >=15.0.0
--no-minify
option for serve
, build
and archive
commands--sourcemap
option for build
and archive
commands--tmpdir
to use --cachedir
value if --tmpdir
is not specifiedHOME
env variable is availablefs.rmdir(path, { recursive: true })
deprecation warning on build with --clean
option on Node.js 14.14+Changelog
2.0.0-beta.14 (15-02-2022)
fetch()
since Discovery can load stylesheets via <link>
without FOUC<link rel="preload">
) for CSS styles and the main module for a page--model-data-upload
option for --no-model-data-upload
for build
commandChangelog
2.0.0-beta.13 (07-02-2022)
upload
option in model config--no-model-data-upload
for serve
command--model-data-upload
for build
command<style type="discovery/style">
for styles instead of <template>
<script type="discovery/chunk-data">
for data chunks instead of <template id="[chunk-id]"><script>
prepare
wrapper to return modified data (#14)prepare
wrapper to support a promise as a result--no-cache
is usingChangelog
2.0.0-beta.12 (31-03-2021)
esbuild
to 0.11.2 and simplified bundlingChangelog
2.0.0-beta.11 (16-03-2021)
modelfree
and single
modes