Commit Graph

3666 Commits

Author SHA1 Message Date
Pooya Parsa
dc00980308 chore: fix dependencies and lock 2018-11-08 13:42:15 +03:30
Alexander Lichter
cf1aa1abc8 test: improve tests (#4237) 2018-11-08 13:11:24 +03:30
charlie hield
ec9724f712 chore: tailwind purgecss example (#4214)
* Add tailwindcss purgecss example

* Eslint fixes
2018-11-08 10:37:38 +01:00
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
a204b7e765 test: use jest-junit as needed 2018-11-08 00:05:41 +00:00
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
Dmitry Molotkov
83f8b1183c examples: update vuetify to use vuetify loader (#4263)
[skip ci]
2018-11-08 02:13:02 +03:30
renovate[bot]
2c26730b93 chore(deps): update dependency eslint-plugin-jest to v22 (#4289)
[skip ci]
2018-11-08 02:10:33 +03:30
renovate[bot]
dd114ff74f fix(deps): update all non-major dependencies (#4271) 2018-11-08 02:09:37 +03:30
Alexander Lichter
ead994bbb5 test: add a size limit test (#4272)
[skip ci]
2018-11-08 02:04:14 +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
1abbeb0e10 chore: fix parenthesis in package.json (#4288)
Small finding while investigating another issue 🙈
2018-11-07 10:19:50 +00:00
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
renovate[bot]
4935017f94 chore(deps): update all non-major dependencies (#4267)
This PR contains the following updates:

| Package | Type | Update | Change | References |
|---|---|---|---|---|
| eslint-plugin-jest | devDependencies | patch | `^21.27.0` -> `^21.27.1` | [source](https://renovatebot.com/gh/jest-community/eslint-plugin-jest) |
| rollup | devDependencies | minor | `^0.66.6` -> `^0.67.0` | [source](https://renovatebot.com/gh/rollup/rollup) |

---

### Release Notes

<details>
<summary>jest-community/eslint-plugin-jest</summary>

### [`v21.27.1`](https://renovatebot.com/gh/jest-community/eslint-plugin-jest/releases/v21.27.1)

[Compare Source](https://renovatebot.com/gh/jest-community/eslint-plugin-jest/compare/v21.27.0...v21.27.1)

##### Bug Fixes

-   **prefer-spy-on:** fix Cannot read property 'type' of undefined ([#&#8203;199](https://renovatebot.com/gh/jest-community/eslint-plugin-jes/issues/199)) ([02cd21a](https://renovatebot.com/gh/jest-community/eslint-plugin-jes/commit/02cd21a)), closes [#&#8203;198](https://renovatebot.com/gh/jest-community/eslint-plugin-jes/issues/198)

</details>

<details>
<summary>rollup/rollup</summary>

### [`v0.67.0`](https://renovatebot.com/gh/rollup/rollup/blob/master/CHANGELOG.md#&#8203;0670)

[Compare Source](https://renovatebot.com/gh/rollup/rollup/compare/v0.66.6...v0.67.0)

_2018-11-04_

-   add `sourcemapExcludeSources` option to exclude the source content from sourcemaps ([#&#8203;2531](https://renovatebot.com/gh/rollup/rollup/pull/2531))
-   Create chunks for virtual modules when preserving modules ([#&#8203;2511](https://renovatebot.com/gh/rollup/rollup/pull/2511))
-   Improve execution order of chunks and externals ([#&#8203;2508](https://renovatebot.com/gh/rollup/rollup/pull/2508))
-   Do not resolve external dynamic imports via plugins ([#&#8203;2505](https://renovatebot.com/gh/rollup/rollup/pull/2505))
-   Do not tree-shake children of unknown nodes to e.g. properly handle do-expressions via acorn plugin ([#&#8203;2510](https://renovatebot.com/gh/rollup/rollup/pull/2510))
-   Fix mis-placed semicolons for certain SystemJS exports ([#&#8203;2529](https://renovatebot.com/gh/rollup/rollup/pull/2529))
-   Prevent memory leak when using the bundle as cache ([#&#8203;2522](https://renovatebot.com/gh/rollup/rollup/pull/2522))
-   Fix public sourcemap type ([#&#8203;2507](https://renovatebot.com/gh/rollup/rollup/pull/2507))

</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!`".

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://renovatebot.com/gh/renovatebot/config-help/issues) if that's undesired.

---

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-11-04 17:52:41 +00:00
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
Pim
90325c35ae feat(cli): use cjs dist stub in package (#4243)
* feat: use cjs dist stub for cli package

* fix: spawn nuxtBin directly

* keep node -r esm for optimal windows compatibility
2018-11-01 05:00:28 +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
Kayla Ngan
e502d95090 chore(ci, azure): remove trailing spaces in SET 2018-10-31 23:48:25 +03:30
Clark Du
d6e6ded74e chore: exlcude feature-request in stale 2018-10-31 19:08:45 +00:00
Kayla Ngan
3ec2579d09 chore(ci, azure): report test results on azure pipelines (#4242) 2018-10-31 22:09:50 +03:30
Clark Du
7c89a4a785
chore: add lock and stale config (#4240)
<!--- 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 (a non-breaking change which fixes an issue)
- [ ] New feature (a 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)
- [ ] All new and existing tests are passing.
2018-10-31 17:08:55 +00:00
Clark Du
8ff281e46d chore: add lerna changelog config (#4238) 2018-10-31 20:03:22 +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
Pooya Parsa
08d298d35c test: update test/unit/nuxt 2018-10-31 12:51:44 +03:30
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
renovate[bot]
30c68bfa77 [skip ci] update dependency vue-jest to v3 (#4228) 2018-10-30 01:30:34 +03:30
renovate[bot]
f284f7c149 [skip ci] update dependency jsdom to v13 (#4227) 2018-10-30 01:27:38 +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
renovate[bot]
a9b68c5e61 chore(deps): update dependency eslint-plugin-node to v8 (#4218) 2018-10-28 21:44:14 +03:30