Comments (6)
@sodatea can I get your thoughts on this?
from tsconfig.
Technically this library is still zerover, so any minor version bump could be breaking.
from tsconfig.
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.
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.
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.
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)
- Is this config suitable for vue2 project? HOT 2
- Add "noEmit": true to compilerOptions HOT 5
- Cannot find base config file @vue/tsconfig/tsconfig.web.json HOT 25
- Important update about 0.3.* HOT 2
- The latest version doesnt support vue2.7 HOT 1
- Remove reset of "types" field
- Cannot find name 'Map'.
- Enhancement: a separate config entry for `module: node16/nodenext` HOT 2
- Cannot install the package anymore HOT 4
- when i use this package, the tsconfig.json has occur 2 errors like this image,as follow, how to solve it,is this packages called tsconfig's issue? HOT 5
- Import of vue-i18n fails on vue/tsconfig versions 0.4.0 HOT 1
- extends does not accept an array of strings as shown in the documentation HOT 1
- tsconfig v0.5 regression with json imports HOT 1
- es2018 HOT 2
- Enhancement: a dedicated config for libraries HOT 2
- tsconfig throws errors with TypeScript 5.0 HOT 8
- Adopt TypeScript 5+ `"moduleResolution": "bundler"`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tsconfig.