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

feat(cli,cli-service,cli-test-utils): add ts declaration #5356

Merged
merged 14 commits into from Jul 15, 2020

Commits on Apr 5, 2020

  1. Copy the full SHA
    148b424 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    fc5fc9f View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    49e8ab1 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2020

  1. fix(cli-test-utils): fix ts declaration

    the data written by fs.writeFile should be any
    fangbinwei committed Apr 6, 2020
    Copy the full SHA
    2d916e4 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2020

  1. fix(cli,cli-service,cli-test-utils): fix ts declaration

    compatible with esModuleInterop:false
    fangbinwei committed Apr 7, 2020
    Copy the full SHA
    f1ade53 View commit details
    Browse the repository at this point in the history
  2. chore: update yarn.lock

    revert yarn.lock, use registry.yarnpkg.com instead of registry.npmjs.org
    fangbinwei committed Apr 7, 2020
    Copy the full SHA
    1c7a4a6 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2020

  1. fix(cli,cli-service,cli-test-utils): fix ts declartation

    1. rename GeneratorRootOptions to Preset.
    2. fix wrong use of type object, use Record<string,any>
    instead.
    3. support function type of plugin.
    fangbinwei committed Apr 8, 2020
    Copy the full SHA
    490a82d View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2020

  1. fix(cli-service,cli-test-utils): fix ts declaration

    1. use @types/webpack instead of webpack/declarations.
    2. add 'export {}' to the module to shut off
    automatic exporting. see
    https://stackoverflow.com/questions/52583603/intentional-that-export-shuts-off-automatic-export-of-all-symbols-from-a-ty.
    3.
    add reference node, so @types/node can be included even typeRoots/types is specified.
    fangbinwei committed Apr 12, 2020
    Copy the full SHA
    959087c View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2020

  1. Copy the full SHA
    b43116b View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2020

  1. Copy the full SHA
    1fb09d3 View commit details
    Browse the repository at this point in the history
  2. fix(cli-service): fix type def of genCacheConfig in d.ts

    Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
    fangbinwei and sodatea committed Jul 14, 2020
    Copy the full SHA
    65c0c2e View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    50e10b9 View commit details
    Browse the repository at this point in the history
  4. fix(cli): fix extendPackage type def in d.ts

    since Function belongs to object, so a Function which return type is not object is still assignable
    to 'object | () => return type'.  we need exclude Function from object. releated:
    microsoft/TypeScript#38254
    https://stackoverflow.com/questions/24613955/is-there-a-type-in-typescript-for-anything-except-functions
    fangbinwei committed Jul 14, 2020
    Copy the full SHA
    35ac3b6 View commit details
    Browse the repository at this point in the history
  5. chore: merge branch 'dev' of https://github.com/vuejs/vue-cli into dev

    resolve conflicts in package.json, yarn.lock
    fangbinwei committed Jul 14, 2020
    Copy the full SHA
    7706a7d View commit details
    Browse the repository at this point in the history