-
Notifications
You must be signed in to change notification settings - Fork 1
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
Release 1.3.0 #91
Merged
Merged
Release 1.3.0 #91
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Base project discovery around package.json first
TypeScript Support
Set typescript import resolver
Add include path to tsconfig
Fix issues with ESLint Import Resolver
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TypeScript
1.3 introduces support for TypeScript within Build Tools with the aims of creating an easy to use implementation that requires as little configuration as possible to keep a consistent approach to projects that are written in TypeScript and are compiled using Build Tools.
TypeScript Default Config and Rules
The aim for bundling the config was to provide a sane setup for each developer that is working within TypeScript that will also provide consistency across all projects that utilise it.
The configuration for TypeScript can be found in the
configs/tsconfig.json
file.There are also some image definition types that can be found in the
configs/tsconfig/images.d.ts
file.An addition of TypeScript ESLint has also been included to ensure that we've support for ESLint within our builds.
Project
tsconfig.json
As part of the aim is to provide a bundled configuration file, the
tsconfig.json
is defined within the project and can be found amongs other related configuration files within the/configs
directory. The config file aims to provide a sane standard as recommended in the issue comment here.To ensure the config file is visible by IDEs and any other related software for error and syntax highlighting, you need to define and extend the
tsconfig.json
within the root of your project.Customising
tsconfig.json
There are a number of situations where you may need to customise or extend the
tsconfig.json
. This can be easily achieved by utilising theextends
property and pointing to the build-tools config to use as the base.Please note that extending has additional effects when implementing
include
andexclude
. Read the documentation forextends
here.Alternatively, if you need an entirely different
tsconfig.json
than the one that is provided, atsconfig.json
that is placed in the root of the project will be picket up by the build-tools, whether it is extended or not.Performance Improvements
An improvement to project discovery has been added to speed up seeking of compatible projects. There should be no breaking changes or alterations for existing usages and implementations of
build-tools
.