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
0ca99426c9
chore: remove unnecessary scopes
2018-04-02 00:50:46 +04:30
Pooya Parsa
59ff0df052
feat: use consola for logging
2018-03-31 20:52:14 +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
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
qm3ster
ad0649925d
Refactor cli
...
Extracted common logic
Improved style consistency
2018-02-07 02:44:29 +02: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
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
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
Atinux
d93eb06ae9
lint: Lint files
2017-10-31 14:16:40 +01:00
Pooya Parsa
a289a55a72
simplify modes
2017-08-19 17:52:53 +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
Marcello Gesmundo
f30a4f7169
Fix #1039
2017-07-06 15:02:48 +02:00
Pooya Parsa
59d7e786aa
Fully decouple builder
...
runBuild flag removed
2017-06-18 20:17:21 +04:30
Pooya Parsa
829ffa634b
refactor structure
2017-06-16 17:12:45 +04:30
Pooya Parsa
2576e8795e
init() ~> ready()
2017-06-15 19:29:26 +04:30
Pooya Parsa
25d106e2ab
runBuild option
2017-06-14 23:21:14 +04:30
Sébastien Chopin
602adf0464
Refactor nuxt commands using minimist
2017-06-12 21:33:25 +04:30
Pooya Parsa
c5ca8c64f1
refactor: nuxt constructor no longer returns a promise
...
by not returning a promise we can expose .render method
also the old way of using nuxt won't change by 1.x release
2017-05-31 18:51:16 +04:30
Pooya Parsa
497d673727
Install all modules in sequence before nuxt init
...
For this functionality Nuxt constructor would return a Promise so all bin commands updated to resolve promise before using nuxt
2017-05-11 15:53:58 +04:30
Pierre RAMBAUD
fbd1c609fd
Add missing comments
2017-03-15 15:14:16 +01:00
Pierre RAMBAUD
c3bcd05295
Add config file option
...
- Add optional --config-file and -c argv parameters
- Display log message if file isn't found
Issue: #391
2017-03-15 15:01:44 +01:00
Sébastien Chopin
f40dfbaeee
Use default is option un given
2017-01-24 20:25:56 +01:00
Sébastien Chopin
7552da1453
Add analyse option
2017-01-23 17:56:05 +01:00
Sébastien Chopin
7cbc06144d
compat with node 4
2016-12-09 19:40:59 +01:00
cj
c4823f27a8
added no-console to eslint
2016-12-08 09:41:20 -06:00
Sébastien Chopin
648033f077
update build
2016-12-07 19:01:46 +01:00
Sébastien Chopin
2cc88acbe9
Add DEBUG flag when using the bin
2016-11-10 15:24:22 +01:00
Sébastien Chopin
d88948bdea
map static to /
...
v0.3.0
2016-11-10 02:19:47 +01:00
Sébastien Chopin
18a2b57655
Add nuxt-build and nuxt-start, build:false and dev option
2016-11-09 23:59:41 +01:00