Skip to content

Build task not match - Vue UI #4538

@angeliski

Description

@angeliski

Version

3.11.0

Reproduction link

https://github.com/angeliski/vue-ui-bug-build-task

Environment info

Environment Info:

  System:
    OS: macOS High Sierra 10.13.6
    CPU: (4) x64 Intel(R) Core(TM) i5-2500S CPU @ 2.70GHz
  Binaries:
    Node: 8.11.3 - ~/.nvm/versions/node/v8.11.3/bin/node
    Yarn: 1.7.0 - ~/.yarn/bin/yarn
    npm: 5.6.0 - ~/.nvm/versions/node/v8.11.3/bin/npm
  Browsers:
    Chrome: Not Found
    Firefox: Not Found
    Safari: Not Found
  npmPackages:
    @storybook/vue:  5.1.9
    @vue/babel-helper-vue-jsx-merge-props:  1.0.0
    @vue/babel-plugin-transform-vue-jsx:  1.0.0
    @vue/babel-preset-app:  3.9.2
    @vue/babel-preset-jsx:  1.0.0
    @vue/babel-sugar-functional-vue:  1.0.0
    @vue/babel-sugar-inject-h:  1.0.0
    @vue/babel-sugar-v-model:  1.0.0
    @vue/babel-sugar-v-on:  1.0.0
    @vue/cli-overlay:  3.9.0
    @vue/cli-plugin-babel: ^3.0.5 => 3.9.2
    @vue/cli-plugin-e2e-cypress: ^3.3.0 => 3.9.0
    @vue/cli-plugin-eslint: ^3.3.0 => 3.9.2
    @vue/cli-plugin-typescript: ^3.0.5 => 3.9.0
    @vue/cli-plugin-unit-jest: ^3.0.5 => 3.9.0
    @vue/cli-service: ^3.0.5 => 3.9.3
    @vue/cli-shared-utils:  3.9.0
    @vue/component-compiler-utils:  2.6.0 (3.0.0)
    @vue/eslint-config-airbnb: ^4.0.0 => 4.0.1
    @vue/eslint-config-typescript: ^3.2.0 => 3.2.1
    @vue/preload-webpack-plugin:  1.1.0
    @vue/test-utils: ^1.0.0-beta.20 => 1.0.0-beta.29
    @vue/web-component-wrapper:  1.2.0
    eslint-plugin-vue: ^5.0.0 => 5.2.3 (4.7.1)
    jest-serializer-vue:  2.0.2
    storybook-addon-vue-info: ^1.2.2 => 1.2.2
    typescript: ^3.0.0 => 3.5.3
    vue: ^2.5.21 => 2.6.10
    vue-class-component: ^6.0.0 => 6.3.2
    vue-cli-plugin-storybook: ^0.6.1 => 0.6.1
    vue-docgen-api:  3.17.0
    vue-eslint-parser:  2.0.3 (5.0.0)
    vue-hot-reload-api:  2.3.3
    vue-jest:  3.0.4
    vue-loader:  15.7.1
    vue-markdown-loader: ^2.4.1 => 2.4.1
    vue-multiselect: ^2.1.3 => 2.1.6
    vue-property-decorator: ^7.0.0 => 7.3.0
    vue-select: ^2.5.1 => 2.6.4
    vue-style-loader:  4.1.2
    vue-template-compiler: ^2.5.17 => 2.6.10
    vue-template-es2015-compiler:  1.9.1
    vuera:  0.2.5
  npmGlobalPackages:
    @vue/cli: 3.11.0

Steps to reproduce

  • Run vue-ui using vue ui
  • Import the project reproduction
  • Open the Task view
  • See the build task without the dashboard options

What is expected?

The build task is identified how task build default

What is actually happening?

The build task is not identified how task build, I need remove the entry point to fix that

Beta__build-Tarefas_do_projeto-_Vue_CLI


I believe the Regex (Founded here https://github.com/vuejs/vue-cli/blob/dev/packages/%40vue/cli-ui/ui-defaults/tasks.js#L242) need change to consider the entry point

/vue-cli-service build(\s --\S (\s \S )?)*$/.test("vue-cli-service build --target lib --name myLib src/entry.js")
// Run that in console, return false

// Maybe we can change to
/vue-cli-service build(\s --\S (\s \S )?).*$/.test("vue-cli-service build --target lib --name myLib src/entry.js")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions