Commit Graph

5420 Commits

Author SHA1 Message Date
Clark Du
d98c98360a refactor: smiplify csp 2018-07-01 23:43:30 +04:30
Clark Du
749da85b90 misc: remove unused cache config (#3490) 2018-07-01 23:40:44 +04:30
FishPlusOrange
d9d2d9e8de Update CONTRIBUTING.md (#3487) 2018-06-30 19:57:49 +01:00
Vyacheslav Bikbaev
159021eabe i18n example fix (#3482)
Today I was implementing an i18n according to this example in one of my projects. Unfortunately, current example fails if (for example) our `defaultLocale` is `en` and our url is `example.com/en/` or `example.com/en/news`: middleware redirects into `example.com//` and `example.con//news` respectively.

I've fixed the example (not sure if it is the most elegant way to do it though), so it replaces `/en/` with `/`.
2018-06-27 08:14:04 +02:00
Jon Ege Ronnenberg
1b46a95b06 Webworker (#3480)
* added missing eslint-loader that prevented the example to run and changed freeWorker to terminate a worker and create a new since we can not really free a worker

* proper remove long running worker from longRunningWorkers array when done

* polish web-worker example

set nuxt to 'latest' version

this will change

this will also change
2018-06-26 12:33:51 +02:00
Tatsuyuki Ishi
e993616c07 chore(tests): set node to current for .babelrc (#3466)
This skips quite many transforms, potentially speeding up the tests.
2018-06-22 15:15:53 +04:30
ktsn
bf6416ae62 fix: ensure emit triggerScroll event after scrollBehavior is called 2018-06-21 15:22:52 +09:00
Clark Du
feabdcafaa
chore: add detectOpenHandles for tracking down more jest exist details 2018-06-13 10:54:32 +01:00
Clark Du
1958ba8953
chore: remove to-do which has been done 2018-06-13 09:41:18 +01:00
Keegan Leitz
ba5c9798e3 fix: small typo in README.md, application => applications (#3426) 2018-06-09 17:03:44 +01:00
zyxd
3b2ed038da fix: wait for core to be ready before listen (#3407) 2018-06-06 21:22:08 +04:30
Clark Du
3c54d26c76 test: refactor cli tests (#3357)
* refactor: add untility for waiting until condition completed

* test: cli

* test: separate config of generate and build in cli test

* test: increase timeout of cli test slightly

* refactor: move waitUntil to test utils

* fix: use waitUntil in test utils
2018-06-06 17:01:43 +04:30
Akos Kovacs
2e6d503f76 fix(builder): nuxt build -a omits webpack-bundle-analyzer options declared in nuxt.config.js (#3390, #3391) 2018-06-06 17:00:22 +04:30
Nico Prat
9097ddefda chore: git ignore yarn-error.log (#3413) 2018-06-06 16:56:30 +04:30
Sébastien Chopin
6578bd7011
Update CMTY url 2018-06-04 18:27:51 +02:00
Igor
937ce612c7 feat(csr): support custom Vue.config.errorHandler (#3337) 2018-06-02 19:16:57 +04:30
Tatsuyuki Ishi
0db21b1f54 fix: require babel-preset-vue-app directly (#3406) 2018-06-02 18:50:18 +04:30
Pooya Parsa
8acef8d01e feat: use postcss-preset-env instead of postcss-cssnext (#3291)
https://moox.io/blog/deprecating-cssnext
2018-06-02 01:41:55 +04:30
Pooya Parsa
412ffd4c06 feat: auto fallback to legacy build for node@6 support 2018-06-01 16:56:13 +04:30
Pooya Parsa
35ee689473 target SSR bundle to current node version for legacy build support 2018-06-01 16:55:02 +04:30
Pooya Parsa
3d2a7b29d1 use pify instead of utils.promisify for legacy build support 2018-06-01 16:54:37 +04:30
Pooya Parsa
727ef16920 fix(rollup): fix build warnings 2018-06-01 16:30:17 +04:30
Pooya Parsa
445fce1312 chore(ci): temporary disable appveyor tests for node 10.x due to yarn problems
https://ci.appveyor.com/project/nuxt/nuxt-js/build/job/28j5hetw69q2x893
2018-06-01 16:17:12 +04:30
Tatsuyuki Ishi
c954ad4763 feat(packaging): rollup build improvements (#3402)
* Add missing devDependencies

This avoids relying on transitively installed dependencies.

* rollup: avoid bundling any NPM module

This is a hack relying on how rollup-plugin-node-resolve filters the path, but it works as intended.
2018-06-01 15:59:10 +04:30
Pooya Parsa
1f0053c160 fix(renderer): fix problem with HTMLPlugin's minify option (#3392) 2018-06-01 15:53:57 +04:30
Pooya Parsa
7540213996 chore: upgrade dependencies and yarn.lock 2018-06-01 15:21:25 +04:30
Sébastien Chopin
8e3cb3448a
Merge pull request #3392 from yoyo837/minify-html
[edge] minify: true => fix gap between inline-block labels
2018-05-31 10:20:09 +02:00
yoyo837
b4d74b417c minify: true => fix gap between inline-block labels 2018-05-30 10:57:03 +08:00
Reza Haidari .A
0d0d83cbc9 fix(package): upgrade vue-loader (#3388) 2018-05-29 12:54:51 +04:30
Clark Du
7f9d16cbdd
Merge pull request #3369 from yoyo837/dev
chore: update dependencies
2018-05-24 09:56:59 +01:00
yoyo837
8c2a69f9a9 chore: update dependencies 2018-05-24 09:07:36 +08:00
Michael
66030467d1 fix: add title before other meta for better SEO (#3362) 2018-05-23 11:17:47 +04:30
Clark Du
aaf44cf20a
fix: use esm@3.0.34 for now 2018-05-21 20:47:16 +01:00
Clark Du
28447ec9bd
chore: upgrade dependencies 2018-05-21 11:30:37 +01:00
Clark Du
dcc92c661b
Merge pull request #3349 from nuxt/revert-3346-cli-test
Revert "test: bring cli test back"
2018-05-16 08:10:48 +01:00
Clark Du
93696eb60b
Revert "test: bring cli test back" 2018-05-16 08:10:20 +01:00
Sébastien Chopin
1c608b0dbe
Merge pull request #3346 from clarkdo/cli-test
test: bring cli test back
2018-05-16 08:29:59 +02:00
Clark Du
7bbd6c67a5
test: for waitUntil 2018-05-15 13:10:07 +01:00
Clark Du
e962ee19e7
test: bring cli test back 2018-05-15 12:45:09 +01:00
Sébastien Chopin
3a76475ace
Merge pull request #3341 from clarkdo/babel_whitelisting
feat: make babel-loader exclude configurable
2018-05-14 09:50:24 +02:00
Sébastien Chopin
085f18a339
Update basic.dev.test.js 2018-05-14 09:22:44 +02:00
Sébastien Chopin
f275fc8069
Update transpile to return the opposite of exclude 2018-05-14 09:21:40 +02:00
Sébastien Chopin
2b9a87787b
Merge pull request #3315 from sumcumo/webpack-inline-loader-support
fix(lib): ensure webpack inline loaders stay prefixed
2018-05-14 09:06:19 +02:00
Clark Du
e15790ad0c chore: upgrade dependencies 2018-05-13 21:11:40 +01:00
Sébastien Chopin
5803205aa6
Merge pull request #3338 from DanielRuf/chore/add-nodejs-10-remove-nodejs-9
chore: add Node.js 10, remove Node.js 9
2018-05-12 19:43:45 +02:00
Daniel Ruf
1f6b784d50
chore: add Node.js 10, remove Node.js 9 2018-05-12 19:14:06 +02:00
Hannes Diercks
919b5395af
test(utils): make tests for relativeTo platform agnostic 2018-05-12 00:51:16 +02:00
Hannes Diercks
c017da10f6
fix(lib): ensure webpack inline loaders stay prefixed
when making a component path relative

fix https://github.com/nuxt/nuxt.js/issues/3314
2018-05-11 21:02:28 +02:00
Clark Du
929817741b
chore: upgrade dependencies 2018-05-08 17:55:52 +01:00
Sébastien Chopin
c59acddb49
Merge pull request #3306 from luisDanielRoviraContreras/patch-1
Add License
2018-05-07 17:32:27 +02:00