Repository navigation
First step toward using the new typescript tasks in WBT. - #791
Conversation
| @@ -0,0 +1,4 @@ | |||
| { | |||
| "$schema": "http://json.schemastore.org/tsconfig", | |||
| "extends": "../../rush-stack-compiler/includes/tsconfig-node.json" | |||
There was a problem hiding this comment.
../../rush-stack-compiler [](start = 14, length = 25)
Seems like this may not point to the right location, depending on how the package manager chooses to install rush-stack. Possible options:
-
Improve the compiler to support NPM resolution like what tslint.json does. This would need to be done for any other config files tied to rush-stack-compiler
-
Use a
postInstallscript to perform NPM resolution, and write .json files into the rush-stack-compiler folder to perform redirection. -
Keep it simple: Have the project's tsconfig.json extend from a direct dependency (e.g. rush-stack-compiler or rig-compiler). If the rig-compiler wants to inherit from rush-stack-compiler, use a build step to make a static copy of the file contents, rather than trying to follow multiple hops through the node_modules folder.
I think # 3 might be the safest bet, although the other options are interesting.
| @@ -0,0 +1,18 @@ | |||
| { | |||
| "$schema": "http://json.schemastore.org/tsconfig", | |||
|
|
|||
There was a problem hiding this comment.
Can this be versioned?
There was a problem hiding this comment.
Doesn't appear so.
| @@ -1,61 +0,0 @@ | |||
| // Type definitions for read-package-tree 5.1.2 | |||
There was a problem hiding this comment.
definitions [](start = 8, length = 11)
This file definitely seems to be used by src\logic\npm\NpmLinkManager.ts
| @@ -1,15 +0,0 @@ | |||
| // Type definitions for wordwrap 1.0.0 | |||
There was a problem hiding this comment.
// [](start = 0, length = 2)
Pretty sure this is also used
| @@ -1,194 +0,0 @@ | |||
| /** | |||
There was a problem hiding this comment.
Don't delete these. This is what we're testing -- basically I'm looking for diffs in this file when I make changes to the *.d.ts generator (even though it's not validated by the build)
| // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. | ||
| // See LICENSE in the project root for license information. | ||
|
|
||
| /// <reference path="../typings/tsd.d.ts" /> |
There was a problem hiding this comment.
This is part of the test
No description provided.