-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Roadmap for version 4 #3649
Comments
Mocha is much faster than Jest. Keep it. |
Yep, since we know what breaking changes will apply, we can work on documentation of migration from X to Y version. |
We would, if someone can assure us mocha-webpack will continue to work with webpack 5 even though it's currently unmaintained. Otherwise we just keep a feature alive that is destined to die soon anyway. |
There is a fork of mocha-webpack that works with webpack 4 and mocha 4, 5 and 6: I really hope that we can avoid having to migrate our test suite from mocha to jest. |
My 5 cents: the simpler the better |
@salvadordiaz That looks promising, assuming the author is up to upgrade it to webpack 5 compatibility when that time arrives. |
Is there a discussion ticket for the Codemods work? |
Nope. Also, we should probably do a real RFC for his as the vue-cli repo is one of the repos we included for the official RFC process in https://github.com/vuejs/rfcs#when-to-follow-this-process We might discuss possibly deprecating mocha there as well, as it's likely a hot topic. |
Is there any plans to support server-side rendering in core, without having to go for a 3rd party plugin ? |
@LinusBorg Hi, I'm the maintainer of |
@Vlasenko Hi 😁 We haven't made that decision, that's what this issue is meant to discuss. We don't want to "get rid" of mocha. Until someone mentioned your fork, we just didn't see any future for it since mocha webpack was unmaintained. So if you ate panning to keep on working on mochapack and make it work with webpack 5, my opinion would be to keep it 🙂 |
@LinusBorg Great! Yes, I plan to keep on working on |
@LinusBorg Hi! Based on the discussion here #947 (comment), has an alternative for inject-loader been investigated yet? If not, Jest has some complimentary features to help replace inject-loader that you may want to consider when comparing it with Mocha. |
Thanks for creating this @sodatea and @LinusBorg. It's good to see the development of this repo is more transparent now. I can work on the new features (some of it already done) since I was the one who was requesting them mostly. We can discuss more if you guys want. I will be available in the Vue Discord. |
Think about replacing tslint with typescript-eslint.And replace ts-loader with babel7. |
We will do that once typescript-eslint has the announced feature parity with tslint.
Since babel's typescript implementation comes with some significant limitations we probably won't do that. |
TSLint doesn't detect HTML errors inside .
Output: No lint errors found! ESLin detects this, however, I don't know if I should use ESLint with Typescript or ESLint together with TSLint. Is this something that you could look into for the next version? |
@andreiTn you should use eslint with ts,since it support ts and will support by the core ts team in the futher. tslint is deprecated! |
Thanks @IndexXuan |
update html-webpack-plugin to 4.x ? |
Sure, once it's out of beta (currently: |
Have you guys ever thought about adding commands for scaffolding, to easily create views, components, stores? Similar to https://github.com/hjeti/vue-generator. You can also create a directory with your own templates (with your code conventions) inside of your project. |
Hope you are aware of: |
Are there any plans to add ES6 module output to the |
@ashleynolan pending webpack/webpack#2933 |
Another vote to get rid of the TSLint option in vue-cli, as it's being deprecated. I've replaced it in one of my projects with the new TypeScript ESLint plugin, and does just fine validating my code. EDIT: If TSLint must remain, perhaps the inclusion of a deprecation warning would be a good idea. |
I see the “vue upgrade” item is marked done. There are some open in points in #4090 though. Most importantly there is no documentation for the Secondly, the linked tickets for “plugin ordering” are resolved by #2337. Is there anything else planned for 4.0? Finally, any predictions on a release date? |
For the The Plugin Ordering: Release date: The next step is to fix noticeable bugs and to refine the documentation. |
Multiple Component Lib support.src dir
build script
output dir
|
|
eslint-config-airbnb 14.0.0 released to be in line with eslint 6 |
ESLint config versions are managed separately from I'd also like to implement an upgrade hook in the plugin, to prompt the user to optionally update the config version and its peer dependencies. This feature may or may not land in 4.0 because it seems not that urgent. |
I would love to see that, @sodatea. I often have the problem that |
How about supporting running vue-cli-service programatically by passing in user options? |
Not sure what exactly you mean by that ...? |
The method "run" of vue-cli-service currently accepts three arguments: command, args, rawArgv. If there is a method to run the service by passing in a config object and an array of plugins, it would be more convenient for users who want to build their own cli tools based on vue-cli-service and put all config files in the very pakcage (Actually I have been assigned such a task, and want to reuse the webpack configuration of vue-cli-service). The method may be called like this: const vueConfig = require('vue.config.js')
const plugins = [
require('@vue/cli-plugin-babel'),
require('@vue/cli-plugin-eslint'),
require('@vue/cli-plugin-unit-jest')
]
service.run(vueConfig, plugins) Now, in order to make my cli tool work, I have to set the That's why I am requesting such a feature. I hope that I've made myself clear. |
Why vue-cli uses nightwatch instead of puppeteer? For running against multiple browsers? |
Exactly. If you want to run against chrome only, we offer Cypress. If you prefer puppeteer, write a plugin for it :) |
Is there any possible to add a hook for developers to modify the README.md? In most situations, we use vue-cli to create some projects with default README.md generated by the readme.md utility function.So we want to generate the README.md file with different content after a project created by vue-cli. |
Cf. #3547 @CommanderXL |
@bodograumann Well, I have seen that issue.So will it come to the vue-cli of v4? Or need us to do some pull request to accomplish this function? |
it's now marked as "contribution welcome" so we would be happy to see a PR for this. |
Hello folks, I see that vue-next uses rollup for build, so is there any plan to support it as alternative to webpack in vue-cli? |
No. Supporting two build tools will increase complexity too much. |
Agreed, thanks. So it will be used only for vue due to its simplicity |
Released 🎉 |
It's time for a major version bump.
This will be a relatively small release but will include a number of necessary breaking changes.
Planned Features
Dependency Updates
@vue/babel-preset/app
, for now we use core-js 2 by default, babel 7.4.0 supports core-js 3, once we upgraded core-js, some undocumented public APIs may change)Changed Behavior
vue-template-loader
:preserveWhitespace: false
->whitespace: 'condense'
feat!: setwhitespace: 'condense'
for template compiler #3853NODE_ENV=production
by default if not specified when runningvue-cli-service build
feat!: set default NODE_ENV toproduction
when runningbuild
command #3859plugin-pwa
:manifest.json
should be generated during the build process rather than scaffolding feat!: manifest.json should be generated by cli-plugin-pwa #2981New Features
Most proposed new features other than plugin APIs can also be landed in v3.x so they are not listed here.
.version
field andassertVersion
helper to plugin api #3861vue upgrade
overhaul, allowing running codemods from pluginsRemoved
vue-cli-service e2e
command (already deprecated since 3.0 rc) (chore: remove support for legacyvue-cli-service e2e
command #3774)Needs Discussion
Drop unit mocha in favor of Jest only- Mostly because mocha-webpack is unmaintained and unlikely to work with webpack 5
- Need good migration strategy for existing users
How Can I Help?
Please let us know your thoughts and if we missed anything.
We'll be more than happy to explain our rationale around these decisions if there's any further questions.
If there's anything you (and the community) feel strongly about but is not found on this list, please make an effort to send a PR!
We'll be more than happy to accept contributions.
The text was updated successfully, but these errors were encountered: