Skip to content

refactor(config,vue-app): change back to app namespace#10197

Closed
danielroe wants to merge 5 commits into2.xfrom
refactor/app-config
Closed

refactor(config,vue-app): change back to app namespace#10197
danielroe wants to merge 5 commits into2.xfrom
refactor/app-config

Conversation

@danielroe
Copy link
Copy Markdown
Member

Types of changes

  • 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

For parity with Nuxt 3, this changes the names (but not the behaviour) of app.assetsPath -> app.buildAssetsPath and publicRuntimeConfig._app -> publicRuntimeConfig.app.

Nuxt should merge the app config with any existing properties in publicRuntimeConfig.app to minimise the impact, but still this should be recognised as a breaking change.

Checklist:

  • 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.

* for parity with Nuxt 3
* also migrate `assetsPath` -> `buildAssetsPath`
@danielroe danielroe self-assigned this Jan 10, 2022
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jan 20, 2022

Codecov Report

Merging #10197 (cdd8383) into dev (777a4b7) will increase coverage by 0.00%.
The diff coverage is 80.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##              dev   #10197   +/-   ##
=======================================
  Coverage   65.15%   65.15%           
=======================================
  Files          94       94           
  Lines        4155     4156    +1     
  Branches     1172     1172           
=======================================
+ Hits         2707     2708    +1     
  Misses       1169     1169           
  Partials      279      279           
Flag Coverage Δ
unittests 65.15% <80.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
packages/vue-renderer/src/renderer.js 0.00% <0.00%> (ø)
packages/config/src/options.js 97.14% <100.00%> (+0.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 777a4b7...cdd8383. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants