pimlie
0f4bf0f9b2
Revert cc74126
...
The generate:routeCreated hook still existed but probably not in the expected place
2017-12-17 16:46:14 +03:30
dsandor
cc74126fa6
Replace code that was removed by commit: 65f4a030f4
2017-12-13 04:45:17 +03:30
Pooya Parsa
9b8cbed512
perf: remove rollup build
...
Using native node 8.x for less transpilations
2017-12-12 13:12:29 +03:30
pimlie
adc7260c76
Fix cannot read property of undefined when not building
2017-11-29 21:20:33 +03:30
pimlie
5bacd36590
Add possibility to pass extra arguments to generate.routes method
2017-11-27 18:10:24 +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
Sébastien Chopin
2c2ee63dd1
Merge pull request #2032 from Gomah/dev
...
feat: add subFolders option for generate
2017-11-16 16:16:22 +01:00
David Sandor
715ff581b9
use the new hooks system instead of a plugin.
2017-11-16 06:04:39 -05:00
David Sandor
9aa6722512
Include errors, this is useful in reporting success %
2017-11-16 05:50:14 -05:00
David Sandor
1c4978db4f
Add tappable plugin call after route generated.
2017-11-16 05:44:34 -05:00
Gomah
59ad478037
Add subFolders option for generate
2017-11-06 18:36:28 +11:00
Atinux
42073db289
fix: Remove useless console.log
2017-11-03 12:32:57 +01:00
Sébastien Chopin
fe0ad908b7
hook: Add generate:page hook
2017-10-30 23:14:21 +01:00
Sébastien Chopin
94ad5955e6
Hooks ready to be tested
2017-10-30 22:39:08 +01:00
Atinux
6648695015
refacto: Hooks
2017-10-30 18:41:22 +01:00
Clark Du
f5acb6fc0e
fix: syntax error in generator.js
2017-10-25 15:35:33 +03:30
pimlie
72529c69da
dont assume /index.html exists
2017-10-23 23:43:59 +02:00
Pooya Parsa
81fcc70eca
don't overwrite if 200.html already exists
2017-08-18 21:01:55 +04:30
Sebastien Chopin
d96a48c3b4
fix typo
2017-08-18 15:46:48 +02:00
Pooya Parsa
7feeedd432
call forGenerate before modules ready
2017-08-18 17:57:58 +04:30
Pooya Parsa
fbb6833400
remove SSR related files from generate artifacts
2017-08-18 16:14:47 +04:30
Sebastien Chopin
42d967c27b
Add process.generate
2017-08-17 14:43:51 +02:00
Pooya Parsa
85e7f25326
generate -> generator
2017-07-30 18:42:08 +04:30
Pooya Parsa
b5ca6b7975
feat: enhance tapables usage
2017-07-17 23:56:41 +04:30
Sébastien Chopin
270c490a9d
Add generate.concurrency option
2017-07-09 12:00:08 +02:00
Pooya Parsa
498c6be7a5
feat(generator): refactor generate into functions
2017-07-05 02:56:01 +04:30
Pooya Parsa
b209c80d2b
feat: add tappable hooks
2017-07-03 15:41:40 +04:30
Alexandre Chopin
f488eda003
add static 404.html
2017-06-29 13:34:59 +02:00
Pooya Parsa
a594606f85
coverage
2017-06-19 20:17:31 +04:30
Pooya Parsa
59d7e786aa
Fully decouple builder
...
runBuild flag removed
2017-06-18 20:17:21 +04:30
Pooya Parsa
20f93b8b54
migrate require to ES6 imports
2017-06-18 14:05:00 +04:30
Pooya Parsa
766009dbba
Cleaner structure
2017-06-18 12:06:00 +04:30