Pooya Parsa
63fe3fd803
feat: add --no-generate option
...
useful for SPA builds that don't need static dist/ to be generated
2018-04-15 11:11:31 +04:30
Sébastien Chopin
7d3afb0502
fix: nuxt-build generate dist/ when spa mode (remove --generate option)
2018-04-13 13:21:58 +02:00
Pooya Parsa
ba4aa6dc09
fix for #3197 .
2018-04-05 20:04:36 +04:30
Pooya Parsa
e4ee624011
feat: improve esm handling
...
disables esm for nuxt modules
2018-04-05 13:08:54 +04:30
Pooya Parsa
0ca99426c9
chore: remove unnecessary scopes
2018-04-02 00:50:46 +04:30
Pooya Parsa
f14ac05ce4
perf(nuxt-dev): start first listen as fast as possible
...
also fixes problem with showReady not showing on first compile
2018-04-02 00:26:59 +04:30
Pooya Parsa
88c3cddf32
fix: handle fatal errors
2018-04-02 00:06:30 +04:30
Pooya Parsa
46fcf47db1
fix: prevent showReady when has compile errors
2018-04-02 00:00:39 +04:30
Pooya Parsa
89d5f3753e
perf: prevent duplicate showReady
2018-04-01 00:50:14 +04:30
Pooya Parsa
5e595e7e66
misc: improve cli
2018-04-01 00:26:38 +04:30
Pooya Parsa
59ff0df052
feat: use consola for logging
2018-03-31 20:52:14 +04:30
Pooya Parsa
948d56622e
misc: improve onReady CLI experience ( #3143 )
2018-03-29 02:35:27 +04:30
Pooya Parsa
5ee9ed459b
fix(nuxt-build): always wait for analyze plugin when enabled
2018-03-27 11:43:29 +04:30
Pooya Parsa
8ed2b60707
fix nuxt-build script
2018-03-27 11:40:50 +04:30
Pooya Parsa
b8d30d806a
misc: improve --generate option
...
static version will be generated and auto open + json stats
2018-03-27 11:22:22 +04:30
Pooya Parsa
d9c2575652
feat(nuxt-build): add --generate option
2018-03-20 13:45:18 +03:30
Pooya Parsa
ed5bfacb4d
eslint: fix import/order
2018-03-16 23:22:17 +03:30
Pooya Parsa
53e98a958c
feat: rewrite core to esm
2018-03-16 19:42:06 +03:30
Pooya Parsa
76b5e0454a
use webpack's built in minimizer
2018-03-13 15:28:40 +03:30
Pooya Parsa
16821361a0
pass cli tests
2018-03-12 03:07:38 +03:30
Pooya Parsa
a354d2fa55
hide debug lines by default
2018-03-12 02:44:46 +03:30
qm3ster
ad0649925d
Refactor cli
...
Extracted common logic
Improved style consistency
2018-02-07 02:44:29 +02:00
NicoPennec
ff8ffb9592
feat: check expectated node version
2018-01-30 02:57:24 +01:00
Pooya Parsa
dbba642d56
fix debug logs
...
env.DEBUG should be set BEFORE requireing Utils
2018-01-16 10:13:41 +03:30
Pooya Parsa
c3bcda873c
fix(nuxt-build): wait for use exit when running with --analyze flag
2018-01-14 14:04:58 +03:30
Pooya Parsa
b3e9952976
fix: logError is not a function. fixes #2577 .
2018-01-13 08:40:01 +03:30
Pooya Parsa
cc29b26cbe
fix: exit with code (0) on successful nuxt-build. fixes #2569 .
2018-01-13 00:51:49 +03:30
Pooya Parsa
3c4b57e1f7
minor fixes
2018-01-11 23:13:34 +03:30
Pooya Parsa
118d3fb8c2
imrpove nuxt-generate error report summary
2018-01-11 21:50:35 +03:30
Pooya Parsa
061059beb4
update generate cli & tests
2018-01-11 20:03:30 +03:30
Pooya Parsa
13166bcf78
misc: improve CLI errors
2018-01-11 19:41:50 +03:30
Pooya Parsa
771945c789
use pretty error handler
2018-01-11 17:41:49 +03:30
Ivan Santos
26ba9f43ea
remove duplicated --spa flag on nuxt-generate help ( #2467 )
2017-12-28 08:54:12 +03:30
Clark Du
fd42610862
fix: lint error in bin
2017-11-24 11:40:46 +03:30
Pim
65f4a030f4
refactor generator + cli tests ( #2205 )
...
* Rename this.generateRoutes to this.staticRoutes
* Refactor generator to separate logic
* Move routeCreated hook to generateRoute
Add routeFailed hook for unhandled exceptions
Keep page errors separately until page hooks have been called
* Move debug and report statements to hooks
* pageErrors can be a const
Push pageErrors to errors
* fix done hook, errors are 2nd param
* Add generator hooks to nuxt-build for spa mode
* Added a cli integration test for bin/nuxt-(build|start|generate)
* Removed unnecessary waitFor
* Use pify instead util.promisify for v6 compatibility
* Fix windows build
You cant execute .js files directly on Windows/Appveyor so call node with nuxt-*.js file as argument
* Fix windows build (2)
Use correct folder separators in text search
* Fix possible timing quirck in children.path.test
2017-11-24 02:01:54 +03:30
Dmitri Efimenko
6022c5d561
Prevent double compile on nuxt.config.js update
2017-11-22 15:57:39 +03:00
Dmitriy
4451178c99
Improved nuxt dev restart on config change ( #2189 )
2017-11-22 01:03:37 +03:30
Pooya Parsa
38b71cbe04
fix(nuxt-dev): successful rebuild if nuxt.config.js has problems
2017-11-21 16:36:13 +03:30
Atinux
d93eb06ae9
lint: Lint files
2017-10-31 14:16:40 +01:00
Atinux
69fa6fc637
lint: Lint bin/nuxt
2017-10-30 15:48:19 +01:00
Pooya Parsa
f2663033fc
feat(nuxt-generate): --no-build flag
...
Much faster generates for when just dynamic routes changed
2017-10-27 18:45:34 +03:30
Eric McCormick
a5e16d2fe6
feat(bin): adds version flag
...
adds --version / -v support for the nuxt binary; will always output version and exit(0)
2017-10-13 12:02:09 +03:30
Pooya Parsa
a289a55a72
simplify modes
2017-08-19 17:52:53 +04:30
Pooya Parsa
6c4803a840
nuxt-start: check if ssr bundle is required
2017-08-19 14:30:40 +04:30
Sebastien Chopin
7f12803086
disable minify for spa
2017-08-18 15:46:00 +02:00
Sebastien Chopin
1507061138
Distinct spa mode to use generate directly
2017-08-18 15:44:16 +02:00
Pooya Parsa
2c1473c233
disable minify on build generate
2017-08-18 17:36:46 +04:30
Pooya Parsa
d589bc5819
static ~> ssr-only
2017-08-18 17:16:03 +04:30
Pooya Parsa
5903319241
add -m flag
2017-08-18 15:24:35 +04:30
Pooya Parsa
61111c87f0
move errors.js
2017-08-12 23:48:01 +04:30