Commit Graph

201 Commits

Author SHA1 Message Date
Pooya Parsa
663c00ddd4 fix(webpack): use env.minimalCLI 2018-11-09 01:24:24 +03:30
renovate[bot]
16c8237f1c chore(deps): update all non-major dependencies (#4298)
[skip ci]
2018-11-09 01:18:29 +03:30
Clark Du
31ef70e560 fix: auto transform and warning for @nuxtjs/babel-preset-app (#4297) 2018-11-09 00:17:53 +03:30
Alexander Lichter
f5bf24ab83 fix(server): don't accept ranges (#3870) (#4295) 2018-11-08 22:13:14 +03:30
renovate[bot]
b290c078f2 fix(deps): update dependency consola to ^2.2.3 (#4293) 2018-11-08 15:20:55 +03:30
Pooya Parsa
c62c9656ab fix(dev): better icon for windows support 2018-11-08 14:55:48 +03:30
Pooya Parsa
c39c7cd51e update webpack/base for webpackbar 3.0.2 2018-11-08 14:46:07 +03:30
Pooya Parsa
e8aabac197 hotfix: update webpackbar to 3.0.2 2018-11-08 14:40:47 +03:30
Pooya Parsa
dc00980308 chore: fix dependencies and lock 2018-11-08 13:42:15 +03:30
Clark Du
78de0956cc fix: --modern not trigger modern build 2018-11-08 09:19:09 +00:00
Pooya Parsa
7c4e77ffb9
feat: dx improvements (#4259) 2018-11-08 12:45:56 +03:30
Clark Du
64839313a9 refactor: use modernMode instead of isModernBrowser for more semantic 2018-11-07 23:50:33 +00:00
Clark Du
2a36dbad22
feat: client mode modern and support dev/generate (#4264) 2018-11-07 23:37:06 +00:00
renovate[bot]
dd114ff74f fix(deps): update all non-major dependencies (#4271) 2018-11-08 02:09:37 +03:30
Alexander Lichter
b3eb4278a5 fix: serialize config head fn shorthand correctly (#4283)
[skip ci]
2018-11-08 02:03:09 +03:30
Alexander Lichter
10c608a649 chore(vue-app): deprecate callback-based asyncData, fetch and middleware (#4256) 2018-11-06 16:32:07 +03:30
Clark Du
3953eef271 refactor(builder): make plugins in BuildContext update dynamically (#4280) 2018-11-06 16:23:15 +03:30
Clark Du
3f2b10ea0c
fix: Duplicate declaration plugin when add/remove file in dev mode (#4278) 2018-11-06 10:50:38 +00:00
renovate[bot]
1a154e8188 fix(deps): update all non-major dependencies (#4270) 2018-11-05 02:29:06 +03:30
renovate[bot]
47f67cc26a fix(deps): update dependency consola to ^2.2.0 (#4269) 2018-11-04 22:18:39 +03:30
Clark Du
7d34f2ef26
refactor: persist isModernBrowser on http connection (#4268) 2018-11-04 14:47:56 +00:00
renovate[bot]
f10f860292 fix(deps): update all non-major dependencies (#4253) 2018-11-03 22:16:58 +03:30
xxRockOnxx
2f78f87c06 [skip ci] move misleading comment (#4265) 2018-11-03 15:55:41 +03:30
Clark Du
17e0890c90 fix(cli): remove duplicate error message in start and build (#4258) 2018-11-02 17:24:58 +03:30
Sébastien Chopin
12151d81d6 feat: add --modern to nuxt start (#4254) 2018-11-02 09:07:39 +00:00
Jonas Galvez
19287cce96 feat(cli): add help command (#4248)
* add commands/help

* simply cmds in run()

* refinement

* simply cmds in run() (2)

* simply cmds in run() (3)

* lint

* cmd.showHelp()

* check for cmd / uknown cmd

* final fix

* fixes

* remove Set

* Add NuxtCommand.load()

* updated tests

* lint
2018-11-02 05:35:32 +01:00
renovate[bot]
e9b63deba4 fix(deps): update all non-major dependencies (#4229) 2018-11-01 05:13:12 +01:00
Clark Du
78e3563687 feat: terser compress es6 forms in modern build (#4241) 2018-11-01 04:59:17 +01:00
Jonas Galvez
6dadadfa25 feat(cli): list commands (#4245)
* add listCommands to cli/run

* add listCommands to cli/run (2)

* lint

* lint

* lint

* fix

* fixes

* fix

* lint

* maxCharsPerLine = process.stdout.columns * 80 / 100

* fix test

* fix imports

* refactor foldLines()

* default process.stdout.columns to 80

* default to 80

* fix

* fix test

* lint

* fix test

* add help flags to main usage

* fix

* fix

* fix
2018-11-01 04:53:06 +01:00
Pooya Parsa
1dd32d0d21 feat: update to consola 2 (#4247)
* add ~> addReporter

* remove badge

* withScope ~> withTag

* update to consola 2

* update build tests
2018-11-01 04:50:07 +01:00
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
Sébastien Chopin
965c2a6c55 page: Update Nuxt uvp 2018-10-31 09:34:17 +01:00
Sébastien Chopin
b5522f627b page: Update Nuxt uvp and tweaks on CSS 2018-10-31 09:34:17 +01:00
Pooya Parsa
39b558f59c
refactor core into sub-packages (#4202) 2018-10-31 00:12:53 +03:30
Jonas Galvez
4503d42d54 refactor(cli): cleanups and improvements (#4222) 2018-10-30 01:46:16 +03:30
renovate[bot]
2e2b32b547 [skip ci] update all non-major dependencies (#4223) 2018-10-30 01:31:32 +03:30
Pim
72961acabd feat: nuxt-loading enhancenments (#3891) 2018-10-29 19:18:40 +03:30
Pooya Parsa
d4a370cecc fix(webpack): add missing glob dependency 2018-10-29 14:22:11 +03:30
Pooya Parsa
10aeaef110 hotfix(cli, common, core): add missing @nuxt/config dependency 2018-10-29 14:21:34 +03:30
Jonas Galvez
f90110af26 fix: nuxt/config imports/exports (#4217) 2018-10-28 01:32:43 +03:30
Jonas Galvez
007ca05174 refactor: move config files to @nuxt/config (#4212) 2018-10-27 23:57:16 +03:30
Jonas Galvez
ec7794c5cd refactor(common): nuxt.config.js and dynamic server options to use latest process.env (#4208) 2018-10-27 20:18:23 +03:30
renovate[bot]
00e83e3874 fix(deps): update dependency time-fix-plugin to ^2.0.5 (#4210) 2018-10-27 20:12:27 +03:30
Paul Gascou-Vaillancourt
208eba3867 fix(app): Throw error only if value is undefined (#4206) 2018-10-27 20:11:42 +03:30
Pooya Parsa
1adad4676b hotfix: add missing publishConfig for @nuxt/babel-preset-app 2018-10-27 00:20:41 +03:30
renovate[bot]
930f8b273c fix(deps): update all non-major dependencies (#4200) 2018-10-27 00:17:37 +03:30
Sibbngheid
ad020e66fd fix(common): set defaults for port and host values (#4207) 2018-10-26 23:11:28 +03:30
awronski
c9fd78048f feat(core): custom pushAssets function to control http2 push headers (#4198)
Resolves #4011
Resolves #4161
2018-10-26 21:29:12 +03:30
Clark Du
ae9de93a45 feat: move @nuxtjs/babel-preset-app into nuxt mono-repo (#4205) 2018-10-26 21:28:21 +03:30
renovate[bot]
6c5d89dead fix(deps): update all non-major dependencies (#4189) 2018-10-25 19:19:17 +03:30
Pim
4b7afcc218 feat(cli): add imports mock and cleanup (#4195) 2018-10-25 19:10:55 +03:30
Pooya Parsa
46103e72ea
chore: packaging and development improvements (#4193) 2018-10-25 14:52:31 +03:30
Alexander Lichter
48393b33c7 refactor: small improvements (#4194) 2018-10-25 14:27:52 +03:30
Dmitry Molotkov
a3ba6e96ca fix: check styleResources for existence (#4155) 2018-10-25 14:25:05 +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
Pim
972c3a7b10 fix: remove extra text (#4187) 2018-10-24 20:06:53 +03:30
Przemysław Pietras
23228db73c fix(app): add deprecation warning on using process.browser (#4174) 2018-10-24 17:17:14 +03:30
Pim
96bdcaba01 fix(app): lint all templates (#4175) 2018-10-24 17:16:06 +03:30
renovate[bot]
1cb7ce59e6 fix(deps): update all non-major dependencies (#4172) 2018-10-23 10:24:57 +03:30
Pooya Parsa
60dbc6ddc5
fix(builder): use require.resolve to get the path of babel-loader (#4150) 2018-10-23 01:18:06 +03:30
renovate[bot]
ff6385f5a0 fix(deps): update all non-major dependencies (#4156) 2018-10-23 01:17:42 +03:30
Kenta Suzuki
f5530ad653 fix(app): throw an error when layout property is not string (#4142) 2018-10-20 23:17:47 +03:30
Pooya Parsa
cc8c6e2555 fix(core): add resolveAlias and resolvePath for b.w compatibility 2018-10-18 20:05:44 +03:30
Alexander Lichter
f27939d4a7 feat(cli): support async nuxt.config.js (#4021) 2018-10-18 19:27:35 +03:30
Alexander Lichter
ab5af540e0 perf: cherry-pick only used lodash imports (#4099) 2018-10-18 19:13:44 +03:30
renovate[bot]
119d349478 deps(builder): update all non-major dependencies (#4133)
- cssnano/cssnano
- webpack-contrib/mini-css-extract-plugin
- csstools/postcss-preset-env
- webpack-contrib/url-loader
- webpack/webpack
- webpack-contrib/webpack-bundle-analyzer
2018-10-18 10:44:49 +03:30
Pooya Parsa
fe0be628ac remove extra description 2018-10-18 02:11:56 +03:30
Pooya Parsa
39a31a8627 hotfix(common): prevent converting globalName to nuxt-edge 2018-10-18 02:05:43 +03:30
Pooya Parsa
28b246dca2 fix(publish): set each package's publishConfig to public
Scoped packages are private by default on npm. lerna/lerna#178 (comment)
2018-10-18 01:44:54 +03:30
Pooya Parsa
2d05e0b7b7 revet: changelog and version bumps to 2.2.0
Lerna should handle it itself
2018-10-18 01:28:11 +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
renovate[bot]
519a46fd6a feat(deps): upgrade devalue, time-fix-plugin (#4118)
nuxt-community/devalue:
- fix: properly log message for symbolic keys
- feat: env vars to adjust warning behaviour
2018-10-16 13:09:50 +03:30
Sébastien Chopin
95428c2466 version: Bump to v2.2.0 2018-10-13 21:08:38 +02:00
renovate[bot]
9e0d15096e fix(deps): update dependency consola to ^1.4.4 (#4114) 2018-10-13 19:15:06 +03:30
renovate[bot]
c1028ea647 chore(deps): update all non-major dependencies (#4077) 2018-10-12 22:17:53 +03:30
Dmitry Molotkov
d35fc8f015 fix: warn for non serializable data instead of Error (#4046)
* use @nuxtjs/devalue

* use @nuxtjs/devalue

* lock file

* lock file

* fix test
2018-10-11 23:18:04 +01:00
renovate[bot]
963b4ddd0f chore(deps): update all non-major dependencies (#4069) 2018-10-09 15:57:02 +03:30
renovate[bot]
c2fde1958a fix(deps): update all non-major dependencies (#4064) 2018-10-08 20:51:34 +03:30
renovate[bot]
d962504dde fix(deps): update dependency std-env to v2.0.2 (#4056)
This PR contains the following updates:

| Package | Type | Update | Change | References |
|---|---|---|---|---|
| std-env | dependencies | major | `^1.3.1` -> `^2.0.2` | [source](https://renovatebot.com/gh/blindmedia/std-env) |

---

### Release Notes

<details>
<summary>blindmedia/std-env</summary>

### [`v2.0.2`](https://renovatebot.com/gh/blindmedia/std-env/compare/v2.0.1...v2.0.2)

[Compare Source](https://renovatebot.com/gh/blindmedia/std-env/compare/v2.0.1...v2.0.2)

### [`v2.0.1`](https://renovatebot.com/gh/blindmedia/std-env/compare/v2.0.0...v2.0.1)

[Compare Source](https://renovatebot.com/gh/blindmedia/std-env/compare/v2.0.0...v2.0.1)

### [`v2.0.0`](https://renovatebot.com/gh/blindmedia/std-env/compare/v1.3.1...v2.0.0)

[Compare Source](https://renovatebot.com/gh/blindmedia/std-env/compare/v1.3.1...v2.0.0)

</details>

---

### Renovate configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻️ **Rebasing**: Whenever PR becomes conflicted, or if you modify the PR title to begin with "`rebase!`".

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

This PR has been generated by [Renovate Bot](https://renovatebot.com/gh/marketplace/renovate). View repository job log [here](https://renovatebot.com/dashboard#nuxt/nuxt.js).
2018-10-05 13:23:29 +01:00
Clark Du
ea8c2a6505
feat: move build to packages (#4031)
* feat: move build to packages

* fix: remove build in eslint

* refactor: rename nuxt-build to nuxt-pack
2018-10-03 19:50:22 +01:00
Renovate Bot
32f395d7e8 fix(deps): update all non-major dependencies 2018-10-03 13:30:58 +03:30
renovate[bot]
6a88e06c45 fix(deps): update dependency postcss-preset-env to ^6.0.8 (#4029)
This PR contains the following updates:

| Package | Type | Update | Change | References |
|---|---|---|---|---|
| postcss-preset-env | dependencies | patch | `^6.0.7` -> `^6.0.8` | [source](https://renovatebot.com/gh/csstools/postcss-preset-env) |

---

### Release Notes

<details>
<summary>csstools/postcss-preset-env</summary>

### [`v6.0.8`](https://renovatebot.com/gh/csstools/postcss-preset-env/blob/master/CHANGELOG.md#&#8203;608-October-1-2018)

[Compare Source](7dfb8c9d7c...71ff1e5930)

-   Updated: `caniuse-lite` to 1.0.[`3000088`](https://renovatebot.com/gh/csstools/postcss-preset-env/commit/30000888) (patch)
-   Updated: `postcss` to 7.0.4 (patch)

**Did you hear? PostCSS Preset Env is now part of Create React App!** 🎉

</details>

---

### Renovate configuration

📅 **Schedule**: No schedule defined.

🚦 **Automerge**: Enabled.

♻️ **Rebasing**: Whenever PR becomes conflicted, or if you modify the PR title to begin with "`rebase!`".

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

This PR has been generated by [Renovate Bot](https://renovatebot.com/gh/marketplace/renovate). View repository job log [here](https://renovatebot.com/dashboard#nuxt/nuxt.js).
2018-10-02 09:07:52 +01:00
renovate[bot]
bc9071663f fix(deps): update all non-major dependencies (#3991)
* fix(deps): update all non-major dependencies

* Update package.json

* fix(deps): lock file update

* fix test due to changed css attribute order
2018-09-30 18:11:52 +02:00
renovate[bot]
1fef39d488 fix(deps): update dependency cssnano to ^4.1.4 (#3990) 2018-09-27 17:21:05 +03:30
renovate[bot]
163cfab240 chore(deps): update all non-major dependencies (#3986) 2018-09-27 11:05:12 +03:30
renovate[bot]
e413dff491 chore(deps): update dependency webpack-bundle-analyzer to ^3.0.2 (#3983) 2018-09-27 10:28:12 +03:30
Dmitry Molotkov
ccc9e7e174 add missing dep for legacy and start (#3963) 2018-09-25 17:15:19 +02:00
Alexander Lichter
c8693da621 chore: update core team info (#3950) 2018-09-24 17:39:15 +02:00
Alexander Lichter
bc1cecf4a6 chore: update dependencies (#3947) 2018-09-23 19:19:09 +03:30
Alexander Lichter
dabc60c44d chore: update vue-meta version (#3946) 2018-09-23 11:39:02 +01:00
Pooya Parsa
b69cabef88 hotfix: use terser-webpack-plugin (#3928)
<!--- Provide a general summary of your changes in the title above -->

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)


## Description
Webpack requires `uglifyjs-webpack-plugin@1.x`. thus `uglifyjs-webpack-plugin@2.x` may not resolve correctly. Also, the webpack team decided to go with `terser-webpack-plugin` (https://github.com/webpack/webpack/pull/8036).


## Checklist:
<!--- Put an `x` in all the boxes that apply. -->
<!--- If your change requires a documentation PR, please link it appropriately -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly. (PR: #)
- [ ] I have added tests to cover my changes (if not applicable, please state why)
- [ ] All new and existing tests passed.
2018-09-20 22:49:43 +01:00
Pooya Parsa
e4d7bc7018 chore: sync nuxt-legacy and nuxt-start versions 2018-09-21 01:04:18 +04:30
Pooya Parsa
a7be6349f5 chore(package): automatically sort dependencies 2018-09-21 01:04:08 +04:30
Pooya Parsa
6f5137cd30
chore: upgrade dependencies (babel 7.1) (#3926) 2018-09-21 00:27:37 +04:30
Clark Du
2dd2f2aea9 fix: build failure 2018-09-17 12:14:17 +01:00
Clark Du
2ee5a2982a chore: update packages 2018-09-13 10:27:56 +01:00
Alexander Lichter
653f4c20ff chore: add missing package deps & upgrade to webpack-bundle-analyzer@3 (#3878)
<!--- Provide a general summary of your changes in the title above -->

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)


## Description
<!--- Describe your changes in detail -->
<!--- Why is this change required? What problem does it solve? -->
<!--- If it resolves an open issue, please link to the issue here. For example "Resolves: #1337" -->



## Checklist:
<!--- Put an `x` in all the boxes that apply. -->
<!--- If your change requires a documentation PR, please link it appropriately -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly. (PR: #)
- [ ] I have added tests to cover my changes (if not applicable, please state why)
- [x] All new and existing tests passed.
2018-09-13 09:15:18 +01:00
Dmitry Molotkov
00ea57937e fix(nuxt-start): add missing dependencies (#3832) 2018-09-02 00:57:10 +04:30
Pooya Parsa
f85465386c
feat: move nuxt-legacy and nuxt-start into packages (#3824) 2018-08-31 22:51:41 +04:30