Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.5.0 #5237

Merged
merged 232 commits into from
Mar 21, 2019
Merged

v2.5.0 #5237

Show file tree
Hide file tree
Changes from 201 commits
Commits
Show all changes
232 commits
Select commit Hold shift + click to select a range
59be77a
feat: .nuxtignore (#4647)
clarkdo Jan 29, 2019
e22a282
test: unit tests for generator (#4857)
clarkdo Jan 29, 2019
1501592
chore(deps): update all non-major dependencies (#4872)
renovate[bot] Jan 29, 2019
e9ba2f9
test: add describe.posix and win
clarkdo Jan 29, 2019
445d50c
chore(deps): update all non-major dependencies (#4879)
renovate[bot] Jan 29, 2019
774823b
fix tsconfig + remove forgotten duplicated test (#4886)
kevinmarrec Jan 29, 2019
5101dc6
chore(examples): add tsx example (#4855)
andoshin11 Jan 29, 2019
96bab9f
test: unit tests for @nuxt/util (#4880)
clarkdo Jan 29, 2019
928a230
hotfix: disable extract-css-chunks-webpack-plugin in dev mode (#4888)
clarkdo Jan 29, 2019
de6ca3a
hotfix: extractCSS error in dev mode (#4892)
clarkdo Jan 29, 2019
86530d8
Update README.md
Jan 30, 2019
5847879
Update README.md
Jan 30, 2019
e6fcb33
Update README.md
Jan 30, 2019
9788467
Update README.md
Jan 30, 2019
0088b33
Fixes #4882 (#4893)
phof Jan 30, 2019
3348cd6
release: 2.4.1 (#4889)
pi0 Jan 30, 2019
4c5a59e
refactor: generate routes and template files in builder (#4883)
clarkdo Jan 30, 2019
738c182
chore(README): replace modules with AwesomeNuxt (#4905)
manniL Jan 30, 2019
fb13b41
Merge remote-tracking branch 'upstream/2.x' into dev
clarkdo Jan 30, 2019
f70645e
fix: revert templatFiles name (#4924)
clarkdo Feb 1, 2019
be41ae1
example(vuex-store): change to module store (#4923)
manniL Feb 1, 2019
0223e56
fix: remove cache-loader for external resources (#4915)
clarkdo Feb 1, 2019
d7b57e0
improvement(ts): transpileOnly when using `nuxt-ts start` (#4906)
kevinmarrec Feb 1, 2019
47898fb
chore(examples): rebase on latest stable nuxt version (#4874)
manniL Feb 1, 2019
1fb9af3
chore(examples): zero-downtime pm2 typescript example (#4907)
dschewchenko Feb 1, 2019
569b6aa
refactor: typos (#4922)
manniL Feb 1, 2019
268851f
fix: bundle resources other than js(x)/json in node_modules (#4913)
clarkdo Feb 1, 2019
ca19124
fix: extra properties in templateFiles (#4925)
clarkdo Feb 1, 2019
cdec133
chore(deps): update all non-major dependencies (#4894)
renovate[bot] Feb 2, 2019
940a36f
chore: use puppeteer-core (#4929)
pi0 Feb 3, 2019
efc2880
chore(deps): update dependency caniuse-lite to ^1.0.30000934 (#4934)
renovate[bot] Feb 3, 2019
422155e
fix: warn when using array postcss configuration (#4936)
manniL Feb 3, 2019
43491f6
feat(test): unit tests for @nuxt/builder (#4834)
clarkdo Feb 4, 2019
fabf1c0
test: add await for promisable expect
clarkdo Feb 4, 2019
858c9ee
fix(test): unhandled open handles
clarkdo Feb 4, 2019
92803b2
fix: improve nuxt version number when running from git (#4946)
pimlie Feb 4, 2019
a96355e
merge branch 2.x
Feb 4, 2019
e4051b2
chore(deps): update sort-package-json to 1.19.0
Feb 4, 2019
5c053f5
test: turn off cli dev test
clarkdo Feb 5, 2019
5c08db2
fix: await buildDone hook (#4955)
clarkdo Feb 5, 2019
9308954
feat: upgrade vue to 2.6 (#4953)
pi0 Feb 5, 2019
1e9eb4b
feat(module): support src as a function in addModule (#4956)
ricardogobbosouza Feb 5, 2019
3147823
chore: bump Otechie fee (#4933)
galvez Feb 5, 2019
4c7bd9c
feat(cli): option to open the project in the browser (#4930)
ricardogobbosouza Feb 5, 2019
76736f8
chore(deps): update all non-major dependencies (#4954)
renovate[bot] Feb 5, 2019
8b474cd
chore(deps): update dependency webpack to ^4.29.2 (#4963)
renovate[bot] Feb 6, 2019
4e30bda
v2.4.3
Feb 6, 2019
68f6880
refactor(test): change cli.test to be more accurate (#4957)
clarkdo Feb 6, 2019
5ec5932
fix: refactor file watchers (chokidar/linux workaround) (#4950)
pimlie Feb 6, 2019
fb87a55
fix: fix non standard esm modifications
Feb 6, 2019
eb10c12
update yarn.lock
Feb 6, 2019
f5220cf
ci: use --frozen-lockfile --non-interactive for azure
Feb 6, 2019
5094d9c
feat: show warning on forced exit (#4958)
pimlie Feb 6, 2019
a347ef9
fix: default for-exit to false to prevent dev exit
Feb 6, 2019
b1a16c9
fix help message for force-exit
Feb 6, 2019
562c62f
update snapshot
Feb 6, 2019
bbcac17
chore(deps): update dependency webpack-dev-middleware to ^3.5.2 (#4967)
renovate[bot] Feb 6, 2019
995911d
chore(deps): upgrade vue to ^2.6.3 (#4968)
renovate[bot] Feb 6, 2019
fc604d1
chore(deps): update all non-major dependencies (#4970)
renovate[bot] Feb 7, 2019
a03dafb
chore(deps): update dependency webpack to ^4.29.3 (#4972)
renovate[bot] Feb 7, 2019
31cb187
refactor: use spread syntax for plugin push (#4976)
manniL Feb 7, 2019
574a2eb
fix: disable "analyze" for nuxt generate (#4975)
manniL Feb 7, 2019
2c763df
test: fix macos e2e tests
pi0 Feb 7, 2019
eac6d02
refactor: remove unnecessary onEmit in old webpack
clarkdo Feb 7, 2019
2929716
feat(vue-renderer): improvements (#4722)
pi0 Feb 8, 2019
f791d78
chore(deps): update all non-major dependencies (#4981)
renovate[bot] Feb 8, 2019
3e9eee2
fix: dont force exit when it was explicitly disabled (#4973)
pimlie Feb 8, 2019
3c79b4c
Merge branch '2.x' into dev
clarkdo Feb 8, 2019
855705b
test: add chrome detector (#4984)
clarkdo Feb 8, 2019
c0311bc
doc: create/update README.mds for examples (#4980)
husayt Feb 8, 2019
50b1592
update yarn.lock
Feb 8, 2019
69dfd84
refactor: some small stuff (#4979)
manniL Feb 8, 2019
2c08213
chore(deps): update dependency vue-jest to ^3.0.3 (#4988)
renovate[bot] Feb 8, 2019
e083c38
chore(deps): update all non-major dependencies (#4992)
renovate[bot] Feb 9, 2019
dfc8dd5
example(jest-puppeteer): fix package .json (#4997)
acravenho Feb 10, 2019
8106523
chore(deps): update all non-major dependencies (#5000)
renovate[bot] Feb 11, 2019
3997d50
perf(webpack): use `futureEmitAssets` (#5003)
manniL Feb 11, 2019
75a7454
test: improve nuxt-loading component tests (#5005)
pimlie Feb 11, 2019
960f8ca
chore(deps): update all non-major dependencies (#5009)
renovate[bot] Feb 12, 2019
6d90ec2
chore(deps): update dependency consola to ^2.4.1 (#5012)
renovate[bot] Feb 12, 2019
8678d0d
chore(deps): update dependency webpack-bundle-analyzer to ^3.0.4 (#5015)
renovate[bot] Feb 12, 2019
90ba0cd
feat: upgrade to jest 24 (#4868)
clarkdo Feb 12, 2019
06f4762
chore(examples): fix links to vue-meta repo (#5018)
pimlie Feb 12, 2019
21e7936
chore(deps): update dependency vue-jest to ^4.0.0-beta.1 (#5016)
renovate[bot] Feb 12, 2019
9be8861
chore(deps): update all non-major dependencies (#5019)
renovate[bot] Feb 13, 2019
ad6a8cd
test: mock enquirer in typescript tests (#5025)
pimlie Feb 13, 2019
bcd672f
fix: generate failure (#5007)
karakum Feb 13, 2019
aad46ed
fix: disable parallel build when extractCSS is enabled
clarkdo Feb 13, 2019
176641f
refactor: fallback to babel-preset-env defualt targets when buildTarg…
clarkdo Feb 13, 2019
0826d7e
perf: await routeData promises in parallel (#5027)
manniL Feb 13, 2019
636e7e1
chore: change browserstack image
clarkdo Feb 14, 2019
2b4d79c
refactor: not detect modern browser if modern mode is disabled
clarkdo Feb 14, 2019
c6d8e8f
refactor: isModernBrowser return boolean for avoiding duplicate call
clarkdo Feb 14, 2019
d9a0b5f
fix: not send Server-Timing header if no timing info
clarkdo Feb 14, 2019
2015140
feat(vue-app): universal fetch (#5028)
pi0 Feb 14, 2019
9f3c175
chore(deps): update dependency eslint-plugin-vue to ^5.2.1 (#5035)
renovate[bot] Feb 14, 2019
200bce1
chore(deps): update all non-major dependencies
clarkdo Feb 15, 2019
d3f18c3
chore(deps): update request-promise-native
clarkdo Feb 15, 2019
5f9b104
Merge remote-tracking branch 'origin/2.x' into dev
clarkdo Feb 15, 2019
b51d7ec
chore(deps): update all non-major dependencies (#5038)
renovate[bot] Feb 15, 2019
4a44496
chore: fix audit error
clarkdo Feb 18, 2019
b9391d7
chore: fix eslint warning
clarkdo Feb 18, 2019
3ed9f3e
chore(deps): update all non-major dependencies (#5044)
renovate[bot] Feb 18, 2019
9860eb6
refactor: unify context in webpack module (#5054)
clarkdo Feb 18, 2019
c8e17a7
Merge remote-tracking branch 'upstream/2.x' into dev
clarkdo Feb 18, 2019
1fb44d9
fix: trailing comma in tsconfig (#5061)
livesega Feb 19, 2019
b1753e4
chore(deps): update dependency ts-jest to v24 (#5059)
renovate[bot] Feb 19, 2019
a9511e5
examples: improve vuex store example (#5017)
manniL Feb 19, 2019
17b53eb
chore: enable yarn.lock maintenance (#5063)
clarkdo Feb 19, 2019
6d05969
chore: add pug-stylus-coffee (#4927)
chiboreache Feb 19, 2019
4f9dd4b
Merge remote-tracking branch 'origin/2.x' into dev
clarkdo Feb 19, 2019
27b30ca
chore(deps): update all non-major dependencies (#5057)
renovate[bot] Feb 19, 2019
538378c
Merge remote-tracking branch 'origin/2.x' into dev
clarkdo Feb 19, 2019
3dd1a28
test: update cli snapshot
clarkdo Feb 19, 2019
58f6424
chore(deps): update dependency boxen to v3 (#5071)
renovate[bot] Feb 19, 2019
febcd6c
chore(deps): update dependency vue-loader to ^15.6.4 (#5070)
renovate[bot] Feb 19, 2019
21b1b86
chore(deps): update all non-major dependencies (#5088)
renovate[bot] Feb 22, 2019
fc4abdd
chore(deps): update all non-major dependencies (#5095)
renovate[bot] Feb 23, 2019
8ea0f86
chore(deps): update all non-major dependencies (#5097)
renovate[bot] Feb 23, 2019
e789a8e
chore(deps): update all non-major dependencies (#5098)
renovate[bot] Feb 25, 2019
4436ae2
chore(deps): lock file maintenance (#5101)
renovate[bot] Feb 25, 2019
27a201c
chore(deps): update dependency consola to ^2.5.5 (#5106)
renovate[bot] Feb 25, 2019
e2bdaa3
chore(deps): update dependency consola to ^2.5.6 (#5107)
renovate[bot] Feb 25, 2019
9bf3b32
chore(deps): update babel to ^7.3.4 (#5108)
renovate[bot] Feb 25, 2019
ee87f4c
fix(vue-app): use browser to handle scrolling position on page reload…
ahus1 Feb 25, 2019
a6756a4
fix(types): reflect chainlable NuxtLoading methods (#5104)
matjaz Feb 25, 2019
adfc15b
Merge branch '2.x' into dev
Feb 25, 2019
e0870bd
chore(deps): update dependency rollup to ^1.3.0 (#5114)
renovate[bot] Feb 26, 2019
47dc297
chore(deps): update @types/node to v11
Feb 26, 2019
1a437de
chore: squash 2.x into dev
Feb 26, 2019
83db959
v2.4.5
Feb 26, 2019
f39205a
chore(vue-app): suppress deprecated warning for classic vuex in prod …
sugarshin Mar 1, 2019
4b9ea29
chore(deps): update all non-major dependencies (#5122)
renovate[bot] Mar 2, 2019
2dd4171
chore(deps): update all non-major dependencies (#5143)
renovate[bot] Mar 2, 2019
0751faa
chore(deps): update dependency wrap-ansi to v5 (#5145)
renovate[bot] Mar 3, 2019
e87711c
feat: support `devModules` option (#5102)
galvez Mar 3, 2019
04cdd60
chore(babel-preset): create readme with basic docs (#5127)
husayt Mar 3, 2019
05299d6
refactor: improve modern middleware and spa modern rendering (#5037)
clarkdo Mar 3, 2019
45ad1f5
chore: recreate yarn.lock
Mar 3, 2019
4e51723
feat(cli): lock project during build or generate (#4985)
pimlie Mar 3, 2019
be89ea1
chore(deps): update all non-major dependencies (#5148)
renovate[bot] Mar 3, 2019
5ebe28e
chore(deps): lock file maintenance (#5150)
renovate[bot] Mar 4, 2019
92f81e0
feat(ts): nuxt configuration typedefs (#4854)
kevinmarrec Mar 4, 2019
340c107
chore(deps): update all non-major dependencies (#5149)
renovate[bot] Mar 4, 2019
70047c7
chore(deps): update dependency rollup to ^1.4.1 (#5151)
renovate[bot] Mar 4, 2019
52fe145
feat(babel): include es6.object.assign by default
clarkdo Mar 4, 2019
e3991aa
chore(deps): update dependency extract-css-chunks-webpack-plugin to ^…
renovate[bot] Mar 4, 2019
cc573a4
test: unit tests for server module (#5154)
clarkdo Mar 4, 2019
a722e68
Merge remote-tracking branch 'upstream/2.x' into dev
clarkdo Mar 4, 2019
1c3761a
chore(examples): fix jest test dependencies (#5155)
aldarund Mar 4, 2019
43709fd
chore(deps): update all non-major dependencies (#5158)
renovate[bot] Mar 5, 2019
a188f07
chore: remove unnecessary checks
clarkdo Mar 5, 2019
083ac57
chore(deps): update dependency esm to ^3.2.11 (#5165)
renovate[bot] Mar 6, 2019
840ccb4
chore(deps): update dependency extract-css-chunks-webpack-plugin to v…
renovate[bot] Mar 6, 2019
1caa17b
doc: update AwesomeNuxt in nuxt
clarkdo Mar 6, 2019
8ab181d
chore: not remove .nuxtignore in build
clarkdo Mar 6, 2019
39c9ab5
chore: don`t ignore .nuxtignore (#5169)
aldarund Mar 6, 2019
26bfa47
chore(deps): update dependency webpack-dev-middleware to ^3.6.1 (#5170)
renovate[bot] Mar 6, 2019
50e9d62
chore(deps): update all non-major dependencies (#5171)
renovate[bot] Mar 7, 2019
688ab27
chore(deps): update dependency fork-ts-checker-webpack-plugin to v1 (…
renovate[bot] Mar 7, 2019
cffd884
chore(deps): update dependency vue-property-decorator to v8 (#5161)
renovate[bot] Mar 7, 2019
41028a4
fix(vue-app): avoid css chunk error (#5173)
sskyu Mar 7, 2019
a867dbd
fix(builder, vue-app): order of plugin execution based on order in ar…
aldarund Mar 7, 2019
2cbddeb
chore(deps): update all non-major dependencies (#5174)
renovate[bot] Mar 7, 2019
d07aefa
feat(vue-renderer): use async fs (#5186)
pi0 Mar 8, 2019
3e67879
test: skip reqest in dev test for now
clarkdo Mar 8, 2019
1ea8661
fix: keep-alive component data should not be updated (#5188)
clarkdo Mar 8, 2019
9e1ef88
fix: respect namespaced in store module (#5189)
clarkdo Mar 8, 2019
13cb0f7
refactor: remove builder coupling from server (#5157)
pi0 Mar 8, 2019
e8c9417
chore(deps): update dependency jsdom to v14 (#5193)
renovate[bot] Mar 11, 2019
0b3796d
chore(deps): lock file maintenance (#5196)
renovate[bot] Mar 11, 2019
2f2baac
test: try to fix unhandled request
clarkdo Mar 11, 2019
1336ac9
chore(deps): update all non-major dependencies (#5180)
renovate[bot] Mar 11, 2019
c6565c9
feat(generate): return non-zero code or page error (fixes #4991) (#5195)
loomchild Mar 11, 2019
648062c
fix: correct public path in generation and start (#5202)
clarkdo Mar 12, 2019
37006f6
fix(vua-app): clone mount error to prevent mutating read-only error o…
manniL Mar 12, 2019
adf423a
fix(postcss): default to preset-env and cssnano last (#5215)
manniL Mar 13, 2019
aabb1f6
perf(core): skip esm for node_modules and non .js files (#5220)
pi0 Mar 13, 2019
ff93d14
chore(deps): update all non-major dependencies (#5224)
renovate[bot] Mar 13, 2019
320a46f
examples(pug): fix example by adding plain-pug-loader (#5223)
paulgeisler Mar 13, 2019
1fb7538
fix: publicPath is not reactive in dev restarting (#5227)
clarkdo Mar 13, 2019
650a80d
chore(deps): update dependency proper-lockfile to v4 (#5226)
renovate[bot] Mar 13, 2019
0dd22de
chore(deps): update all non-major dependencies (#5232)
renovate[bot] Mar 14, 2019
b22d97e
chore(deps): update all non-major dependencies to ^2.6.9 (#5234)
renovate[bot] Mar 14, 2019
8216765
fix(webpack): clone `config.entry` (fixes #4849) (#5236)
juliendargelos Mar 14, 2019
920f444
refactor(ts): better DX for typescript support (#5079)
kevinmarrec Mar 14, 2019
29c3c42
fix(ts): deprecate `isClient`, `isServer`, `isStatic` (#5211)
dhritzkiv Mar 14, 2019
f89227e
fix typo in index.d.ts
Mar 14, 2019
cb3171f
update @types/chokidar
Mar 14, 2019
14eab43
update yarn.lock
Mar 14, 2019
19dab79
improve commits script
Mar 14, 2019
3be7f0a
chore: improve commit shell
clarkdo Mar 14, 2019
5f6f12e
chore(deps): update dependency @nuxt/devalue to ^1.2.2 (#5240)
renovate[bot] Mar 14, 2019
4281c22
chore(deps): update dependency caniuse-lite to ^1.0.30000948 (#5249)
renovate[bot] Mar 15, 2019
020fa8e
chore(deps): update all non-major dependencies (#5252)
renovate[bot] Mar 16, 2019
2561b68
test: fix e2e test by downloading chromium (#5254)
pi0 Mar 16, 2019
d6b505a
test: fail tests in case of unhandled errors (#5255)
pi0 Mar 16, 2019
37cd24c
chore: cherry-pick goodies from #4235
Mar 16, 2019
5b7f6d7
fix(server): handle decodeURI error (#5243)
phof Mar 16, 2019
a6a1ff6
fix commits script
Mar 16, 2019
ca1ecf0
chore(deps): update dependency caniuse-lite to ^1.0.30000950 (#5259)
renovate[bot] Mar 17, 2019
d03a61b
fix(vue-app): multiple named views cause invalid syntax (#5262)
leahciMic Mar 19, 2019
8bbb269
test: Add error on malformed URL (#5269)
toshi1127 Mar 19, 2019
ffe5f4d
chore(deps): update all non-major dependencies (#5261)
renovate[bot] Mar 19, 2019
b675a06
chore(deps): update dependency rollup-plugin-json to v4 (#5272)
renovate[bot] Mar 19, 2019
2eb1965
fix: correct socket address in use error message
clarkdo Mar 19, 2019
65a431d
fix: relax lock settings (#5280)
pimlie Mar 19, 2019
f8ff8b5
chore(deps): update dependency consola to ^2.5.7 (#5283)
renovate[bot] Mar 19, 2019
df51d6f
chore(deps): lock file maintenance (#5266)
renovate[bot] Mar 19, 2019
f5f1471
chore(deps): update all non-major dependencies (#5284)
renovate[bot] Mar 20, 2019
fae8fb0
chore(deps): update all non-major dependencies (#5288)
renovate[bot] Mar 20, 2019
03178b7
chore(deps): update dependency rollup to ^1.7.0 (#5289)
renovate[bot] Mar 20, 2019
ef41e20
feat: loading screen (#5251)
Mar 20, 2019
0eb5ed9
fix(webpack): loaders in extend config is broken (#5292)
clarkdo Mar 20, 2019
cf02e82
fix(vue-app): duplicated router.base when using context.redirect(obje…
niandalu Mar 20, 2019
d094c4a
feat: support core-js 3 (#5291)
clarkdo Mar 20, 2019
5c17bc8
chore(deps): update dependency @nuxt/loading-screen to ^0.1.0 (#5293)
renovate[bot] Mar 20, 2019
be4cee8
chore: expose absoluteRuntime
clarkdo Mar 20, 2019
60e9f78
chore(babel-preset-app): fix lint error (#5296)
aldarund Mar 20, 2019
3ac01df
fix(vue-app): decode router base to support unicode characters (#5297)
manniL Mar 20, 2019
d9db45c
chore(examples): fix dynamic components example (#5294)
aldarund Mar 20, 2019
e952ffe
[release]
Mar 20, 2019
e16a3d1
chore(deps): update all non-major dependencies (#5299)
renovate[bot] Mar 20, 2019
665f15a
fix(pkg): add missing dependencies
Mar 20, 2019
a11afd4
refactor(ts): add warning for nuxt-ts deprecation (#5301)
kevinmarrec Mar 21, 2019
d52648f
chore(deps): update dependency vue-property-decorator to ^8.1.0 (#5302)
renovate[bot] Mar 21, 2019
89fd80c
update yarn.lock
Mar 21, 2019
c46def7
fix(cli): enable server for implicit SPA generate in nuxt build
Mar 21, 2019
aa61dea
chore(deps): update all non-major dependencies to ^7.4.2 (#5306)
renovate[bot] Mar 21, 2019
65c1f86
fix(webpack): always resolve core-js to v3 (#5307)
pi0 Mar 21, 2019
42eefa0
[release]
Mar 21, 2019
e2c2963
v2.5.0
Mar 21, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 8 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,16 @@ jobs:
- checkout
- attach_workspace:
at: ~/project
- run:
name: Download Chromium
command: |
cd /opt
sudo wget https://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/641430/chrome-linux.zip
sudo unzip chrome-linux.zip
sudo ln -s `pwd`/chrome-linux/chrome /bin/chromium
- run:
name: E2E Tests
command: yarn test:e2e && yarn coverage
command: CHROME_PATH=/bin/chromium yarn test:e2e && yarn coverage

test-types:
<<: *defaults
Expand Down
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ coverage

## cofeescript
examples/coffeescript/pages/index.vue

examples/pug-stylus-coffee/
examples/typescript-eslint/
# Packages

# vue-app
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ distributions/*/LICENSE

# Other
.nuxt*
!.nuxtignore
.cache

# Dist folders
Expand Down Expand Up @@ -54,3 +55,4 @@ coverage
Network Trash Folder
Temporary Items
.apdisk
commits.md
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
- 🎬 Video: [1 minute demo](https://www.youtube.com/watch?v=kmf-p-pTi40)
- 🐦 Twitter: [@nuxt_js](https://twitter.nuxtjs.org/)
- 💬 Chat: [Discord](https://discord.nuxtjs.org/)
- 📦 [Nuxt.js Modules](https://github.com/nuxt-community/modules)
- 🌟 [AwesomeNuxt](https://awesome.nuxtjs.org/)
- 👉 [Play with Nuxt.js online](https://template.nuxtjs.org)

## Features
Expand All @@ -46,7 +46,7 @@ Learn more at [nuxtjs.org](https://nuxtjs.org).

## Consulting from the Nuxt team

Get help with that tough bug or make sure your Nuxt app is ready to deploy. For $200 an hour, get technical support, advice, code reviews, and development from the Nuxt core team: [Hire Nuxt on Otechie](https://otechie.com/nuxt?ref=readme)
Get help with that tough bug or make sure your Nuxt app is ready to deploy. For $250 an hour, get technical support, advice, code reviews, and development from the Nuxt core team: [Hire Nuxt on Otechie](https://otechie.com/nuxt?ref=readme)

## Professional support with TideLift

Expand Down Expand Up @@ -200,7 +200,7 @@ Please refer to our [Contribution Guide](https://nuxtjs.org/guide/contribution-g

Thanks to BrowserStack!

<a href="http://browserstack.com"><img height="70" src="https://p3.zdusercontent.com/attachment/1015988/PWfFdN71Aung2evRkIVQuKJpE?token=eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..aUrNFb8clSXsFwgw5BUTcg.IJr5piuCen7PmSSBHSrOnqM9K5YZfxX3lvbp-5LCqoKOi4CjjgdA419iqjofs0nLtm26FMURvZ8JRTuKB4iHer6lGu5f8dXHtIkYAHjP5fXDWkl044Yg2mSdrhF6uPy62GdlBYoYxwvgkNrac8nN_In8GY-qOC7bYmlZyJT7tsTZUTYbNMQiXS86YA5LgdCEWzWreMvc3C6cvZtVXIrcVgpkroIhvsTQPm4vQA-Uq6iCbTPA4oX5cpEtMtrlg4jYBnnAE4BTw5UwU_dY83ep5g.7wpc1IKv0rSRGsvqCG_q3g" alt="BrowserStack"></a>
<a href="http://browserstack.com"><img height="70" src="https://nuxtjs.org/browserstack.svg" alt="BrowserStack"></a>


## Security
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ steps:
displayName: 'Install Node.js'

- script: |
yarn
yarn --frozen-lockfile --non-interactive
displayName: 'Install dependencies'

- script: |
Expand Down
4 changes: 2 additions & 2 deletions distributions/nuxt-legacy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@
],
"bin": "bin/nuxt-legacy.js",
"dependencies": {
"@babel/core": "^7.2.2",
"@babel/core": "^7.3.4",
"@babel/polyfill": "^7.2.5",
"@babel/preset-env": "^7.3.1",
"@babel/preset-env": "^7.3.4",
"@babel/register": "^7.0.0",
"@nuxt/builder": "2.4.5",
"@nuxt/cli": "2.4.5",
Expand Down
3 changes: 2 additions & 1 deletion distributions/nuxt-start/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
"dependencies": {
"@nuxt/cli": "2.4.5",
"@nuxt/core": "2.4.5",
"vue": "^2.5.22",
"node-fetch": "^2.3.0",
"vue": "^2.6.9",
"vue-meta": "^1.5.8",
"vue-no-ssr": "^1.1.1",
"vue-router": "^3.0.2",
Expand Down
23 changes: 5 additions & 18 deletions distributions/nuxt-ts/bin/nuxt-ts.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
#!/usr/bin/env node

const { resolve } = require('path')

// Globally indicate we are running in ts mode
process.env.NUXT_TS = 'true'

const nuxtCommands = ['dev', 'build', 'generate', 'start']
const rootDir = (process.argv[2] && !nuxtCommands.includes(process.argv[2])) ? process.argv[2] : process.cwd()
const tsConfigPath = resolve(rootDir, 'tsconfig.json')

const suffix = require('../package.json').name.includes('-edge') ? '-edge' : ''

const errorHandler = (error) => {
require('consola').fatal(error)
process.exit(2)
}

require('@nuxt/typescript' + suffix).setup(tsConfigPath).then(() => {
require('@nuxt/cli' + suffix).run().catch(errorHandler)
}).catch(errorHandler)
require('@nuxt/cli' + suffix).run()
.catch((error) => {
require('consola').fatal(error)
process.exit(2)
})
6 changes: 3 additions & 3 deletions distributions/nuxt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
- 🎬 Video: [1 minute demo](https://www.youtube.com/watch?v=kmf-p-pTi40)
- 🐦 Twitter: [@nuxt_js](https://twitter.nuxtjs.org/)
- 💬 Chat: [Discord](https://discord.nuxtjs.org/)
- 📦 [Nuxt.js Modules](https://github.com/nuxt-community/modules)
- 🌟 [AwesomeNuxt](https://awesome.nuxtjs.org/)
- 👉 [Play with Nuxt.js online](https://template.nuxtjs.org)

## Features
Expand All @@ -46,7 +46,7 @@ Learn more at [nuxtjs.org](https://nuxtjs.org).

## Consulting from the Nuxt team

Get help with that tough bug or make sure your Nuxt app is ready to deploy. For $200 an hour, get technical support, advice, code reviews, and development from the Nuxt core team: [Hire Nuxt on Otechie](https://otechie.com/nuxt?ref=readme)
Get help with that tough bug or make sure your Nuxt app is ready to deploy. For $250 an hour, get technical support, advice, code reviews, and development from the Nuxt core team: [Hire Nuxt on Otechie](https://otechie.com/nuxt?ref=readme)

## Professional support with TideLift

Expand Down Expand Up @@ -200,7 +200,7 @@ Please refer to our [Contribution Guide](https://nuxtjs.org/guide/contribution-g

Thanks to BrowserStack!

<a href="http://browserstack.com"><img height="70" src="https://p3.zdusercontent.com/attachment/1015988/PWfFdN71Aung2evRkIVQuKJpE?token=eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..aUrNFb8clSXsFwgw5BUTcg.IJr5piuCen7PmSSBHSrOnqM9K5YZfxX3lvbp-5LCqoKOi4CjjgdA419iqjofs0nLtm26FMURvZ8JRTuKB4iHer6lGu5f8dXHtIkYAHjP5fXDWkl044Yg2mSdrhF6uPy62GdlBYoYxwvgkNrac8nN_In8GY-qOC7bYmlZyJT7tsTZUTYbNMQiXS86YA5LgdCEWzWreMvc3C6cvZtVXIrcVgpkroIhvsTQPm4vQA-Uq6iCbTPA4oX5cpEtMtrlg4jYBnnAE4BTw5UwU_dY83ep5g.7wpc1IKv0rSRGsvqCG_q3g" alt="BrowserStack"></a>
<a href="http://browserstack.com"><img height="70" src="https://nuxtjs.org/browserstack.svg" alt="BrowserStack"></a>


## Security
Expand Down
3 changes: 3 additions & 0 deletions examples/async-component-injection/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Nuxt with advanced async components

See [here](https://vuejs.org/v2/guide/components.html#Advanced-Async-Components) for more details
2 changes: 1 addition & 1 deletion examples/async-component-injection/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "example-async-components-injection",
"dependencies": {
"nuxt-edge": "latest"
"nuxt": "latest"
},
"scripts": {
"dev": "nuxt",
Expand Down
2 changes: 1 addition & 1 deletion examples/async-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "example-async-data",
"dependencies": {
"axios": "latest",
"nuxt-edge": "latest"
"nuxt": "latest"
},
"scripts": {
"dev": "nuxt",
Expand Down
2 changes: 1 addition & 1 deletion examples/auth-jwt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"dependencies": {
"cookieparser": "^0.1.0",
"js-cookie": "^2.2.0",
"nuxt-edge": "latest"
"nuxt": "latest"
},
"scripts": {
"dev": "nuxt",
Expand Down
2 changes: 1 addition & 1 deletion examples/auth-routes/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Authenticated Routes with Nuxt.js
# Authenticated Routes with Nuxt and Express sessions

https://nuxtjs.org/examples/auth-routes
2 changes: 1 addition & 1 deletion examples/auth-routes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"body-parser": "^1.17.2",
"express": "^4.15.3",
"express-session": "^1.15.3",
"nuxt-edge": "latest"
"nuxt": "latest"
},
"scripts": {
"dev": "nuxt",
Expand Down
8 changes: 7 additions & 1 deletion examples/axios/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# Axios Proxy Example
# Nuxt with Axios Proxy Example

Using [proxy-module](https://github.com/nuxt-community/proxy-module) and [Axios module](https://axios.nuxtjs.org/)

> proxy-module is the one-liner node.js http-proxy middleware solution for Nuxt.js using [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware)

> Axios-module is a secure and easy [Axios](https://github.com/mzabriskie/axios) integration with Nuxt.js.

## Install

Expand Down
2 changes: 1 addition & 1 deletion examples/axios/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"dependencies": {
"@nuxtjs/axios": "^5.0.0",
"@nuxtjs/proxy": "^1.1.2",
"nuxt-edge": "latest"
"nuxt": "latest"
},
"scripts": {
"dev": "nuxt",
Expand Down
2 changes: 1 addition & 1 deletion examples/cached-components/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Cached Components
# Nuxt with Cached Components using lru-cache

https://nuxtjs.org/examples/cached-components
2 changes: 1 addition & 1 deletion examples/cached-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "example-cached-components",
"dependencies": {
"lru-cache": "^4.0.2",
"nuxt-edge": "latest"
"nuxt": "latest"
},
"scripts": {
"dev": "nuxt",
Expand Down
2 changes: 1 addition & 1 deletion examples/coffeescript/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CoffeeScript
# Nuxt with CoffeeScript

> Nuxt.js project with CoffeeScript

Expand Down
2 changes: 1 addition & 1 deletion examples/coffeescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"post-update": "yarn upgrade --latest"
},
"dependencies": {
"nuxt-edge": "latest"
"nuxt": "latest"
},
"devDependencies": {
"coffee-loader": "^0.8.0",
Expand Down
1 change: 1 addition & 0 deletions examples/custom-build/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Nuxt with customised build step
2 changes: 1 addition & 1 deletion examples/custom-build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "example-custom-build",
"description": "",
"dependencies": {
"nuxt-edge": "latest"
"nuxt": "latest"
},
"scripts": {
"dev": "nuxt",
Expand Down
4 changes: 3 additions & 1 deletion examples/custom-layouts/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Layouts
# Nuxt layouts

https://nuxtjs.org/examples/layouts

Read more on Nuxt layouts [here](https://nuxtjs.org/guide/views#layouts)
2 changes: 1 addition & 1 deletion examples/custom-layouts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "example-custom-layouts",
"dependencies": {
"nuxt-edge": "latest"
"nuxt": "latest"
},
"scripts": {
"dev": "nuxt",
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-loading/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "example-custom-loading",
"dependencies": {
"nuxt-edge": "latest"
"nuxt": "latest"
},
"scripts": {
"dev": "nuxt",
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-page-loading/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "example-custom-page-loading",
"dependencies": {
"nuxt-edge": "latest"
"nuxt": "latest"
},
"scripts": {
"dev": "nuxt",
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-port-host/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "example-custom-port-host",
"dependencies": {
"nuxt-edge": "latest"
"nuxt": "latest"
},
"scripts": {
"dev": "nuxt",
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-routes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "example-custom-routes",
"dependencies": {
"axios": "latest",
"nuxt-edge": "latest"
"nuxt": "latest"
},
"scripts": {
"dev": "nuxt",
Expand Down
3 changes: 3 additions & 0 deletions examples/custom-server/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Nuxt with custom [Express](https://expressjs.com/) Server

> Express ia a fast, unopinionated, minimalist web framework for Node.js
2 changes: 1 addition & 1 deletion examples/custom-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "example-custom-server",
"dependencies": {
"express": "^4.15.3",
"nuxt-edge": "latest"
"nuxt": "latest"
},
"scripts": {
"dev": "node server.js",
Expand Down
2 changes: 1 addition & 1 deletion examples/dynamic-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "example-dynamic-components",
"dependencies": {
"chart.js": "^2.7.0",
"nuxt-edge": "latest",
"nuxt": "latest",
"vue-chartjs": "^2.8.7"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion examples/dynamic-layouts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "example-dynamic-layouts",
"dependencies": {
"nuxt-edge": "latest"
"nuxt": "latest"
},
"scripts": {
"dev": "nuxt",
Expand Down
2 changes: 1 addition & 1 deletion examples/global-css/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "example-global-css",
"dependencies": {
"bulma": "^0.5.1",
"nuxt-edge": "latest"
"nuxt": "latest"
},
"scripts": {
"dev": "nuxt",
Expand Down
2 changes: 1 addition & 1 deletion examples/hello-world/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "example-hello-world",
"dependencies": {
"nuxt-edge": "latest"
"nuxt": "latest"
},
"scripts": {
"dev": "nuxt",
Expand Down
2 changes: 1 addition & 1 deletion examples/i18n/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# i18n with Nuxt.js
# Nuxt with i18n

https://nuxtjs.org/examples/i18n

Expand Down
2 changes: 1 addition & 1 deletion examples/i18n/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "example-i18n",
"dependencies": {
"nuxt-edge": "latest",
"nuxt": "latest",
"vue-i18n": "^7.3.2"
},
"scripts": {
Expand Down
8 changes: 6 additions & 2 deletions examples/jest-puppeteer/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Example how to test Nuxt.js app with Jest and Puppeteer
# Nuxt with [Jest](https://jestjs.io/) and [Puppeteer](https://developers.google.com/web/tools/puppeteer/)

> Jest is a delightful JavaScript Testing Framework with a focus on simplicity.

> Puppeteer is a Node library which provides a high-level API to control headless Chrome or Chromium over the DevTools Protocol.

# Install deps
```
Expand Down Expand Up @@ -35,5 +39,5 @@ Ran all test suites.

## Documentation
- [jest-puppeteer](https://github.com/smooth-code/jest-puppeteer)
- [jest]()
- [jest](https://jestjs.io/)
- [puppeteer](https://pptr.dev/)