Giter VIP home page Giter VIP logo

Comments (6)

adamdehaven avatar adamdehaven commented on May 22, 2024

@sodatea can I get your thoughts on this?

from tsconfig.

rijenkii avatar rijenkii commented on May 22, 2024

Technically this library is still zerover, so any minor version bump could be breaking.

from tsconfig.

adamdehaven avatar adamdehaven commented on May 22, 2024

It's been 0.x for 3 years now, so I'd assume it would be considered stable; regardless of whether the version was actually ever bumped to 1.x

from tsconfig.

sodatea avatar sodatea commented on May 22, 2024

In practice, 0.4.0 -> 0.5.0 is considered a major release that can contain breaking changes.
https://github.com/npm/node-semver#caret-ranges-123-025-004

from tsconfig.

sodatea avatar sodatea commented on May 22, 2024

Agree that it is opinionated.

we have our own settings for exporting/generating types,

IMO that's the point of the defaults.
Those who are able to write their own settings would know how to deal with that option.
But many users don't care or don't know what each options do, and we need to provide a good-enough default for them.

from tsconfig.

adamdehaven avatar adamdehaven commented on May 22, 2024

This wasn't flagged as a major release, based on the commit message:

feat: turn on noEmit by default and add tsconfig.lib.json

I think the issue is that this change makes the assumption that the developer's use-case is a "non-library project."

This change makes it confusing for any developer that is new to Vue, using the standard configuration provided, to create a Vue component library without having to understand why their package isn't emitting the proper type declarations.

We can close the issue (and I really appreciate you taking a look).

Can I suggest the README be updated to explain the default noEmit option and the scenario in which a developer would want to override it?

from tsconfig.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.