Commit Graph

19 Commits

Author SHA1 Message Date
Pooya Parsa
516aea3d7f
feat(cli): add internal _generate and _build options (#5434) 2019-04-01 20:18:24 +04:30
pooya parsa
c46def75cf fix(cli): enable server for implicit SPA generate in nuxt build
revert it back with nuxt 3
2019-03-21 14:29:05 +03:30
Pooya Parsa
13cb0f73d9 refactor: remove builder coupling from server (#5157) 2019-03-08 20:43:23 +00:00
Pim
4e51723efc feat(cli): lock project during build or generate (#4985) 2019-03-03 11:42:46 +03:30
Alexander Lichter
69dfd848d7 refactor: some small stuff (#4979)
* refactor: flatten ifs

* refactor: unnecessary curly brackets

* refactor: unnecessary else

* refactor: promise.all instead of for-await

* refactor: apply changes suggested by @clarkdo

* chore: fix typo

* refactor: early return

* refactor: add removal TODOs

* refactor: more descriptive variable name

* refactor: prefer template string

* refactor: one-line

* refactor: early returns

* refactor: early return

* refactor: parallel promises

* refactor: early return and no else

* refactor: spread operator

* refactor: spread operator and early return

* fix: remove error and throw string instead

* fix: always return true

* refactor: clear multiline ternary

* refactor: err stack assignment

* refactor: early return and async/await

* refactor: one line

* refactor: early return

* refactor: early return

* refactor: promise.all

* refactor: args spread
2019-02-08 17:25:11 +01:00
Pooya Parsa
bdb6791e40
feat(webpack,cli): standalone build mode (#4661)
* feat(webpack,cli): standalone build mode

* revert typo
2019-01-03 23:57:50 +03:30
Jonas Galvez
0145551c3a feat(cli): improvements and external commands (#4314) 2018-12-20 14:45:48 +03:30
Yuki Takemoto
e6f73b596a feat(cli): add --devtools option for build and generate (#4357) 2018-11-17 23:05:51 +00:00
Clark Du
18e613106b Revert "fix: make generate default value be false in build command" 2018-11-09 17:14:26 +00:00
Clark Du
e4fe2409f5 fix: make generate default value be false in build command 2018-11-09 16:32:04 +00:00
Clark Du
2a36dbad22
feat: client mode modern and support dev/generate (#4264) 2018-11-07 23:37:06 +00:00
Clark Du
17e0890c90 fix(cli): remove duplicate error message in start and build (#4258) 2018-11-02 17:24:58 +03:30
Clark Du
bed0714fad
feat: modern build (#4231)
* feat: modern build

* refactor: use single module import for lodash

* refactor: add credit comment for modern plugin

* feat: ssr modern build

* fix: not null check for request

* fix: not null check for request.headers

* feat: add modern argument on build command

* refactor: simpilfy filenames for modern

* refactor: use packages/webpack src instead of dist in test

* test: add feature test for modern build
2018-10-31 15:52:35 +00:00
Jonas Galvez
c86dfbf43f fix: typo in cli/commands/build (#4236)
Good catch @clarkdo :)
2018-10-31 15:27:15 +00:00
Jonas Galvez
4503d42d54 refactor(cli): cleanups and improvements (#4222) 2018-10-30 01:46:16 +03:30
Pim
0669b68c91 refactor(cli): better consistency and easier unit testing (#4160) 2018-10-25 11:13:42 +03:30
Clark Du
9df5f49e07 feat: split builder into more refined modules (#4171)
New packages:
- `@nuxt/webpack`
- `@nuxt/generator`
2018-10-24 20:25:18 +03:30
Alexander Lichter
f27939d4a7 feat(cli): support async nuxt.config.js (#4021) 2018-10-18 19:27:35 +03:30
Pooya Parsa
9c1e0d1743 feat: migrate nuxt into monorepo (#4051)
Co-authored-by: Clark Du <clark.duxin@gmail.com>
Co-authored-by: Pooya Parsa <pooya@pi0.ir>
2018-10-18 00:58:25 +03:30